body.yuef-journal-archive #main {
    padding: 0;
    background: #fff;
}

.yja-journal {
    --yja-paper: #ffffff;
    --yja-soft: #f6f6f3;
    --yja-ink: #1d1b17;
    --yja-copy: #5f5b53;
    --yja-muted: #8c877d;
    --yja-line: #e4e1da;
    --yja-gold: #9a7637;
    --yja-champagne: #d8c6ae;
    --yja-dark: #0d0c0a;
    --yja-content: 1360px;
    overflow: clip;
    background: var(--yja-paper);
    color: var(--yja-ink);
    font-family: "Manrope", system-ui, sans-serif;
}

/* :where() drops the `a` part to zero specificity, so this rule stays at
   (0,1,0) instead of (0,1,1). At (0,1,1) it silently outranked .yja-button's
   `color: #fff` (0,1,0) and forced the label to inherit --yja-ink on an
   --yja-ink background -- black on black, readable only once :hover (0,2,0)
   raised the specificity. Plain links still inherit; component classes win. */
.yja-journal :where(a) {
    color: inherit;
    text-decoration: none;
}

.yja-journal :is(h1, h2, h3, p, figure, ol, ul) {
    margin: 0;
}

.yja-journal h1,
.yja-journal h2,
.yja-journal h3 {
    font-family: "Fraunces", Georgia, serif;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.04;
}

.yja-journal .yxp-shell {
    width: min(100% - 64px, var(--yja-content));
}

/* ---------- Signature: gold light sweep across italic words ---------- */

@keyframes yja-gold-shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: 0 0; }
}

.yja-journal :is(h1, h2, h3) em {
    color: var(--yja-gold);
    font-weight: 400;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .yja-journal :is(h1, h2, h3) em {
        background-color: #8d6b32;
        background-image: linear-gradient(110deg, transparent 42%, rgba(169, 133, 69, .55) 47%, #e3c381 49%, #fff2c7 50%, #e3c381 51%, rgba(169, 133, 69, .55) 53%, transparent 58%);
        background-position: 100% 0;
        background-repeat: no-repeat;
        background-size: 400% 100%;
        color: transparent;
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: yja-gold-shimmer 6.4s linear infinite;
    }

    .yja-hero h1 em,
    .yja-motion h2 em {
        background-color: #a88c58;
        background-image: linear-gradient(110deg, transparent 42%, rgba(234, 211, 160, .62) 47%, #fff3cf 49%, #fffdf4 50%, #fff3cf 51%, rgba(234, 211, 160, .62) 53%, transparent 58%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .yja-journal :is(h1, h2, h3) em {
        animation: none;
    }
}

.yja-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--yja-gold);
    font-family: "Manrope", system-ui, sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    text-transform: uppercase;
}

.yja-kicker::before {
    width: 28px;
    height: 1px;
    background: currentColor;
    content: "";
}

/* ---------- Hero ---------- */

.yja-hero {
    position: relative;
    display: grid;
    min-height: min(560px, calc(100svh - 150px));
    overflow: hidden;
    isolation: isolate;
    border-bottom: 1px solid var(--yja-line);
    background: var(--yja-dark);
    color: #fff;
}

.yja-hero__image,
.yja-hero__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.yja-hero__image {
    z-index: -2;
    object-fit: cover;
    object-position: center 51%;
}

.yja-hero__shade {
    z-index: -1;
    background: linear-gradient(90deg, rgba(10, 9, 7, .82) 0%, rgba(10, 9, 7, .5) 38%, rgba(10, 9, 7, .1) 72%, rgba(10, 9, 7, .02) 100%);
}

.yja-hero__inner {
    display: flex;
    min-height: inherit;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding-top: 104px;
    padding-bottom: 46px;
}

.yja-hero__content {
    max-width: 620px;
}

.yja-hero .yja-kicker {
    color: var(--yja-champagne);
}

