/* The site's own layer: loads LAST, after the purchased template's CSS (base.html). Put every override here; never edit
 * the template's files.
 *
 * Brand: The Breakroom design system (reference/brand/The-Breakroom-Design-System.pdf and breakroom-tokens.css,
 * 2026-11-04). The brand's tokens keep their own names (--pink-500, --surface-page, --space-4…) as the brand book asks;
 * components use the semantic tokens below them (--surface, --ink, --ink-accent…), which switch on dark grounds.
 * Contrast rules: CLAUDE.md "Branding".
 */

/* ---------- Fonts (self-hosted, SIL Open Font License, Latin + Greek subsets: static/fonts/) ---------- */
@font-face { font-family: "M PLUS Rounded 1c"; src: url("../fonts/MPLUSRounded1c-Bold.6fc8831f4601.woff2") format("woff2");
    font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "M PLUS Rounded 1c"; src: url("../fonts/MPLUSRounded1c-ExtraBold.7643365b035a.woff2") format("woff2");
    font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "M PLUS Rounded 1c"; src: url("../fonts/MPLUSRounded1c-Black.9a87865273af.woff2") format("woff2");
    font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/Manrope-Variable.d57983e1f9cf.woff2") format("woff2");
    font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Mynerve"; src: url("../fonts/Mynerve-Regular.3d9a3abf3805.woff2") format("woff2");
    font-weight: 400; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
    /* Brand palette (design system: pink is the only accent; never add a second accent hue) */
    --pink-50: #ffeef6;
    --pink-300: #ff7ab4;
    --pink-500: #ff4895;
    --pink-600: #e01f78;
    --pink-700: #b5185f;
    --plum-500: #6d2162;
    --plum-700: #341342;
    --night-900: #110c2a;
    --indigo-800: #1c1036;
    --grape-600: #42164d;
    --mist-100: #e9e0f5;
    --ink-900: #0d0a1c;
    --ink-800: #150f2d;
    --white: #ffffff;
    --cream: #fdf9fb;
    --gray-100: #f4f1f5;
    --gray-300: #d8d2dd;
    --gray-500: #948d9c;
    --gray-700: #5a5462;

    /* Brand semantic tokens (design system) */
    --surface-page: var(--cream);
    --surface-card: var(--white);
    --surface-dark: var(--ink-900);
    --surface-inverse: var(--white);
    --surface-video: var(--night-900);
    --text-muted: var(--gray-700);
    --text-on-dark: var(--white);
    --text-on-dark-muted: rgba(255, 255, 255, 0.72);
    --text-link: var(--pink-700);        /* the book's pink-600 is 4.3:1 on cream (its own "known gap"): pink-700, 6.2:1 */
    --text-link-hover: var(--ink-900);
    --border-subtle: var(--gray-300);
    --border-on-dark: rgba(255, 255, 255, 0.24);
    --accent-primary: var(--pink-500);
    --accent-primary-hover: var(--pink-700);
    --accent-secondary: var(--plum-500);
    --on-pink: var(--night-900);

    /* Site semantic tokens (light grounds, the website's reading ground): components use these */
    --surface: var(--surface-page);              /* page ground: cream */
    --surface-soft: var(--gray-100);             /* soft band, placeholders */
    --surface-card-ground: var(--surface-card);  /* cards on the page */
    --surface-deep: var(--surface-dark);         /* hero, dark bands, footer */
    --surface-contrast: var(--ink-900);          /* dark button / panel on a light ground */
    --surface-accent: var(--pink-500);           /* pink fills: primary button, pills */
    --ink: var(--ink-900);
    --ink-muted: var(--gray-700);                /* 7.0:1 on cream */
    --ink-accent: var(--pink-700);               /* pink text on light grounds (6.2:1); pink-500 only for display type 24px+ */
    --ink-on-contrast: var(--white);
    --ink-on-accent: var(--on-pink);             /* text on pink-500 at any size (6.0:1) */
    --ink-on-deep: var(--white);
    --border: var(--border-subtle);
    --border-strong: var(--ink-900);
    --focus: var(--pink-700);                    /* 6.2:1 on cream */

    /* Type */
    --font-display: "M PLUS Rounded 1c", "Arial Rounded MT Bold", system-ui, sans-serif;
    --font-body: "Manrope", "Helvetica Neue", system-ui, sans-serif;
    --font-hand: "Mynerve", "Comic Sans MS", cursive;
    --font-mono: ui-monospace, "SF Mono", Menlo, monospace;
    --font-text: var(--font-body);
    --text-display-xl: 900 clamp(2.75rem, 5vw, 5rem)/1.02 var(--font-display);
    --text-display-lg: 900 clamp(2rem, 3.4vw, 3.25rem)/1.05 var(--font-display);
    --text-display-md: 800 28px/1.15 var(--font-display);
    --text-heading: 700 22px/1.3 var(--font-body);
    --text-body-lg: 400 18px/1.6 var(--font-body);
    --text-body: 400 16px/1.65 var(--font-body);
    --text-small: 400 14px/1.5 var(--font-body);
    --text-eyebrow: 700 13px/1.2 var(--font-body);
    --text-caption: 600 12px/1.3 var(--font-body);
    --text-aside: 400 28px/1.2 var(--font-hand);
    --tracking-tight: -0.02em;
    --tracking-wide: 0.06em;

    /* Spacing, radius, shadow, motion, gradients (design system) */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;   /* card padding; phone gutter */
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --space-8: 64px;   /* between sections */
    --space-9: 96px;   /* around heroes */
    --space-10: 128px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-bubble: 40px;
    --radius-pill: 999px;
    --shadow-card: 0 1px 2px rgba(24, 20, 28, 0.04), 0 8px 24px rgba(24, 20, 28, 0.08);
    --shadow-card-hover: 0 4px 10px rgba(24, 20, 28, 0.06), 0 16px 36px rgba(24, 20, 28, 0.14);
    --shadow-pop: 0 12px 40px rgba(74, 30, 110, 0.28);
    --ease-standard: cubic-bezier(.22, .8, .34, 1);
    --duration-fast: 140ms;
    --duration-base: 220ms;
    --ease-pop: cubic-bezier(.34, 1.56, .64, 1);
    --duration-pop: 467ms;
    --brand-gradient: radial-gradient(120% 140% at 20% 10%, #6d2162 0%, #0d0a1c 60%, #341342 100%);
    --brand-gradient-soft: linear-gradient(135deg, #6d2162 0%, #0d0a1c 100%);
    --video-background: radial-gradient(60% 80% at 0% 0%, #6e2064 0%, transparent 70%), radial-gradient(50% 70% at 100% 100%, #42164d 0%, transparent 70%), #110c2a;
    --line-swoosh: 12px;

    /* Crafto's own variables (static/crafto/, docs/template.md) mapped to the tokens. Its demos' colours and Google
       fonts are not used. */
    --primary-font: var(--font-body);
    --alt-font: var(--font-display);
    --base-color: var(--ink-accent);
    --dark-gray: var(--ink);
    --medium-gray: var(--ink-muted);
    --very-light-gray: var(--surface-soft);
    --black: var(--ink-900);
}

/* Dark grounds ("dark is home"): .theme-dark on a section (hero, dark bands, footer) = ink-900; add .theme-deep for
   night-900 (the show's own ground). Pink-500 reads as text here (6.1:1). */
.theme-dark {
    --surface: var(--surface-dark);
    --surface-soft: var(--indigo-800);
    --surface-card-ground: var(--indigo-800);
    --surface-contrast: var(--white);
    --ink: var(--text-on-dark);
    --ink-muted: var(--mist-100);
    --ink-accent: var(--pink-500);
    --ink-on-contrast: var(--ink-900);
    --border: var(--border-on-dark);
    --border-strong: var(--white);
    --focus: var(--pink-500);
    --base-color: var(--ink-accent);
    --dark-gray: var(--ink);
    --medium-gray: var(--ink-muted);
    --very-light-gray: var(--surface-soft);
    background-color: var(--surface);
    color: var(--ink);
}

.theme-dark.theme-deep {
    --surface: var(--surface-video);
}

/* The brand's dark grounds with their glow (never stripes or glassy panels) */
.bg-brand-gradient {
    background: var(--brand-gradient);
}

.bg-brand-glow {
    background: var(--video-background);
}

/* ---------- Base: the brand's type and colours over Crafto's ---------- */
body {
    background: var(--surface);
    color: var(--ink);              /* Crafto's body text is its muted grey; the brand's is ink-900 */
    font: var(--text-body);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 800;               /* M PLUS Rounded 1c: 700/800/900 only, upright only */
    font-style: normal;
    letter-spacing: var(--tracking-tight);
}

h1 {
    font: var(--text-display-lg);
    letter-spacing: var(--tracking-tight);
}

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

/* Links in running text: pink-700 on light grounds (6.2:1), pink-500 on dark (6.1:1); underlined */
.rich-text a,
.page-body p a {
    color: var(--ink-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.rich-text a:hover,
.page-body p a:hover {
    color: var(--ink);
}

/* Eyebrow: uppercase label above a heading (Greek drops its accents in uppercase only with lang="el") */
.eyebrow {
    color: var(--ink-accent);
    font: var(--text-eyebrow);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
}

/* Handwritten aside: pink-500, one per screen at most, never body copy; 28px so it passes on cream as large text */
.aside {
    color: var(--pink-500);
    font: var(--text-aside);
}

.theme-dark .aside {
    color: var(--pink-500);
}

/* The speech bubble's tail (templates/includes/bubble_tail.svg), inside a bubble with a 2px outline (position:
   relative): its top edge on the outline's inner edge (top: 100%), the strokes starting on the outline's centre (y=1),
   the point 8px from its left. Keep --tail-left past the bubble's rounded corner (40px), or the tail's left side meets
   no straight outline. --bubble-fill: the bubble's own fill. */
.bubble-tail {
    position: absolute;
    top: 100%;
    left: var(--tail-left, 48px);
    overflow: visible;
    color: var(--white);
    transition: color var(--duration-fast) var(--ease-standard);
}

.bubble-tail__fill {
    fill: var(--bubble-fill, var(--night-900));
}

.bubble-tail__line {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linejoin: round;
}

/* ---------- Crafto buttons in the brand (pills; Crafto's own turn transparent on hover and break on dark grounds) */
.btn {
    border-radius: var(--radius-pill) !important;
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: normal;
    text-transform: none;
    transition: background-color var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard);
}

/* primary: pink-500 fill with on-pink (night-900) text, 6.0:1 at any size (the brand's own white-on-pink is 3.2:1) */
.btn.btn-base-color {
    border-color: var(--surface-accent);
    background-color: var(--surface-accent);
    color: var(--ink-on-accent);
}

.btn.btn-base-color:hover,
.btn.btn-base-color:active {
    border-color: var(--accent-primary-hover);
    background-color: var(--accent-primary-hover);
    color: var(--white);            /* 6.4:1 on pink-700 */
}

/* dark: ink-900 fill on light grounds, white fill on dark grounds */
.btn.btn-dark-gray {
    border-color: var(--surface-contrast);
    background-color: var(--surface-contrast);
    color: var(--ink-on-contrast);
}

.btn.btn-dark-gray:hover,
.btn.btn-dark-gray:active {
    border-color: var(--surface-accent);
    background-color: var(--surface-accent);
    color: var(--ink-on-accent);
}

/* outline: hairline border, ink text; gray-100 fill on hover */
.btn.btn-transparent-dark-gray {
    border: 1px solid var(--border);
    background-color: transparent;
    color: var(--ink);
}

.btn.btn-transparent-dark-gray:hover,
.btn.btn-transparent-dark-gray:active {
    border-color: var(--border-strong);
    background-color: var(--surface-soft);
    color: var(--ink);
}

/* ---------- Accessibility ---------- */
/* Focus ring: 2px, outside the control, in the focus colour; on dark grounds set --focus to a light value.
   !important: Crafto removes outlines on its links, buttons and form fields */
:focus-visible {
    outline: 2px solid var(--focus) !important;
    outline-offset: 2px;
}

.visually-hidden,
.visually-hidden-focusable:not(:focus):not(:focus-within) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.skip-link:focus {
    position: fixed;
    top: var(--space-2);
    left: var(--space-2);
    z-index: 10000;
    padding: var(--space-2) var(--space-4);
    background: var(--surface);
    color: var(--ink);
}

@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;
    }
}

/* ---------- Buttons ---------- */
.button {
    display: inline-block;
    min-height: 44px;
    padding: 10px var(--space-5);
    border: 0;
    border-radius: var(--radius-pill);
    background: var(--ink);
    color: var(--surface);
    font: inherit;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.link-button {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

/* ---------- Header (Crafto navbar, templates/includes/header.html) ---------- */
/* Crafto positions the navbar absolutely and pushes each page's first section down (top-space-margin): here the
   header stays in the flow instead, so no page has to know about it */
.site-header .navbar.disable-fixed {
    position: relative;
}

/* The menu stays at the top while the page scrolls (Elena, 2026-11-05); links reached by keyboard or an anchor stop
   below it, never hidden behind it (WCAG 2.4.11) */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
}

html {
    scroll-padding-top: 96px;
}

/* The simple logo in the header, 60px tall so the name inside stays readable (white, so the header is dark:
   brand book; Elena 2026-11-04) */
.site-header .navbar-brand.site-header__logo {
    padding-block: var(--space-2);
}

.site-header .navbar-brand.site-header__logo img {
    display: block;
    width: auto;
    height: 60px;
    max-height: none;
}

/* Sub-menu toggles are real buttons (Crafto's demo uses an <i>, not reachable by keyboard): 24×24 target at least */
.site-submenu-toggle {
    display: inline-grid;
    place-items: center;
    min-width: 24px;
    min-height: 24px;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
}

.navbar .navbar-nav .simple-dropdown .dropdown-menu.show {
    display: block; /* opened by its button (Bootstrap), not only on hover (Crafto) */
}

.site-submenu-toggle::after {
    display: none; /* Bootstrap's caret: the icon is the arrow */
}

/* The current menu item at full strength (Crafto dims the others on hover) */
.navbar .navbar-nav .nav-link[aria-current] {
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
}

.navbar .navbar-nav .dropdown-menu a[aria-current] {
    color: var(--ink);
    font-weight: 700;
}

.language-switch {
    display: inline-grid;
    place-items: center;
    min-width: 44px;
    min-height: 44px;
    color: var(--ink);
    font-weight: 700;
}

.site-header .navbar {
    background-color: var(--surface);   /* ink-900: .site-header is .theme-dark */
}

.site-header .navbar-toggler-line {
    background-color: var(--ink);
}

/* The phone menu panel (Crafto paints it white) and the open sub-menu sit on the dark ground too */
.site-header .navbar .navbar-collapse {
    background-color: var(--surface);
}

/* The open sub-menu and the phone menu panel sit on the dark ground too */
.site-header .navbar .navbar-nav .dropdown-menu {
    background-color: var(--indigo-800);
    box-shadow: var(--shadow-pop);
}

.site-header .navbar .navbar-nav .dropdown-menu a {
    color: var(--ink-muted);
}

.site-header .navbar .navbar-nav .dropdown-menu a:hover,
.site-header .navbar .navbar-nav .dropdown-menu a[aria-current] {
    color: var(--ink);
}

.site-header .navbar .navbar-nav .nav-link {
    color: var(--ink);
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: none;           /* brand: uppercase only for eyebrows and tags */
    letter-spacing: normal;
}

/* ---------- Footer (Crafto demo-magazine footer, templates/includes/footer.html): dark, ink-800, compact ---------- */
.site-footer {
    padding-block: var(--space-7) var(--space-5);
}

.site-footer.theme-dark {
    --surface: var(--ink-800);
    background-color: var(--surface);
}

.site-footer a,
.site-footer .link-button {
    color: var(--ink);
}

.site-footer a:hover,
.site-footer .link-button:hover {
    color: var(--ink-accent);
}

/* The logo and producer left, the links right; one column on phones */
.site-footer__main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--border);
}

.site-footer__brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
}

.site-footer__logo {
    width: 160px;
    height: auto;
}

.site-footer__heading {
    margin: 0;
    font-size: clamp(22px, 2.4vw, 28px);
    line-height: 1.15;
}

.site-footer__producer {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--ink-muted);
}

.site-footer__producer a {
    display: inline-flex;
}

/* The logo's box holds the lemon drop under the "O": centred, its letters sat 3px above the text's; down 3px, they
   share the line (Elena, 2026-11-05) */
.site-footer__producer img {
    transform: translateY(3px);
}

.site-footer__links {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--space-3);
    min-width: 0; /* a long row of pills wraps here instead of pushing the block under the logo */
}

/* "Listen on": the platforms as glyph pills (Company settings › Listen) */
.site-footer__label {
    margin: 0;
    color: var(--ink-muted);
    font: var(--text-eyebrow);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
}

.site-footer__listen,
.site-footer__social {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: var(--space-2);
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__social a {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    font-size: 20px;
}

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2) var(--space-5);
    padding-top: var(--space-4);
    color: var(--ink-muted);
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-5);
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (max-width: 991px) {
    .site-footer__main,
    .site-footer__bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .site-footer__brand,
    .site-footer__links {
        align-items: center;
    }

    .site-footer__listen,
    .site-footer__social,
    .site-footer__legal {
        justify-content: center;
    }

    .site-footer__logo {
        width: 128px;
    }
}

/* Phones: the platforms two to a row, all the same width (pills of their own widths wrap into ragged rows) */
@media (max-width: 575px) {
    .site-footer__links {
        align-self: stretch;
    }

    .site-footer__listen {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        max-width: 360px;
        margin-inline: auto;
    }

    .site-footer__listen .platform-link {
        justify-content: center;
        width: 100%;
    }
}

/* The sponsors' block above the footer (includes/sponsors_cta.html): the page above already ends with its own space */
.sponsors-cta .cta-panel {
    padding-top: 0;
}

