.editorial-orbit {
    --eo-accent: #ff4d2e;
    --eo-bg: #f3f1ea;
    --eo-ink: #111;
    --eo-line: color-mix(in srgb, var(--eo-ink) 25%, transparent);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    padding: clamp(3rem, 7vw, 8rem) clamp(1rem, 4vw, 4.5rem);
    color: var(--eo-ink);
    background: var(--eo-bg);
    font-family: "Overpass", Arial, sans-serif;
}

.editorial-orbit *,
.editorial-orbit *::before,
.editorial-orbit *::after { box-sizing: border-box; }

.editorial-orbit__grain {
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    opacity: .13;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.24'/%3E%3C/svg%3E");
    mix-blend-mode: multiply;
}

.editorial-orbit__header {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(16rem, .65fr);
    gap: clamp(2rem, 6vw, 8rem);
    align-items: end;
    max-width: 1500px;
    margin: 0 auto clamp(4rem, 9vw, 9rem);
}

.editorial-orbit__eyebrow,
.editorial-orbit__meta,
.editorial-orbit__filter {
    font-size: .72rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.editorial-orbit__eyebrow {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 0 0 1.4rem;
}

.editorial-orbit__eyebrow::before {
    width: .75rem;
    height: .75rem;
    border-radius: 100%;
    background: var(--eo-accent);
    content: "";
}

.editorial-orbit__heading {
    max-width: 12ch;
    margin: 0;
    font-size: clamp(3.1rem, 7.8vw, 9.5rem);
    font-weight: 800;
    line-height: .82;
    letter-spacing: -.075em;
    text-wrap: balance;
}

.editorial-orbit__intro {
    border-top: 1px solid currentColor;
    padding-top: 1rem;
    font-size: clamp(1rem, 1.3vw, 1.3rem);
    line-height: 1.45;
}

.editorial-orbit__intro p { margin: 0; }

.editorial-orbit__filters {
    position: relative;
    z-index: 4;
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    max-width: 1500px;
    margin: 0 auto 4rem;
}

.editorial-orbit__filter {
    appearance: none;
    border: 1px solid color-mix(in srgb, var(--eo-ink) 35%, transparent);
    border-radius: 999px;
    padding: .75rem 1rem;
    color: inherit;
    background: transparent;
    cursor: pointer;
    transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.editorial-orbit__filter:hover,
.editorial-orbit__filter.is-active {
    border-color: var(--eo-ink);
    color: var(--eo-bg);
    background: var(--eo-ink);
}

.editorial-orbit__paths {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
}

.editorial-orbit__paths path {
    fill: none;
    stroke: var(--eo-line);
    stroke-width: 1;
    stroke-dasharray: 3 9;
    vector-effect: non-scaling-stroke;
}

.editorial-orbit__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(3.5rem, 9vw, 10rem) clamp(1rem, 3vw, 3.5rem);
    align-items: start;
    max-width: 1500px;
    margin: 0 auto;
}

.editorial-orbit__card {
    --eo-shift: 0px;
    position: relative;
    min-width: 0;
    grid-column: span 4;
    transform: translateY(var(--eo-shift));
    transition: opacity .4s ease, transform .4s ease;
}

.editorial-orbit__card.is-filtered-out {
    display: none;
}

.editorial-orbit__card--pattern-1 { grid-column: 1 / span 7; --eo-shift: 0px; }
.editorial-orbit__card--pattern-2 { grid-column: 9 / span 4; --eo-shift: clamp(4rem, 10vw, 11rem); }
.editorial-orbit__card--pattern-3 { grid-column: 2 / span 4; --eo-shift: clamp(1rem, 3vw, 4rem); }
.editorial-orbit__card--pattern-4 { grid-column: 7 / span 6; --eo-shift: clamp(5rem, 10vw, 10rem); }
.editorial-orbit__card--pattern-5 { grid-column: 1 / span 5; --eo-shift: 0px; }
.editorial-orbit__card--pattern-6 { grid-column: 7 / span 4; --eo-shift: clamp(2rem, 5vw, 6rem); }
.editorial-orbit__card--pattern-7 { grid-column: 4 / span 7; --eo-shift: clamp(2rem, 4vw, 5rem); }

.editorial-orbit__media {
    position: relative;
    overflow: hidden;
    background: color-mix(in srgb, var(--eo-ink) 9%, var(--eo-bg));
    transform: rotate(var(--eo-tilt, 0deg));
    transform-origin: center;
    transition: transform .55s cubic-bezier(.2,.8,.2,1), border-radius .55s cubic-bezier(.2,.8,.2,1);
}

.editorial-orbit__card--pattern-1 .editorial-orbit__media { aspect-ratio: 16 / 9; --eo-tilt: -.45deg; }
.editorial-orbit__card--pattern-2 .editorial-orbit__media { aspect-ratio: 4 / 5; --eo-tilt: 1.1deg; }
.editorial-orbit__card--pattern-3 .editorial-orbit__media { aspect-ratio: 1 / 1; --eo-tilt: -.8deg; }
.editorial-orbit__card--pattern-4 .editorial-orbit__media { aspect-ratio: 3 / 2; --eo-tilt: .4deg; }
.editorial-orbit__card--pattern-5 .editorial-orbit__media { aspect-ratio: 4 / 5; --eo-tilt: .7deg; }
.editorial-orbit__card--pattern-6 .editorial-orbit__media { aspect-ratio: 5 / 4; --eo-tilt: -1deg; }
.editorial-orbit__card--pattern-7 .editorial-orbit__media { aspect-ratio: 16 / 10; --eo-tilt: .35deg; }

.editorial-orbit__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.88) contrast(1.03);
    transition: transform .75s cubic-bezier(.2,.8,.2,1), filter .5s ease;
}