.yja-hero h1 {
    margin-top: 16px;
    color: #fff;
    font-size: clamp(46px, 5.6vw, 88px);
}

.yja-hero__lead {
    max-width: 470px;
    margin-top: 22px;
    color: rgba(255, 255, 255, .82);
    font-size: 16px;
    line-height: 1.72;
}

.yja-jump-nav {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.yja-jump-nav a {
    position: relative;
    padding-bottom: 8px;
    color: rgba(255, 255, 255, .86);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.5;
    text-transform: uppercase;
}

.yja-jump-nav a::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: var(--yja-champagne);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 200ms ease;
}

.yja-jump-nav a:hover::after,
.yja-jump-nav a:focus-visible::after {
    transform: scaleX(1);
}

/* ---------- Topic marquee ---------- */

.yja-marquee {
    width: 100%;
    overflow: hidden;
    border-bottom: 1px solid var(--yja-line);
    background: var(--yja-soft);
}

.yja-marquee__track {
    display: flex;
    width: max-content;
    align-items: center;
}

.yja-marquee__group {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    padding: 14px 0;
}

.yja-marquee span {
    padding: 0 30px;
    color: var(--yja-copy);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.5;
    text-transform: uppercase;
    white-space: nowrap;
}

.yja-marquee i {
    color: var(--yja-gold);
    font-style: normal;
}

@media (prefers-reduced-motion: no-preference) {
    .yja-marquee__track {
        animation: yja-marquee 38s linear infinite;
    }

    /* Shift by exactly ONE copy, not half the track. -50% only loops
       seamlessly when a single copy is wider than the viewport; at 1440px one
       copy is 964px, so the cycle ended with a 476px blank strip on the right
       (60px at 1024px, none at 390px -- which is why it only showed on
       desktop). The track holds N copies, so one copy is 100%/N. N comes from
       --yja-marquee-copies, set inline by journal-archive.php. */
    @keyframes yja-marquee {
        from { transform: translate3d(0, 0, 0); }
        to { transform: translate3d(calc(-100% / var(--yja-marquee-copies, 6)), 0, 0); }
    }
}

/* ---------- Shared controls ---------- */

.yja-arrow {
    display: grid;
    width: 38px;
    height: 38px;
    flex: none;
    border: 1px solid var(--tile-line, rgba(29, 27, 23, .26));
    border-radius: 50%;
    color: inherit;
    font-size: 16px;
    font-style: normal;
    line-height: 1;
    place-items: center;
    transition: transform 250ms ease, background-color 250ms ease, color 250ms ease, border-color 250ms ease;
}

.yja-text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--yja-ink);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
    text-transform: uppercase;
}

.yja-text-link span {
    color: var(--yja-gold);
    font-size: 16px;
    line-height: 1;
    transition: transform 200ms ease;
}

.yja-text-link:hover span,
.yja-text-link:focus-visible span {
    transform: translateX(5px);
}

.yja-text-link--light {
    margin-top: 32px;
    color: #fff;
}

.yja-text-link--light span {
    color: var(--yja-champagne);
}

.yja-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    color: var(--tile-sub, var(--yja-muted));
    font-size: 10px;
    font-weight: 600;
    line-height: 1.5;
    text-transform: uppercase;
}

.yja-meta > * + *::before {
    margin-right: 9px;
    content: "\00b7";
}

.yja-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 52px;
    padding: 14px 24px;
    border: 1px solid var(--yja-ink);
    border-radius: 0;
    background: var(--yja-ink);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
    text-transform: uppercase;
    transition: border-color 250ms ease, background-color 250ms ease;
}

.yja-button span {
    color: var(--yja-champagne);
    font-size: 16px;
    line-height: 1;
    transition: transform 200ms ease;
}

.yja-button:hover,
.yja-button:focus-visible {
    border-color: var(--yja-gold);
    background: var(--yja-gold);
    color: #fff;
}