/* …except after a page that ends with a dark band, flush with its bottom edge (a quote's page; Elena, 2026-11-08) */
.template-episodequote .sponsors-cta .cta-panel {
    padding-top: var(--space-8);
}

/* ---------- Search: the header's button and bar (static/js/search.js), the search page ---------- */
.header-icon {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--space-2);
}

.search-toggle {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--ink);
    font-size: 20px;
}

/* Crafto's .header-icon .icon stretches; with a 1em height that puts the glyph at the button's top, above the menu toggler */
.search-toggle .icon {
    align-self: center;
}

.search-toggle:hover,
.search-toggle[aria-expanded="true"] {
    color: var(--ink-accent);
}

.site-search {
    padding: var(--space-3) 0 var(--space-4);
    background: var(--surface);
}

.site-search[hidden] {
    display: none;
}

.search-form {
    display: flex;
    max-width: 640px;
    margin-inline: auto;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-pill);
    background: var(--surface-soft); /* indigo-800 in the dark header, gray-100 on the search page */
}

.search-form__input::placeholder {
    color: var(--ink-muted);
    opacity: 1;
}

.search-form:focus-within {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
}

.search-form__input {
    flex: 1;
    min-width: 0;
    padding: 12px var(--space-5);
    border: 0;
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--ink);
    font: var(--text-body);
}

.search-form__input:focus-visible {
    outline: none !important; /* the whole box shows the ring (.search-form:focus-within) */
}

.search-form__submit {
    display: inline-grid;
    flex: none;
    place-items: center;
    width: 48px;
    border: 0;
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--ink);
    font-size: 18px;
}

.search-form__submit:hover {
    color: var(--ink-accent);
}

/* The search page's results (templates/search.html; Elena, 2026-11-05): how many, the episodes / articles pills, then
   the rows ("Read on"'s .article-rows) */
.search-summary {
    margin: var(--space-6) 0 var(--space-4);
    color: var(--ink-muted);
    font: var(--text-body-lg);
}

.search-filter ul {
    margin-bottom: var(--space-4);
}

/* Nothing found: one of the 404's excuses in the brand's speech bubble (white text on night-900), its episode below */
.search-excuse__heading {
    margin: 0 0 var(--space-4);
    font: var(--text-heading);
}

.search-excuse {
    --tail-left: 59px;
    position: relative;
    margin: 0 0 calc(var(--space-6) + 18px);
    padding: var(--space-5) var(--space-7);
    border: 2px solid var(--white);
    border-radius: var(--radius-bubble);
    background: var(--night-900);
}

.search-excuse__text {
    margin: 0;
    color: var(--white);
    font: 800 clamp(1.25rem, 1.9vw, 1.75rem)/1.25 var(--font-display);
    letter-spacing: var(--tracking-tight);
    text-wrap: balance;
}

@media (max-width: 767px) {
    .search-excuse {
        padding: var(--space-4) var(--space-5);
    }
}

/* The topics or hosts the words were found in */
.article-row__matched {
    margin: var(--space-1) 0 0;
    color: var(--ink-muted);
    font: var(--text-small);
}

/* The subtitle, quote or summary a search's words were found in (Elena, 2026-11-08) */
.article-row__excerpt {
    margin: var(--space-1) 0 0;
    color: var(--ink-muted);
    font: var(--text-small);
}

/* ---------- Pages ---------- */
/* Page title: display-xl (900), the intro in body-lg */
.page-title-large .page-title__heading {
    font: var(--text-display-xl);
    letter-spacing: var(--tracking-tight);
}

.page-title__intro {
    color: var(--ink-muted);
    font: var(--text-body-lg);
}

.page-content {
    padding-bottom: var(--space-9);
}

/* Headings in the page body: display-md (SectionHeading), h3 in the heading style */
.page-body h2 {
    font: var(--text-display-md);
    letter-spacing: var(--tracking-tight);
}

.page-body h3 {
    font: var(--text-heading);
}
/* Blocks sit in a column: they size to it (container queries), not to the window */
.page-body {
    container-type: inline-size;
}

.page-body > * + * {
    margin-top: var(--space-6);
}

.not-found-help {
    padding-block: var(--space-8);
}

/* The 404's band: the home welcome's (its band, bubble and handwritten line), the excuse as the h1 */
.not-found {
    padding-block: var(--space-8) calc(var(--space-8) + 8px);
}

.not-found__eyebrow {
    margin-bottom: var(--space-2);
    color: var(--pink-500);
}

.not-found__title {
    margin: 0;
    color: var(--white);
    font: 800 clamp(1.5rem, 2.6vw, 2.25rem)/1.2 var(--font-display);
    letter-spacing: var(--tracking-tight);
    text-wrap: balance;
}

.not-found__episode,
.home-random__episode {
    margin: var(--space-4) 0 0;
    color: var(--mist-100);
    font: var(--text-body);
}

.not-found__episode a,
.home-random__episode a {
    color: var(--white);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--pink-500);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.not-found__show,
.home-random__show {
    font-weight: 700; /* "· The Breakroom · 29/05/2026" in bold (Elena, 2026-11-07) */
    white-space: nowrap;
}

.not-found__episode a:hover,
.home-random__episode a:hover {
    color: var(--pink-500);
}

.not-found__again {
    max-width: 1080px;
    margin: var(--space-6) auto 0;
    text-align: right;
}

.not-found__again a {
    color: var(--pink-500);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.not-found__help {
    margin-bottom: var(--space-4);
    font: var(--text-heading);
}

.not-found-help .search-form {
    margin-bottom: var(--space-6);
}

.not-found-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ---------- Blocks (core/blocks.py; restyled at template intake) ---------- */
.block-image figcaption,
.block-video figcaption,
.block-quote figcaption {
    color: var(--ink-muted);
    font-size: 14px;
}

/* Call to action: a dark section (the brand's "Telegram CTA"), soft brand gradient, primary pink button */
.block-cta {
    padding: var(--space-7);
    border-radius: var(--radius-lg);
    background: var(--brand-gradient-soft);
}

.block-cta h2 {
    color: var(--ink);
    font: var(--text-display-lg);
}

.block-cta p {
    color: var(--ink-muted);
}

.block-quote blockquote {
    margin: 0;
    font-size: 24px;
    line-height: 1.4;
}

@container (max-width: 560px) {
    .block-cta {
        padding: var(--space-5) !important;
    }

    .block-quote blockquote {
        font-size: 20px;
    }
}

/* ---------- External content behind consent (static/js/consent.js) ---------- */
.cc-embed {
    display: grid;
    place-items: center;
    gap: var(--space-4);
    min-height: 240px;
    padding: var(--space-5);
    border: 1px dashed var(--border);
    border-radius: var(--radius-md);
    text-align: center;
}

.cc-embed.is-loaded {
    display: block;
    min-height: 0;
    padding: 0;
    border: 0;
}

.cc-embed-video.is-loaded {
    aspect-ratio: 16 / 9;
}

.cc-embed iframe {
    width: 100%;
    height: 100%;
    min-height: 240px;
    border: 0;
}

/* ---------- Cookie consent box (vanilla-cookieconsent's variables, from the tokens) ---------- */
#cc-main {
    --cc-font-family: var(--font-body);
    --cc-bg: var(--white);
    --cc-primary-color: var(--ink-900);
    --cc-secondary-color: var(--gray-700);
    --cc-btn-primary-bg: var(--ink-900);
    --cc-btn-primary-color: var(--white);
    --cc-btn-primary-border-color: var(--ink-900);
    --cc-btn-primary-hover-bg: var(--pink-700);
    --cc-btn-primary-hover-color: var(--white);
    --cc-btn-primary-hover-border-color: var(--pink-700);
    /* Equal weight for "Only necessary" and "Allow all" (no nudging): both buttons look the same */
    --cc-btn-secondary-bg: var(--ink-900);
    --cc-btn-secondary-color: var(--white);
    --cc-btn-secondary-border-color: var(--ink-900);
    --cc-btn-secondary-hover-bg: var(--pink-700);
    --cc-btn-secondary-hover-color: var(--white);
    --cc-btn-secondary-hover-border-color: var(--pink-700);
    --cc-btn-border-radius: var(--radius-pill);
    --cc-modal-border-radius: var(--radius-md);
    --cc-separator-border-color: var(--gray-300);
    --cc-toggle-on-bg: var(--pink-700);
    --cc-toggle-off-bg: var(--gray-500);
    --cc-toggle-readonly-bg: var(--gray-300);
    --cc-cookie-category-block-bg: var(--pink-50);
    --cc-cookie-category-block-border: var(--pink-300);
    --cc-cookie-category-block-hover-bg: var(--gray-100);
    --cc-cookie-category-block-hover-border: var(--pink-300);
    --cc-overlay-bg: rgba(13, 10, 28, 0.8);
    --cc-link-color: var(--pink-700);
}

/* ---------- Cards and lists (episodes, blog) ---------- */
/* The brand's cards: surface-card, shadow-card, radius-md, no border; hover: shadow-card-hover and a 2px lift (the
   blog's; episodes: .episode-box) */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: var(--space-6);
    margin: 0;
    padding: 0;
    list-style: none;
}

.post-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--surface-card-ground);
    box-shadow: var(--shadow-card);
    transition: box-shadow var(--duration-base) var(--ease-standard), transform var(--duration-base) var(--ease-standard);
}

.post-card:hover,
.post-card:focus-within {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-2px);
}

.post-card__picture img,
.picture-placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* "Picture to come": the brand glow, never a grey box */
.picture-placeholder {
    background: var(--video-background);
}

.post-card__text {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-5) var(--space-5);
}

.post-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2);
    margin: 0;
    color: var(--ink-muted);
    font: var(--text-caption);
}

.post-card__title {
    margin: 0;
    font: var(--text-heading);
    letter-spacing: normal;
}

.post-card__title a {
    color: var(--ink);
    text-decoration: none;
}

/* The whole card is the link (the title's link stretched over it) */
.post-card__title a::after {
    content: "";
    position: absolute;
    inset: 0;
}

.post-card__title a:focus-visible {
    outline: none !important;
}

.post-card:has(a:focus-visible) {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
}


/* Badge (episode number, upright: the display font has no italic) and Tag */
.badge-number {
    color: var(--ink-accent);
    font: 800 13px/1.2 var(--font-display);
}

.tag {
    display: inline-block;
    padding: 2px var(--space-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    background: var(--surface-soft);
    color: var(--ink);
    font: var(--text-caption);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
}

.tag--dark {
    background: transparent;
}

/* A topic that links to its page (Elena, 2026-11-05): the brand's "brand" tag (pink-50, pink-300, pink-700), at
   least 28px high to tap */
.tag--link {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px var(--space-3);
    border-color: var(--pink-300);
    background: var(--pink-50);
    color: var(--pink-700);
    text-decoration: none;
    transition: background-color var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard);
}

.tag--link:hover {
    background: var(--pink-700);
    color: var(--white);
}


.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin: 0;
    padding: 0;
    list-style: none;
}

/* The brand's SectionHeading: title, and a "View all" action on the right */
.episode-section + .episode-section {
    margin-top: var(--space-8);
}

.section-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-3);
    margin-bottom: var(--space-5);
}

.section-heading__title {
    margin: 0 0 var(--space-5);
    font: var(--text-display-md);
    letter-spacing: var(--tracking-tight);
}

.section-heading .section-heading__title {
    margin: 0;
}

.section-heading__action {
    color: var(--ink-accent);
    font-weight: 700;
}

/* A link above a list, on the right (e.g. a topic's page: all the episodes; Elena, 2026-11-05) */
.list-action {
    margin: 0 0 var(--space-5);
    text-align: right;
}

/* One host's episodes (?host=): the heading, and a link back to all the show's episodes beside it */
.host-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: var(--space-2) var(--space-5);
    margin-bottom: var(--space-5);
}

.host-filter .section-heading__title {
    margin: 0;
}

.host-filter__clear {
    color: var(--ink-accent);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Season filter: pills; the current one filled */
.season-filter ul,
.listen-on ul {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin: 0 0 var(--space-6);
    padding: 0;
    list-style: none;
}

.season-filter a {
    display: inline-grid;
    place-items: center;
    min-height: 40px;
    padding: 0 var(--space-4);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
}

.season-filter a:hover {
    background: var(--surface-soft);
}

.season-filter a[aria-current] {
    border-color: var(--surface-contrast);
    background: var(--surface-contrast);
    color: var(--ink-on-contrast);
}

/* /episodes/' filters: the shows, then «English» at the end of the row (Elena, 2026-12-02); under them on phones */
.episode-filters {
    display: flex;
    flex-wrap: wrap;
    column-gap: var(--space-3);
}

.episode-filters__language {
    margin-left: auto;
}

.episode-filters__language a {
    display: inline-flex;
    align-items: center;
}

.episode-filters__clear {
    margin-left: var(--space-2);
    font-size: 1.15em;
    line-height: 1;
}

@media (max-width: 575px) {
    .episode-filters__language {
        margin-left: 0;
    }

    .episode-filters .season-filter:not(:last-child) ul {
        margin-bottom: var(--space-3);
    }
}

/* The list pages' titles (Episodes, its shows and topics, the blog): one size smaller (Elena, 2026-11-05) */
.page-title--small .page-title-large .page-title__heading {
    font: var(--text-display-lg);
}

/* The blog's RSS feed under its title (templates/blog/blog_index_page.html; Elena, 2026-11-07) */
.blog-feed-link {
    margin: calc(-1 * var(--space-7)) 0 var(--space-6);
    text-align: center;
}

/* The pages of a list of episodes (Crafto demo-blogger-style's pagination-style-01; Elena, 2026-11-05): round
   45px numbers, the current one filled ink-900; the brand's colours instead of the demo's faint grey */
.pager-numbers {
    margin-top: var(--space-8);
}

.pagination-style-01 {
    flex-wrap: wrap;
    gap: var(--space-1);
    padding: 0;
    font: var(--text-small);
    font-weight: 700;
}

.pagination-style-01 .page-item .page-link {
    display: inline-grid;
    place-items: center;
    margin: 0 4px;
    color: var(--ink-muted);
}

.pagination-style-01 .page-item .page-link .icon {
    font-size: 18px;
}

.pagination-style-01 .page-item a.page-link:hover {
    background: var(--surface-card);
    color: var(--ink);
}

.pagination-style-01 .page-item.active .page-link {
    background: var(--ink-900);
    color: var(--white);
}

/* The arrow on the first or last page: shown faint, not a link */
.pagination-style-01 .page-link.is-disabled {
    color: var(--gray-300);
}

.pagination-style-01 .page-link.is-gap {
    min-width: 24px;
}

/* ---------- Episode page ---------- */
/* Compact (Elena, 2026-11-05: "way too tall"): 48px above and below, the title on a wider line. The ground as the
   home page's welcome (Elena, 2026-11-05: no seam under the menu): the header's ink-900 at the top, the brand's plum
   and grape glowing up from the bottom */
.episode-hero.bg-brand-gradient {
    padding-block: var(--space-7);
    background:
        radial-gradient(70% 140% at 12% 130%, rgba(109, 33, 98, 0.9) 0%, transparent 70%),
        radial-gradient(60% 120% at 92% 140%, rgba(66, 22, 77, 0.9) 0%, transparent 70%),
        var(--ink-900);
}

.episode-hero .eyebrow {
    margin-bottom: var(--space-2);
}

.episode-hero .container > :last-child {
    margin-bottom: 0;
}

.episode-hero__meta a {
    color: inherit;
}

/* The date and the length (Elena, 2026-11-08) each stay on one line; the line breaks between them */
.episode-hero__meta time {
    white-space: nowrap;
}

.episode-hero__title {
    max-width: 32ch;
    margin: 0 0 var(--space-3);
    color: var(--ink);
    font: var(--text-display-lg);
    letter-spacing: var(--tracking-tight);
}

/* The subtitle, under the title (Elena, 2026-11-05) */
.episode-hero__subtitle {
    max-width: 48ch;
    margin: 0 0 var(--space-3);
    color: var(--white);
    font: var(--text-heading);
}

.episode-hero__guests {
    margin-bottom: var(--space-1); /* the hosts' and the guests' lines together */
    color: var(--ink-muted);
    font: var(--text-body-lg);
}

/* A guest's LinkedIn or website (Elena, 2026-11-05): underlined in pink, so it reads as a link */
.episode-hero__guests a {
    color: var(--ink);
    text-decoration: underline;
    text-decoration-color: var(--pink-500);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.episode-hero__guests a:hover {
    color: var(--pink-500);
}

/* Whatever comes first (the tabs, a lone player, the picture) stands off the title band like the blocks after it
   (Elena, 2026-11-05) */
.episode-body .page-body > :first-child {
    margin-top: var(--space-6);
}

.cc-embed-audio.is-loaded {
    height: 152px;
}

/* The players behind two tabs, "Δες" / "Άκου" (static/js/tabs.js; Elena, 2026-11-05): pills as the season filter's,
   the selected one filled. Without JavaScript (no .is-tabbed) both players show, apart */
.player-tabs__list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.player-tabs__list[hidden] {
    display: none;
}

.player-tabs__tab {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    min-height: 40px;
    padding: 0 var(--space-4);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--ink);
    font: var(--text-small);
    font-weight: 700;
    cursor: pointer;
}

.player-tabs__tab:hover {
    background: var(--surface-soft);
}

.player-tabs__tab[aria-selected="true"] {
    border-color: var(--surface-contrast);
    background: var(--surface-contrast);
    color: var(--ink-on-contrast);
}

.player-tabs:not(.is-tabbed) .player-tabs__panel + .player-tabs__panel {
    margin-top: var(--space-5);
}

.cc-embed-audio.is-loaded iframe {
    min-height: 152px;
    border-radius: var(--radius-md);
}

.listen-on ul {
    margin: 0;
}

/* Platform links (core/templatetags/platforms.py): the glyph pill, or the platform's own badge, never altered */
.platform-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.platform-link .icon {
    flex: none;
    font-size: 1.15em;
}

/* Glyph only: a small round button (the name is in the tooltip and for screen readers) */
.platform-icon {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    color: var(--ink);
    transition: background-color var(--duration-fast) var(--ease-standard),
                color var(--duration-fast) var(--ease-standard);
}

.platform-icon .icon {
    font-size: 16px;
}

.platform-icon:hover {
    background: var(--surface-contrast);
    color: var(--ink-on-contrast);
}

.platform-icon:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
}

