/* ==========================================
   Rido Hero Entrance (Editorial Minimalism)
   ========================================== */

.hero-home {
    --hero-intro-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --hero-accent-green: #1fb44a;
    --hero-line: #E6E6E6;
    --hero-content-max: 1500px;
    --hero-content-pad: clamp(18px, 3.4vw, 64px);
    --site-shell-pad-mobile: clamp(16px, 5vw, 24px);
    --hero-inline-start: clamp(8px, 1.1vw, 14px);
    --hero-shell-width: min(100%, var(--hero-content-max));
    --hero-nav-text-offset: 0px;
    --hero-nav-first-shift: 0px;
    --hero-inline-pad: 0px;
    padding-top: clamp(4px, 0.5vw, 8px) !important;
    overflow-x: hidden;
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.hero-home .site-nav__inner {
    padding-inline: var(--hero-content-pad);
}

.hero-home .hero-cover {
    width: 100%;
    max-width: none;
    margin: 0;
    overflow: visible;
}

.hero-home .hero-masthead-wrap {
    width: 100%;
    max-width: var(--hero-content-max);
    margin: 0 auto;
    padding-inline: var(--hero-content-pad) !important;
    container-type: inline-size;
    container-name: hero-wordmark-shell;
    line-height: 1;
    overflow: visible;
    border-bottom: 0;
}

.hero-home .hero-wordmark-mask {
    width: 100%;
    overflow: visible;
    padding: 4px 0 10px;
}

.hero-home .hero-wordmark {
    display: block;
    margin: 0;
    width: 100%;
    max-width: 100%;
    white-space: nowrap;
    text-align: center;
    line-height: 0.92;
    /* --hero-wordmark-fit is set per viewport by js/global-header.js so the
       nameplate ink spans the content column exactly; the clamp is the fallback. */
    font-size: var(--hero-wordmark-fit, clamp(46px, 8.9vw, 156px));
    font-weight: 800;
    letter-spacing: -0.052em;
    text-transform: uppercase;
    transform: translateZ(0);
    will-change: transform, opacity;
}

@supports (font-size: 1cqw) {
    .hero-home .hero-wordmark {
        font-size: var(--hero-wordmark-fit, clamp(46px, 10.75cqw, 156px));
    }
}

.hero-home .hero-wordmark__link {
    display: inline-block;
    color: inherit;
    text-decoration: none;
}

.hero-home .hero-wordmark__link:focus-visible {
    outline: 2px solid #111111;
    outline-offset: 6px;
}

.hero-home .hero-nav {
    margin: 0;
    padding: 0 !important;
    border-top: 1px solid var(--hero-line) !important;
    border-bottom: 1px solid var(--hero-line) !important;
    position: relative;
    overflow: visible;
    isolation: isolate;
    z-index: 2;
}

.hero-home .hero-nav::before,
.hero-home .hero-nav::after {
    display: none !important;
}

.hero-home .hero-nav a::before,
.hero-home .hero-nav a::after {
    display: none !important;
}

.hero-home .hero-nav ul {
    margin: 0;
    list-style: none;
    max-width: none;
    padding: 13px var(--hero-inline-start) 12px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px clamp(20px, 2.5vw, 44px);
}

.hero-home .hero-nav li {
    list-style: none;
    display: block;
    margin: 0 !important;
}

.hero-home .hero-nav li:first-child {
    margin-left: var(--hero-nav-first-shift) !important;
}

.hero-home .hero-nav a {
    display: inline-flex;
    align-items: center;
    position: relative;
    font-size: clamp(16px, 1.05vw, 20px);
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.2;
    color: rgba(0, 0, 0, 0.86);
    transform: none;
    will-change: opacity;
    transition: color 260ms var(--hero-intro-ease), transform 260ms var(--hero-intro-ease), opacity 260ms var(--hero-intro-ease);
    opacity: 0.92;
    text-decoration: none !important;
}

.hero-home .hero-nav a::after {
    display: none !important;
}

.hero-home .hero-nav li:hover a,
.hero-home .hero-nav a:focus-visible {
    color: #000;
    opacity: 1;
    transform: translate3d(0, -1px, 0);
}

.hero-home .hero-cover-grid {
    max-width: var(--hero-content-max);
    width: 100%;
    padding-inline: var(--hero-content-pad) !important;
    margin: 0 auto !important;
}

.hero-home .hero-meta,
.hero-home .hero-caption,
.hero-home .hero-index {
    display: none !important;
}

.hero-home .hero-main-row {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
    margin: 0;
    border-top: 0;
    align-items: stretch !important;
}

.hero-home .hero-copy,
.hero-home .hero-media {
    padding-top: clamp(28px, 4vw, 80px);
    padding-bottom: clamp(28px, 4vw, 80px);
}

.hero-home .hero-copy {
    padding-top: clamp(20px, 2.5vw, 34px);
    padding-bottom: clamp(12px, 1.5vw, 18px);
    padding-left: clamp(34px, 5.8vw, 120px);
    padding-right: clamp(16px, 2.2vw, 34px);
}

.hero-home .hero-media {
    border-left: 1px solid var(--hero-line);
    /* Keep editorial spacing equal around the image */
    padding: clamp(18px, 2vw, 28px);
}

@media (min-width: 992px) {
    .hero-home {
        --hero-nav-first-shift: 0px;
    }

    .hero-home .hero-main-row {
        align-items: stretch !important;
    }

    .hero-home .hero-main-row > .hero-media {
        display: flex;
        align-items: flex-start;
    }

    .hero-home .hero-main-row > .hero-copy {
        flex: 0 0 60%;
        max-width: 60%;
    }

    .hero-home .hero-main-row > .hero-media {
        flex: 0 0 40%;
        max-width: 40%;
    }
}

.hero-home .hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 1.2em;
    margin-bottom: clamp(16px, 2vw, 24px);
    font-size: clamp(12px, 0.78vw, 14px);
    line-height: 1.22;
    letter-spacing: 0.02em;
    transform: none;
    will-change: opacity;
}