.yja-button:hover span,
.yja-button:focus-visible span {
    transform: translateX(4px);
}

/* ---------- Featured article ---------- */

.yja-featured {
    padding: 88px 0 84px;
}

.yja-featured__panel {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
    gap: clamp(28px, 3vw, 46px);
    align-items: stretch;
    border: 1px solid var(--yja-line);
    background: var(--yja-soft);
}

.yja-featured__media {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 14px 0 14px 14px;
    aspect-ratio: 1.3 / 1;
    background: #eceae4;
}

.yja-featured__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 650ms cubic-bezier(.22, .61, .36, 1);
}

.yja-featured__panel:hover .yja-featured__media img {
    transform: scale(1.05);
}

.yja-featured__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(28px, 3vw, 52px) clamp(26px, 3vw, 48px) clamp(28px, 3vw, 52px) 0;
}

.yja-featured h2 {
    margin-top: 16px;
    font-size: clamp(31px, 3.2vw, 46px);
    line-height: 1.08;
}

.yja-featured h2 a {
    transition: color 200ms ease;
}

.yja-featured__panel:hover h2 a {
    color: var(--yja-gold);
}

.yja-featured__excerpt {
    margin-top: 18px;
    color: var(--yja-copy);
    font-size: 15px;
    line-height: 1.75;
}

.yja-featured .yja-meta {
    margin-top: 18px;
}

.yja-featured__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 28px;
    margin-top: 30px;
}

/* ---------- Reading mosaic ---------- */

.yja-index {
    padding: 92px 0 104px;
    border-top: 1px solid var(--yja-line);
    border-bottom: 1px solid var(--yja-line);
    background: var(--yja-soft);
}

.yja-index__heading {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, .56fr);
    gap: clamp(36px, 6vw, 120px);
    align-items: end;
}

.yja-index h2 {
    margin-top: 14px;
    font-size: clamp(34px, 3.7vw, 58px);
}

.yja-index__heading > p {
    max-width: 400px;
    padding-bottom: 4px;
    color: var(--yja-copy);
    font-size: 15px;
    line-height: 1.75;
}

.yja-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
    margin-top: 46px;
}

.yja-filters__label {
    color: var(--yja-muted);
    font-size: 10px;
    font-weight: 600;
    line-height: 1.5;
    text-transform: uppercase;
}

.yja-filters__row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.yja-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    margin: 0;
    padding: 8px 16px;
    border: 1px solid var(--yja-line);
    border-radius: 0;
    background: var(--yja-paper);
    color: var(--yja-ink);
    cursor: pointer;
    font-family: "Manrope", system-ui, sans-serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.5;
    text-transform: uppercase;
    transition: border-color 250ms ease, background-color 250ms ease, color 250ms ease;
}

.yja-chip i {
    color: var(--yja-muted);
    font-size: 10px;
    font-style: normal;
    font-weight: 600;
    transition: color 250ms ease;
}

.yja-chip:hover {
    border-color: var(--yja-ink);
}

.yja-chip.is-active {
    border-color: var(--yja-ink);
    background: var(--yja-ink);
    color: #fff;
}

.yja-chip.is-active i {
    color: var(--yja-champagne);
}

.yja-mosaic {
    display: grid;
    grid-auto-flow: dense;
    grid-auto-rows: 250px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 34px;
}

.yja-tile {
    position: relative;
    display: flex;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    background: var(--tile-bg, var(--yja-paper));
    color: var(--tile-ink, var(--yja-ink));
    transition: background-color 350ms ease;
}