.platform-badge {
    display: inline-block;
    padding: 4px; /* the platforms ask for clear space around the badge (a tenth of its height) */
    border-radius: var(--radius-sm);
}

.platform-badge img {
    display: block;
    width: auto;
    height: 40px;
}

.platform-badge:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
}

.episode-read-on h2,
.post-episodes h2 {
    font: var(--text-display-md);
}

/* Close under the previous / next episode (Elena, 2026-11-05) */
.episode-body .page-body > .episode-read-on {
    margin-top: var(--space-7);
}

/* "Read on" (Elena, 2026-11-05: tidy, clearly a list of articles): one row per article, a 16:9 thumbnail, "Article"
   and the date, the title, an arrow; rules between the rows; the whole row is the link (the title's, stretched) */
.article-rows {
    margin: var(--space-4) 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--border);
}

.article-rows > li {
    border-bottom: 1px solid var(--border);
}

.article-row {
    position: relative;
    display: grid;
    grid-template-columns: 120px 1fr auto;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4) 0;
}

.article-row__picture img,
.article-row__picture .picture-placeholder {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.article-row__meta {
    display: flex;
    gap: var(--space-2);
    margin: 0 0 var(--space-1);
    color: var(--ink-accent);
    font: var(--text-eyebrow);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
}

.article-row__title {
    margin: 0;
    font: var(--text-heading);
    font-size: 18px;
    line-height: 1.35;
}

.article-row__title a {
    color: var(--ink);
    text-decoration: none;
}

.article-row__title a::after {
    content: "";
    position: absolute;
    inset: 0;
}

.article-row__title a:focus-visible {
    outline: none !important;
}

.article-row:has(a:focus-visible) {
    outline: 2px solid var(--focus);
    outline-offset: 4px;
    border-radius: var(--radius-sm);
}

.article-row__arrow {
    color: var(--ink-muted);
    font-size: 20px;
    transition: transform var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard);
}

.article-row:hover .article-row__title a,
.article-row:hover .article-row__arrow {
    color: var(--ink-accent);
}

.article-row:hover .article-row__arrow {
    transform: translateX(4px);
}

/* A topic's icon (episodes/topic_icons.py; Elena, 2026-11-08): pink-700 on pink-50 (5.8:1), a rounded tile; a 16:9
   tile in the search's picture column, a square on the topics' page (/episodes/topics/), whose rows have no picture */
.topic-icon {
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-sm);
    background: var(--pink-50);
    color: var(--pink-700);
    font-size: 28px;
}

.article-row--topic {
    grid-template-columns: 56px 1fr auto;
}

.article-row--topic .topic-icon {
    aspect-ratio: 1;
    border-radius: var(--radius-md);
}

.article-row__count {
    margin: var(--space-1) 0 0;
    color: var(--ink-muted);
    font: var(--text-small);
}

@media (max-width: 575px) {
    .article-row {
        grid-template-columns: 88px 1fr;
    }

    .article-row__arrow {
        display: none;
    }

    .article-row--topic {
        grid-template-columns: 48px 1fr;
    }
}

.episode-pager {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: var(--space-4);
    padding-top: var(--space-6);
    border-top: 1px solid var(--border);
}

.episode-pager a {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
}

.episode-pager__newer {
    text-align: right;
}

.post-title {
    font: var(--text-display-lg);
    letter-spacing: var(--tracking-tight);
}

/* Lists in running text keep their bullets and numbers (Crafto removes them) */
.rich-text ul,
.rich-text ol {
    margin: 0 0 var(--space-5);
    padding-left: var(--space-6);
}

.rich-text ul {
    list-style: disc;
}

.rich-text ol {
    list-style: decimal;
}

.rich-text li {
    list-style: inherit;
}

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

/* A small label heading (e.g. "Topics"), not a display heading */
.page-body h2.eyebrow {
    margin-bottom: var(--space-3);
    font: var(--text-eyebrow);
    letter-spacing: var(--tracking-wide);
}

/* Home: the welcome (the first block): a slim band on the dark gradient, the handwritten greeting beside the brand's
   speech bubble, topic stickers on the bubble's edge. Nothing moves. */
.home-welcome {
    padding-block: var(--space-7) calc(var(--space-7) + 8px); /* + the tail */
    /* The header's ink-900 at the top edge (no seam under the menu bar), the brand's plum and grape glowing up from
       the bottom */
    background:
        radial-gradient(70% 140% at 12% 130%, rgba(109, 33, 98, 0.9) 0%, transparent 70%),
        radial-gradient(60% 120% at 92% 140%, rgba(66, 22, 77, 0.9) 0%, transparent 70%),
        var(--ink-900);
}

.home-welcome__stage {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-6);
    max-width: 1080px;
    margin-inline: auto;
}

.home-welcome__greeting {
    flex: none;
    max-width: 11ch;
    margin: 0;
    color: var(--pink-500);
    font: 400 clamp(1.75rem, 2.4vw, 2.25rem)/1.1 var(--font-hand);
    transform: rotate(-4deg);
}

/* The bubble: white outline, radius-bubble, filled with the dark of the band; the tail (.bubble-tail) bottom left,
   past the rounded corner */
.home-welcome__bubble {
    --tail-left: 59px;
    position: relative;
    flex: 1;
    padding: var(--space-5) var(--space-7);
    border: 2px solid var(--white);
    border-radius: var(--radius-bubble);
    background: var(--night-900);
}

.home-welcome__text {
    margin: 0;
    color: var(--white);
    font: 800 clamp(1.25rem, 1.9vw, 1.75rem)/1.25 var(--font-display);
    letter-spacing: var(--tracking-tight);
}

/* The release schedule (Elena, 2026-11-08): solid pink with night-900 text (the primary button's pair, 6.0:1), in the
   display face, tilted a little like the stickers, so it is seen ("I almost didn't notice it": the brand's soft tag
   was too quiet); a calendar glyph; in sentence case, being a sentence */
.home-welcome__schedule {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    margin: var(--space-4) 0 0;
    padding: 8px var(--space-4);
    border-radius: var(--radius-pill);
    background: var(--pink-500);
    color: var(--night-900);
    font: 800 clamp(1rem, 1.3vw, 1.125rem)/1.2 var(--font-display);
    letter-spacing: var(--tracking-tight);
    transform: rotate(-2deg);
    box-shadow: 0 6px 18px rgba(255, 72, 149, 0.35);
}

.home-welcome__schedule .icon {
    flex: none;
    font-size: 1.15em;
}

.home-welcome__topics {
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-welcome__topic {
    position: absolute;
    z-index: 1;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    background: var(--night-900);
    font: 700 13px/1.2 var(--font-body);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    white-space: nowrap;
}

/* Up to three, stuck on the bubble's top and bottom edges, each tilted; colours take turns */
.home-welcome__topic--1 { top: -14px; right: 48px; transform: rotate(6deg); }
.home-welcome__topic--2 { bottom: -14px; right: 22%; transform: rotate(-5deg); }
.home-welcome__topic--3 { top: -14px; right: 34%; transform: rotate(-4deg); }
.home-welcome__topic:nth-child(n+4) { display: none; }

.home-welcome__topic:nth-child(3n+1) {
    background: var(--pink-500);
    color: var(--night-900);
}

.home-welcome__topic:nth-child(3n+2) {
    border: 2px solid var(--white);
    color: var(--white);
}

.home-welcome__topic:nth-child(3n) {
    border: 2px solid var(--pink-500);
    color: var(--pink-500);
}

@media (max-width: 991px) {
    .home-welcome__topic {
        display: none;
    }
}

@media (max-width: 767px) {
    .home-welcome__stage {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-4);
    }

    .home-welcome__greeting {
        max-width: none;
        transform: rotate(-2deg);
    }

    .home-welcome__bubble {
        padding: var(--space-4) var(--space-5);
    }
}

/* A break, at random (templates/home/sections/random.html; Elena, 2026-11-07): the welcome's band and bubble. Left:
   the title, the handwritten subtitle, the episode's picture as a tilted card. Right: the bubble (its top in line with
   the title's), under it the mug its tail points at and the button. Phones: title, bubble, picture, button. */
.home-random {
    padding-block: var(--space-8);
}

.home-random__stage {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    grid-template-areas:
        "head bubble"
        "picture bubble"
        "picture after";
    gap: var(--space-5) var(--space-6);
    align-items: start;
    max-width: 1080px;
    margin-inline: auto;
}

.home-random__head {
    grid-area: head;
}

.home-random__title {
    margin: 0;
    color: var(--white);
    font: var(--text-display-lg);
    letter-spacing: var(--tracking-tight);
    text-wrap: balance;
}

.home-random__subtitle {
    margin: var(--space-2) 0 0;
    color: var(--pink-500);
    font: 400 clamp(1.5rem, 2vw, 1.875rem)/1.1 var(--font-hand);
    transform: rotate(-4deg);
}

.home-random__bubble {
    grid-area: bubble;
}

/* The episode's picture, a card tilted the other way from the subtitle, as if dropped on the table */
.home-random__picture {
    grid-area: picture;
    display: block;
    border: 4px solid var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-pop);
    transform: rotate(3deg);
    transition: transform var(--duration-fast) var(--ease-standard);
}

.home-random__picture:hover {
    transform: rotate(0deg) scale(1.03);
}

.home-random__picture img {
    display: block;
    width: 100%;
    height: auto;
}

.home-random__quote {
    margin: 0;
}

.home-random__quote p {
    margin: 0;
    color: var(--white);
    font: 800 clamp(1.25rem, 1.9vw, 1.75rem)/1.3 var(--font-display);
    letter-spacing: var(--tracking-tight);
    text-wrap: wrap; /* lines as full as they go (balance and pretty shortened them: empty space on the right; Elena, 2026-11-07) */
}

.home-random__quote p::before { content: "«"; }
.home-random__quote p::after { content: "»"; }

/* Under the bubble: the mug (centred under the tail's tip, 67px in) and the button on the right */
.home-random__after {
    grid-area: after;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-4);
    padding-left: 19px;
}

/* The mug: white outline like the bubble, pink coffee, mist steam. Steam rising and a sip, twice (4.8s with the
   delays: under five seconds, so no pause control), then still with the steam showing; again on hover */
.coffee {
    flex: none;
    overflow: visible;
}

.coffee__mug {
    fill: var(--night-900);
    stroke: var(--white);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.coffee__coffee {
    fill: var(--pink-500);
}

.coffee__steam {
    fill: none;
    stroke: var(--mist-100);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 32;
    animation: coffee-steam 2.2s var(--ease-standard) 2 both;
}

.coffee__steam--2 { animation-delay: 0.2s; }
.coffee__steam--3 { animation-delay: 0.4s; }

.coffee__cup {
    transform-box: view-box;
    transform-origin: 48px 84px;
    animation: coffee-sip 2.2s ease-in-out 2 both;
}

.home-random:hover .coffee__steam { animation-name: coffee-steam-again; }
.home-random:hover .coffee__cup { animation-name: coffee-sip-again; }

@keyframes coffee-steam {
    0% { stroke-dashoffset: 32; opacity: 0; transform: translateY(8px); }
    40% { opacity: 1; }
    100% { stroke-dashoffset: 0; opacity: 1; transform: translateY(0); }
}

@keyframes coffee-steam-again {
    0% { stroke-dashoffset: 32; opacity: 0; transform: translateY(8px); }
    40% { opacity: 1; }
    100% { stroke-dashoffset: 0; opacity: 1; transform: translateY(0); }
}

@keyframes coffee-sip {
    0%, 55%, 100% { transform: rotate(0deg); }
    75% { transform: rotate(-12deg) translateY(-4px); }
}

@keyframes coffee-sip-again {
    0%, 55%, 100% { transform: rotate(0deg); }
    75% { transform: rotate(-12deg) translateY(-4px); }
}

@media (max-width: 767px) {
    .home-random__stage {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: none;
        grid-template-areas: "head" "bubble" "picture" "after";
    }

    .home-random__subtitle {
        transform: rotate(-2deg);
    }

    .home-random__picture {
        max-width: 320px;
        margin-top: var(--space-3);
        transform: none; /* straight on phones (Elena, 2026-11-07) */
    }

    .home-random__picture:hover {
        transform: none;
    }

    .home-random__after {
        justify-content: center;
        padding-left: 0;
    }

    .coffee {
        display: none;
    }
}

/* "Download the picture" beside "Another episode" (Elena, 2026-11-08): the outline button on the dark band */
.home-random__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: var(--space-3);
}

@media (max-width: 767px) {
    .home-random__buttons {
        justify-content: center;
    }
}

.btn.home-random__download,
.btn.quote-share__button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

/* A quote's page (/episodes/quotes/<id>/; Elena, 2026-11-08): the square card on the welcome's dark band, beside it
   the title, the episode and the actions; one column on phones */
.quote-share {
    padding-block: var(--space-8);
}

.quote-share__stage {
    display: grid;
    grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
    align-items: center;
    gap: var(--space-8);
    max-width: 1080px;
    margin-inline: auto;
}

.quote-share__card {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.quote-share__title {
    margin: 0 0 var(--space-4);
    color: var(--ink);
    font: var(--text-display-lg);
    letter-spacing: var(--tracking-tight);
}

.quote-share__episode {
    margin: 0 0 var(--space-6);
    color: var(--ink-muted);
    font: var(--text-body-lg);
}

.quote-share__episode a {
    color: var(--ink-accent);
    font-weight: 700;
}

.quote-share__show {
    white-space: nowrap;
}

.quote-share__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.quote-share__more {
    margin: var(--space-5) 0 0;
}

.quote-share__more a {
    color: var(--ink);
    font-weight: 700;
}

@media (max-width: 991px) {
    .quote-share__stage {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--space-6);
        max-width: 520px;
    }
}

/* A call to action (home: Telegram; About: sponsors): a rounded dark panel with the brand glow, the glyph in a pink disc, the text,
   the primary button */
.cta-panel {
    padding-block: var(--space-8);
}

.cta-panel__panel {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    padding: var(--space-7) var(--space-8);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(60% 140% at 0% 0%, rgba(109, 33, 98, 0.9) 0%, transparent 70%),
        radial-gradient(50% 120% at 100% 100%, rgba(66, 22, 77, 0.9) 0%, transparent 70%),
        var(--night-900);
    color: var(--ink-muted);
}

.cta-panel__glyph {
    display: grid;
    flex: none;
    place-items: center;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--pink-500);
    color: var(--night-900);
    font-size: 44px;
    transform: rotate(-8deg);
}

.cta-panel__text {
    flex: 1;
}

.cta-panel__title {
    margin: 0 0 var(--space-2);
    color: var(--ink);
    font: var(--text-display-md);
    letter-spacing: var(--tracking-tight);
}

.cta-panel__button {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

@media (max-width: 767px) {
    .cta-panel__panel {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-4);
        padding: var(--space-6) var(--space-5);
    }

    .cta-panel__glyph {
        width: 64px;
        height: 64px;
        font-size: 32px;
    }
}

/* Home: the spotlight (Elena, 2026-11-30; templates/home/sections/spotlight.html): after the slider (moved
   there: Elena, 2026-11-30), when ticked, on surface-soft like the podcast block; the dark band of "A break, at
   random" follows. A white card on the cream page (surface-card, shadow-card, radius-lg): the picture (1200×630)
   on the left, the text on the right; stacked below 992px */
.home-spotlight {
    --surface: var(--surface-soft); /* the podcast block's darker ground (Elena, 2026-11-30) */
    padding-block: var(--space-8);
    background: var(--surface);
}

.home-spotlight__card {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
    gap: var(--space-7);
    padding: var(--space-5);
    border-radius: var(--radius-lg);
    background: var(--surface-card);
    box-shadow: var(--shadow-card);
}

.home-spotlight__picture {
    display: block;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.home-spotlight__picture img,
.home-spotlight__picture .picture-placeholder {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1200 / 630;
    object-fit: cover;
}

.home-spotlight__body {
    padding-right: var(--space-5);
}

.home-spotlight__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2) var(--space-4);
    margin: 0 0 var(--space-4);
}

/* The welcome's schedule pill: pink-500 with night-900 text (6.0:1), tilted */
.home-spotlight__label {
    display: inline-block;
    padding: 6px var(--space-4);
    border-radius: var(--radius-pill);
    background: var(--pink-500);
    color: var(--night-900);
    font: 800 1rem/1.2 var(--font-display);
    letter-spacing: var(--tracking-tight);
    transform: rotate(-2deg);
}

/* Handwritten, pink-700 on white (6.6:1): pink-500 would be 3.0:1 */
.home-spotlight__note {
    color: var(--pink-700);
    font: var(--text-aside);
    line-height: 1.1;
    transform: rotate(-3deg);
}

.home-spotlight__title {
    margin: 0 0 var(--space-3);
    color: var(--ink);
    font: var(--text-display-md);
    letter-spacing: var(--tracking-tight);
}

.home-spotlight__text {
    margin: 0 0 var(--space-4);
    color: var(--ink-muted);
}

.home-spotlight__details {
    margin: 0 0 var(--space-5);
    padding: 0;
    list-style: none;
    color: var(--ink);
    font-weight: 700;
}

.home-spotlight__details li {
    position: relative;
    padding-left: var(--space-5);
}