.hero-home .hero-kicker-dot {
    display: inline-block;
    width: 0.62rem;
    height: 0.62rem;
    flex: 0 0 0.62rem;
    border-radius: 999px;
    background: var(--hero-accent-green);
    transform: none;
    will-change: opacity;
}

.hero-home .hero-kicker-text {
    display: inline-block;
}

.hero-home .hero-title {
    margin: 0;
    max-width: 17.5ch;
    font-size: clamp(34px, 4.8vw, 74px);
    line-height: 0.95;
    letter-spacing: -0.032em;
    text-transform: uppercase;
    transform: translateZ(0);
}

.hero-home .hero-desc {
    margin-top: clamp(6px, 1vw, 12px);
    max-width: 48ch;
    font-size: clamp(16px, 1.08vw, 22px);
    line-height: 1.45;
    color: rgba(15, 15, 15, 0.62);
    transform: translateZ(0);
    will-change: transform, opacity;
}

.hero-home .hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: clamp(10px, 1.4vw, 16px);
}

.hero-home .hero-action-btn {
    transform: translateZ(0);
    will-change: transform, opacity;
}

.hero-home .hero-figure {
    margin: 0;
    width: 100%;
    max-width: none;
}

.hero-home .hero-image {
    position: relative;
    overflow: hidden;
    display: block;
    width: 100%;
    background: #f7f7f7;
    transform: translateZ(0);
    will-change: clip-path, opacity;
}

.hero-home .hero-image img {
    display: block;
    width: 100%;
    height: auto;
    transform: translateZ(0);
    will-change: transform, opacity, filter;
}

.hero-home .hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
    pointer-events: none;
    opacity: 0;
    transition: opacity 220ms var(--hero-intro-ease);
}

.hero-home.is-hero-intro-done .hero-image::after {
    opacity: 1;
}

.hero-home .hero-cover-grid > .spacer-double {
    margin: 0 !important;
    height: 0 !important;
    padding: 0 !important;
}

.hero-home .hero-cover-grid > .hero-kpi-row {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
    margin: 0;
    position: relative;
    isolation: isolate;
    border-top: 1px solid var(--hero-line);
    border-bottom: 1px solid var(--hero-line);
}

.hero-home .hero-cover-grid > .hero-kpi-row > [class*="col-"] {
    position: relative;
    padding: clamp(14px, 2vw, 22px) 12px;
    margin-bottom: 0 !important;
}