.yja-tile::before {
    position: absolute;
    z-index: 2;
    inset: 0;
    background: var(--tile-veil, #1d1b17);
    content: "";
    opacity: 0;
    pointer-events: none;
    transition: opacity 350ms ease;
}

.yja-tile:hover::before,
.yja-tile:focus-within::before {
    opacity: .05;
}

.yja-tile--large {
    grid-column: span 2;
    grid-row: span 2;
}

.yja-tile--tall {
    grid-row: span 2;
}

/* One signature tone per topic */
.yja-tile--cream {
    --tile-bg: #f7f2e8;
    --tile-ink: #2b2517;
    --tile-sub: #96907e;
    --tile-line: rgba(43, 37, 23, .24);
}

.yja-tile--blush {
    --tile-bg: #f4e7db;
    --tile-ink: #2b2118;
    --tile-sub: #97826d;
    --tile-line: rgba(43, 33, 24, .28);
}

.yja-tile--caramel {
    --tile-bg: #eddfcb;
    --tile-ink: #2e2314;
    --tile-sub: #96805f;
    --tile-line: rgba(46, 35, 20, .26);
}

.yja-tile--sage {
    --tile-bg: #e5e9df;
    --tile-ink: #232a20;
    --tile-sub: #79806f;
    --tile-line: rgba(35, 42, 32, .26);
}

.yja-tile--terracotta {
    --tile-bg: #ebd0be;
    --tile-ink: #332016;
    --tile-sub: #99755f;
    --tile-line: rgba(51, 32, 22, .26);
}

.yja-tile--midnight {
    --tile-bg: #252d38;
    --tile-ink: #f2eee4;
    --tile-sub: #9aa6b4;
    --tile-line: rgba(242, 238, 228, .38);
    --tile-veil: #ffffff;
}

.yja-tile--onyx {
    --tile-bg: #17130e;
    --tile-ink: #e9dcc3;
    --tile-sub: #a89877;
    --tile-line: rgba(216, 198, 174, .45);
    --tile-veil: #d8c6ae;
}

.yja-tile__media {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    margin: 14px 14px 0;
}

.yja-tile__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 650ms cubic-bezier(.22, .61, .36, 1);
}

.yja-tile:hover .yja-tile__media img {
    transform: scale(1.06);
}

.yja-tile__foot {
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    padding: 15px 18px 17px;
}

.yja-tile--text .yja-tile__foot {
    flex: 1;
    padding: 22px 20px 20px;
}

.yja-tile__text {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
}

.yja-tile--text .yja-tile__text {
    justify-content: space-between;
    gap: 16px;
}

/* Fixed-height cells: clamp so an unusually long title cannot overflow.
   Single-column tiles fit ~20 characters per line, so they take a smaller
   size and more lines to avoid breaking a title mid-word. */
.yja-tile .yja-tile__title {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 9px;
    font-size: clamp(19px, 1.5vw, 21px);
    line-height: 1.22;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.yja-tile--large .yja-tile__title {
    font-size: clamp(28px, 2.3vw, 34px);
    line-height: 1.18;
    -webkit-line-clamp: 4;
}

.yja-tile--text .yja-tile__title {
    margin-top: 12px;
}

.yja-tile--onyx .yja-tile__title,
.yja-tile--midnight .yja-tile__title {
    color: var(--yja-champagne);
}

.yja-tile__title a::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    content: "";
}

.yja-tile__excerpt {
    display: none;
    margin-top: 11px;
    overflow: hidden;
    color: var(--tile-sub, var(--yja-copy));
    font-size: 13px;
    line-height: 1.65;
    -webkit-box-orient: vertical;
}

.yja-tile--large .yja-tile__excerpt {
    display: -webkit-box;
    max-width: 460px;
    -webkit-line-clamp: 3;
}

/* Text tiles give their room to the title instead of an excerpt: at this
   width both together truncate each other. */
.yja-tile--text .yja-tile__excerpt {
    display: none;
}

.yja-tile__shop {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    margin-top: 14px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--tile-line, var(--yja-line));
    color: inherit;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.5;
    text-transform: uppercase;
    transition: border-color 200ms ease, opacity 200ms ease;
}

.yja-tile__shop span {
    font-size: 14px;
    line-height: 1;
    transition: transform 200ms ease;
}