.home-spotlight__details li + li {
    margin-top: var(--space-1);
}

.home-spotlight__details li::before {
    content: "";
    position: absolute;
    top: 0.6em;
    left: 2px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pink-500);
}

.home-spotlight__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

@media (max-width: 991px) {
    .home-spotlight__card {
        grid-template-columns: 1fr;
        gap: var(--space-5);
        padding: var(--space-4);
    }

    .home-spotlight__body {
        padding: 0 var(--space-2) var(--space-3);
    }
}

/* Home: the latest episodes (Crafto demo-green-energy's "Browse the latest / Latest articles"): a centred heading,
   then cards three to a row (the brand's card: surface-card, shadow-card, radius-md, lift on hover) */
.home-episodes {
    padding-block: var(--space-8);
    background: var(--surface-soft);
}

.home-episodes__heading {
    margin-bottom: var(--space-7);
    text-align: center;
}

.home-episodes__title {
    margin: 0;
    color: var(--ink);
    font: var(--text-display-lg);
    letter-spacing: var(--tracking-tight);
}

.home-episodes__more {
    margin: var(--space-7) 0 0;
    text-align: center;
}

.episode-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin: 0;
    padding: 0;
    list-style: none;
}

.episode-box {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--surface-card);
    box-shadow: var(--shadow-card);
    transition: box-shadow var(--duration-fast) var(--ease-standard),
                transform var(--duration-fast) var(--ease-standard);
}

.episode-box:hover,
.episode-box:focus-within {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-2px);
}

/* The episodes' own picture shape, 930×380, as in the slider above (Elena, 2026-11-05) */
.episode-box__picture img,
.episode-box__picture .picture-placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 930 / 380;
    object-fit: cover;
}

.episode-box__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: var(--space-6);
}

.episode-box__title {
    margin: 0 0 var(--space-3);
    font: 800 20px/1.3 var(--font-display);
    letter-spacing: var(--tracking-tight);
}

.episode-box__title a {
    color: var(--ink);
    text-decoration: none;
}

.episode-box__title a:hover {
    color: var(--ink-accent);
}

/* The show's name, in the lists of every show (/episodes/, a topic's page) */
.episode-box__show {
    margin: 0 0 var(--space-1);
    color: var(--ink-accent);
    font: var(--text-eyebrow);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
}

/* The other podcast, or the guests */
.episode-box__guests {
    margin: 0 0 var(--space-2);
    color: var(--ink-muted);
    font: var(--text-small);
}

.episode-box__summary {
    margin: 0 0 var(--space-5);
    color: var(--ink-muted);
    font: var(--text-small);
    line-height: 1.6;
}

/* The demo's footer line: the listen buttons */

.episode-box__meta {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin: 0 0 var(--space-2);
    color: var(--ink);
    font: var(--text-small);
    font-weight: 600;
}

.episode-box__listen {
    display: flex;
    gap: var(--space-2);
    margin: auto 0 0; /* pushed to the card's foot */
    padding: 0;
    list-style: none;
}

.episode-box__footer {
    padding: var(--space-4) 0 0; /* after .episode-box__listen's padding: 0 would undo it */
    border-top: 1px solid var(--border);
}

@media (max-width: 991px) {
    .episode-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .episode-grid {
        grid-template-columns: 1fr;
    }
}

/* Home: the blog (Crafto demo-blogger's "Trending news"): a soft rounded panel, the title and button on the left,
   the posts moving by on the right, three in view */
.home-blog {
    padding-block: var(--space-8);
}

.home-blog__panel {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 3fr;
    align-items: center;
    gap: var(--space-7);
    padding: var(--space-8) var(--space-7);
    border-radius: var(--radius-lg);
    background: var(--surface-soft);
}

.home-blog__title {
    margin: 0 0 var(--space-6);
    color: var(--ink);
    font: var(--text-display-lg);
    letter-spacing: var(--tracking-tight);
}

/* Room inside the slider for the cards' shadows (Swiper clips at its edges) */
.home-blog__swiper {
    margin: -12px;
    padding: 12px;
}

.home-blog__swiper .swiper-slide {
    height: auto;
}

.home-post {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--surface-card);
    box-shadow: var(--shadow-card);
    transition: box-shadow var(--duration-fast) var(--ease-standard);
}

.home-post:hover,
.home-post:focus-within {
    box-shadow: var(--shadow-card-hover);
}

.home-post__picture img,
.home-post__picture .picture-placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.home-post__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: var(--space-5);
}

/* The title in full (Elena, 2026-11-05: long ones were cut); the summary at most three lines: the carousel makes every
   card as tall as the tallest of all the posts (also those out of view) */
.home-post__title {
    margin: 0 0 var(--space-3);
    font: 800 18px/1.35 var(--font-display);
    letter-spacing: var(--tracking-tight);
}

.home-post__title a {
    color: var(--ink);
    text-decoration: none;
}

.home-post__title a:hover {
    color: var(--ink-accent);
}

.home-post__summary {
    display: -webkit-box;
    margin: 0 0 var(--space-4);
    overflow: hidden;
    color: var(--ink-muted);
    font: var(--text-small);
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.home-post__date {
    margin: auto 0 0;
    padding-top: var(--space-3);
    border-top: 1px solid var(--border);
    color: var(--ink);
    font: var(--text-small);
    font-weight: 600;
}

@media (max-width: 1199px) {
    .home-blog__panel {
        grid-template-columns: 1fr;
    }

    .home-blog__intro {
        text-align: center;
    }
}

@media (max-width: 767px) {
    .home-blog__panel {
        padding: var(--space-6) var(--space-4);
    }
}

/* Home: the podcast (Crafto demo-blogger-about's top section, "Hey, I am Hermans miller."): text left, the title
   running over the pictures, a big picture with a smaller one overlapping its corner, the logo badge top right */
/* From the slider down the grounds take turns, light and darker (Elena, 2026-11-05): slider cream, the podcast
   surface-soft, Telegram cream, the latest episodes surface-soft. Inside, --surface follows the ground (the title's
   glow and the second picture's frame) */
.home-about {
    --surface: var(--surface-soft);
    padding-block: var(--space-8);
    background: var(--surface);
}

/* Two pictures of the same size (62% wide, 5:4, so 49.6% of the stage's width tall), the second 28% of the width
   lower and against the right edge: they overlap at the first's lower right corner, leaving the top right for the
   badge */
.home-about__stage {
    position: relative;
    padding-bottom: 28%;
}

.home-about__eyebrow {
    display: inline-block;
    margin-top: var(--space-7);
    padding-bottom: 2px;
    border-bottom: 2px solid var(--pink-500); /* the demo's underlined word */
    color: var(--ink);
    font: var(--text-eyebrow);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
}

.home-about__title {
    color: var(--ink);
    font: var(--text-display-lg);
    letter-spacing: var(--tracking-tight);
    text-shadow: 0 0 2px var(--surface), 0 0 10px var(--surface); /* over the picture, like the slider's titles */
}

.home-about__lead {
    color: var(--ink);
    font: var(--text-body-lg);
    font-weight: 600;
}

.home-about__body {
    color: var(--ink-muted);
}

.home-about__body p:last-child {
    margin-bottom: 0;
}

.home-about__body a {
    color: var(--ink-accent);
}

/* pink-500 on surface-soft is 2.8:1 (under 3:1 even for large text): the darker pink on this ground */
.home-about__signature {
    color: var(--ink-accent);
}

.home-about__main {
    width: 62%;
}

.home-about__main img,
.home-about__second img,
.home-about__logo {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
}

.home-about__logo {
    display: grid;
    place-items: center;
    aspect-ratio: 5 / 4;
    padding: var(--space-7);
}

.home-about__logo img {
    width: min(100%, 360px);
    height: auto;
}

.home-about__second {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 62%;
    border: 6px solid var(--surface); /* a frame of the page colour where it overlaps the big picture */
    border-radius: calc(var(--radius-lg) + 6px);
    box-shadow: var(--shadow-card);
    box-sizing: content-box; /* the frame outside the 62%: the same size as the first picture */
}

/* The demo's badge: 182px, top right; the ring of text turns while the mouse is over the block */
.home-about__badge {
    position: absolute;
    top: 0;
    right: 6%;
    display: grid;
    place-items: center;
    width: min(170px, 22%); /* clear of the second picture (28% of the width down) at every width */
    aspect-ratio: 1;
}

.home-about__ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    fill: var(--ink);
    font: 700 13px var(--font-body);
    letter-spacing: 0.08em;
    text-transform: uppercase; /* the page's lang="el" drops the accents */
}

.home-about__disc {
    display: grid;
    place-items: center;
    width: 62%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--surface-contrast);
}

.home-about__disc img {
    width: 66%;
    height: auto;
}

@media (prefers-reduced-motion: no-preference) {
    .home-about__ring {
        animation: home-about-turn 16s linear infinite paused;
    }

    .home-about:hover .home-about__ring {
        animation-play-state: running;
    }
}

@keyframes home-about-turn {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1199px) {
    .home-about__badge {
        display: none; /* as in the demo: large screens only */
    }

    .home-about__eyebrow {
        margin-top: 0;
    }
}

@media (max-width: 767px) {
    .home-about__stage {
        padding-bottom: 0;
    }

    .home-about__main,
    .home-about__second {
        width: 80%;
    }

    .home-about__second {
        position: relative;
        margin: -25% 0 0 auto; /* still overlapping, below the first */
    }
}

/* Home: the latest episodes and articles slider (Crafto demo-magazine's banner slider, "interactive-banner-style-09";
   Elena, 2026-11-05): each slide its 16:9 picture with a dark gradient rising from the bottom, the text centred on
   it in white; one and a half slides in view on large screens, running off the right of the window */
.home-slider {
    overflow: hidden; /* the slider runs off the right edge (.home-slider__track) */
    padding-top: var(--space-8);
}

/* Crafto's page-title-large (demo-blogger-lifestyle): the title big and centred, on one line */
.home-slider__heading {
    margin-bottom: var(--space-6);
    text-align: center;
}

.home-slider__heading-title {
    margin: 0;
    color: var(--ink);
    font: 900 clamp(2.25rem, 3.4vw, 2.8rem)/1.1 var(--font-display);
    letter-spacing: var(--tracking-tight);
}

/* From the container's left edge to the window's right edge (the next slide is cut by the window) */
.home-slider__track {
    margin-right: calc((100% - 100vw) / 2);
}

/* The dot between date and number (also on the latest episodes' cards, templates/home/sections/episodes.html) */
.home-slider__dot {
    color: var(--ink-accent);
}

/* The episodes' own pictures are 930×380 (Elena, 2026-11-05): the slides keep that shape. Below 1200px a slide is too
   short for the text over the picture: the picture on top, the text under it on the same dark ground. From 1200px,
   as in the demo: the text over the picture, on a dark gradient */
.home-slider .swiper-slide {
    height: auto; /* slides as tall as the tallest, stacked or not */
}

.home-slide {
    position: relative;
    overflow: hidden;
    height: 100%;
    border-radius: var(--radius-lg);
    background: var(--night-900);
}

.home-slide__picture {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 930 / 380;
    object-fit: cover;
    transition: transform 1.5s cubic-bezier(.19, 1, .22, 1); /* the demo's slow zoom on hover */
}

.home-slide:hover .home-slide__picture {
    transform: scale(1.04);
}

.home-slide__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-5) var(--space-5) var(--space-6);
    background: none;
    text-align: center;
}

@media (min-width: 1200px) {
    .home-slide {
        aspect-ratio: 930 / 380;
    }

    .home-slide__picture {
        position: absolute;
        inset: 0;
        height: 100%;
    }

    /* The demo's gradient (bg-gradient-bottom-dark-transparent), in the brand's night-900: dark enough under the
       text for white on any picture, and only as high as the text (Elena, 2026-11-05: less gradient) */
    .home-slide::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(17, 12, 42, 0.92) 0%, rgba(17, 12, 42, 0.75) 30%, rgba(17, 12, 42, 0.25) 52%, rgba(17, 12, 42, 0) 68%);
        pointer-events: none;
    }

    /* Over the whole slide, the text at the bottom */
    .home-slide__content {
        position: absolute;
        inset: 0;
        z-index: 1;
        justify-content: flex-end;
        padding: var(--space-5) 10% var(--space-6);
    }
}

/* The demo's white pill (the category): on articles only, "Article" (Elena, 2026-11-05) */
.home-slide__pill {
    margin: 0;
    padding: 5px var(--space-4);
    border-radius: var(--radius-pill);
    background: var(--white);
    box-shadow: var(--shadow-card);
    color: var(--night-900);
    font: var(--text-eyebrow);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
}

.home-slide__title {
    margin: 0;
    font: 900 clamp(1.35rem, 1.9vw, 2rem)/1.1 var(--font-display); /* the slides are short (930×380) */
    letter-spacing: var(--tracking-tight);
    overflow-wrap: break-word; /* no hyphens: the browser's Greek hyphenation splits words badly */
}

.home-slide__title a {
    color: var(--white);
    text-decoration: none;
}

/* A soft shadow under the white text: it reads where the (lighter) gradient thins out on a bright picture */
.home-slide__title,
.home-slide__meta {
    text-shadow: 0 1px 2px rgba(17, 12, 42, 0.6), 0 2px 14px rgba(17, 12, 42, 0.55);
}

/* The whole slide is the link: the title's, stretched over it (the listen buttons sit above) */
.home-slide__title a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.home-slide__title a:hover {
    text-decoration: underline;
    text-decoration-color: var(--pink-500);
    text-decoration-thickness: 3px;
    text-underline-offset: 6px;
}

/* The focus ring around the whole slide */
.home-slide__title a:focus-visible {
    outline: none !important;
}

.home-slide__title a:focus-visible::after {
    border-radius: var(--radius-lg);
    outline: 3px solid var(--pink-500);
    outline-offset: -3px;
}

/* Date, number and listen buttons on one line (Elena, 2026-11-05) */
.home-slide__footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--space-2) var(--space-5);
}

.home-slide__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-2);
    margin: 0;
    color: var(--mist-100);
    font: var(--text-small);
    font-weight: 600;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
}

.home-slide__listen {
    position: relative;
    z-index: 2; /* above the slide's link */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-2);
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Phones: one slide, inside the container */
@media (max-width: 575px) {
    .home-slider__track {
        margin-right: 0; /* one slide in view: inside the container, both corners round */
    }

    .home-slide__content {
        padding: var(--space-4) var(--space-4) var(--space-5);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-slide:hover .home-slide__picture {
        transform: none;
    }
}

/* Home: the platforms (templates/home/sections/platforms.html; Elena, 2026-11-07), after "A break, at random": Crafto
   element-clients' clients-style-04, equal cells with thin lines between them (the outer frame and the inner lines
   drawn by the cells' own right and bottom borders), glyph above name, the whole cell the link; the title centred
   above. Six in a row, three on tablets, two on phones. */
.home-platforms {
    padding: var(--space-8) 0;
    background: var(--surface);
}

.home-platforms__title {
    margin: 0 0 var(--space-6);
    text-align: center;
    font: var(--text-display-md);
    letter-spacing: var(--tracking-tight);
    color: var(--ink);
}

.home-platforms__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.home-platforms__grid li {
    display: flex;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.platform-text {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    padding: var(--space-6) var(--space-3);
    font: 800 1rem/1.2 var(--font-display);
    letter-spacing: var(--tracking-tight);
    text-align: center;
    color: var(--ink);
    transition: background-color var(--duration-fast) var(--ease-standard);
}

.platform-text .icon {
    flex: none;
    font-size: 2rem;
    color: var(--ink-accent);
}

.platform-text:hover,
.platform-text:focus-visible {
    color: var(--ink);
    background: var(--pink-50);
}

.platform-text:focus-visible {
    outline-offset: -4px;
}

@media (max-width: 991px) {
    .home-platforms__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 575px) {
    .home-platforms {
        padding: var(--space-7) 0;
    }

    .home-platforms__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .platform-text {
        padding: var(--space-5) var(--space-3);
    }
}


/* ---------- «Ξεκίνα εδώ» (templates/episodes/starter_page.html; Elena, 2026-12-01) ---------- */
/* Polaroids on the breakroom fridge: a soft door with a handle, wide instant photos held by pink tape, each tilted its
   own way; straight and lifted on hover and focus. Under reduced motion they straighten without moving. */
.starter__aside {
    margin: calc(-1 * var(--space-6)) 0 var(--space-7);
    text-align: center;
    transform: rotate(-2deg);
}

.starter__fridge {
    position: relative;
    padding: var(--space-8) var(--space-9) var(--space-9) var(--space-8);
    border-radius: var(--radius-lg);
    background: var(--surface-soft);
}

/* The door's handle, along the right edge */
.starter__fridge::after {
    content: "";
    position: absolute;
    top: var(--space-8);
    right: var(--space-5);
    width: 14px;
    height: 180px;
    border-radius: var(--radius-pill);
    background: var(--gray-300);
    box-shadow: inset -3px 0 0 rgba(24, 20, 28, 0.08);
}

.starter__photos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: var(--space-8) var(--space-7);
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Every other photo a little lower, as if stuck on by hand */
.starter__photos > .polaroid:nth-child(even) {
    margin-top: var(--space-7);
}

.polaroid {
    --tilt: -2.5deg;
    position: relative;
    padding: 14px 14px 0;
    background: var(--white);
    border-radius: 3px;
    box-shadow: var(--shadow-card);
    transform: rotate(var(--tilt));
    transition: transform var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard);
}

.polaroid:nth-child(6n+2) { --tilt: 2deg; }
.polaroid:nth-child(6n+3) { --tilt: 1.5deg; }
.polaroid:nth-child(6n+4) { --tilt: -3deg; }
.polaroid:nth-child(6n+5) { --tilt: -1deg; }
.polaroid:nth-child(6n) { --tilt: 2.5deg; }

/* The tape: a strip of translucent pink across the top edge, at its own angle */
.polaroid::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: -14px;
    left: 50%;
    width: 120px;
    height: 30px;
    background: color-mix(in srgb, var(--pink-300) 55%, transparent);
    transform: translateX(-50%) rotate(calc(-2 * var(--tilt)));
    pointer-events: none;
}