.editorial-orbit__fallback {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: var(--eo-bg);
    background: var(--eo-ink);
    font-size: clamp(7rem, 22vw, 22rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.08em;
}

.editorial-orbit__number {
    position: absolute;
    right: .5rem;
    bottom: -.08em;
    color: var(--eo-bg);
    font-size: clamp(3rem, 7vw, 8rem);
    font-weight: 800;
    line-height: .8;
    letter-spacing: -.08em;
    mix-blend-mode: difference;
}

.editorial-orbit__copy {
    position: relative;
    padding: 1.35rem .25rem 0;
}

.editorial-orbit__meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: .8rem;
    border-bottom: 1px solid color-mix(in srgb, var(--eo-ink) 40%, transparent);
}

.editorial-orbit__title {
    max-width: 15ch;
    margin: .9rem 0 .7rem;
    font-size: clamp(1.65rem, 3.2vw, 4rem);
    font-weight: 700;
    line-height: .94;
    letter-spacing: -.05em;
    text-wrap: balance;
}

.editorial-orbit__excerpt {
    max-width: 46ch;
    margin: 0;
    font-size: .96rem;
    line-height: 1.45;
}

.editorial-orbit__read {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin-top: 1.1rem;
    font-size: .76rem;
    font-weight: 750;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.editorial-orbit__read i {
    display: grid;
    width: 1.65rem;
    height: 1.65rem;
    place-items: center;
    border-radius: 50%;
    color: var(--eo-bg);
    background: var(--eo-accent);
    font-size: .9rem;
    font-style: normal;
    transition: transform .25s ease;
}

.editorial-orbit__hit {
    position: absolute;
    inset: 0;
    z-index: 3;
}

.editorial-orbit__card:hover .editorial-orbit__media {
    border-radius: clamp(1rem, 3vw, 3.5rem) 0 clamp(1rem, 3vw, 3.5rem) 0;
    transform: rotate(0deg) translateY(-.45rem);
}

.editorial-orbit__card:hover .editorial-orbit__media img {
    transform: scale(1.045);
    filter: saturate(1) contrast(1.04);
}

.editorial-orbit__card:hover .editorial-orbit__read i { transform: rotate(45deg); }

.editorial-orbit__hit:focus-visible {
    outline: 3px solid var(--eo-accent);
    outline-offset: .5rem;
}

.editorial-orbit__empty {
    max-width: 1500px;
    margin: 0 auto;
    padding: 5rem 0;
    border-top: 1px solid currentColor;
    font-size: clamp(1.5rem, 4vw, 4rem);
    font-weight: 700;
    letter-spacing: -.04em;
}

@media (max-width: 900px) {
    .editorial-orbit__header { grid-template-columns: 1fr; gap: 2rem; }
    .editorial-orbit__grid { gap: 6rem 1.2rem; }
    .editorial-orbit__card,
    .editorial-orbit__card--pattern-1,
    .editorial-orbit__card--pattern-2,
    .editorial-orbit__card--pattern-3,
    .editorial-orbit__card--pattern-4,
    .editorial-orbit__card--pattern-5,
    .editorial-orbit__card--pattern-6,
    .editorial-orbit__card--pattern-7 { grid-column: span 6; --eo-shift: 0px; }
    .editorial-orbit__card:nth-child(even) { --eo-shift: 4rem; }
    .editorial-orbit__title { font-size: clamp(1.7rem, 5vw, 3rem); }
}

@media (max-width: 620px) {
    .editorial-orbit { padding-inline: 1rem; }
    .editorial-orbit__heading { font-size: clamp(3.25rem, 16vw, 5.8rem); }
    .editorial-orbit__paths { display: none; }
    .editorial-orbit__grid { display: block; }
    .editorial-orbit__card,
    .editorial-orbit__card:nth-child(even) { margin: 0 0 4.5rem; transform: none; }
    .editorial-orbit__card:nth-child(even) { width: 86%; margin-left: auto; }
    .editorial-orbit__card:nth-child(3n) { width: 92%; }
    .editorial-orbit__meta { font-size: .65rem; }
    .editorial-orbit__excerpt { font-size: .92rem; }
}

@media (prefers-reduced-motion: reduce) {
    .editorial-orbit *,
    .editorial-orbit *::before,
    .editorial-orbit *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