.hero-home .hero-cover-grid > .hero-kpi-row > [class*="col-"]:not(:last-child) {
    border-right: 0;
}

.hero-home .hero-cover-grid > .hero-kpi-row > [class*="col-"]:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 0;
    height: calc(100% + 1px);
    right: 0;
    width: 1px;
    background: var(--hero-line);
    transition: none;
}

.hero-home .hero-cover-grid .de_count h3 {
    margin: 0 0 4px;
}

.hero-home .hero-cover-grid .de_count .fs-15 {
    color: rgba(14, 14, 16, 0.72);
}

.hero-home .hero-title-line-mask {
    display: block;
    overflow: hidden;
}

.hero-home .hero-title-line {
    display: block;
    transform: translateZ(0);
    will-change: transform, opacity;
}

.hero-home .hero-title-rocket {
    display: inline-block;
    transform-origin: 50% 55%;
    will-change: transform;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .hero-home .hero-actions .btn-line {
        transition:
            border-color 180ms var(--hero-intro-ease),
            color 180ms var(--hero-intro-ease),
            transform 220ms var(--hero-intro-ease);
    }

    .hero-home .hero-actions .btn-line:hover,
    .hero-home .hero-actions .btn-line:focus-visible {
        transform: translate3d(0, -1px, 0);
    }
}