.polaroid:hover,
.polaroid:focus-within {
    z-index: 3;
    transform: rotate(0) translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.polaroid:has(a:focus-visible) {
    outline: 2px solid var(--focus);
    outline-offset: 4px;
}

.polaroid__picture img,
.polaroid__picture .picture-placeholder {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 930 / 380;
    object-fit: cover;
}

.polaroid__caption {
    display: flex;
    gap: var(--space-3);
    align-items: baseline;
    padding: var(--space-4) var(--space-2) var(--space-6);
}

.polaroid__number {
    flex: none;
    color: var(--pink-700);
    font: var(--text-aside);
}

.polaroid__show {
    margin: 0 0 var(--space-1);
    color: var(--ink-muted);
    font: var(--text-caption);
    letter-spacing: var(--tracking-wide);
}

.polaroid__title {
    margin: 0;
    font: 800 clamp(1.125rem, 1.5vw, 1.375rem)/1.25 var(--font-display);
    letter-spacing: var(--tracking-tight);
}

.polaroid__title a {
    color: var(--ink);
    text-decoration: none;
}

/* The whole photo is the link (the title's, stretched) */
.polaroid__title a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.polaroid__title a:focus-visible {
    outline: none;
}

.starter__more {
    margin: var(--space-8) 0 0;
    text-align: center;
}

@media (max-width: 991.98px) {
    .starter__fridge {
        padding: var(--space-7) var(--space-6) var(--space-8);
    }

    .starter__fridge::after {
        display: none;
    }
}

/* Phones: one column, the tilts halved, no stagger */
@media (max-width: 767.98px) {
    .starter__aside {
        margin-top: 0;
    }

    .starter__fridge {
        padding: var(--space-7) var(--space-4);
    }

    .starter__photos {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--space-7);
    }

    .starter__photos > .polaroid:nth-child(even) {
        margin-top: 0;
    }

    .polaroid {
        transform: rotate(calc(var(--tilt) / 2));
    }
}

@media (prefers-reduced-motion: reduce) {
    .polaroid {
        transition: none;
    }

    .polaroid:hover,
    .polaroid:focus-within {
        transform: rotate(0);
    }
}

/* The box above /episodes/' list (templates/episodes/includes/starter_cta.html): three small polaroids fanned out,
   the title and line, the button; stacked on phones */
.starter-cta {
    display: flex;
    gap: var(--space-6);
    align-items: center;
    margin-bottom: var(--space-7);
    padding: var(--space-6) var(--space-7);
    border-radius: var(--radius-lg);
    background: var(--surface-soft);
}

.starter-cta__photos {
    position: relative;
    flex: none;
    width: 220px;
    height: 130px;
}

.starter-cta__photo {
    position: absolute;
    width: 150px;
    padding: 6px 6px 18px;
    background: var(--white);
    border-radius: 2px;
    box-shadow: var(--shadow-card);
}

.starter-cta__photo img,
.starter-cta__photo .picture-placeholder {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 930 / 380;
    object-fit: cover;
}

.starter-cta__photo:nth-child(1) { top: 8px; left: 0; transform: rotate(-7deg); }
.starter-cta__photo:nth-child(2) { top: 0; left: 36px; transform: rotate(3deg); z-index: 1; }
.starter-cta__photo:nth-child(3) { top: 42px; left: 66px; transform: rotate(-2deg); z-index: 2; }

/* A strip of tape on the top photo */
.starter-cta__photo:last-child::before {
    content: "";
    position: absolute;
    top: -9px;
    left: 50%;
    width: 64px;
    height: 18px;
    background: color-mix(in srgb, var(--pink-300) 55%, transparent);
    transform: translateX(-50%) rotate(4deg);
}

.starter-cta__text {
    flex: 1;
    min-width: 0;
}

.starter-cta__title {
    margin: 0 0 var(--space-2);
    font: var(--text-display-md);
    letter-spacing: var(--tracking-tight);
}

.starter-cta__intro {
    margin: 0;
    color: var(--ink-muted);
}

.starter-cta__button {
    flex: none;
}

@media (max-width: 767.98px) {
    .starter-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: var(--space-6) var(--space-5);
    }
}

/* ---------- About page (templates/about/; Elena, 2026-11-05) ---------- */
/* No title band: the podcast block opens the page. Grounds take turns: the podcast (cream), the hosts (surface-soft),
   the timeline (cream), Breaking the 20% (surface-soft), the sponsors' dark panel (.cta-panel, shared with the home
   page's Telegram block) on cream */
.about__title {
    margin-top: 0;
    color: var(--ink);
    font: var(--text-display-lg);
    letter-spacing: var(--tracking-tight);
}

.about-podcast {
    padding-block: var(--space-8);
}

.about-podcast__text,
.about-breaking__text {
    font: var(--text-body-lg);
}

.about-podcast__text > :last-child,
.about-breaking__text > :last-child,
.about-host__bio > :last-child {
    margin-bottom: 0;
}

.about-podcast__picture {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
}

.about-podcast__logo {
    display: grid;
    place-items: center;
    aspect-ratio: 5 / 4;
    padding: var(--space-7);
}

.about-podcast__logo img {
    width: min(100%, 360px);
    height: auto;
}

/* The podcast in numbers, under the first block on the same cream ground (Elena, 2026-12-02), as Crafto
   demo-corporate's counter-style-07: no cards, a big number in ink-900 over a tilted pink line, an uppercase label
   under it; four in a row, two below 768px. static/js/counters.js rolls the digits up (aria-hidden) and fades the
   items up one after another when the list comes into view */
.about-stats {
    padding-bottom: var(--space-8);
}

.about-stats__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6) var(--space-5);
    margin: 0;
    padding: 0;
    list-style: none;
}

.about-stats__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    text-align: center;
}

.about-stats__number {
    position: relative;
    z-index: 0;
    display: inline-flex;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(3rem, 5.5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

/* A tilted pink line under the number (Elena, 2026-12-02, instead of Crafto's faded highlight behind it) */
.about-stats__number::after {
    content: "";
    position: absolute;
    left: -4px;
    right: -4px;
    bottom: -2px;
    height: 6px;
    border-radius: var(--radius-pill);
    background: var(--pink-500);
    transform: rotate(-3deg);
}

.about-stats__label {
    color: var(--ink);
    font: var(--text-eyebrow);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
}

.about-stats__roll {
    display: inline-flex;
}

.about-stats__digit {
    display: inline-block;
    height: 1.1em;
    overflow: hidden;
}

.about-stats__strip {
    display: flex;
    flex-direction: column;
    transition: transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-stats__strip span {
    height: 1.1em;
}

.about-stats__list.is-waiting .about-stats__item {
    opacity: 0;
    transform: translateY(40px);
}

.about-stats__list.is-counted .about-stats__item {
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.about-stats__list.is-counted .about-stats__item:nth-child(2),
.about-stats__list.is-counted .about-stats__item:nth-child(2) .about-stats__strip {
    transition-delay: 0.15s;
}

.about-stats__list.is-counted .about-stats__item:nth-child(3),
.about-stats__list.is-counted .about-stats__item:nth-child(3) .about-stats__strip {
    transition-delay: 0.3s;
}

.about-stats__list.is-counted .about-stats__item:nth-child(4),
.about-stats__list.is-counted .about-stats__item:nth-child(4) .about-stats__strip {
    transition-delay: 0.45s;
}

@media (max-width: 767px) {
    .about-stats__list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* The hosts: one row each, the photo whole (not cropped), left and right in turn (Elena, 2026-11-05) */
.about-hosts {
    --surface: var(--surface-soft);
    padding-block: var(--space-8);
    background: var(--surface);
}

.about-hosts__title {
    margin-bottom: var(--space-7);
    text-align: center;
}

.about-host + .about-host {
    margin-top: var(--space-8);
}

.about-host__photo {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.about-host__photo.picture-placeholder {
    aspect-ratio: 4 / 3;
}

.about-host__name {
    margin: 0;
    color: var(--ink);
    font: var(--text-display-md);
    letter-spacing: var(--tracking-tight);
}

.about-host__role {
    margin: var(--space-1) 0 var(--space-4);
    color: var(--ink-accent);
    font: var(--text-eyebrow);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
}

.about-host__bio {
    color: var(--ink-muted);
}

/* "Άκου τα επεισόδια" and LinkedIn side by side, two buttons (Elena, 2026-11-05); they wrap on narrow screens */
.about-host__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin: var(--space-5) 0 0;
}

.about-host__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

@media (min-width: 992px) {
    .about-host__text {
        padding-inline: var(--space-5);
    }
}

/* The timeline in speech bubbles (Elena, 2026-11-05): a dark band with the brand glow (as the home page's welcome);
   each point in the brand's bubble (white outline, radius-bubble), the tail bottom left (an SVG: a turned square
   left a gap on its left side) pointing at its dot on the line. On phones the bubbles stack and the line runs down behind them, through the dots. */
.about-timeline-block {
    padding-block: var(--space-8);
    background:
        radial-gradient(60% 120% at 10% 120%, rgba(109, 33, 98, 0.9) 0%, transparent 70%),
        radial-gradient(50% 110% at 95% -10%, rgba(66, 22, 77, 0.9) 0%, transparent 70%),
        var(--night-900);
    color: var(--ink-muted);
}

.about-timeline-block__heading {
    margin-bottom: var(--space-7);
    text-align: center;
}

.about-timeline {
    --dot: 18px;
    --tail-x: 56px; /* the tail's point, from the bubble's left edge: its left side starts past the 40px corner */
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-5);
    margin: 0;
    padding: 0;
    list-style: none;
}

/* The line, through the dots' centres, behind the bubbles */
.about-timeline::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: calc(var(--dot) / 2 - 1px);
    left: 0;
    height: 2px;
    background: rgba(233, 224, 245, 0.35); /* mist-100, soft */
}

.about-timeline__item {
    position: relative;
    display: flex;
    flex-direction: column;
}

.about-timeline__bubble {
    --tail-left: calc(var(--tail-x) - 2px - 8px); /* inside the 2px outline; --tail-x is from the outer edge */
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-bottom: var(--space-6); /* room for the tail above the line */
    padding: var(--space-5) var(--space-5) var(--space-6);
    border: 2px solid var(--white);
    border-radius: var(--radius-bubble);
    background: var(--night-900);
    transition: border-color var(--duration-fast) var(--ease-standard);
}

.about-timeline__bubble:has(a):hover,
.about-timeline__bubble:has(a):focus-within {
    border-color: var(--pink-500);
}

.about-timeline__bubble:has(a):hover .bubble-tail,
.about-timeline__bubble:has(a):focus-within .bubble-tail {
    color: var(--pink-500);
}

.about-timeline__when {
    display: flex;
    flex-direction: column;
}

.about-timeline__month {
    color: var(--ink-accent);
    font: var(--text-eyebrow);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
}

.about-timeline__year {
    color: var(--white);
    font: var(--text-display-lg);
    letter-spacing: var(--tracking-tight);
}

.about-timeline__title {
    color: var(--white);
    font: var(--text-heading);
}

.about-timeline__title--link {
    color: var(--white);
    text-decoration: none;
}

.about-timeline__title--link::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--radius-bubble);
}

.about-timeline__title--link:hover,
.about-timeline__title--link:focus-visible {
    color: var(--white);
}

/* The focus ring on the whole bubble (its ::before), not on the title: !important to beat the site-wide ring's */
.about-timeline__title--link:focus-visible {
    outline: none !important;
}

.about-timeline__title--link:focus-visible::before {
    outline: 2px solid var(--focus);
    outline-offset: 4px;
}

.about-timeline__arrow {
    color: var(--pink-500);
}

.about-timeline__text {
    color: var(--ink-muted);
}

.about-timeline__dot {
    width: var(--dot);
    height: var(--dot);
    margin-left: calc(var(--tail-x) - var(--dot) / 2);
    border: 4px solid var(--night-900);
    border-radius: 50%;
    background: var(--pink-500);
    box-shadow: 0 0 0 2px var(--pink-500);
    box-sizing: border-box;
}

/* Below large screens: one column (centred, at most 560px), the line down through the dots, behind the bubbles */
@media (max-width: 991px) {
    .about-timeline {
        grid-template-columns: 1fr;
        gap: var(--space-4);
        max-width: 560px;
        margin-inline: auto;
    }

    .about-timeline::before {
        top: 0;
        right: auto;
        bottom: 0;
        left: calc(var(--tail-x) - 1px);
        width: 2px;
        height: auto;
    }
}

/* Breaking the 20%: its logo beside the title, Elena's text and the button */
/* The questions, before the sponsors (Elena, 2026-12-02): on a dark band with the brand glow (Elena, 2026-12-02;
   .theme-dark switches the tokens: white questions, mist-100 answers, pink-500 links and focus), the timeline's glow
   mirrored; one column, each an indigo-800 card folding open its answer (<details>), the chevron turning; the
   question pink-500 on hover and when open */
.about-faq {
    padding-block: var(--space-8);
    background:
        radial-gradient(60% 120% at 90% 120%, rgba(109, 33, 98, 0.9) 0%, transparent 70%),
        radial-gradient(50% 110% at 5% -10%, rgba(66, 22, 77, 0.9) 0%, transparent 70%),
        var(--night-900);
}

.about-faq__inner {
    max-width: 860px;
    margin-inline: auto;
}

/* Smaller than the other About titles (Elena, 2026-12-02: "a bit too big"): the brand's h2 in a page body */
.about-faq__title {
    margin-bottom: var(--space-6);
    font: var(--text-display-md);
    text-align: center;
}

.about-faq__item {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface-card-ground);
}

.about-faq__item[open] {
    border-color: var(--ink-accent);
}

.about-faq__item + .about-faq__item {
    margin-top: var(--space-4);
}

.about-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-5);
    color: var(--ink);
    font: var(--text-heading);
    font-size: 19px;
    cursor: pointer;
    list-style: none;
    transition: color var(--duration-fast) var(--ease-standard);
}

.about-faq__question::-webkit-details-marker {
    display: none;
}

.about-faq__question:hover,
.about-faq__item[open] .about-faq__question {
    color: var(--ink-accent);
}

.about-faq__question:focus-visible {
    border-radius: var(--radius-md);
    outline: 2px solid var(--focus);
    outline-offset: 2px;
}

.about-faq__question .icon {
    flex: none;
    font-size: 20px;
    transition: transform var(--duration-fast) var(--ease-standard);
}

.about-faq__item[open] .about-faq__question .icon {
    transform: rotate(180deg);
}

.about-faq__answer {
    padding: 0 var(--space-5) var(--space-5);
    color: var(--ink-muted);
    font: var(--text-body);
}

.about-faq__answer > :last-child {
    margin-bottom: 0;
}

.about-faq__answer a {
    color: var(--ink-accent);
    text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
    .about-faq__question,
    .about-faq__question .icon {
        transition: none;
    }
}

.about-breaking {
    --surface: var(--surface-soft);
    padding-block: var(--space-8);
    background: var(--surface);
}

.about-breaking__logo {
    width: min(100%, 320px);
    height: auto;
}

/* ---------- Seasonal decorations (Company settings › Seasonal › Decorations; Elena, 2026-11-09) ---------- */
/* One at a time: base.html puts is-<decorations> on <body> (is-christmas, is-black-friday…; core/seasons.py). */

/* Christmas: body.is-christmas. In the brand's pink, white and mist (no green), except the Santa hat, red
   (Elena, 2026-11-09). Every animation plays once, under five seconds (no pause control needed), then holds still; the
   reduced-motion rule above stops them. Decoration only: aria-hidden, no pointer events. */

/* Lights under the menu: a wire sagging between bulbs along the header's lower edge, hanging a little below it */
.xmas-lights {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    height: 22px;
    margin: -6px 0 0;
    padding: 0;
    overflow: hidden;
    list-style: none;
    pointer-events: none;
}

.xmas-lights li {
    position: relative;
    flex: none;
    width: 52px;
}

.xmas-lights li::before { /* the wire */
    content: "";
    position: absolute;
    top: -4px;
    left: 0;
    right: 0;
    height: 12px;
    border-bottom: 2px solid var(--gray-500);
    border-radius: 0 0 50% 50%;
}

.xmas-lights span { /* the bulb, hanging from the wire's lowest point */
    --bulb: var(--pink-500);
    position: absolute;
    top: 7px;
    left: calc(50% - 4px);
    width: 8px;
    height: 12px;
    border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
    background: var(--bulb);
    box-shadow: 0 0 8px 2px var(--bulb);
    animation: xmas-twinkle 1.4s ease-in-out 3 both;
}

.xmas-lights span::before { /* the cap */
    content: "";
    position: absolute;
    top: -3px;
    left: 2px;
    width: 4px;
    height: 4px;
    border-radius: 1px;
    background: var(--gray-500);
}

.xmas-lights li:nth-child(4n+2) span { --bulb: var(--white); animation-delay: 0.35s; }
.xmas-lights li:nth-child(4n+3) span { --bulb: var(--pink-300); animation-delay: 0.7s; }
.xmas-lights li:nth-child(4n) span { --bulb: var(--mist-100); animation-delay: 0.2s; }
.xmas-lights li:nth-child(odd) span { transform: rotate(-8deg); }
.xmas-lights li:nth-child(even) span { transform: rotate(8deg); }

@keyframes xmas-twinkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; box-shadow: none; }
}

/* Snow on the dark bands (the home welcome and "A break, at random", the 404, a quote's page, the episode's title
   band): small flakes behind the content, falling for 4.5 seconds, then still where they are */