.yja-tile__shop:hover span,
.yja-tile__shop:focus-visible span {
    transform: translateX(4px);
}

.yja-tile--text .yja-tile__shop {
    margin-top: 0;
}

.yja-tile:hover .yja-arrow {
    background: var(--yja-ink);
    border-color: var(--yja-ink);
    color: #fff;
    transform: translate(3px, -3px);
}

.yja-tile--midnight:hover .yja-arrow {
    background: #f2eee4;
    border-color: #f2eee4;
    color: #252d38;
}

.yja-tile--onyx:hover .yja-arrow {
    background: var(--yja-champagne);
    border-color: var(--yja-champagne);
    color: #17130e;
}

.yja-tile[hidden] {
    display: none;
}

/* Filtering collapses the mosaic to an even grid so no holes appear */
.yja-mosaic.is-filtered .yja-tile {
    grid-column: auto;
    grid-row: auto;
}

.yja-mosaic.is-filtered .yja-tile--large .yja-tile__excerpt {
    display: none;
}

.yja-mosaic.is-filtered .yja-tile--large .yja-tile__title {
    font-size: clamp(19px, 1.5vw, 21px);
    -webkit-line-clamp: 4;
}

.yja-index__empty {
    margin-top: 40px;
    color: var(--yja-copy);
    font-size: 14px;
    line-height: 1.7;
    text-align: center;
}

/* ---------- Guides ---------- */

.yja-guides {
    padding: 92px 0 96px;
}

.yja-guides h2 {
    max-width: 640px;
    margin-top: 14px;
    font-size: clamp(32px, 3.3vw, 50px);
}

.yja-guides__list {
    margin-top: 40px;
    padding: 0;
    border-top: 1px solid var(--yja-line);
    list-style: none;
}

.yja-guides__list li {
    border-bottom: 1px solid var(--yja-line);
}

.yja-guides__list a {
    display: grid;
    grid-template-columns: minmax(116px, .2fr) minmax(0, 1fr) 38px;
    gap: 22px;
    align-items: center;
    padding: 22px 4px;
    transition: padding-left 300ms ease, color 250ms ease;
}

.yja-guides__list a:hover,
.yja-guides__list a:focus-visible {
    padding-left: 16px;
    color: var(--yja-gold);
}

.yja-guides__label {
    color: var(--yja-gold);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.5;
    text-transform: uppercase;
}

.yja-guides__title {
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(19px, 1.7vw, 25px);
    font-weight: 400;
    line-height: 1.3;
}

.yja-guides__list a:hover .yja-arrow,
.yja-guides__list a:focus-visible .yja-arrow {
    background: var(--yja-ink);
    border-color: var(--yja-ink);
    color: #fff;
    transform: translate(3px, -3px);
}

/* ---------- In motion ---------- */

.yja-motion {
    padding: 100px 0;
    background: var(--yja-dark);
    color: #fff;
}

.yja-motion__layout {
    display: grid;
    grid-template-columns: minmax(300px, .86fr) minmax(360px, 1.14fr);
    gap: clamp(48px, 8vw, 130px);
    align-items: center;
}

.yja-motion .yja-kicker {
    color: var(--yja-champagne);
}

.yja-motion h2 {
    margin-top: 16px;
    color: #fff;
    font-size: clamp(32px, 3.4vw, 52px);
    line-height: 1.06;
}

.yja-motion__copy > p:not(.yja-kicker) {
    max-width: 430px;
    margin-top: 20px;
    color: rgba(255, 255, 255, .7);
    font-size: 15px;
    line-height: 1.75;
}

.yja-motion__media {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #050505;
    box-shadow: 0 24px 55px rgba(0, 0, 0, .45);
}

.yja-motion__media video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #050505;
}

/* ---------- Closing ---------- */

.yja-closing {
    padding: 100px 0 108px;
    border-top: 1px solid var(--yja-line);
    background: var(--yja-soft);
}