@media (max-width: 1199px) {
    .hero-home .hero-masthead-wrap {
        padding-inline: var(--site-shell-pad-mobile, 16px) !important;
    }

    .hero-home .hero-wordmark-mask {
        display: none !important;
    }

    .hero-home .hero-nav .site-nav__inner {
        min-height: 64px;
        padding-inline: 0 !important;
    }

    .hero-home .site-nav__brand {
        max-width: none;
        opacity: 1;
        overflow: visible;
        pointer-events: auto;
        transform: none;
        font-size: clamp(20px, 5.8vw, 32px);
        font-weight: 800;
        letter-spacing: -0.055em;
        line-height: 0.92;
    }

    .hero-home .hero-wordmark {
        line-height: 0.93;
        letter-spacing: -0.045em;
        font-size: clamp(44px, 9.9vw, 132px);
    }

    .hero-home .hero-copy {
        padding-left: clamp(28px, 4.6vw, 76px);
        padding-right: clamp(16px, 3vw, 38px);
    }

    .hero-home .hero-media {
        padding: clamp(20px, 2.6vw, 28px);
    }

    .hero-home .hero-main-row > .hero-copy {
        flex-basis: 58%;
        max-width: 58%;
    }

    .hero-home .hero-main-row > .hero-media {
        flex-basis: 42%;
        max-width: 42%;
    }

    .hero-home .hero-title {
        font-size: clamp(32px, 4.45vw, 62px);
    }

    .hero-home .hero-desc {
        max-width: 44ch;
        font-size: clamp(16px, 1.35vw, 21px);
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .hero-home {
        --hero-content-pad: clamp(16px, 3.2vw, 30px);
        --hero-inline-start: 0px;
        --hero-nav-text-offset: 0px;
        --hero-nav-first-shift: 0px;
    }

    .hero-home .hero-nav {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .hero-home .hero-nav .site-nav__inner {
        padding-inline: clamp(16px, 3.2vw, 30px) !important;
    }

    .hero-home .hero-nav ul {
        width: 100%;
        min-width: 0;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 8px 16px;
        padding-top: 12px;
        padding-bottom: 11px;
        padding-left: var(--hero-inline-start) !important;
        padding-right: var(--hero-inline-start) !important;
    }

    .hero-home .hero-main-row {
        display: block;
    }

    .hero-home .hero-main-row > .hero-copy,
    .hero-home .hero-main-row > .hero-media {
        display: block;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .hero-home .hero-copy {
        padding-left: 0 !important;
        padding-right: 0;
        padding-top: 26px;
        padding-bottom: 16px;
    }

    .hero-home .hero-media {
        border-left: 0;
        border-top: 1px solid var(--hero-line);
        padding: clamp(16px, 2.8vw, 22px);
    }

    .hero-home .hero-title {
        max-width: none;
        font-size: clamp(34px, 6vw, 52px);
        line-height: 0.95;
    }

    .hero-home .hero-desc {
        max-width: 52ch;
        font-size: clamp(16px, 2vw, 19px);
    }

    .hero-home .hero-figure {
        max-width: none;
    }
}

@media (max-width: 767px) {
    .hero-home {
        --hero-inline-pad: 0px;
        --hero-content-pad: var(--site-shell-pad-mobile, 16px);
        --hero-inline-start: 0px;
        --hero-nav-text-offset: 0px;
        --hero-nav-first-shift: 0px;
        padding-top: 2px !important;
    }

    .hero-home .hero-nav {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        overflow: visible;
        margin-bottom: 0;
    }

    .hero-home .hero-nav .site-nav__inner {
        padding-inline: var(--site-shell-pad-mobile, 16px) !important;
    }

    .hero-home .hero-main-row > .hero-copy,
    .hero-home .hero-main-row > .hero-media {
        display: block;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .hero-home .hero-copy {
        padding-left: 0 !important;
        padding-right: 0;
        padding-top: 40px;
        padding-bottom: 14px;
    }

    .hero-home .hero-main-row {
        margin-top: 14px;
    }

    html body .hero-home .hero-kicker,
    html body .hero-home .hero-kicker[data-reveal],
    html[data-rido-motion="editorial"] body .hero-home .hero-kicker[data-reveal],
    html.rido-reveal-managed body .hero-home .hero-kicker[data-reveal] {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
        clip-path: none !important;
    }

    html body .hero-home .hero-kicker .hero-kicker-text {
        display: inline !important;
    }

    .hero-home .hero-media {
        border-left: 0;
        border-top: 1px solid var(--hero-line);
        padding: clamp(14px, 3.8vw, 18px);
    }

    .hero-home .hero-wordmark-mask {
        padding-top: 1px;
        padding-bottom: 6px;
        padding-right: 2px;
    }

    .hero-home .hero-nav ul {
        width: 100%;
        min-width: 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 8px 16px;
        padding-top: 12px;
        padding-bottom: 10px;
        padding-left: var(--hero-inline-start) !important;
        padding-right: var(--hero-inline-start) !important;
        overflow-x: visible;
        overflow-y: visible;
        align-items: center;
        margin-top: 0;
        margin-bottom: 0;
        white-space: normal;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .hero-home .hero-nav ul::-webkit-scrollbar {
        display: none;
    }

    .hero-home .hero-nav li {
        flex: 0 0 auto;
        padding-right: 0;
        min-width: max-content;
    }

    .hero-home .hero-nav a {
        font-size: clamp(12px, 3.35vw, 14px);
        white-space: nowrap;
        line-height: 1.1;
        padding-top: 0;
        padding-bottom: 0;
    }

    .hero-home .hero-actions {
        gap: 10px;
    }

    .hero-home .hero-kicker {
        gap: 8px;
        margin-top: 10px;
        margin-bottom: clamp(14px, 2.8vw, 18px);
    }

    .hero-home .hero-kicker-dot {
        width: 0.44rem;
        height: 0.44rem;
        flex-basis: 0.44rem;
    }

    .hero-home .hero-cover-grid > .hero-kpi-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        border-top: 1px solid var(--hero-line);
        border-bottom: 1px solid var(--hero-line);
    }

    .hero-home .hero-cover-grid > .hero-kpi-row > [class*="col-"] {
        margin-bottom: 0 !important;
        border-right: 0 !important;
        border-bottom: 0 !important;
        width: auto;
        max-width: none;
        padding: 14px 10px;
    }

    /* Left column after reordering: child 1 (5+) and child 2 (10K+) */
    .hero-home .hero-cover-grid > .hero-kpi-row > [class*="col-"]:nth-child(1),
    .hero-home .hero-cover-grid > .hero-kpi-row > [class*="col-"]:nth-child(2) {
        border-right: 1px solid var(--hero-line) !important;
    }

    /* Reorder KPI cards to: 5+, 24+, 10k+, 500+ */
    .hero-home .hero-cover-grid > .hero-kpi-row > [class*="col-"]:nth-child(1) { order: 1; }
    .hero-home .hero-cover-grid > .hero-kpi-row > [class*="col-"]:nth-child(3) { order: 2; }
    .hero-home .hero-cover-grid > .hero-kpi-row > [class*="col-"]:nth-child(2) { order: 3; }
    .hero-home .hero-cover-grid > .hero-kpi-row > [class*="col-"]:nth-child(4) { order: 4; }

    /* First visual row divider */
    .hero-home .hero-cover-grid > .hero-kpi-row > [class*="col-"]:nth-child(1),
    .hero-home .hero-cover-grid > .hero-kpi-row > [class*="col-"]:nth-child(3) {
        border-bottom: 1px solid var(--hero-line) !important;
    }

    .hero-home .hero-cover-grid > .hero-kpi-row > [class*="col-"]::after {
        display: none;
    }

    .hero-home .hero-wordmark {
        font-size: clamp(34px, 9.9vw, 56px);
        letter-spacing: -0.04em;
        line-height: 0.96;
    }

    .hero-home .hero-title {
        max-width: none;
        font-size: clamp(44px, 13.2vw, 64px);
        line-height: 0.9;
        letter-spacing: -0.028em;
    }

    .hero-home .hero-desc {
        max-width: 100%;
        font-size: clamp(16px, 4vw, 19px);
    }

    .hero-home .hero-actions {
        width: 100%;
        gap: 10px;
    }

    .hero-home .hero-action-btn {
        flex: 1 1 calc(50% - 5px);
        min-width: 140px;
        text-align: center;
    }

    /* Hard guard: keep mobile kicker visible above hero heading */
    html body .hero-home .hero-kicker {
        white-space: nowrap;
        overflow: visible;
    }

    html body .hero-home .hero-kicker .hero-kicker-text {
        color: #111 !important;
        opacity: 1 !important;
        visibility: visible !important;
        font-size: clamp(12px, 3.5vw, 14px);
        font-weight: 800;
        letter-spacing: 0.02em;
    }
}

@media (max-width: 420px) {
    .hero-home .hero-masthead-wrap {
        padding-inline: clamp(16px, 4.8vw, 20px) !important;
    }

    .hero-home .hero-wordmark-mask {
        padding-right: 0;
    }

    .hero-home .hero-wordmark {
        font-size: clamp(29px, 8.9vw, 36px);
        letter-spacing: -0.052em;
        text-align: left;
    }
}

/* Hard guard to avoid 2-column hero on tablet/mobile from framework overrides */
@media (max-width: 991px) {
    .hero-home .hero-main-row {
        display: block !important;
    }

    .hero-home .hero-main-row > .hero-copy,
    .hero-home .hero-main-row > .hero-media {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }
}

@media (max-width: 520px) {
    .hero-home .hero-cover-grid > .hero-kpi-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Final enforce: keep editorial hero geometry stable across overrides */
@media (min-width: 992px) {
    html body .hero-home .hero-main-row > .hero-copy {
        flex: 0 0 60% !important;
        max-width: 60% !important;
        width: 60% !important;
    }

    html body .hero-home .hero-main-row > .hero-media {
        flex: 0 0 40% !important;
        max-width: 40% !important;
        width: 40% !important;
    }
}

html body .hero-home .hero-masthead-wrap,
html body .hero-home .hero-media,
html body .hero-home .hero-cover-grid > .hero-kpi-row {
    border-color: var(--hero-line) !important;
}

/* Align the masthead + nav inset with the content grid so edges line up.
   The masthead was resolving to 24px while .hero-cover-grid uses --hero-content-pad. */
html body .hero-home .text-fit-wrapper.hero-masthead-wrap {
    padding-left: var(--hero-content-pad) !important;
    padding-right: var(--hero-content-pad) !important;
}

html body .hero-home .hero-cover-grid > .hero-kpi-row > [class*="col-"]:not(:last-child)::after {
    background-color: var(--hero-line) !important;
}

@media (prefers-reduced-motion: reduce) {
    .hero-home .hero-wordmark,
    .hero-home .hero-nav a,
    .hero-home .hero-kicker-dot,
    .hero-home .hero-title-line,
    .hero-home .hero-desc,
    .hero-home .hero-action-btn,
    .hero-home .hero-image,
    .hero-home .hero-image img,
    .hero-home .hero-image::after {
        transition: none !important;
        animation: none !important;
        will-change: auto;
    }

    .hero-home .hero-actions .btn-line:hover,
    .hero-home .hero-actions .btn-line:focus-visible {
        transform: none;
    }
}

/* ==================================================
   HERO WELCOME-SCREEN UPGRADE (appended)
   Vitasovic pattern, adapted: re-enables the editorial
   meta row + figure caption (same-specificity override
   of the display:none rules above, later wins), styles
   them with css/design-system.css tokens, and positions
   the nameplate inversion dot. Scroll choreography lives
   in js/rido-hero-choreo.js.
   ================================================== */

/* Meta row: issue + location, magazine masthead voice */
.hero-home .hero-meta {
    display: flex !important;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-1, 4px) var(--space-3, 12px);
    padding: var(--space-2, 10px) 0;
    border-bottom: 1px solid var(--hairline, rgba(10, 10, 10, 0.14));
    font-weight: 700;
    font-size: var(--text-2xs, 0.6875rem);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-60, rgba(10, 10, 10, 0.6));
    font-variant-numeric: tabular-nums;
}

/* Figure caption: FIG. index + the hand-note motif */
.hero-home .hero-caption {
    display: flex !important;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-1, 4px) var(--space-2, 10px);
    margin: var(--space-2, 10px) 0 0;
    font-weight: 700;
    font-size: var(--text-2xs, 0.6875rem);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-40, rgba(10, 10, 10, 0.4));
    font-variant-numeric: tabular-nums;
}

.hero-home .hero-caption .hand-note {
    display: inline-block;
    font-size: clamp(15px, 1.1vw, 19px);
    letter-spacing: 0;
    text-transform: none;
    color: var(--ink-60, rgba(10, 10, 10, 0.6));
    white-space: nowrap;
    transform: rotate(-2.5deg);
}

/* KPI multiplier suffix (4×) keeps the counter rhythm */
.hero-home .hero-kpi-suffix {
    display: inline-block;
    margin-left: 1px;
}

/* Nameplate inversion dot: anchored top-left, moved via
   translate3d by js/rido-hero-choreo.js (rAF-throttled).
   html[data-motion="reduced"] .ds-invert-dot is already
   display:none in design-system.css. */
.hero-home .hero-wordmark-mask .ds-invert-dot {
    left: 0;
    top: 0;
    will-change: transform;
}

@media (pointer: coarse) {
    .hero-home .hero-wordmark-mask .ds-invert-dot {
        display: none;
    }
}

/* Below 1200px the compact nav's inner bar (min-height 64px)
   visually overflows its collapsed in-flow box and would cover
   the meta row — clear it. (Desktop flow is unaffected.) */
@media (max-width: 1199px) {
    .hero-home .hero-meta {
        margin-top: 64px;
    }
}

@media (max-width: 767px) {
    .hero-home .hero-meta {
        padding: var(--space-2, 8px) 0 var(--space-1, 6px);
        letter-spacing: 0.1em;
    }
}

/* audit: the 64px clearance above was added when the compact nav collapsed to
   0 height below 1200px and its inner bar overlaid the meta row. The nav now
   keeps its real flow height at every width (see navbar.css audit fix), so the
   compensation just doubled the gap — desktop has margin-top: 0 here too. */
@media (max-width: 1199px) {
    .hero-home .hero-meta {
        margin-top: 0;
    }
}

/* ==================================================
   HERO GRID ALIGNMENT: one content column for everything.
   js/global-header.js fits the nameplate ink to the content width; the copy
   and the portrait sit flush on that same column, so the nameplate, nav,
   meta rule, headline, portrait and KPI row share the same two edges.
   Since 2026-10-17 the copy group is centred in its cell on the two-column
   desktop hero instead (css/rido-editorial-sections.css).
   ================================================== */
.hero-home .hero-copy {
    padding-left: 0 !important;
}

.hero-home .hero-media {
    padding-right: 0 !important;
}

@media (max-width: 991px) {
    /* Stacked hero: the portrait spans the column like the copy above it. */
    .hero-home .hero-media {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}