.is-christmas .home-welcome,
.is-christmas .episode-hero {
    position: relative;
    isolation: isolate;
}

.is-christmas .home-welcome::before,
.is-christmas .episode-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.75) 1.5px, transparent 2.5px),
        radial-gradient(circle, rgba(233, 224, 245, 0.55) 1px, transparent 2px),
        radial-gradient(circle, rgba(255, 255, 255, 0.4) 2.5px, transparent 3.5px);
    background-size: 140px 140px, 90px 90px, 230px 230px;
    background-position: 10px 20px, 50px 60px, 120px 100px;
    animation: xmas-snow 4.5s cubic-bezier(0.2, 0.6, 0.4, 1) both;
}

/* Each layer falls at its own speed and drifts a little sideways */
@keyframes xmas-snow {
    from { background-position: -30px -260px, 20px -120px, 60px -360px; }
    to { background-position: 10px 20px, 50px 60px, 120px 100px; }
}

/* A red Santa hat on the mug of "A break, at random" (templates/includes/coffee_break.svg); the steam on its side
   hidden behind it */
.coffee__hat-cap {
    fill: #d62828; /* Santa's red: the one exception to pink as the only accent (Elena, 2026-11-09) */
    stroke: var(--white);
    stroke-width: 2;
    stroke-linejoin: round;
}

.coffee__hat-fur {
    fill: var(--white);
}

.is-christmas .coffee__steam--1 {
    display: none;
}

/* Black Friday: body.is-black-friday. Every episode "−100%" (free anyway). Black with the brand's pink; nothing
   moves. */

/* The strip under the menu (templates/includes/season_strip.html), Black Friday's and the days of tech history's:
   black, a pink line between it and the menu, white text, the bold name in pink-500 (6.6:1 on black); scrolls away
   with the page */
.season-strip {
    margin: 0;
    padding: 10px var(--space-4);
    border-top: 2px solid var(--pink-500);
    background: #000;
    color: var(--white);
    font: 600 14px/1.4 var(--font-body);
    text-align: center;
    text-wrap: balance; /* lines of about the same length, never a word or the pill alone (Elena, 2026-11-20) */
}

.season-strip a {
    color: inherit;
    text-decoration: none;
}

.season-strip a:hover,
.season-strip a:focus-visible {
    text-decoration: underline;
    text-decoration-color: var(--pink-500);
    text-underline-offset: 3px;
}

.season-strip strong {
    color: var(--pink-500);
    font-family: var(--font-display);
    font-weight: 800;
}

/* After the line, the decoration's video to download (core/season_cards.py; Elena, 2026-11-20: in the strip): a small
   pink pill, filled on hover */
.season-strip a.season-strip__video {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    margin-left: var(--space-4);
    padding: 2px 12px;
    border: 1px solid var(--pink-500);
    border-radius: var(--radius-pill);
    color: var(--pink-500);
    font-weight: 700;
    vertical-align: 1px;
    white-space: nowrap;
    transition: background-color var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard);
}

.season-strip a.season-strip__video:hover,
.season-strip a.season-strip__video:focus-visible {
    background: var(--pink-500);
    color: #000;
    text-decoration: none;
}

/* "−100%" on every episode card's picture, a tilted sticker in the top right corner */
.episode-box__picture {
    position: relative;
}

.sale-sticker {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    padding: 4px var(--space-3);
    border-radius: var(--radius-pill);
    background: var(--pink-500);
    color: var(--night-900);
    font: 800 15px/1.2 var(--font-display);
    box-shadow: var(--shadow-card);
    transform: rotate(6deg);
    pointer-events: none;
}

/* A "−100%" price tag hanging from the mug's handle in "A break, at random" (templates/includes/coffee_break.svg,
   whose drawing widens to hold it) */
.coffee__tag-string {
    fill: none;
    stroke: var(--mist-100);
    stroke-width: 1.5;
    stroke-linecap: round;
}

.coffee__tag-card {
    fill: var(--pink-500);
    stroke: var(--white);
    stroke-width: 1.5;
    stroke-linejoin: round;
}

.coffee__tag-hole {
    fill: var(--night-900);
}

.coffee__tag-text {
    fill: var(--night-900);
    font: 800 9px var(--font-display);
    text-anchor: middle;
}

/* Easter: body.is-easter. Red eggs, as in Cyprus (Elena, 2026-11-09: the same exception to pink-only as the Santa
   hat), with the brand's pink and white. */

/* Eggs peeking up from the bottom edge of the dark bands (the home welcome and "A break, at random", the 404, a quote's
   page, the episode's title band), left and right, behind the content; still */
.is-easter .home-welcome,
.is-easter .episode-hero {
    position: relative;
    isolation: isolate;
}

.is-easter .home-welcome::before,
.is-easter .episode-hero::before {
    content: "";
    position: absolute;
    inset: auto 0 0;
    z-index: -1;
    height: 45px;
    pointer-events: none;
    background:
        url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 36'><g stroke='%23fff' stroke-width='1.5'><ellipse cx='24' cy='38' rx='15' ry='20' fill='%23d62828'/><ellipse cx='62' cy='42' rx='13' ry='18' fill='%23ff4895'/><ellipse cx='100' cy='36' rx='14' ry='19' fill='%23fdf9fb'/><ellipse cx='136' cy='42' rx='12' ry='17' fill='%23d62828'/></g><path d='M12 31l4-4 4 4 4-4 4 4 4-4 4 4' fill='none' stroke='%23fff' stroke-width='2'/><path d='M53 32h18M51 38h22' stroke='%23fff' stroke-width='2.5'/><path d='M89 30h22' stroke='%23d62828' stroke-width='4'/><path d='M127 35l4.5-3 4.5 3 4.5-3 4.5 3' fill='none' stroke='%23ff4895' stroke-width='2'/></svg>") no-repeat left 4% bottom / 200px 45px,
        url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 36'><g stroke='%23fff' stroke-width='1.5'><ellipse cx='24' cy='38' rx='15' ry='20' fill='%23d62828'/><ellipse cx='62' cy='42' rx='13' ry='18' fill='%23ff4895'/><ellipse cx='100' cy='36' rx='14' ry='19' fill='%23fdf9fb'/><ellipse cx='136' cy='42' rx='12' ry='17' fill='%23d62828'/></g><path d='M12 31l4-4 4 4 4-4 4 4 4-4 4 4' fill='none' stroke='%23fff' stroke-width='2'/><path d='M53 32h18M51 38h22' stroke='%23fff' stroke-width='2.5'/><path d='M89 30h22' stroke='%23d62828' stroke-width='4'/><path d='M127 35l4.5-3 4.5 3 4.5-3 4.5 3' fill='none' stroke='%23ff4895' stroke-width='2'/></svg>") no-repeat right 4% bottom / 200px 45px;
}

/* Red eggs beside the mug of "A break, at random" (templates/includes/coffee_break.svg) */
.coffee__egg {
    fill: #d62828;
    stroke: var(--white);
    stroke-width: 2;
}

.coffee__egg-crack {
    fill: none;
    stroke: var(--night-900);
    stroke-width: 1.5;
    stroke-linejoin: round;
}

/* A bunny running under the home page's welcome, above the slider (templates/includes/easter_bunny.html; Elena,
   2026-11-09): across the container in hops, 3.5 seconds, then sitting at the right end; under reduced motion it is
   already sitting there. The slider's space above moves above the bunny. */
.easter-bunny {
    position: relative;
    height: 64px;
    margin-top: var(--space-5);
}

.easter-bunny-strip + .home-slider {
    padding-top: var(--space-4);
}

.easter-bunny__run {
    position: absolute;
    bottom: 0;
    left: calc(100% - 64px);
    animation: easter-run 3.5s linear both;
}

.easter-bunny svg {
    display: block;
    overflow: visible;
    animation: easter-hop 0.35s ease-out 10 both;
}

.easter-bunny__fur {
    fill: var(--white);
    stroke: var(--ink-900);
    stroke-width: 2;
    stroke-linejoin: round;
}

.easter-bunny__ear-inside {
    fill: var(--pink-300);
}

.easter-bunny__eye {
    fill: var(--ink-900);
}

@keyframes easter-run {
    from { left: 0; }
    to { left: calc(100% - 64px); }
}

@keyframes easter-hop {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    45% { transform: translateY(-18px) rotate(-6deg); }
}

/* The days of tech history (Elena, 2026-11-09; core/seasons.py), each with a strip under the menu (above). */

/* The Moon landing (20 July) and ChatGPT's birthday (30 November) dress the dark bands, the ones Christmas snows on:
   the Moon and stars, or confetti; still */
.is-moon-landing .home-welcome,
.is-moon-landing .episode-hero,
.is-chatgpt .home-welcome,
.is-chatgpt .episode-hero {
    position: relative;
    isolation: isolate;
}

.is-moon-landing .home-welcome::before,
.is-moon-landing .episode-hero::before,
.is-chatgpt .home-welcome::before,
.is-chatgpt .episode-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.is-moon-landing .home-welcome::before,
.is-moon-landing .episode-hero::before {
    background:
        url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'><path d='M38 6a26 26 0 1 0 16 40A22 22 0 0 1 38 6z' fill='%23e9e0f5'/><g fill='%23d8d2dd' fill-opacity='.6'><circle cx='20' cy='30' r='4'/><circle cx='30' cy='44' r='3'/><circle cx='16' cy='44' r='2'/></g></svg>") no-repeat right 1% top 10px / 44px 44px,
        url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 140'><g fill='%23fff'><path d='M30 20l2 6 6 2-6 2-2 6-2-6-6-2 6-2z' fill-opacity='.8'/><path d='M150 90l1.5 4.5 4.5 1.5-4.5 1.5-1.5 4.5-1.5-4.5-4.5-1.5 4.5-1.5z' fill-opacity='.6'/><circle cx='90' cy='40' r='1.5' fill-opacity='.7'/><circle cx='190' cy='25' r='1.2' fill-opacity='.6'/><circle cx='60' cy='110' r='1.4' fill-opacity='.5'/><circle cx='120' cy='125' r='1' fill-opacity='.6'/><circle cx='200' cy='110' r='1.6' fill-opacity='.5'/></g></svg>") 0 0 / 220px 140px;
}

.is-chatgpt .home-welcome::before,
.is-chatgpt .episode-hero::before {
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 140' fill-opacity='.75'><rect x='20' y='20' width='8' height='4' rx='1' fill='%23ff4895' transform='rotate%2830 24 22%29'/><rect x='80' y='12' width='7' height='4' rx='1' fill='%23fff' transform='rotate%28-40 83 14%29'/><rect x='150' y='30' width='8' height='4' rx='1' fill='%23ff7ab4' transform='rotate%2860 154 32%29'/><rect x='50' y='70' width='7' height='4' rx='1' fill='%23e9e0f5' transform='rotate%28-20 53 72%29'/><rect x='120' y='80' width='8' height='4' rx='1' fill='%23ff4895' transform='rotate%2815 124 82%29'/><rect x='180' y='100' width='7' height='4' rx='1' fill='%23fff' transform='rotate%2870 183 102%29'/><rect x='30' y='118' width='8' height='4' rx='1' fill='%23ff7ab4' transform='rotate%28-55 34 120%29'/><circle cx='100' cy='45' r='2.5' fill='%23fff'/><circle cx='170' cy='65' r='2' fill='%23ff4895'/><circle cx='75' cy='120' r='2' fill='%23e9e0f5'/></svg>") 0 0 / 200px 140px;
}

/* The mug (templates/includes/coffee_break.svg): the Moon landing's flag (the steam on its side hidden behind it) */
.coffee__flag-pole {
    stroke: var(--white);
    stroke-width: 2;
    stroke-linecap: round;
}

.coffee__flag {
    fill: var(--pink-500);
    stroke: var(--white);
    stroke-width: 1.5;
    stroke-linejoin: round;
}

.is-moon-landing .coffee__steam--3 {
    display: none;
}

/* ChatGPT's candle, its flame flickering four times (2.4s), the steam in the middle hidden behind it */
.coffee__candle {
    fill: var(--white);
}

.coffee__candle-stripe {
    stroke: var(--pink-500);
    stroke-width: 2;
}

.coffee__flame {
    fill: var(--pink-300);
    transform-box: fill-box;
    transform-origin: 50% 100%;
    animation: coffee-flicker 0.6s ease-in-out 4 both;
}

.is-chatgpt .coffee__steam--2 {
    display: none;
}

@keyframes coffee-flicker {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(0.85, 1.1) rotate(4deg); }
}

/* ARPANET: the steam spells "LO", drawn like the steam */
.coffee__steam--lo {
    stroke-dasharray: 72;
    animation-name: coffee-lo;
}

.is-arpanet .home-random:hover .coffee__steam--lo {
    animation-name: coffee-lo-again;
}

@keyframes coffee-lo {
    0% { stroke-dashoffset: 72; opacity: 0; }
    30% { opacity: 1; }
    100% { stroke-dashoffset: 0; opacity: 1; }
}

@keyframes coffee-lo-again {
    0% { stroke-dashoffset: 72; opacity: 0; }
    30% { opacity: 1; }
    100% { stroke-dashoffset: 0; opacity: 1; }
}

/* Alan Turing: an Enigma rotor beside the mug, clicking on three letters (1.5s), then still */
.coffee__rotor {
    transform-box: view-box;
    transform-origin: 106px 74px;
    animation: coffee-rotor 1.5s steps(3) both;
}

.coffee__rotor-teeth {
    fill: none;
    stroke: var(--white);
    stroke-width: 4;
    stroke-dasharray: 3 2.89; /* 16 teeth round the ring (2π × 15 = 94.2) */
}

.coffee__rotor-wheel {
    fill: var(--night-900);
    stroke: var(--white);
    stroke-width: 2;
}

.coffee__rotor-hub {
    fill: var(--pink-500);
}

.coffee__rotor-mark {
    stroke: var(--pink-500);
    stroke-width: 2;
    stroke-linecap: round;
}

@keyframes coffee-rotor {
    from { transform: rotate(0deg); }
    to { transform: rotate(67.5deg); }
}

/* Grace Hopper's moth (templates/includes/moth.svg): on the mug, mist wings on the dark ground; on the episode cards,
   taped on a cream note like in the Harvard Mark II's logbook (9 September 1947) */
.moth__wing {
    fill: var(--mist-100);
    stroke: var(--white);
    stroke-width: 1;
}

.moth__body {
    fill: var(--white);
}

.moth__feeler {
    fill: none;
    stroke: var(--mist-100);
    stroke-width: 1;
    stroke-linecap: round;
}

.card-moth {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    padding: 6px 8px 4px;
    border-radius: 3px;
    background: var(--cream);
    box-shadow: var(--shadow-card);
    transform: rotate(-6deg);
    pointer-events: none;
}

.card-moth::before { /* the tape */
    content: "";
    position: absolute;
    top: -7px;
    left: calc(50% - 16px);
    width: 32px;
    height: 12px;
    background: rgba(255, 255, 255, 0.7);
    transform: rotate(4deg);
}

.card-moth svg {
    display: block;
}

.card-moth .moth__wing {
    fill: var(--gray-300);
    stroke: var(--ink-900);
}

.card-moth .moth__body {
    fill: var(--ink-900);
}

.card-moth .moth__feeler {
    stroke: var(--ink-900);
}

/* The lighter days (Elena, 2026-11-09; core/seasons.py), on the mug of "A break, at random"
   (templates/includes/coffee_break.svg). The serious days (Data Protection Day, Safer Internet Day, Ada Lovelace Day)
   have the strip only. */

/* Pi Day: a slice of pie beside the mug */
.coffee__pie {
    fill: var(--pink-500);
    stroke: var(--white);
    stroke-width: 2;
    stroke-linejoin: round;
}

.coffee__pie-crust {
    stroke: var(--pink-300);
    stroke-width: 4;
    stroke-linecap: round;
}

.coffee__pie-pi {
    fill: var(--night-900);
    font: 800 13px var(--font-display);
    text-anchor: middle;
}

/* May the 4th: a pink lightsaber stirring the coffee, glowing (the steam on its side hidden behind it) */
.coffee__saber-blade {
    stroke: var(--pink-500);
    stroke-width: 5;
    stroke-linecap: round;
    filter: drop-shadow(0 0 3px var(--pink-500));
}

.coffee__saber-core {
    stroke: var(--white);
    stroke-width: 1.5;
    stroke-linecap: round;
}

.coffee__saber-hilt {
    stroke: var(--gray-300);
    stroke-width: 5;
}

.is-may-the-4th .coffee__steam--3 {
    display: none;
}

/* …and crossed lightsabers, pink and mist, in the dark bands' corners, lower left and upper right, clear of the
   buttons (Elena, 2026-11-09), behind the content; still */
.is-may-the-4th .home-welcome,
.is-may-the-4th .episode-hero {
    position: relative;
    isolation: isolate;
}