.yja-closing__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.yja-closing h2 {
    max-width: 740px;
    margin-top: 14px;
    font-size: clamp(34px, 3.7vw, 58px);
}

.yja-closing__lead {
    max-width: 520px;
    margin-top: 18px;
    color: var(--yja-copy);
    font-size: 15px;
    line-height: 1.75;
}

.yja-closing .yja-button {
    margin-top: 30px;
}

.yja-closing__social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 28px;
    margin-top: 38px;
}

.yja-closing__social a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--yja-line);
    color: var(--yja-muted);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.5;
    text-transform: uppercase;
    transition: border-color 250ms ease, color 250ms ease;
}

.yja-closing__social a span {
    color: var(--yja-gold);
    font-size: 13px;
}

.yja-closing__social a:hover,
.yja-closing__social a:focus-visible {
    border-color: var(--yja-gold);
    color: var(--yja-ink);
}

.yja-journal :is(section, header)[id] {
    scroll-margin-top: 118px;
}

.yja-journal :is(a, button):focus-visible {
    outline: 2px solid var(--yja-gold);
    outline-offset: 3px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1200px) {
    .yja-mosaic {
        grid-auto-rows: 232px;
    }
}

@media (max-width: 1024px) {
    .yja-hero { min-height: min(500px, calc(100svh - 150px)); }
    .yja-journal .yxp-shell { width: min(100% - 48px, var(--yja-content)); }
    .yja-featured { padding: 68px 0 66px; }
    .yja-featured__panel { grid-template-columns: 1fr; gap: 0; }
    .yja-featured__media { margin: 14px 14px 0; aspect-ratio: 1.7 / 1; }
    .yja-featured__copy { padding: 26px 22px 30px; }
    .yja-index { padding: 76px 0 84px; }
    .yja-index__heading { gap: 40px; }
    .yja-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .yja-tile--large { grid-column: span 2; grid-row: span 2; }
    .yja-guides { padding: 74px 0 78px; }
    .yja-guides__list a { grid-template-columns: minmax(100px, .24fr) minmax(0, 1fr) 38px; gap: 18px; }
    .yja-motion { padding: 84px 0; }
    .yja-motion__layout { gap: 50px; }
    .yja-closing { padding: 84px 0 90px; }
}

