/* ============================================================================
   OSHAwards — "Standards Authority" design system
   ----------------------------------------------------------------------------
   A credential-craft redesign layer. Loaded LAST so it retunes the existing
   token-driven public site (public-modern.css / oshawards-authority.css /
   oshawards-sections-pro.css) without touching their markup.

   Design language: warm printed paper, near-black ink, one deep restrained
   forest-green accent, gold-leaf used like a seal — not a highlighter. A
   high-contrast serif (Fraunces) carries display type; a warm grotesk (Hanken
   Grotesk) carries text; a mono (JetBrains Mono) carries credential IDs.
   The intent is an institution of record, not a SaaS landing page.
   ========================================================================== */

/* ---- 1. Type + palette tokens (override the originals) ------------------- */
:root {
    --osh-font:         'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --osh-font-display: 'Source Serif 4', 'Hanken Grotesk', Georgia, 'Times New Roman', serif;
    --osh-font-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

    /* Paper & ink — warm, printed, never a flat SaaS white */
    --osh-c-bg:         #F4F7FB;   /* warm paper ground */
    --osh-c-surface:    #F8FAFD;   /* card / raised paper */
    --osh-c-surface-2:  #F8FAFD;
    --osh-c-surface-3:  #ECF1F8;
    --osh-c-divider:    #D7DEEA;   /* warm hairline */
    --osh-c-line:       #C3CDDD;

    --osh-c-ink:        #0A1F44;   /* near-black, faint warm cast */
    --osh-c-ink-2:      #0F2C5C;
    --osh-c-text:       #2A3550;
    --osh-c-text-2:     #3E4A63;
    --osh-c-muted:      #525D75;   /* was #83857A: 3.18:1 on the paper ground, below AA; now 4.75:1 */

    --osh-c-brand:      #0A1F44;
    --osh-c-cta:        #0A2756;   /* deep forest — primary action */
    --osh-c-cta-hover:  #0F3C7A;

    /* The site references --osh-c-cyan in 60+ places; repurpose it to the
       single green accent so links, rules and marks all move together. */
    --osh-c-cyan:       #0A5DA6;
    --osh-c-cyan-soft:  #E6EEF8;
    --osh-c-blue:       #0A5DA6;
    --osh-c-blue-soft:  #E6EEF8;
    --osh-c-purple:     #3E4A63;   /* neutralised — no violet on this page */
    --osh-c-purple-soft:#E8EDF5;

    /* Gold leaf — for seals, rules and the odd emphasis. Deepened for print. */
    --osh-c-gold:       #0A5DA6;   /* was #0A6CBF: 3.38:1 as text on paper; now passes AA */
    --osh-c-gold-soft:  #E6EEF8;
    --osh-c-gold-deep:  #0A4F8F;

    --osh-c-amber:      #B54708;
    --osh-c-amber-soft: #FBF0D5;
    --osh-c-success:    #067647;
    --osh-c-success-soft:#E3F0E6;

    /* Tighter radii — the uniform-soft-corner look is an AI tell */
    --osh-r-sm: 3px; --osh-r-md: 5px; --osh-r-lg: 8px; --osh-r-xl: 12px; --osh-r-2xl: 16px;

    /* Shadows tinted to the ink hue, not generic black */
    --osh-shadow-sm: 0 1px 2px rgba(10,31,68,.05);
    --osh-shadow-md: 0 8px 24px -12px rgba(10,31,68,.18);
    --osh-shadow-lg: 0 20px 48px -20px rgba(10,31,68,.24);
    --osh-shadow-xl: 0 32px 64px -28px rgba(10,31,68,.30);
    --osh-ring:      0 0 0 3px rgba(10,39,86,.28);

    /* Legacy gradients and ring shadows from oshawards-authority.css were
       navy-to-cyan; retuned here to ink and forest so nothing on the page
       falls back to the old blue identity. */
    --osh-grad-authority: linear-gradient(135deg, #0A1F44 0%, #0A2756 100%);
    --osh-grad-noir:      linear-gradient(180deg, #0A1F44 0%, #0E1110 100%);
    --osh-ring-1:    0 0 0 1px rgba(10,31,68,.06);
    --osh-ring-2:    0 0 0 1px rgba(10,31,68,.10);
    --osh-ring-soft: 0 1px 2px rgba(10,31,68,.04), 0 0 0 1px rgba(10,31,68,.06);
    --osh-ring-md:   0 4px 12px -2px rgba(10,31,68,.06), 0 0 0 1px rgba(10,31,68,.06);
    --osh-ring-lg:   0 16px 40px -16px rgba(10,31,68,.18), 0 0 0 1px rgba(10,31,68,.08);

    --osh-container: 1180px;
    --osh-ease: cubic-bezier(.22,.68,.28,1);
}

/* ---- 2. Ground + paper grain -------------------------------------------- */
body.modern {
    background: var(--osh-c-bg);
    color: var(--osh-c-text);
    font-family: var(--osh-font);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
/* A fixed, feather-light grain so surfaces read as paper, never flat vector.
   Sits ABOVE everything (huge z-index) but is pointer-events:none and ~2%
   opaque, so it is imperceptible over menus/drawers. Never touch the
   position of body's children — the mobile drawer, overlays and scroll-top
   button rely on position:fixed. */
body.modern::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    pointer-events: none;
    opacity: .5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}

::selection { background: var(--osh-c-gold-soft); color: var(--osh-c-ink); }

/* Consistent, visible keyboard focus everywhere */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible,
.osh-btn:focus-visible, .osh-nav-link:focus-visible {
    outline: 2px solid var(--osh-c-cta);
    outline-offset: 2px;
    border-radius: 2px;
}

/* ---- 3. Typography ------------------------------------------------------- */
.osh-display, h1.osh-display, h2.osh-display, h3.osh-display {
    font-family: var(--osh-font-display);
    font-weight: 600;
    font-optical-sizing: auto;
    letter-spacing: -0.015em;
    line-height: 1.06;
    color: var(--osh-c-ink);
    text-wrap: balance;
}
.osh-hero-authority .osh-display { font-weight: 600; letter-spacing: -0.02em; }

h1, h2, h3, h4 { font-family: var(--osh-font-display); color: var(--osh-c-ink); }
h4, h5, h6 { letter-spacing: -0.01em; }
p, li, span, a, input, textarea, button, label { font-family: var(--osh-font); }
p { text-wrap: pretty; }

/* Eyebrows read as filed labels: small caps, tracked, gold tick */
.osh-eyebrow {
    font-family: var(--osh-font-mono) !important;
    font-size: 0.6875rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    color: var(--osh-c-gold-deep) !important;
    display: inline-flex; align-items: center; gap: .55em;
}
.osh-eyebrow::before {
    content: "";
    width: 18px; height: 1px;
    background: var(--osh-c-gold);
    display: inline-block;
}

/* Data / credential numerals in mono with tabular figures */
.osh-trio-num, .osh-numbers [data-counter], [data-counter],
.osh-stat-num, .osh-num {
    font-family: var(--osh-font-display) !important;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    color: var(--osh-c-ink);
}

/* ---- 4. Utility strip + header ------------------------------------------ */
.osh-utility-strip {
    background: var(--osh-c-ink);
    color: #D8D2C4;
    border-bottom: 1px solid rgba(255,255,255,.06);
    font-family: var(--osh-font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.02em;
}
.osh-utility-strip a { color: #B8C6DE; }
.osh-utility-strip a:hover { color: var(--osh-c-gold) !important; }
.osh-utility-strip .live-dot { background: #6FB08C; box-shadow: 0 0 0 3px rgba(111,176,140,.18); }
.osh-utility-divider { background: rgba(255,255,255,.14); }

.osh-header {
    background: rgba(248,250,253,.86);
    backdrop-filter: saturate(1.4) blur(14px);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid var(--osh-c-divider);
    box-shadow: none;
}
.osh-header.is-scrolled { box-shadow: 0 1px 0 var(--osh-c-line), var(--osh-shadow-md); }
.osh-nav-link {
    font-weight: 500;
    color: var(--osh-c-ink-2);
    letter-spacing: -0.005em;
}
.osh-nav-link:hover { color: var(--osh-c-cta); }
.osh-nav-item.is-active > .osh-nav-link,
.osh-nav-link.is-active { color: var(--osh-c-cta); }
.osh-nav-item.is-active > .osh-nav-link::after,
.osh-nav-link.is-active::after { background: var(--osh-c-gold); }
.osh-mega { border: 1px solid var(--osh-c-divider); border-radius: var(--osh-r-lg); box-shadow: var(--osh-shadow-lg); background: var(--osh-c-surface); }
.osh-mega-label { color: var(--osh-c-gold-deep); font-family: var(--osh-font-mono); font-size: .68rem; letter-spacing: .14em; }
.osh-mega a { color: var(--osh-c-text); border-radius: var(--osh-r-sm); }
.osh-mega a:hover { background: var(--osh-c-surface-3); color: var(--osh-c-ink); }
.osh-mega a .material-icons { color: var(--osh-c-cta); }

/* ---- 5. Buttons --------------------------------------------------------- */
.osh-btn {
    font-family: var(--osh-font);
    font-weight: 600;
    letter-spacing: -0.005em;
    border-radius: var(--osh-r-md);
    transition: transform var(--osh-dur) var(--osh-ease),
                background var(--osh-dur) var(--osh-ease),
                box-shadow var(--osh-dur) var(--osh-ease),
                color var(--osh-dur) var(--osh-ease);
}
.osh-btn-cta {
    background: var(--osh-c-cta);
    color: #F5F1E6;
    box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, var(--osh-shadow-md);
}
.osh-btn-cta:hover { background: var(--osh-c-cta-hover); transform: translateY(-1px); box-shadow: var(--osh-shadow-lg); color: #fff; }
.osh-btn-cta:active { transform: translateY(0) scale(.99); }
.osh-btn-outline {
    background: transparent;
    color: var(--osh-c-ink);
    border: 1px solid var(--osh-c-line);
    box-shadow: none;
}
.osh-btn-outline:hover { border-color: var(--osh-c-ink); background: var(--osh-c-surface); transform: translateY(-1px); }
.osh-btn-outline:active { transform: translateY(0) scale(.99); }
.osh-btn-ghost { color: var(--osh-c-ink); }
.osh-btn-ghost:hover { background: var(--osh-c-surface-3); }
/* the mega/nav "Verify Certificate" CTA */
.osh-btn-cta-desktop.osh-btn-cta { border-radius: var(--osh-r-md); }
.osh-nav-login { color: var(--osh-c-ink-2); font-weight: 600; }
.osh-nav-login:hover { color: var(--osh-c-cta); }

/* ---- 6. Seals, pills → institutional tags ------------------------------- */
.osh-seal {
    background: var(--osh-c-surface);
    border: 1px solid var(--osh-c-line);
    border-radius: var(--osh-r-md);
    box-shadow: var(--osh-shadow-sm);
}
.osh-seal-mark {
    background: var(--osh-c-ink);
    color: var(--osh-c-gold);
    font-family: var(--osh-font-display);
    letter-spacing: .06em;
    border-radius: var(--osh-r-sm);
}
.osh-seal-meta small { color: var(--osh-c-gold-deep); font-family: var(--osh-font-mono); letter-spacing: .1em; }
.osh-seal-meta span { color: var(--osh-c-ink); font-weight: 600; }

/* Squared, filed-document tags instead of soft pills */
.osh-pill, .osh-blog-card-tag, .osh-badge {
    border-radius: var(--osh-r-sm) !important;
    font-family: var(--osh-font-mono) !important;
    font-size: .66rem !important;
    letter-spacing: .1em !important;
    text-transform: uppercase !important;
    font-weight: 500 !important;
}
.osh-pill--approved, .osh-pill--pulse {
    background: var(--osh-c-cyan-soft) !important;
    color: var(--osh-c-cta) !important;
    border: 1px solid rgba(10,39,86,.22) !important;
}
.osh-pill-cyan { background: var(--osh-c-cyan-soft) !important; color: var(--osh-c-cta) !important; }
.osh-blog-card-tag { background: var(--osh-c-gold-soft) !important; color: var(--osh-c-gold-deep) !important; }

/* ---- 7. Cards & sections ------------------------------------------------ */
.osh-card, .osh-trio-card, .osh-service-card, .osh-course-card,
.osh-blog-card, .osh-quals-card, .osh-why-card {
    background: var(--osh-c-surface);
    border: 1px solid var(--osh-c-divider);
    border-radius: var(--osh-r-lg);
    box-shadow: var(--osh-shadow-sm);
    transition: transform var(--osh-dur) var(--osh-ease),
                box-shadow var(--osh-dur) var(--osh-ease),
                border-color var(--osh-dur) var(--osh-ease);
}
.osh-card:hover, .osh-trio-card:hover, .osh-service-card:hover,
.osh-course-card:hover, .osh-blog-card:hover, .osh-quals-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--osh-shadow-lg);
    border-color: var(--osh-c-line);
}
/* Featured / recommended tier — an ink "colophon" card with a gold hairline.
   (sections-pro paints this navy with a cyan glow; retune fully so numerals
   and text stay legible on the dark ground.) */
.osh-trio-card.is-featured {
    background: linear-gradient(180deg, #0F2C5C 0%, #0A1F44 100%);
    color: #C9C3B4;
    border-color: var(--osh-c-gold);
    box-shadow: 0 0 0 1px var(--osh-c-gold) inset, var(--osh-shadow-lg);
}
.osh-trio-card.is-featured .osh-trio-num { color: #F8FAFD !important; }
.osh-trio-card.is-featured .osh-trio-num .unit { color: var(--osh-c-gold) !important; }
.osh-trio-card.is-featured .osh-trio-label { color: #F8FAFD; }
.osh-trio-card.is-featured .osh-trio-desc { color: #B9B3A4; }
.osh-trio-card.is-featured .osh-trio-card-rank { color: #83857A; }
.osh-trio-card.is-featured .osh-trio-icon {
    background: rgba(248,250,253,.06);
    border-color: rgba(248,250,253,.16);
    color: var(--osh-c-gold);
}
.osh-trio-card-rank {
    font-family: var(--osh-font-mono);
    color: var(--osh-c-muted);
    letter-spacing: .12em;
    font-size: .68rem;
}
.osh-trio-icon, .osh-service-icon {
    background: var(--osh-c-surface-3);
    color: var(--osh-c-cta);
    border: 1px solid var(--osh-c-divider);
    border-radius: var(--osh-r-md);
}
.osh-trio-label, .osh-service-title { color: var(--osh-c-ink); font-weight: 600; }

/* Warm section grounds retuned to the paper palette */
.osh-section-cream, .osh-trust,
[style*="--osh-c-cream"], [style*="var(--osh-c-cream)"] {
    background: var(--osh-c-surface-2) !important;
}
.osh-section-parchment, .osh-journey, .osh-numbers {
    background:
        linear-gradient(180deg, var(--osh-c-surface-2), var(--osh-c-bg)) !important;
    border-top: 1px solid var(--osh-c-divider);
    border-bottom: 1px solid var(--osh-c-divider);
}

/* Dark bands become deep ink, gold-ruled — a colophon, not a random black box */
.osh-section-noir, .osh-cta-band, .osh-quals-pro {
    background: var(--osh-c-ink) !important;
    color: #E7E1D3;
    border-top: 2px solid var(--osh-c-gold);
}
.osh-section-noir h1, .osh-section-noir h2, .osh-section-noir h3,
.osh-cta-band h1, .osh-cta-band h2, .osh-quals-pro h1, .osh-quals-pro h2,
.osh-quals-pro h3, .osh-quals-pro .osh-display {
    color: #F8FAFD !important;
}
.osh-quals-pro .osh-eyebrow, .osh-cta-band .osh-eyebrow, .osh-section-noir .osh-eyebrow {
    color: var(--osh-c-gold) !important;
}
.osh-quals-pro .osh-eyebrow::before, .osh-cta-band .osh-eyebrow::before { background: var(--osh-c-gold); }

/* Quals-pro band: kill the old navy + cyan/purple glows entirely */
.osh-quals-pro {
    background: linear-gradient(180deg, #1B1D1E 0%, #06142E 100%) !important;
    color: #C9C3B4;
}
/* Numerals on dark grounds must be paper, units gold — the global ink rule
   above would otherwise render them near-invisible on ink. */
.osh-quals-pro [data-counter], .osh-quals-pro-stat-num,
.osh-section-noir [data-counter], .osh-cta-band [data-counter],
.osh-quals-pro .osh-num, .osh-quals-pro .osh-stat-num {
    color: #F8FAFD !important;
}
.osh-quals-pro-stat-num .unit { color: var(--osh-c-gold) !important; }
.osh-quals-pro-stat-label { color: #9C968A !important; }
.osh-quals-pro-stats {
    background: rgba(248,250,253,.04);
    border: 1px solid rgba(248,250,253,.10);
    border-radius: var(--osh-r-lg);
}
.osh-quals-pro-stat { border-right-color: rgba(248,250,253,.10); }
/* Course/cert card thumbs inside dark bands — was a bright blue gradient */
.osh-cert-card-thumb, .osh-service-pro-thumb {
    background:
        radial-gradient(ellipse 60% 50% at 50% 30%, rgba(10,39,86,.55) 0%, transparent 65%),
        linear-gradient(180deg, #22312A 0%, #14201A 100%) !important;
}
.osh-quals-card { background: rgba(248,250,253,.035); border-color: rgba(248,250,253,.10); }
.osh-quals-card:hover { border-color: rgba(10,108,191,.55) !important; background: rgba(248,250,253,.06); }

/* Bento feature tile — swap the navy scrim/gradient for ink so the photo
   card sits in the same world as the other dark surfaces */
.osh-bento-a { background: linear-gradient(135deg, #0F2C5C, #0A1F44); }
.osh-bento-a-img::after {
    background: linear-gradient(180deg, rgba(10,31,68,.18) 0%, rgba(10,31,68,.72) 70%, rgba(10,31,68,.88) 100%) !important;
}
.osh-bento-a h3 { font-family: var(--osh-font-display); }

/* "Let's Talk" band — from navy+cyan/violet glows to ink+forest */
.osh-talk {
    background: linear-gradient(160deg, #0A1F44 0%, #1B2620 100%) !important;
    color: #C9C3B4;
}
.osh-talk::before {
    background:
        radial-gradient(circle at 0% 0%, rgba(10,39,86,.35) 0%, transparent 45%),
        radial-gradient(circle at 100% 100%, rgba(10,108,191,.12) 0%, transparent 40%) !important;
}
.osh-talk h2, .osh-talk-form h3 { color: #F8FAFD; font-family: var(--osh-font-display); }
.osh-talk-sub { color: #B9B3A4 !important; }
.osh-talk-phone { color: #F8FAFD; }
.osh-talk-form {
    background: rgba(248,250,253,.045);
    border-color: rgba(248,250,253,.12);
    border-radius: var(--osh-r-xl);
}
.osh-talk-form input, .osh-talk-form textarea {
    background: rgba(248,250,253,.05);
    border-color: rgba(248,250,253,.14);
    color: #F5F1E6;
    border-radius: var(--osh-r-md);
}
.osh-talk-form input::placeholder, .osh-talk-form textarea::placeholder { color: rgba(245,241,230,.42); }
.osh-talk-form input:focus, .osh-talk-form textarea:focus { border-color: var(--osh-c-gold); box-shadow: 0 0 0 3px rgba(10,108,191,.22); }

/* ---- 8. Trust marks (monograms) ----------------------------------------- */
.osh-trust-pro-label { font-family: var(--osh-font-mono); color: var(--osh-c-muted); letter-spacing: .1em; text-transform: uppercase; font-size: .68rem; }
.osh-trust-pro-monogram {
    background: var(--osh-c-surface);
    border: 1px solid var(--osh-c-line);
    color: var(--osh-c-ink);
    font-family: var(--osh-font-display);
    border-radius: var(--osh-r-sm);
    letter-spacing: .02em;
}
.osh-trust-pro-mark { color: var(--osh-c-text-2); font-weight: 500; }

/* ---- 9. Process / journey rules ----------------------------------------- */
.osh-process-num, .osh-journey-num {
    background: var(--osh-c-ink) !important;
    color: var(--osh-c-gold) !important;
    font-family: var(--osh-font-mono);
    border-radius: 50%;
}
.osh-talk-form button, .osh-footer-newsletter button { background: var(--osh-c-cta) !important; border-radius: var(--osh-r-md); }
.osh-talk-form button:hover, .osh-footer-newsletter button:hover { background: var(--osh-c-cta-hover) !important; }
.osh-talk-phone-icon { background: var(--osh-c-cta) !important; }

/* ---- 10. Footer --------------------------------------------------------- */
.osh-footer-modern { background: var(--osh-c-ink); color: #B9B3A4; border-top: 2px solid var(--osh-c-gold); }
.osh-footer-cta { border-bottom: 1px solid rgba(255,255,255,.08); }
.osh-footer-cta h3 { font-family: var(--osh-font-display); color: #F8FAFD; }
.osh-footer a, .osh-footer-col a { color: #B9B3A4 !important; }
.osh-footer a:hover, .osh-footer-col a:hover { color: var(--osh-c-gold) !important; }
.osh-footer-seal { background: var(--osh-c-gold); color: var(--osh-c-ink); font-family: var(--osh-font-display); font-weight: 600; border-radius: var(--osh-r-sm); }
.osh-footer-seal-meta strong { color: #F8FAFD; }
.osh-footer-newsletter input { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); color: #F5F1E6; border-radius: var(--osh-r-md); }
.osh-footer-social a { border: 1px solid rgba(255,255,255,.14); border-radius: var(--osh-r-sm); color: #B9B3A4; }
.osh-footer-social a:hover { border-color: var(--osh-c-gold); color: var(--osh-c-gold); }

/* ---- 11. Hero refinements ----------------------------------------------- */
.osh-hero-authority { background: linear-gradient(180deg, var(--osh-c-surface-2) 0%, var(--osh-c-bg) 100%); border-bottom: 1px solid var(--osh-c-divider); }
.osh-hero-lede { color: var(--osh-c-text-2); font-size: 1.125rem; line-height: 1.62; max-width: 34ch; }
.osh-hero-visual img { border-radius: var(--osh-r-xl); border: 1px solid var(--osh-c-line); box-shadow: var(--osh-shadow-xl); filter: saturate(.92) contrast(1.02); }
.osh-hero-card { background: var(--osh-c-surface); border: 1px solid var(--osh-c-line); border-radius: var(--osh-r-lg); box-shadow: var(--osh-shadow-lg); }
.osh-hero-card-icon { background: var(--osh-c-ink); color: var(--osh-c-gold); border-radius: var(--osh-r-sm); }
.osh-hero-card-text strong { color: var(--osh-c-ink); font-family: var(--osh-font-display); }

/* ---- 12. Links & rules -------------------------------------------------- */
a { color: var(--osh-c-cta); }
.osh-section-head p, .osh-about p { color: var(--osh-c-text-2); }
hr, .osh-rule { border-color: var(--osh-c-divider); }

/* ---- 13. Reveal safety net ---------------------------------------------
   The site reveals .osh-reveal by having JS add .is-in. If that observer never
   fires (slow or failed third-party JS), content would stay invisible forever.
   Guarantee it appears shortly after load regardless; .is-in still animates
   normally when JS is healthy. */
@keyframes oshRevealSafety { from { opacity: 0; } to { opacity: 1; transform: none; } }

/* Content is VISIBLE BY DEFAULT.
   Before this, every .osh-reveal element (74 of them on the homepage, including
   the whole hero) started at opacity 0 and only appeared once JavaScript added
   .is-in or a delayed animation finished. Anything that does not run scripts or
   animation frames normally, such as a link-preview or screenshot service, a
   crawler, a print view, or a background tab, saw a blank page.

   The hidden starting state is now opt-in: the layout script adds
   .osh-reveal-ready to <html> only once it is running, and only elements still
   below the fold at that moment are held back for the scroll animation. */
.osh-reveal { opacity: 1; transform: none; animation: none; }
html.osh-reveal-ready .osh-reveal:not(.is-in) {
    opacity: 0;
    transform: translateY(14px);
    animation: oshRevealSafety .3s var(--osh-ease) 1.2s forwards;
}
.osh-reveal.is-in { animation: none; }

/* ---- 14. Motion honour -------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
    .osh-reveal { opacity: 1 !important; transform: none !important; animation: none !important; }
}