.is-may-the-4th .home-welcome::before,
.is-may-the-4th .episode-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 130 130' fill='none' stroke-linecap='round'><filter id='g' x='-50%25' y='-50%25' width='200%25' height='200%25'><feGaussianBlur stdDeviation='3'/></filter><path d='M34 96L108 22' stroke='%23ff4895' stroke-width='9' stroke-opacity='.55' filter='url%28%23g%29'/><path d='M34 96L108 22' stroke='%23ff4895' stroke-width='4'/><path d='M34 96L108 22' stroke='%23fff' stroke-width='1.5'/><path d='M22 108L34 96' stroke='%23d8d2dd' stroke-width='5'/><path d='M96 96L22 22' stroke='%23e9e0f5' stroke-width='9' stroke-opacity='.55' filter='url%28%23g%29'/><path d='M96 96L22 22' stroke='%23e9e0f5' stroke-width='4'/><path d='M96 96L22 22' stroke='%23fff' stroke-width='1.5'/><path d='M108 108L96 96' stroke='%23d8d2dd' stroke-width='5'/></svg>") no-repeat left 8px bottom 8px / 110px 110px,
        url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 130 130' fill='none' stroke-linecap='round'><filter id='g' x='-50%25' y='-50%25' width='200%25' height='200%25'><feGaussianBlur stdDeviation='3'/></filter><path d='M34 96L108 22' stroke='%23ff4895' stroke-width='9' stroke-opacity='.55' filter='url%28%23g%29'/><path d='M34 96L108 22' stroke='%23ff4895' stroke-width='4'/><path d='M34 96L108 22' stroke='%23fff' stroke-width='1.5'/><path d='M22 108L34 96' stroke='%23d8d2dd' stroke-width='5'/><path d='M96 96L22 22' stroke='%23e9e0f5' stroke-width='9' stroke-opacity='.55' filter='url%28%23g%29'/><path d='M96 96L22 22' stroke='%23e9e0f5' stroke-width='4'/><path d='M96 96L22 22' stroke='%23fff' stroke-width='1.5'/><path d='M108 108L96 96' stroke='%23d8d2dd' stroke-width='5'/></svg>") no-repeat right 8px top 8px / 110px 110px;
}

/* Towel Day: a towel over the handle, "42" on the mug */
.coffee__towel {
    fill: var(--white);
    stroke: var(--mist-100);
    stroke-width: 1;
    stroke-linejoin: round;
}

.coffee__towel-stripe {
    stroke: var(--pink-500);
    stroke-width: 2.5;
}

.coffee__answer {
    fill: var(--pink-500);
    font: 900 15px var(--font-display);
    text-anchor: middle;
}

/* Halloween: a ghost beside the mug, floating up and down twice (2.4s), then still; cobwebs in the dark bands'
   top corners */
.coffee__ghost {
    animation: coffee-ghost 1.2s ease-in-out 2 both;
}

.coffee__ghost-sheet {
    fill: var(--white);
    stroke: var(--mist-100);
    stroke-width: 1;
    stroke-linejoin: round;
}

.coffee__ghost-eye {
    fill: var(--night-900);
}

@keyframes coffee-ghost {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.is-halloween .home-welcome,
.is-halloween .episode-hero {
    position: relative;
    isolation: isolate;
}

.is-halloween .home-welcome::before,
.is-halloween .episode-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%23fff' stroke-opacity='.45' stroke-width='1.2'><path d='M0 0l100 70M0 0l85 100M0 0l40 100M0 0l100 25'/><path d='M28 0q-4 13-15 18-5 10-13 13M55 0q-7 25-26 34-9 19-29 23M82 0q-9 37-38 50-13 29-44 33M100 33q-25 22-38 60M100 59q-18 8-26 41'/></svg>") no-repeat left top / 110px 110px,
        url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%23fff' stroke-opacity='.45' stroke-width='1.2'><g transform='matrix%28-1 0 0 1 100 0%29'><path d='M0 0l100 70M0 0l85 100M0 0l40 100M0 0l100 25'/><path d='M28 0q-4 13-15 18-5 10-13 13M55 0q-7 25-26 34-9 19-29 23M82 0q-9 37-38 50-13 29-44 33M100 33q-25 22-38 60M100 59q-18 8-26 41'/></g></svg>") no-repeat right top / 110px 110px;
}

/* More days (Elena, 2026-11-09; core/seasons.py) on the mug of "A break, at random"
   (templates/includes/coffee_break.svg). The web's birthday has the steam spell "www" (as ARPANET's "LO", above). */

/* The iPhone, the 2007 one with its home button */
.coffee__phone {
    fill: var(--night-900);
    stroke: var(--white);
    stroke-width: 2;
}

.coffee__phone-screen {
    fill: var(--pink-500);
}

.coffee__phone-button {
    fill: none;
    stroke: var(--white);
    stroke-width: 1;
}

/* The first YouTube video: a play button on the mug */
.coffee__play {
    fill: var(--pink-500);
}

.coffee__play-arrow {
    fill: var(--white);
}

/* The first tweet: a little bird on the rim (the steam on its side hidden behind it) */
.coffee__bird-body,
.coffee__bird-tail {
    fill: var(--pink-300);
}

.coffee__bird-beak {
    fill: var(--white);
}

.coffee__bird-wing,
.coffee__bird-legs {
    fill: none;
    stroke: var(--night-900);
    stroke-width: 1.5;
    stroke-linecap: round;
}

.coffee__bird-legs {
    stroke: var(--white);
}

.coffee__bird-eye {
    fill: var(--night-900);
}

.is-first-tweet .coffee__steam--3 {
    display: none;
}

/* Bitcoin Pizza Day: a slice of pizza beside the mug */
.coffee__pizza {
    fill: var(--pink-300);
    stroke: var(--white);
    stroke-width: 1.5;
    stroke-linejoin: round;
}

.coffee__pizza-crust {
    fill: none;
    stroke: var(--white);
    stroke-width: 4;
    stroke-linecap: round;
}

.coffee__pepperoni {
    fill: var(--pink-700);
}

/* Halloween & Bitcoin: Satoshi's ₿ in the ghost's hand (its own class: Miyamoto's coin, .coffee__coin, fades out) */
.coffee__btc {
    fill: var(--pink-500);
    stroke: var(--white);
    stroke-width: 1.5;
}

.coffee__btc-b {
    fill: var(--night-900);
    font: 800 10px var(--font-body);
    text-anchor: middle;
}

/* August (Elena, 2026-11-09; core/seasons.py), on the mug of "A break, at random" */

/* The IBM PC: a computer of 1981 beside the mug, its cursor blinking three times */
.coffee__pc {
    fill: var(--mist-100);
    stroke: var(--white);
    stroke-width: 1.5;
}

.coffee__pc-screen {
    fill: var(--night-900);
}

.coffee__pc-cursor {
    stroke: var(--pink-500);
    stroke-width: 2;
    animation: coffee-cursor 1s steps(1) 3 both;
}

@keyframes coffee-cursor {
    0% { opacity: 1; }
    50% { opacity: 0; }
}

/* Windows 95: a "Start" button on the mug, grey and bevelled as it was */
.coffee__start {
    fill: var(--gray-300);
    stroke: var(--white);
    stroke-width: 1.5;
}

.coffee__start-window {
    fill: var(--pink-500);
}

.coffee__start-text {
    fill: var(--night-900);
    font: 800 8.5px var(--font-body);
    text-anchor: middle;
}

/* Judgment Day: a Terminator's red eye (red: the same exception as the Santa hat and the eggs), glowing in three
   pulses (2.4s), then lit */
.coffee__eye-glow {
    fill: #d62828;
    opacity: 0.35;
    filter: blur(2px);
    animation: coffee-eye 0.8s ease-in-out 3 both;
}

.coffee__eye {
    fill: #d62828;
}

.coffee__eye-spark {
    fill: var(--white);
}

@keyframes coffee-eye {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 0.8; }
}

/* The Intel 4004 (Elena, 2026-11-09; 15 November 1971): a chip with its pins on the mug */
.coffee__chip {
    fill: var(--night-900);
    stroke: var(--white);
    stroke-width: 1.5;
}

.coffee__chip-pins {
    stroke: var(--mist-100);
    stroke-width: 1.5;
}

.coffee__chip-text {
    fill: var(--pink-500);
    font: 800 9px var(--font-body);
    text-anchor: middle;
}

/* Tetris (Elena, 2026-11-20; 6 June 1984): three pieces dropping a block at a time into place (0.6s each, one after
   another), the last completing the bottom row, which flashes twice, then still; in place under reduced motion */
.coffee__tetris {
    animation: coffee-tetris 0.6s steps(6) both;
}

.coffee__tetris--o { fill: var(--mist-100); animation-delay: 0.3s; }
.coffee__tetris--l { fill: var(--white); animation-delay: 0.9s; }
.coffee__tetris--s { fill: var(--pink-500); animation-delay: 1.5s; }

.coffee__tetris-row {
    fill: var(--white);
    opacity: 0;
    animation: coffee-tetris-row 0.4s steps(1) 2.2s 2;
}

.home-random:hover .coffee__tetris { animation-name: coffee-tetris-again; }
.home-random:hover .coffee__tetris-row { animation-name: coffee-tetris-row-again; }