@media (max-width: 767px) {
    .yja-hero { min-height: min(440px, calc(100svh - 130px)); }
    .yja-hero__image { object-position: 57% center; }
    .yja-hero__shade { background: linear-gradient(0deg, rgba(10, 9, 7, .8) 0%, rgba(10, 9, 7, .34) 66%, rgba(10, 9, 7, .1) 100%); }
    .yja-journal .yxp-shell { width: min(100% - 32px, var(--yja-content)); }
    .yja-hero__inner { padding-top: 108px; padding-bottom: 30px; }
    .yja-hero h1 { margin-top: 12px; font-size: clamp(40px, 12.5vw, 62px); }
    .yja-hero__lead { max-width: 340px; margin-top: 16px; font-size: 15px; }
    .yja-jump-nav { width: 100%; gap: 0; justify-content: space-between; margin-top: 30px; }
    .yja-jump-nav a { font-size: 9px; }

    .yja-marquee span { padding: 0 20px; font-size: 10px; }

    .yja-featured { padding: 50px 0 52px; }
    .yja-featured__media { aspect-ratio: 1.45 / 1; }
    .yja-featured h2 { margin-top: 13px; font-size: clamp(27px, 7.4vw, 37px); }
    .yja-featured__excerpt { margin-top: 15px; font-size: 14px; }
    .yja-featured__actions { gap: 15px 22px; margin-top: 24px; }
    .yja-featured__actions .yja-button { width: 100%; max-width: 320px; }

    .yja-index { padding: 52px 0 60px; }
    .yja-index__heading { grid-template-columns: 1fr; gap: 16px; }
    .yja-index h2 { margin-top: 12px; font-size: clamp(30px, 8.2vw, 42px); }
    .yja-index__heading > p { max-width: 490px; font-size: 14px; }
    .yja-filters { gap: 10px 14px; margin-top: 34px; }
    .yja-filters__row { width: 100%; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
    .yja-filters__row::-webkit-scrollbar { display: none; }
    .yja-chip { flex: 0 0 auto; }

    .yja-mosaic { grid-auto-rows: auto; grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
    .yja-tile--large,
    .yja-tile--tall { grid-column: auto; grid-row: auto; }
    .yja-tile__media { aspect-ratio: 1.55 / 1; margin: 12px 12px 0; }
    .yja-tile__foot,
    .yja-tile--text .yja-tile__foot { padding: 18px 18px 20px; }
    .yja-tile--text .yja-tile__text { gap: 18px; min-height: 128px; }
    .yja-tile .yja-tile__title,
    .yja-tile--large .yja-tile__title { font-size: 21px; -webkit-line-clamp: 3; }
    /* Full-width tiles: the title carries the tile, so no excerpt competes with it. */
    .yja-tile__excerpt { display: none; }

    .yja-guides { padding: 52px 0 56px; }
    .yja-guides h2 { margin-top: 12px; font-size: clamp(28px, 7.6vw, 38px); }
    .yja-guides__list { margin-top: 30px; }
    .yja-guides__list a { grid-template-columns: minmax(0, 1fr) 34px; gap: 6px 14px; padding: 18px 2px; }
    .yja-guides__label { grid-column: 1 / -1; }
    .yja-arrow { width: 34px; height: 34px; font-size: 15px; }
    .yja-guides__list .yja-arrow { grid-row: 2; }

    .yja-motion { padding: 52px 0 58px; }
    .yja-motion__layout { grid-template-columns: 1fr; gap: 32px; }
    .yja-motion h2 { margin-top: 12px; font-size: clamp(28px, 7.6vw, 38px); }
    .yja-motion__copy > p:not(.yja-kicker) { margin-top: 16px; font-size: 14px; }
    .yja-text-link--light { margin-top: 24px; }
    .yja-motion__media { aspect-ratio: 4 / 5; }

    .yja-closing { padding: 54px 0 60px; }
    .yja-closing h2 { margin-top: 12px; font-size: clamp(30px, 8.2vw, 42px); }
    .yja-closing__lead { margin-top: 15px; font-size: 14px; }
    .yja-closing .yja-button { width: 100%; max-width: 320px; }
    .yja-closing__social { margin-top: 30px; }
}

@media (max-width: 390px) {
    .yja-journal .yxp-shell { width: min(100% - 28px, var(--yja-content)); }
    .yja-jump-nav a { font-size: 8px; }
}

@media (prefers-reduced-motion: no-preference) {
    .yja-hero__content > * { animation: yja-rise 700ms both; }
    .yja-hero__content > :nth-child(2) { animation-delay: 90ms; }
    .yja-hero__content > :nth-child(3) { animation-delay: 180ms; }
    .yja-jump-nav { animation: yja-rise 700ms 260ms both; }
    .yja-hero__image { animation: yja-hero-drift 18s ease-in-out infinite alternate; }

    @keyframes yja-rise {
        from { opacity: 0; transform: translateY(18px); }
        to { opacity: 1; transform: translateY(0); }
    }

    @keyframes yja-hero-drift {
        from { transform: scale(1.01); }
        to { transform: scale(1.055) translate3d(-.7%, -.35%, 0); }
    }
}

@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .yja-reveal {
            animation: yja-section-reveal linear both;
            animation-range: entry 8% cover 30%;
            animation-timeline: view();
        }

        @keyframes yja-section-reveal {
            from { opacity: .1; transform: translateY(26px); }
            to { opacity: 1; transform: translateY(0); }
        }
    }
}