@keyframes coffee-tetris {
    0% { opacity: 0; transform: translateY(-24px); }
    1% { opacity: 1; }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes coffee-tetris-again {
    0% { opacity: 0; transform: translateY(-24px); }
    1% { opacity: 1; }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes coffee-tetris-row {
    50% { opacity: 1; }
}

@keyframes coffee-tetris-row-again {
    50% { opacity: 1; }
}

/* Voyager 1 (Elena, 2026-11-20; 5 September 1977): the Golden Record on the mug (pink: the brand's one accent), turning
   once (2.4s), and the probe flying off from the rim to the top right, getting smaller, where it stays; under reduced
   motion both still, the probe already there */
.coffee__record {
    transform-box: fill-box;
    transform-origin: center;
    animation: coffee-record 2.4s ease-in-out 0.3s both;
}

.coffee__record-disc { fill: var(--night-900); stroke: var(--pink-500); stroke-width: 1.5; }
.coffee__record-groove { fill: none; stroke: var(--pink-300); stroke-width: 0.5; }
.coffee__record-label { fill: var(--pink-500); }
.coffee__record-hole { fill: var(--night-900); }
.coffee__record-shine { fill: none; stroke: var(--white); stroke-width: 0.8; stroke-linecap: round; }

.coffee__voyager {
    transform-box: view-box;
    transform-origin: 84px 14px;
    animation: coffee-voyager 2.4s ease-out 0.3s both;
}

.coffee__voyager-boom { stroke: var(--mist-100); stroke-width: 1; stroke-linecap: round; }
.coffee__voyager-dish { fill: var(--white); }
.coffee__voyager-body { fill: var(--pink-500); }

.home-random:hover .coffee__record { animation-name: coffee-record-again; }
.home-random:hover .coffee__voyager { animation-name: coffee-voyager-again; }

@keyframes coffee-record {
    from { transform: rotate(0); }
    to { transform: rotate(360deg); }
}

@keyframes coffee-record-again {
    from { transform: rotate(0); }
    to { transform: rotate(360deg); }
}

@keyframes coffee-voyager {
    from { opacity: 0; transform: translate(-26px, 30px) scale(1.6); }
    15% { opacity: 1; }
    to { opacity: 1; transform: translate(0, 0) scale(1); }
}

@keyframes coffee-voyager-again {
    from { opacity: 0; transform: translate(-26px, 30px) scale(1.6); }
    15% { opacity: 1; }
    to { opacity: 1; transform: translate(0, 0) scale(1); }
}

/* Steve Shirley's birthday (Elena, 2026-11-20; 16 September 1933): "Stephanie" on the mug struck out by a pink line
   (0.5s), then "Steve" written under it in the hand face (1s), as she signed her letters; under reduced motion struck
   and written already */
.coffee__stephanie {
    fill: var(--mist-100);
    font: 700 6px var(--font-body);
    text-anchor: middle;
}

.coffee__stephanie-strike {
    stroke: var(--pink-500);
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-dasharray: 26;
    animation: coffee-strike 0.5s ease-out 0.5s both;
}

.coffee__steve {
    fill: var(--pink-500);
    font: 400 14px var(--font-hand);
    text-anchor: middle;
    clip-path: inset(0 100% 0 0);
    animation: coffee-write 1s ease-in-out 1.1s forwards;
}

.home-random:hover .coffee__stephanie-strike { animation-name: coffee-strike-again; }
.home-random:hover .coffee__steve { animation-name: coffee-write-again; }

@keyframes coffee-strike {
    from { stroke-dashoffset: 26; }
    to { stroke-dashoffset: 0; }
}

@keyframes coffee-strike-again {
    from { stroke-dashoffset: 26; }
    to { stroke-dashoffset: 0; }
}

@keyframes coffee-write {
    to { clip-path: inset(0 0 0 0); }
}

@keyframes coffee-write-again {
    from { clip-path: inset(0 100% 0 0); }
    to { clip-path: inset(0 0 0 0); }
}

@media (prefers-reduced-motion: reduce) {
    .coffee__tetris,
    .coffee__tetris-row,
    .coffee__record,
    .coffee__voyager,
    .coffee__stephanie-strike {
        animation: none;
    }

    .coffee__steve {
        clip-path: none;
        animation: none;
    }
}

/* Apple's "1984" ad (Elena, 2026-11-20; 22 January 1984): a pink sledgehammer spinning in from the top left into a
   screen on the mug (1.1s), a flash, the screen cracked, then still; cracked at once, no hammer, under reduced motion */
.coffee__screen {
    fill: var(--gray-300);
    stroke: var(--white);
    stroke-width: 1.5;
}

.coffee__screen-cracks {
    fill: none;
    stroke: var(--night-900);
    stroke-width: 1;
    stroke-linecap: round;
    animation: coffee-cracks 0.2s ease-out 1.4s both;
}

.coffee__screen-flash {
    fill: var(--white);
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    animation: coffee-flash 0.5s ease-out 1.4s;
}

.coffee__hammer {
    opacity: 0;
    transform-box: view-box;
    transform-origin: 48px 66px;
    animation: coffee-hammer 1.1s ease-in 0.3s;
}

.coffee__hammer-handle {
    stroke: var(--pink-300);
    stroke-width: 1.8;
    stroke-linecap: round;
}

.coffee__hammer-head {
    fill: var(--pink-500);
}

.home-random:hover .coffee__screen-cracks { animation-name: coffee-cracks-again; }
.home-random:hover .coffee__screen-flash { animation-name: coffee-flash-again; }
.home-random:hover .coffee__hammer { animation-name: coffee-hammer-again; }

@keyframes coffee-cracks {
    from { opacity: 0; }
}

@keyframes coffee-cracks-again {
    from { opacity: 0; }
}

@keyframes coffee-flash {
    from { opacity: 0.9; transform: scale(0.3); }
    to { opacity: 0; transform: scale(1.4); }
}

@keyframes coffee-flash-again {
    from { opacity: 0.9; transform: scale(0.3); }
    to { opacity: 0; transform: scale(1.4); }
}

@keyframes coffee-hammer {
    from { opacity: 1; transform: translate(-34px, -50px) rotate(-720deg); }
    to { opacity: 1; transform: translate(0, 0) rotate(0); }
}

@keyframes coffee-hammer-again {
    from { opacity: 1; transform: translate(-34px, -50px) rotate(-720deg); }
    to { opacity: 1; transform: translate(0, 0) rotate(0); }
}

@media (prefers-reduced-motion: reduce) {
    .coffee__screen-cracks,
    .coffee__screen-flash,
    .coffee__hammer {
        animation: none;
    }
}

/* Google (Elena, 2026-11-20; 4 September 1998): the classic search page on the mug, "breakroom" typing itself into
   the box (1.2s), the cursor blinking three times, then still; typed at once under reduced motion */
/* The classic logo's colours and serif with its drop shadow (Elena, 2026-11-20: "the coloring / style of the original
   logo"), an exception to pink as the only accent, as the Santa hat's red */
.coffee__google {
    font: 700 10px Georgia, "Times New Roman", serif;
    text-anchor: middle;
    filter: drop-shadow(0.5px 0.5px 0 var(--gray-500));
}

.coffee__google--blue { fill: #3369e8; }
.coffee__google--red { fill: #d50f25; }
.coffee__google--yellow { fill: #eeb211; }
.coffee__google--green { fill: #009925; }

.coffee__search-box {
    fill: var(--white);
}

.coffee__search-text {
    fill: var(--night-900);
    font: 700 4.6px var(--font-body);
    clip-path: inset(0 100% 0 0);
    animation: coffee-type 1.2s steps(9) 0.4s forwards;
}

.coffee__search-caret {
    stroke: var(--pink-700);
    stroke-width: 0.8;
    animation: coffee-caret 0.6s steps(1) 1.6s 3;
}

.coffee__search-button {
    fill: var(--gray-300);
}

.home-random:hover .coffee__search-text { animation-name: coffee-type-again; }

@keyframes coffee-type {
    to { clip-path: inset(0 0 0 0); }
}

@keyframes coffee-type-again {
    from { clip-path: inset(0 100% 0 0); }
    to { clip-path: inset(0 0 0 0); }
}

@keyframes coffee-caret {
    50% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .coffee__search-text {
        clip-path: none;
        animation: none;
    }

    .coffee__search-caret {
        animation: none;
    }
}

/* NVIDIA (Elena, 2026-11-20; 5 April 1993, planned in a Denny's booth): three pancakes beside the mug, butter on top,
   "NV" on the mug; pink syrup dripping down once (1.2s), then still; dripped already under reduced motion */
.coffee__nv {
    fill: var(--pink-500);
    font: 900 15px var(--font-display);
    letter-spacing: 0.02em;
    text-anchor: middle;
}

.coffee__pancake {
    fill: var(--night-900);
    stroke: var(--white);
    stroke-width: 1.5;
}

.coffee__syrup {
    fill: var(--pink-500);
}

.coffee__syrup-drip {
    stroke: var(--pink-500);
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-dasharray: 9;
    animation: coffee-drip 1.2s ease-in 0.5s both;
}

.coffee__butter {
    fill: var(--white);
}

.home-random:hover .coffee__syrup-drip { animation-name: coffee-drip-again; }

@keyframes coffee-drip {
    from { stroke-dashoffset: 9; }
    to { stroke-dashoffset: 0; }
}

@keyframes coffee-drip-again {
    from { stroke-dashoffset: 9; }
    to { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .coffee__syrup-drip {
        animation: none;
    }
}

/* The internet in Cyprus (Elena, 2026-11-20; 31 August 1995): the island on the mug in pink, a signal pulsing out of
   Nicosia twice (2.8s), then only the white dot; no rings under reduced motion */
.coffee__cyprus {
    fill: var(--pink-500);
}

.coffee__signal {
    fill: none;
    stroke: var(--white);
    stroke-width: 1.2;
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    animation: coffee-signal 1.4s ease-out 0.3s 2;
}

.coffee__signal--2 { animation-delay: 0.8s; }

.coffee__nicosia {
    fill: var(--white);
}

.home-random:hover .coffee__signal { animation-name: coffee-signal-again; }

@keyframes coffee-signal {
    from { opacity: 1; transform: scale(0.15); }
    to { opacity: 0; transform: scale(1); }
}

@keyframes coffee-signal-again {
    from { opacity: 1; transform: scale(0.15); }
    to { opacity: 0; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .coffee__signal {
        animation: none;
    }
}

/* The Antikythera mechanism (Elena, 2026-11-20; 17 May 1902, the gear noticed in the wreck's bronze): its great
   four-spoked wheel on the mug turning a smaller one (twice its speed, the teeth the same size), a quarter turn
   (2s), then still; still under reduced motion */
.coffee__gear {
    transform-box: fill-box;
    transform-origin: center;
    animation: 2s ease-in-out 0.3s both;
}

.coffee__gear--big { animation-name: coffee-gear-big; }
.coffee__gear--small { animation-name: coffee-gear-small; }
.home-random:hover .coffee__gear--big { animation-name: coffee-gear-big-again; }
.home-random:hover .coffee__gear--small { animation-name: coffee-gear-small-again; }

.coffee__gear-teeth {
    fill: none;
    stroke: var(--pink-500);
    stroke-width: 3;
    stroke-dasharray: 1.4 1.113; /* 20 teeth on the great wheel (2π × 8), 10 on the small one (2π × 4) */
}

.coffee__gear-wheel {
    fill: var(--night-900);
    stroke: var(--pink-500);
    stroke-width: 1.2;
}

.coffee__gear-spokes {
    stroke: var(--pink-500);
    stroke-width: 2;
}

.coffee__gear-hub {
    fill: var(--white);
}

@keyframes coffee-gear-big {
    to { transform: rotate(90deg); }
}

@keyframes coffee-gear-big-again {
    to { transform: rotate(90deg); }
}

@keyframes coffee-gear-small {
    to { transform: rotate(-180deg); }
}

@keyframes coffee-gear-small-again {
    to { transform: rotate(-180deg); }
}

@media (prefers-reduced-motion: reduce) {
    .coffee__gear {
        animation: none;
    }
}

/* Eckert-Mauchly (Elena, 2026-11-20; 8 December 1947, the first computer company): two tape reels of their UNIVAC on
   the mug, the tape between them, turning twice (2.4s), then still; still under reduced motion */
.coffee__reel {
    transform-box: fill-box;
    transform-origin: center;
    animation: coffee-reel 1.2s ease-in-out 0.3s 2 both;
}

.coffee__reel-disc {
    fill: var(--night-900);
    stroke: var(--white);
    stroke-width: 1.5;
}

.coffee__reel-spokes {
    stroke: var(--mist-100);
    stroke-width: 1.2;
    stroke-linecap: round;
}

.coffee__reel-hub {
    fill: var(--pink-500);
}

.coffee__tape {
    stroke: var(--pink-500);
    stroke-width: 1.5;
}

.coffee__univac {
    fill: var(--white);
    font: 800 5.5px var(--font-body);
    letter-spacing: 0.12em;
    text-anchor: middle;
}

.home-random:hover .coffee__reel { animation-name: coffee-reel-again; }

@keyframes coffee-reel {
    to { transform: rotate(360deg); }
}

@keyframes coffee-reel-again {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .coffee__reel {
        animation: none;
    }
}

/* Apple's IPO (Elena, 2026-11-16; 12 December 1980): "AAPL" on the mug and a pink chart line drawing itself upwards
   (1.4s), its arrow then showing; drawn at once under reduced motion. Not Apple's logo */
.coffee__ticker {
    fill: var(--white);
    font: 800 8px var(--font-body);
    letter-spacing: 0.08em;
    text-anchor: middle;
}

.coffee__chart,
.coffee__chart-arrow {
    fill: none;
    stroke: var(--pink-500);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.coffee__chart {
    stroke-dasharray: 36;
    animation: coffee-chart 1.4s ease-out 0.3s both;
}

.coffee__chart-arrow {
    animation: coffee-chart-arrow 0.2s ease-out 1.6s both;
}

.home-random:hover .coffee__chart { animation-name: coffee-chart-again; }
.home-random:hover .coffee__chart-arrow { animation-name: coffee-chart-arrow-again; }

@keyframes coffee-chart {
    from { stroke-dashoffset: 36; }
    to { stroke-dashoffset: 0; }
}

@keyframes coffee-chart-again {
    from { stroke-dashoffset: 36; }
    to { stroke-dashoffset: 0; }
}

@keyframes coffee-chart-arrow {
    from { opacity: 0; }
}

@keyframes coffee-chart-arrow-again {
    from { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .coffee__chart,
    .coffee__chart-arrow {
        animation: none;
    }
}

/* Pong (Elena, 2026-11-16; 29 November 1972): a game on the mug, the ball going back and forth twice, each paddle
   meeting it (3.2s), then the ball still in the middle as for a serve; still under reduced motion */
.coffee__pong-net {
    stroke: var(--mist-100);
    stroke-width: 1;
    stroke-dasharray: 2 2;
}

.coffee__pong-paddle,
.coffee__pong-ball {
    fill: var(--white);
}

.coffee__pong-ball {
    fill: var(--pink-500);
    animation: coffee-pong-ball 3.2s linear 0.3s both;
}

.coffee__pong-paddle--left { animation: coffee-pong-left 3.2s ease-in-out 0.3s both; }
.coffee__pong-paddle--right { animation: coffee-pong-right 3.2s ease-in-out 0.3s both; }

.home-random:hover .coffee__pong-ball { animation-name: coffee-pong-ball-again; }
.home-random:hover .coffee__pong-paddle--left { animation-name: coffee-pong-left-again; }
.home-random:hover .coffee__pong-paddle--right { animation-name: coffee-pong-right-again; }

@keyframes coffee-pong-ball {
    0% { transform: translate(-10.5px, -3px); }
    25% { transform: translate(10.5px, 4px); }
    50% { transform: translate(-10.5px, 1px); }
    75% { transform: translate(10.5px, -4px); }
    100% { transform: translate(0, 0); }
}

@keyframes coffee-pong-ball-again {
    0% { transform: translate(-10.5px, -3px); }
    25% { transform: translate(10.5px, 4px); }
    50% { transform: translate(-10.5px, 1px); }
    75% { transform: translate(10.5px, -4px); }
    100% { transform: translate(0, 0); }
}

@keyframes coffee-pong-left {
    0% { transform: translateY(-3px); }
    50% { transform: translateY(1px); }
    100% { transform: translateY(0); }
}

@keyframes coffee-pong-left-again {
    0% { transform: translateY(-3px); }
    50% { transform: translateY(1px); }
    100% { transform: translateY(0); }
}

@keyframes coffee-pong-right {
    0% { transform: translateY(0); }
    25% { transform: translateY(4px); }
    75% { transform: translateY(-4px); }
    100% { transform: translateY(0); }
}

@keyframes coffee-pong-right-again {
    0% { transform: translateY(0); }
    25% { transform: translateY(4px); }
    75% { transform: translateY(-4px); }
    100% { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .coffee__pong-ball,
    .coffee__pong-paddle {
        animation: none;
    }
}

/* OpenAI's five days (Elena, 2026-11-16; Sam Altman fired on 17 November 2023, back five days later): "CEO" on the
   mug; a pink line strikes it out, then pulls away (3s), and it stays unstruck; no strike under reduced motion */
.coffee__ceo {
    fill: var(--white);
    font: 900 14px var(--font-display);
    letter-spacing: 0.04em;
    text-anchor: middle;
}

.coffee__ceo-strike {
    fill: none;
    stroke: var(--pink-500);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 32;
    stroke-dashoffset: 32;
    animation: coffee-ceo-strike 3s ease-in-out 0.4s both;
}

.home-random:hover .coffee__ceo-strike { animation-name: coffee-ceo-strike-again; }

@keyframes coffee-ceo-strike {
    0% { stroke-dashoffset: 32; }
    25%, 70% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -32; }
}

@keyframes coffee-ceo-strike-again {
    0% { stroke-dashoffset: 32; }
    25%, 70% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -32; }
}

@media (prefers-reduced-motion: reduce) {
    .coffee__ceo-strike {
        animation: none;
    }
}

/* Shigeru Miyamoto's birthday (Elena, 2026-11-15; 16 November 1952): Super Mario's "?" block on the mug, in pink;
   a coin pops out of it twice (1.6s), then is gone; no coin under reduced motion */
.coffee__block {
    fill: var(--pink-500);
    stroke: var(--night-900);
    stroke-width: 1.5;
}

.coffee__block-rivets {
    stroke: var(--night-900);
    stroke-width: 2.2;
    stroke-linecap: round;
}

.coffee__block-mark {
    fill: var(--night-900);
    font: 900 15px var(--font-display);
    text-anchor: middle;
}

.coffee__coin {
    fill: var(--white);
    stroke: var(--pink-500);
    stroke-width: 1.5;
    opacity: 0;
    animation: coffee-coin 0.8s ease-out 2 both;
}

.home-random:hover .coffee__coin { animation-name: coffee-coin-again; }

@keyframes coffee-coin {
    0% { opacity: 0; transform: translateY(8px); }
    25% { opacity: 1; }
    60% { opacity: 1; transform: translateY(-16px); }
    100% { opacity: 0; transform: translateY(-10px); }
}

@keyframes coffee-coin-again {
    0% { opacity: 0; transform: translateY(8px); }
    25% { opacity: 1; }
    60% { opacity: 1; transform: translateY(-16px); }
    100% { opacity: 0; transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
    .coffee__coin {
        animation: none;
    }
}

/* Internet Explorer 2.0 (Elena, 2026-11-15; 22 November 1995, the browser war with Netscape): its "e" in pink with
   the white ring round it, our own drawing without its blue; the ring passes behind the "e" at the top (a gap in the
   mug's colour round the letter) and in front of it at the bottom, as in the logo. Still */
.coffee__ie-gap {
    fill: none;
    stroke: var(--night-900);
    stroke-width: 6;
    stroke-linecap: round;
}

.coffee__ie-e {
    fill: none;
    stroke: var(--pink-500);
    stroke-width: 3;
    stroke-linecap: round;
}

.coffee__ie-ring {
    fill: none;
    stroke: var(--white);
    stroke-width: 1.8;
}

/* Facebook (Elena, 2026-11-15; 4 February 2004): "thefacebook", its first name, on the mug, and a "Poke" in the
   brand's speech bubble beside the steam. Still */
.coffee__facebook {
    fill: var(--pink-500);
    font: 800 6px var(--font-body);
    text-anchor: middle;
}

.coffee__poke-bubble {
    fill: var(--night-900);
    stroke: var(--white);
    stroke-width: 1.5;
    stroke-linejoin: round;
}

.coffee__poke-text {
    fill: var(--white);
    font: 800 7.5px var(--font-body);
    text-anchor: middle;
}

/* The Mother of All Demos (Elena, 2026-11-15; 9 December 1968): Engelbart's first mouse beside the mug, on its
   two wheels, three buttons, one pink. Still */
.coffee__mouse {
    fill: var(--night-900);
    stroke: var(--white);
    stroke-width: 2;
}

.coffee__mouse-wheel {
    fill: var(--night-900);
    stroke: var(--white);
    stroke-width: 1.5;
}

.coffee__mouse-button {
    fill: var(--mist-100);
}

.coffee__mouse-button--pink {
    fill: var(--pink-500);
}

.coffee__mouse-cord {
    fill: none;
    stroke: var(--mist-100);
    stroke-width: 2;
    stroke-linecap: round;
}

/* The transistor (Elena, 2026-11-15; 23 December 1947, a day of Christmas): the first one beside the mug, its three
   legs, a pink bow on top. Still */
.coffee__transistor {
    fill: var(--night-900);
    stroke: var(--white);
    stroke-width: 2;
    stroke-linejoin: round;
}

.coffee__transistor-legs {
    stroke: var(--gray-300);
    stroke-width: 2;
}

.coffee__bow {
    fill: var(--pink-500);
}

/* ENIAC (Elena, 2026-11-15; unveiled on 14 February 1946, Valentine's Day): a heart of its panel's lamps on the
   mug, lighting up row by row (1.8s), then lit; lit at once under reduced motion */
.coffee__lamp {
    fill: var(--pink-500);
    animation: coffee-lamp 0.4s ease-out both;
}

.coffee__lamp--1 { animation-delay: 0.25s; }
.coffee__lamp--2 { animation-delay: 0.5s; }
.coffee__lamp--3 { animation-delay: 0.75s; }
.coffee__lamp--4 { animation-delay: 1s; }
.coffee__lamp--5 { animation-delay: 1.25s; }

@keyframes coffee-lamp {
    from { fill: var(--gray-700); }
}

@media (prefers-reduced-motion: reduce) {
    .coffee__lamp {
        animation: none;
    }
}

/* Gmail (Elena, 2026-11-15; 1 April 2004): an envelope on the mug, its flap drawn as a pink "M", Gmail's logo
   without its colours. Still */
.coffee__envelope {
    fill: var(--white);
}

.coffee__envelope-m {
    fill: none;
    stroke: var(--pink-500);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Towel Day (Elena, 2026-11-09): "6 × 9 = 42" in the home welcome's lower right corner, the Hitchhiker's Guide's
   question to the answer (wrong in base 10, right in base 13). The display face in mist, tilted: the greeting already
   has the screen's handwriting. Large screens only */
.is-towel-day .home-welcome {
    position: relative;
}

.towel-sum {
    position: absolute;
    right: var(--space-5);
    bottom: var(--space-3);
    margin: 0;
    color: var(--mist-100);
    font: 800 22px/1 var(--font-display);
    letter-spacing: 0.04em;
    transform: rotate(-6deg);
    opacity: 0.85;
    pointer-events: none;
}

@media (max-width: 991px) {
    .towel-sum {
        display: none;
    }
}

/* Judgment Day (Elena, 2026-11-09: "under the welcome message - that's more scary"): a Terminator's eye under the
   home welcome's greeting: a dark metal socket, the red eye (the same exception as on the mug) glowing up three times
   (2.4s), then lit. Large screens only */
.terminator-eye {
    position: absolute;
    top: calc(50% + 48px);
    left: 72px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 40% 38%, var(--white) 0 3px, transparent 4px),
        radial-gradient(circle, #ff5a4f 0 9px, #d62828 12px, #5a0d0d 17px, var(--gray-700) 18px 22px, var(--ink-800) 23px);
    box-shadow: 0 0 18px 4px rgba(214, 40, 40, 0.55), inset 0 0 0 2px var(--gray-500);
    animation: terminator-eye 0.8s ease-in-out 3 both;
    pointer-events: none;
}

@keyframes terminator-eye {
    0%, 100% { box-shadow: 0 0 18px 4px rgba(214, 40, 40, 0.55), inset 0 0 0 2px var(--gray-500); }
    50% { box-shadow: 0 0 34px 12px rgba(214, 40, 40, 0.85), inset 0 0 0 2px var(--gray-500); }
}

@media (max-width: 1199px) {
    .terminator-eye {
        display: none;
    }
}

/* Grace Hopper's day (Elena, 2026-11-09: "the moth should fly around in the hero banner"): the moth flutters round the
   home welcome for 4.5 seconds (under five, so no pause control), its wings beating, then lands on the bubble's top
   edge and stays there, wings open; already landed under reduced motion. Large screens only (the band's layout
   changes below 1200px) */
.hero-moth {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    overflow: visible;
    pointer-events: none;
    animation: hero-moth-flight 4.5s ease-in-out both;
}

.hero-moth .moth__wing {
    transform-box: view-box;
    transform-origin: 12px 10px;
    animation: hero-moth-flap 0.15s ease-in-out 30 alternate both;
}

@keyframes hero-moth-flight {
    0% { transform: translate(40px, 150px) rotate(-10deg); }
    18% { transform: translate(190px, 30px) rotate(15deg); }
    36% { transform: translate(430px, 140px) rotate(-8deg); }
    54% { transform: translate(720px, 10px) rotate(20deg); }
    72% { transform: translate(560px, -50px) rotate(-15deg); }
    88% { transform: translate(380px, -40px) rotate(8deg); }
    100% { transform: translate(330px, -20px) rotate(0deg); }
}

@keyframes hero-moth-flap {
    from { transform: scaleX(1); }
    to { transform: scaleX(0.35); }
}

@media (max-width: 1199px) {
    .hero-moth {
        display: none;
    }
}

/* Ada Lovelace Day (Elena, 2026-11-09): a punched card leaning beside the mug, as the Analytical Engine would have
   read her program, and "1843", the year of her notes, rising out of the coffee like the steam (twice, as the steam) */
.coffee__card-sheet {
    fill: var(--cream);
    stroke: var(--white);
    stroke-width: 1;
    stroke-linejoin: round;
}

.coffee__card-holes {
    fill: var(--night-900);
}

.coffee__card-stripe {
    stroke: var(--pink-500);
    stroke-width: 1;
    opacity: 0.6;
}

.coffee__steam-text {
    fill: var(--mist-100);
    font: 800 15px var(--font-display);
    letter-spacing: 0.04em;
    text-anchor: middle;
    animation: coffee-rise 2.2s var(--ease-standard) 2 both;
}

.home-random:hover .coffee__steam-text {
    animation-name: coffee-rise-again;
}

@keyframes coffee-rise {
    0% { opacity: 0; transform: translateY(10px); }
    40% { opacity: 1; }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes coffee-rise-again {
    0% { opacity: 0; transform: translateY(10px); }
    40% { opacity: 1; }
    100% { opacity: 1; transform: translateY(0); }
}
