/* MOMENTS — Magazine UX (Foleon-style, no-scroll screens) */

.magazine-body {
    margin: 0;
    overflow: hidden;
    height: 100vh;
    height: 100dvh;
    background: var(--color-black);
    color: var(--color-white);
}

.magazine-stage {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
}

/* Minimal top chrome */
.magazine-chrome {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.6rem 0;
    background: rgba(9, 20, 16, 0.9);
    border-bottom: 1px solid rgba(185, 146, 85, 0.22);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(16px);
    pointer-events: none;
}

.magazine-chrome__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--spacing-content);
    display: grid;
    grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr);
    align-items: center;
    gap: 1rem;
    pointer-events: auto;
}

.magazine-chrome__identity {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.65rem;
    justify-self: start;
}

.magazine-chrome__menu {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 8px;
    color: var(--color-white);
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.25s ease;
}

.magazine-chrome__menu:hover {
    background: rgba(185, 146, 85, 0.12);
}

.magazine-chrome__menu span:not(.magazine-chrome__back) {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--color-brand);
    border-radius: 1px;
}

.magazine-chrome__back {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--color-brand);
}

.magazine-chrome__brand {
    flex: 0 0 auto;
    line-height: 0;
    opacity: 0.9;
    transition: opacity 0.25s ease;
}

.magazine-chrome__brand:hover {
    opacity: 1;
}

.magazine-chrome__brand img {
    height: 48px;
    width: auto;
    display: block;
    margin: 0 auto;
}

.magazine-chrome__actions {
    display: flex;
    align-items: center;
    gap: clamp(0.85rem, 1.5vw, 1.5rem);
    justify-self: center;
}

.magazine-chrome__utility {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: clamp(0.7rem, 1.2vw, 1.1rem);
}

.magazine-chrome__actions a,
.magazine-chrome__utility a,
.magazine-chrome__logout button {
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
    padding: 0;
    white-space: nowrap;
}

.magazine-chrome__actions a:hover,
.magazine-chrome__utility a:hover,
.magazine-chrome__logout button:hover {
    color: var(--color-brand);
}

.magazine-chrome__search {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    font-size: 1.05rem !important;
    line-height: 1;
}

.magazine-chrome__join {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 0.45rem 0.75rem !important;
    border: 1px solid var(--color-brand) !important;
    background: var(--color-brand) !important;
    color: var(--color-black) !important;
}

.magazine-chrome__join:hover {
    background: var(--color-brand-light) !important;
    color: var(--color-black) !important;
}

.magazine-chrome__logout {
    margin: 0;
    padding: 0;
}

/* Homepage Step 1 — six visual entry tiles */
.magazine-gateway {
    position: relative;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.magazine-gateway__media {
    position: absolute;
    inset: 0;
}

.magazine-gateway__media img,
.magazine-gateway__media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.magazine-gateway__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        165deg,
        rgba(0, 0, 0, 0.62) 0%,
        rgba(0, 0, 0, 0.78) 50%,
        rgba(0, 0, 0, 0.9) 100%
    );
}

.magazine-gateway__inner {
    position: relative;
    z-index: 2;
    width: min(1100px, 100%);
    margin: 0 auto;
    padding: 5.5rem var(--spacing-content) 5.5rem;
}

.magazine-gateway__header {
    text-align: center;
    margin-bottom: clamp(1rem, 2.5vh, 1.75rem);
    animation: magazineFadeUp 0.7s ease both;
}

.magazine-gateway__eyebrow {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-meta);
    color: var(--color-brand);
    margin: 0 0 0.45rem;
}

.magazine-gateway__title {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3.4vw, 2.1rem);
    font-weight: 400;
    font-style: italic;
    color: var(--color-white);
    margin: 0;
}

.magazine-gateway__subtitle {
    margin: 0.5rem 0 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.magazine-gateway__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, minmax(110px, 16vh));
    gap: clamp(0.65rem, 1.4vw, 1rem);
}

.magazine-gateway__grid li {
    animation: magazineFadeUp 0.55s ease both;
    min-height: 0;
}

.magazine-gateway__grid li:nth-child(2) { animation-delay: 0.05s; }
.magazine-gateway__grid li:nth-child(3) { animation-delay: 0.1s; }
.magazine-gateway__grid li:nth-child(4) { animation-delay: 0.15s; }
.magazine-gateway__grid li:nth-child(5) { animation-delay: 0.2s; }
.magazine-gateway__grid li:nth-child(6) { animation-delay: 0.25s; }

.magazine-gateway__tile {
    position: relative;
    display: flex;
    align-items: flex-end;
    width: 100%;
    height: 100%;
    min-height: 110px;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid rgba(185, 146, 85, 0.22);
    isolation: isolate;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.magazine-gateway__tile-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.magazine-gateway__tile-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.88), rgba(0,0,0,0.25) 55%, rgba(0,0,0,0.15));
}

.magazine-gateway__tile-label {
    position: relative;
    z-index: 2;
    padding: 0.9rem 1rem;
    color: var(--color-white);
    font-size: clamp(0.68rem, 1.5vw, 0.8rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.magazine-gateway__tile:hover,
.magazine-gateway__tile:focus-visible {
    transform: scale(1.02);
    border-color: var(--color-brand);
    box-shadow: 0 0 28px rgba(185, 146, 85, 0.2);
    outline: none;
}

.magazine-gateway__tile:hover .magazine-gateway__tile-image {
    transform: scale(1.06);
}

.magazine-gateway__tile--disabled {
    opacity: 0.4;
    pointer-events: none;
}

.magazine-gateway__directory {
    margin: 1rem 0 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    animation: magazineFadeUp 0.6s ease 0.3s both;
}

.magazine-gateway__directory a {
    color: var(--color-brand);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-decoration: none;
}

.magazine-gateway__directory a:hover {
    text-decoration: underline;
}

.magazine-gateway__directory span {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.7rem;
}

.magazine-breadcrumbs {
    margin: 0 0 0.85rem;
}

.magazine-breadcrumbs ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    justify-content: center;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.magazine-breadcrumbs li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: rgba(255, 255, 255, 0.35);
}

.magazine-breadcrumbs a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
}

.magazine-breadcrumbs a:hover {
    color: var(--color-brand);
}

.magazine-breadcrumbs span {
    color: rgba(255, 255, 255, 0.85);
}

body:not(.magazine-body) .magazine-breadcrumbs ol {
    justify-content: flex-start;
}

body:not(.magazine-body) .magazine-breadcrumbs a {
    color: var(--color-muted);
}

body:not(.magazine-body) .magazine-breadcrumbs span {
    color: var(--color-black);
}

body:not(.magazine-body) .magazine-breadcrumbs li:not(:last-child)::after {
    color: var(--color-border);
}

.edition-grid--tier1 {
    grid-template-columns: 1fr;
    max-width: 960px;
}

.edition-grid--tier1 .edition-tile--hero,
.edition-tile--hero {
    aspect-ratio: 16 / 9;
    min-height: 280px;
}

.edition-grid--tier2 {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.edition-grid--tier3 {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
}

.edition-grid--tier4 {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}

.edition-tile--tier-1 .edition-tile__title {
    font-size: clamp(0.95rem, 2.2vw, 1.15rem);
}

.edition-tile--tier-4,
.edition-tile--tier-5 {
    aspect-ratio: 1;
}

@media (max-width: 800px) {
    .magazine-gateway__grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        height: auto;
        max-height: none;
        overflow-y: auto;
    }

    .magazine-gateway__tile {
        min-height: 120px;
    }
}

@media (max-width: 520px) {
    .magazine-gateway__grid {
        grid-template-columns: 1fr;
    }
}

/* Intro screen */
.magazine-intro {
    position: relative;
    height: 100vh;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.magazine-intro__media {
    position: absolute;
    inset: 0;
}

.magazine-intro__media img,
.magazine-intro__media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.magazine-intro__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        165deg,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.72) 45%,
        rgba(0, 0, 0, 0.88) 100%
    );
}

.magazine-intro__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 6rem var(--spacing-content) 3rem;
    max-width: 720px;
    animation: magazineFadeUp 1s ease 0.15s both;
}

.magazine-intro__logo {
    margin-bottom: 1.5rem;
}

.magazine-intro__logo img {
    width: clamp(220px, 42vw, 380px);
    height: auto;
    margin: 0 auto;
}

.magazine-intro__tagline {
    font-family: var(--font-serif);
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    font-style: italic;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 0.35rem;
    letter-spacing: 0.04em;
}

.magazine-intro__edition {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-meta);
    color: var(--color-brand);
    margin: 0 0 2.5rem;
}

.magazine-intro__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.magazine-intro__enter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    min-width: 200px;
    padding: 0.875rem 2.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-meta);
    color: var(--color-black);
    background: var(--color-brand);
    border: 2px solid var(--color-brand);
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.magazine-intro__enter:hover {
    background: transparent;
    color: var(--color-brand);
    transform: translateY(-2px);
}

.magazine-intro__hint {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}

.magazine-intro__hint a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.magazine-intro__hint a:hover {
    color: var(--color-brand);
}

/* Magazine hub screens (contents, collection, destination) */
.magazine-hub {
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    padding: 5.5rem var(--spacing-content) 1.5rem;
    background: var(--color-black);
    overflow: hidden;
}

.magazine-hub__header {
    flex-shrink: 0;
    text-align: center;
    padding-top: 75px;
    margin-bottom: clamp(1rem, 3vh, 1.75rem);
    animation: magazineFadeUp 0.7s ease both;
}

.magazine-hub__eyebrow {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-meta);
    color: var(--color-brand);
    margin: 0 0 0.5rem;
}

.magazine-hub__title {
    font-family: var(--font-serif);
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 400;
    font-style: italic;
    color: var(--color-white);
    margin: 0;
    line-height: 1.25;
}

.magazine-hub__subtitle {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 0.65rem auto 0;
    max-width: 520px;
    line-height: 1.5;
}

.magazine-hub__body {
    flex: 1;
    min-height: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.magazine-hub__body--scroll {
    display: block;
    overflow-x: hidden;
    overflow-y: auto;
    padding-bottom: 6.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(185, 146, 85, 0.35) transparent;
}

.magazine-hub__body--scroll::-webkit-scrollbar {
    width: 6px;
}

.magazine-hub__body--scroll::-webkit-scrollbar-thumb {
    background: rgba(185, 146, 85, 0.35);
    border-radius: 3px;
}

/* Collection hub — large image tiles + scroll above bottom arrows */
.magazine-hub--collection .magazine-hub__body {
    align-items: flex-start;
    justify-content: flex-start;
}

/* Destination hub — compact editorial gateway */
.magazine-body--destination {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
}

.magazine-body--destination .magazine-stage {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: visible;
}

.magazine-hub--destination {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: 4.75rem;
    overflow: visible;
}

.magazine-hub--destination .magazine-hub__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
    grid-template-areas:
        "breadcrumbs breadcrumbs"
        "identity subtitle";
    align-items: end;
    column-gap: clamp(1.5rem, 4vw, 4rem);
    padding: 0 0 clamp(0.85rem, 2vh, 1.15rem);
    margin: 0 auto;
    width: min(960px, 100%);
    text-align: left;
    border-bottom: 1px solid rgba(185, 146, 85, 0.28);
}

.magazine-hub--destination .magazine-breadcrumbs {
    grid-area: breadcrumbs;
    margin-bottom: 0.65rem;
}

.magazine-hub--destination .magazine-breadcrumbs ol {
    justify-content: flex-start;
}

.magazine-hub--destination .magazine-hub__eyebrow {
    grid-area: identity;
    align-self: start;
    margin-bottom: 0.25rem;
}

.magazine-hub--destination .magazine-hub__title {
    grid-area: identity;
    align-self: end;
    padding-top: 1.1rem;
    font-size: clamp(1.6rem, 3.2vw, 2.35rem);
}

.magazine-hub--destination .magazine-hub__subtitle {
    grid-area: subtitle;
    display: -webkit-box;
    margin: 0;
    max-width: none;
    overflow: hidden;
    font-size: 0.825rem;
    line-height: 1.55;
    text-align: left;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.magazine-hub--destination .magazine-hub__body--scroll {
    flex: none;
    min-height: auto;
    overflow: visible;
    padding-top: 0.9rem;
}

.magazine-hub--destination .magazine-filters {
    justify-content: flex-start;
    gap: 0.4rem;
    margin-bottom: 0.9rem;
}

.magazine-hub--destination .magazine-filter {
    min-height: 30px;
    padding: 0.3rem 0.7rem;
    font-size: 0.625rem;
}

.magazine-hub--destination .magazine-section {
    margin-bottom: clamp(2rem, 5vh, 3.25rem);
}

.magazine-hub--destination .magazine-section__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.magazine-hub--destination .magazine-section__header > div:first-child {
    display: flex;
    align-items: baseline;
    gap: 0.65rem;
    min-width: 0;
}

.magazine-hub--destination .magazine-section__number {
    flex: 0 0 auto;
    margin: 0;
    color: var(--color-brand);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.magazine-hub--destination .magazine-section__title {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: clamp(1rem, 2vw, 1.25rem);
}

.magazine-section__tools {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex: 0 0 auto;
}

.magazine-section__count {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.story-carousel__controls {
    display: flex;
    gap: 0.4rem;
}

.story-carousel__button {
    display: grid;
    width: 34px;
    height: 34px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: transparent;
    color: var(--color-white);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.story-carousel__button:hover,
.story-carousel__button:focus-visible {
    border-color: var(--color-brand);
    background: var(--color-brand);
    color: var(--color-black);
    outline: none;
}

.story-carousel__button:disabled {
    opacity: 0.3;
    cursor: default;
}

.story-carousel {
    width: min(960px, 100%);
    margin: 0 auto;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
}

.story-carousel::-webkit-scrollbar {
    display: none;
}

.magazine-hub--destination .story-carousel__track {
    display: flex;
    width: 100%;
    max-width: none;
    gap: clamp(0.75rem, 1.7vw, 1.15rem);
}

.magazine-hub--destination .story-carousel__track > li {
    flex: 0 0 31%;
    min-width: 0;
    scroll-snap-align: start;
}

.magazine-hub--destination .story-carousel.is-single .story-carousel__track > li {
    flex-basis: 100%;
}

.magazine-hub--destination .story-carousel .edition-tile {
    min-height: 220px;
    aspect-ratio: 4 / 3;
}

.edition-grid--large {
    width: min(1140px, 100%);
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: clamp(1rem, 2.5vw, 1.5rem);
}

.edition-grid--large .edition-tile {
    aspect-ratio: 1;
    min-height: 240px;
    border-radius: 16px;
}

.edition-grid--large .edition-tile__content {
    padding: clamp(1rem, 2.5vw, 1.35rem);
}

.edition-grid--large .edition-tile__title {
    font-size: clamp(0.85rem, 2vw, 1rem);
}

.edition-grid--large .edition-tile__desc {
    font-size: 0.8rem;
    line-height: 1.45;
}

@media (min-width: 900px) {
    .edition-grid--large {
        grid-template-columns: repeat(3, 1fr);
    }

    .edition-grid--large .edition-tile {
        min-height: 280px;
    }
}

@media (max-width: 640px) {
    .edition-grid--large {
        grid-template-columns: 1fr;
    }

    .edition-grid--large .edition-tile {
        min-height: 260px;
        max-width: 420px;
        margin: 0 auto;
    }
}

.magazine-hub__empty {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    margin: 2rem 0;
}

/* Contents page — text tiles (Foleon / Chester Zoo style) */
.magazine-hub--contents .magazine-hub__body {
    align-items: center;
    justify-content: center;
}

.magazine-tile-grid {
    display: flex;
    flex-direction: column;
    gap: clamp(0.5rem, 1.5vh, 0.75rem);
    width: min(480px, 100%);
    list-style: none;
    margin: 0;
    padding: 0;
}

.magazine-tile-grid li {
    animation: magazineFadeUp 0.6s ease both;
}

.magazine-tile-grid li:nth-child(1) { animation-delay: 0.05s; }
.magazine-tile-grid li:nth-child(2) { animation-delay: 0.1s; }
.magazine-tile-grid li:nth-child(3) { animation-delay: 0.15s; }
.magazine-tile-grid li:nth-child(4) { animation-delay: 0.2s; }
.magazine-tile-grid li:nth-child(5) { animation-delay: 0.25s; }

.magazine-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(56px, 9vh, 68px);
    padding: 0.875rem 1.5rem;
    border: 1px solid rgba(185, 146, 85, 0.22);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    text-align: center;
    transition:
        background 0.35s ease,
        border-color 0.35s ease,
        color 0.35s ease,
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.magazine-tile--disabled {
    opacity: 0.4;
    pointer-events: none;
}

.magazine-tile__label {
    font-size: clamp(0.78rem, 1.8vw, 0.875rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    line-height: 1.35;
}

.magazine-tile:hover,
.magazine-tile:focus-visible {
    background: rgba(185, 146, 85, 0.14);
    border-color: var(--color-brand);
    color: var(--color-white);
    transform: scale(1.02);
    box-shadow: 0 0 32px rgba(185, 146, 85, 0.18);
    outline: none;
}

.magazine-tile.is-active {
    background: rgba(185, 146, 85, 0.1);
    border-color: rgba(185, 146, 85, 0.55);
}

/* Square image tiles (Timid Mag style) — collection & destination hubs */
.edition-tile {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.14);
    isolation: isolate;
    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.edition-tile__image {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.edition-tile__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.92) 0%,
        rgba(0, 0, 0, 0.55) 42%,
        rgba(0, 0, 0, 0.15) 72%,
        rgba(0, 0, 0, 0.05) 100%
    );
    transition: background 0.35s ease;
}

.edition-tile__content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(0.75rem, 2vw, 1.125rem);
    pointer-events: none;
}

.edition-tile__meta,
.edition-tile__title,
.edition-tile__desc {
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
}

.edition-tile__meta {
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-brand);
    margin-bottom: 0.35rem;
}

.edition-tile__title {
    font-size: clamp(0.72rem, 1.8vw, 0.875rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    line-height: 1.35;
}

.edition-tile__desc {
    display: block;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.72);
    margin-top: 0.35rem;
    line-height: 1.4;
}

.edition-tile:hover,
.edition-tile:focus-visible {
    transform: scale(1.03);
    border-color: var(--color-brand);
    box-shadow: 0 0 36px rgba(185, 146, 85, 0.22);
    outline: none;
}

.edition-tile:hover .edition-tile__image,
.edition-tile:focus-visible .edition-tile__image {
    transform: scale(1.07);
}

.edition-tile:hover .edition-tile__shade,
.edition-tile:focus-visible .edition-tile__shade {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.92) 0%,
        rgba(0, 0, 0, 0.45) 58%,
        rgba(0, 0, 0, 0.18) 100%
    );
}

.edition-tile.is-active {
    border-color: rgba(185, 146, 85, 0.55);
}

/* Tile grids */
.edition-grid {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
    gap: clamp(0.75rem, 2vw, 1.25rem);
    width: min(960px, 100%);
}

.edition-grid > li {
    animation: magazineFadeUp 0.55s ease both;
}

.edition-grid > li:nth-child(2) { animation-delay: 0.04s; }
.edition-grid > li:nth-child(3) { animation-delay: 0.08s; }
.edition-grid > li:nth-child(4) { animation-delay: 0.12s; }
.edition-grid > li:nth-child(5) { animation-delay: 0.16s; }
.edition-grid > li:nth-child(6) { animation-delay: 0.2s; }

/* 5 collections — 3 + 2 centred layout */
.edition-grid--collections {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: clamp(0.65rem, 1.5vw, 1rem);
    height: min(48vh, 380px);
    max-width: 900px;
}

.edition-grid--collections > li:nth-child(1) { grid-column: 1 / 3; }
.edition-grid--collections > li:nth-child(2) { grid-column: 3 / 5; }
.edition-grid--collections > li:nth-child(3) { grid-column: 5 / 7; }
.edition-grid--collections > li:nth-child(4) { grid-column: 2 / 4; }
.edition-grid--collections > li:nth-child(5) { grid-column: 4 / 6; }

.edition-grid--compact {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
}

/* Red Bulletin–style story sections */
.magazine-section {
    width: min(960px, 100%);
    margin: 0 auto 2.5rem;
}

.magazine-section__title {
    font-family: var(--font-serif);
    font-size: clamp(1.05rem, 2.5vw, 1.35rem);
    font-style: italic;
    font-weight: 400;
    color: var(--color-white);
    margin: 0 0 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(185, 146, 85, 0.25);
}

/* Category filters */
.magazine-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin: 0 auto 1.75rem;
    width: min(960px, 100%);
}

.magazine-filter {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0.4rem 0.9rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-meta);
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    transition: border-color 0.25s, color 0.25s, background 0.25s;
}

.magazine-filter:hover,
.magazine-filter.is-active {
    color: var(--color-black);
    background: var(--color-brand);
    border-color: var(--color-brand);
}

/* Legacy alias removed */

/* Page enter transition */
.magazine-page-enter {
    animation: magazinePageIn 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

/* Edge-aligned edition navigation */
.magazine-nav {
    position: fixed;
    inset: 0;
    z-index: 1001;
    pointer-events: none;
}

.magazine-nav__spacer {
    display: none;
}

.magazine-nav__btn {
    position: absolute;
    top: 50%;
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border: none;
    background: none;
    font-family: var(--font-primary);
    transition: color 0.25s ease, transform 0.25s ease;
    max-width: min(210px, 24vw);
    transform: translateY(-50%);
}

.magazine-nav__btn--prev {
    left: clamp(0.75rem, 2vw, 2rem);
}

.magazine-nav__btn--next {
    right: clamp(0.75rem, 2vw, 2rem);
    flex-direction: row-reverse;
    text-align: right;
}

.magazine-nav__btn:hover,
.magazine-nav__btn:focus-visible {
    color: var(--color-brand);
    transform: translateY(-50%) scale(1.04);
    outline: none;
}

.magazine-nav__icon {
    position: relative;
    flex: 0 0 auto;
    display: block;
    width: 46px;
    height: 46px;
    border: 2px solid var(--color-brand);
    border-radius: 50%;
    position: relative;
    animation: magazineNavPulse 2.4s ease-in-out infinite;
}

.magazine-nav__icon::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid var(--color-brand);
}

.magazine-nav__icon--prev::after {
    border-left: 2px solid var(--color-brand);
    transform: translate(-40%, -50%) rotate(45deg);
}

.magazine-nav__icon--next::after {
    border-right: 2px solid var(--color-brand);
    transform: translate(-60%, -50%) rotate(-45deg);
}

.magazine-nav__label {
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    line-height: 1.35;
}

.magazine-intro,
.magazine-hub {
    padding-bottom: 5.5rem;
}

/* Premium editorial home — visual direction from MOMENTS reference boards */
.magazine-body--editorial-home {
    --editorial-ivory: #f2eee6;
    --editorial-ivory-deep: #e8e0d3;
    --editorial-forest: #14271f;
    --editorial-forest-deep: #0c1814;
    --editorial-gold: #b99255;
    --editorial-ink: #1c211e;
    height: auto;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--editorial-ivory);
}

.magazine-body--editorial-home .magazine-stage {
    height: auto;
    min-height: 100vh;
    overflow: visible;
}

.magazine-body--editorial-home .magazine-chrome {
    padding: 0.75rem 0;
    background: linear-gradient(to bottom, rgba(5, 10, 8, 0.92), rgba(5, 10, 8, 0.52) 65%, transparent);
}

.magazine-body--editorial-home .magazine-chrome__inner {
    max-width: 1440px;
}

.magazine-body--editorial-home .magazine-chrome__actions {
    gap: clamp(0.7rem, 1.6vw, 1.6rem);
}

.magazine-body--editorial-home .magazine-chrome__actions > a,
.magazine-body--editorial-home .magazine-chrome__logout button {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.58rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.magazine-body--editorial-home .magazine-chrome__actions > a:hover {
    color: #d5b47d;
}

.magazine-body--editorial-home .magazine-chrome__join {
    padding: 0.62rem 0.9rem;
    background: var(--editorial-gold);
    color: #fff !important;
}

.magazine-body--editorial-home .magazine-chrome__search {
    font-size: 1.15rem !important;
    line-height: 1;
}

.editorial-home {
    min-height: 100vh;
    color: var(--editorial-ink);
    background: var(--editorial-ivory);
}

.editorial-shell {
    width: min(1440px, 100%);
    margin-inline: auto;
    padding-inline: clamp(1.25rem, 4vw, 4rem);
}

.editorial-hero {
    position: relative;
    min-height: clamp(620px, 74vh, 820px);
    overflow: hidden;
    isolation: isolate;
    color: #fff;
    background: #0b100e;
}

.editorial-hero__media,
.editorial-hero__media img,
.editorial-hero__media video,
.editorial-hero__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.editorial-hero__media img,
.editorial-hero__media video {
    object-fit: cover;
    object-position: center;
}

.editorial-hero__shade {
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(5, 9, 7, 0.9) 0%, rgba(5, 9, 7, 0.64) 34%, rgba(5, 9, 7, 0.12) 68%, rgba(5, 9, 7, 0.28) 100%),
        linear-gradient(0deg, rgba(4, 8, 6, 0.52) 0%, transparent 42%);
}

.editorial-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: clamp(620px, 74vh, 820px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-top: 6rem;
    padding-bottom: 5rem;
}

.editorial-kicker {
    margin: 0 0 0.85rem;
    color: var(--editorial-gold);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    line-height: 1.4;
    text-transform: uppercase;
}

.editorial-hero h1 {
    max-width: 650px;
    margin: 0;
    color: #fff;
    font-family: var(--font-serif);
    font-size: clamp(2.75rem, 5.2vw, 5.3rem);
    font-weight: 400;
    letter-spacing: -0.035em;
    line-height: 0.98;
}

.editorial-hero h1 em {
    color: #d2ac72;
    font-weight: 400;
}

.editorial-hero__copy {
    max-width: 410px;
    margin: 1.4rem 0 1.55rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.82rem;
    line-height: 1.65;
}

.editorial-button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 1.3rem;
    padding: 0.7rem 1.1rem;
    border: 1px solid rgba(201, 168, 111, 0.7);
    color: #ead7b9;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.25s ease, background 0.25s ease;
}

.editorial-button:hover {
    background: var(--editorial-gold);
    color: #fff;
}

.editorial-hero__edition {
    position: absolute;
    z-index: 2;
    bottom: 2rem;
    left: clamp(0.45rem, 2.5vw, 2.5rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.52rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.editorial-hero__edition span {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.editorial-hero__edition i {
    width: 1px;
    height: 46px;
    background: rgba(255, 255, 255, 0.45);
}

.editorial-hero__edition b {
    font-weight: 500;
}

.editorial-section {
    padding-block: clamp(2.25rem, 5vw, 4.5rem);
}

.editorial-section--ivory {
    background: var(--editorial-ivory);
}

.editorial-section h2,
.editorial-directory-cta h2 {
    margin: 0;
    color: var(--editorial-ink);
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3vw, 3rem);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.05;
}

.editorial-featured {
    display: grid;
    grid-template-columns: minmax(180px, 0.7fr) minmax(0, 3.3fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: stretch;
}

.editorial-section__intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.editorial-section__intro .editorial-text-link {
    margin-top: auto;
    padding-top: 2rem;
}

.editorial-text-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: #374039;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.editorial-text-link span {
    color: var(--editorial-gold);
    transition: transform 0.25s ease;
}

.editorial-text-link:hover span {
    transform: translateX(5px);
}

.editorial-card-rail {
    display: grid;
    grid-template-columns: repeat(4, minmax(190px, 1fr));
    gap: 0.8rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.editorial-card-rail::-webkit-scrollbar,
.editorial-destination-rail::-webkit-scrollbar,
.editorial-partner-rail::-webkit-scrollbar {
    display: none;
}

.editorial-story-card a {
    position: relative;
    display: block;
    min-height: 315px;
    overflow: hidden;
    isolation: isolate;
}

.editorial-story-card img,
.editorial-story-card__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.editorial-story-card img {
    object-fit: cover;
    transition: transform 0.55s ease;
}

.editorial-story-card__shade {
    z-index: 1;
    background: linear-gradient(to top, rgba(7, 13, 10, 0.95), rgba(7, 13, 10, 0.12) 68%);
}

.editorial-story-card__content {
    position: absolute;
    z-index: 2;
    inset: auto 0 0;
    padding: 1.1rem;
    color: #fff;
}

.editorial-story-card__content p,
.editorial-story-card__content span {
    margin: 0;
    color: #d2ae76;
    font-size: 0.52rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.editorial-story-card__content h3 {
    margin: 0.35rem 0 0.8rem;
    color: #fff;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.12;
}

.editorial-story-card:hover img {
    transform: scale(1.05);
}

.editorial-destinations {
    padding-top: 0.5rem;
    border-top: 1px solid rgba(29, 40, 34, 0.12);
}

.editorial-row-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.editorial-destination-rail,
.editorial-partner-rail {
    display: flex;
    gap: 0.8rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
}

.editorial-destination-card {
    position: relative;
    flex: 0 0 clamp(180px, 18vw, 260px);
    min-height: 155px;
    overflow: hidden;
    scroll-snap-align: start;
}

.editorial-destination-card::after {
    position: absolute;
    inset: 0;
    content: '';
    background: linear-gradient(to top, rgba(8, 15, 12, 0.75), transparent 70%);
}

.editorial-destination-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.editorial-destination-card span {
    position: absolute;
    z-index: 1;
    bottom: 0.75rem;
    left: 0.85rem;
    color: #fff;
    font-family: var(--font-serif);
    font-size: 1rem;
}

.editorial-destination-card:hover img {
    transform: scale(1.06);
}

.editorial-section--forest {
    color: #fff;
    background: var(--editorial-forest);
}

.editorial-partners {
    display: grid;
    grid-template-columns: minmax(190px, 0.75fr) minmax(0, 3.25fr);
    gap: clamp(1.5rem, 4vw, 4rem);
}

.editorial-section__intro--light h2 {
    color: #fff;
}

.editorial-section__intro--light > p:last-child {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.75rem;
    line-height: 1.65;
}

.editorial-partner-card {
    position: relative;
    flex: 0 0 clamp(175px, 18vw, 245px);
    min-height: 250px;
    overflow: hidden;
    scroll-snap-align: start;
    isolation: isolate;
}

.editorial-partner-card img,
.editorial-partner-card__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.editorial-partner-card img {
    object-fit: cover;
    transition: transform 0.5s ease;
}

.editorial-partner-card__shade {
    z-index: 1;
    background: linear-gradient(to top, rgba(8, 17, 13, 0.92), rgba(8, 17, 13, 0.08) 65%);
}

.editorial-partner-card small,
.editorial-partner-card strong {
    position: absolute;
    z-index: 2;
    left: 1rem;
    color: #fff;
}

.editorial-partner-card small {
    top: 0.9rem;
    color: #e1c18d;
    font-family: var(--font-serif);
}

.editorial-partner-card strong {
    right: 1rem;
    bottom: 1rem;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 400;
}

.editorial-partner-card:hover img {
    transform: scale(1.06);
}

.editorial-directory-cta {
    padding-block: clamp(2.5rem, 5vw, 4rem);
    color: var(--editorial-ink);
    background:
        linear-gradient(90deg, rgba(242, 238, 230, 0.98), rgba(242, 238, 230, 0.76)),
        url('https://images.pexels.com/photos/457878/pexels-photo-457878.jpeg?auto=compress&cs=tinysrgb&w=1600') center/cover;
}

.editorial-directory-cta__inner {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
}

.editorial-directory-cta__inner p:last-child {
    max-width: 590px;
    color: #5d625d;
    font-size: 0.8rem;
}

.editorial-button--dark {
    flex: 0 0 auto;
    border-color: var(--editorial-forest);
    background: var(--editorial-forest);
    color: #fff;
}

/* Partner package / story detail pages */
.magazine-body--story {
    --editorial-ivory: #f2eee6;
    --editorial-forest: #14271f;
    --editorial-gold: #b99255;
    --editorial-ink: #1c211e;
    height: auto;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--editorial-ivory);
}

.magazine-body--story .magazine-stage {
    height: auto;
    min-height: 100vh;
    overflow: visible;
}

.magazine-body--story .magazine-chrome {
    background: linear-gradient(to bottom, rgba(6, 14, 11, 0.95), rgba(6, 14, 11, 0.35), transparent);
}

.story-page {
    padding-bottom: 6rem;
    color: var(--editorial-ink);
    background: var(--editorial-ivory);
}

.story-page__breadcrumbs {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 5.5rem var(--spacing-content) 0;
}

.magazine-body--story .magazine-breadcrumbs ol {
    justify-content: flex-start;
}

.magazine-body--story .story-canvas {
    padding-top: 1rem;
}

.story-related {
    padding-block: clamp(2.5rem, 5vw, 4rem);
}

.story-related__header {
    margin-bottom: 1.25rem;
}

.story-related__header h2 {
    margin: 0;
    color: var(--editorial-ink);
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 400;
}

.story-related__rail {
    display: flex;
    gap: 0.85rem;
    overflow-x: auto;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
}

.story-related__rail::-webkit-scrollbar {
    display: none;
}

.story-related__card {
    position: relative;
    flex: 0 0 clamp(210px, 24vw, 280px);
    min-height: 250px;
    overflow: hidden;
    scroll-snap-align: start;
    color: #fff;
}

.story-related__card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.story-related__card::after {
    position: absolute;
    inset: 0;
    content: '';
    background: linear-gradient(to top, rgba(8, 17, 13, 0.92), rgba(8, 17, 13, 0.1) 65%);
}

.story-related__card span,
.story-related__card strong {
    position: absolute;
    z-index: 1;
    left: 0.9rem;
    right: 0.9rem;
}

.story-related__card span {
    bottom: 3.2rem;
    color: #d4af76;
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.story-related__card strong {
    bottom: 0.9rem;
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.15;
}

.story-related__card:hover img {
    transform: scale(1.05);
}

/* Curated stories index */
.magazine-body--stories-index {
    --editorial-ivory: #f2eee6;
    --editorial-forest: #14271f;
    --editorial-gold: #b99255;
    --editorial-ink: #1c211e;
    height: auto;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--editorial-ivory);
}

.magazine-body--stories-index .magazine-stage {
    height: auto;
    min-height: 100vh;
    overflow: visible;
}

.magazine-body--stories-index .magazine-chrome {
    background: linear-gradient(to bottom, rgba(6, 14, 11, 0.95), rgba(6, 14, 11, 0.32), transparent);
}

.stories-index {
    color: var(--editorial-ink);
    background: var(--editorial-ivory);
}

.stories-index__hero {
    position: relative;
    display: flex;
    min-height: clamp(520px, 62vh, 700px);
    align-items: flex-end;
    overflow: hidden;
    color: #fff;
    background: var(--editorial-forest);
}

.stories-index__hero > img,
.stories-index__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.stories-index__hero > img {
    object-fit: cover;
}

.stories-index__shade {
    background:
        linear-gradient(90deg, rgba(7, 16, 12, 0.92), rgba(7, 16, 12, 0.46) 45%, rgba(7, 16, 12, 0.12)),
        linear-gradient(to top, rgba(7, 16, 12, 0.62), transparent 60%);
}

.stories-index__hero-content {
    position: relative;
    z-index: 1;
    padding-top: 8rem;
    padding-bottom: clamp(3.5rem, 7vw, 6rem);
}

.stories-index__hero h1 {
    max-width: 760px;
    margin: 0;
    color: #fff;
    font-family: var(--font-serif);
    font-size: clamp(2.6rem, 5.4vw, 5.2rem);
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 0.98;
}

.stories-index__hero h1 em {
    color: #d4af76;
    font-weight: 400;
}

.stories-index__hero-content > p:not(.editorial-kicker) {
    max-width: 470px;
    margin: 1.25rem 0 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.78rem;
    line-height: 1.65;
}

.stories-index__main {
    padding-block: clamp(2.5rem, 5vw, 5rem);
}

.stories-index__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 2rem;
}

.stories-index__heading h2 {
    margin: 0;
    color: var(--editorial-ink);
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    font-weight: 400;
    line-height: 1;
}

.stories-index__heading > p {
    max-width: 420px;
    color: #606760;
    font-size: 0.72rem;
    line-height: 1.65;
}

.stories-tabs {
    margin-bottom: 1rem;
}

.stories-tabs--partners {
    margin-bottom: 1.5rem;
}

.stories-tabs__label {
    margin: 0 0 0.55rem;
    color: var(--editorial-gold);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.stories-tabs__row {
    display: flex;
    gap: 0.45rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
}

.stories-tabs__row::-webkit-scrollbar {
    display: none;
}

.stories-tabs__tab {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.45rem;
    min-height: 36px;
    padding: 0.45rem 0.85rem;
    border: 1px solid rgba(31, 48, 39, 0.16);
    background: rgba(255, 253, 248, 0.72);
    color: #4e5751;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.stories-tabs__tab span {
    color: #8b8e89;
    font-size: 0.55rem;
}

.stories-tabs__tab:hover,
.stories-tabs__tab.is-active {
    border-color: var(--editorial-forest);
    background: var(--editorial-forest);
    color: #fff;
}

.stories-tabs__tab:hover span,
.stories-tabs__tab.is-active span {
    color: #d4af76;
}

.stories-index__meta {
    margin: 0 0 1.15rem;
    color: #6f746f;
    font-size: 0.65rem;
}

.stories-index__meta strong {
    color: var(--editorial-ink);
}

.stories-index__empty {
    padding: 2.5rem 1rem;
    border: 1px dashed rgba(31, 48, 39, 0.2);
    color: #6f746f;
    font-size: 0.8rem;
    text-align: center;
}

.stories-index__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.8rem;
}

.stories-index-card {
    overflow: hidden;
    color: #fff;
    background: var(--editorial-forest);
}

.stories-index-card--light {
    color: var(--editorial-ink);
    background: #fffaf2;
}

.stories-index-card__media {
    position: relative;
    height: clamp(190px, 21vw, 320px);
    overflow: hidden;
}

.stories-index-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.stories-index-card__media span {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    color: #fff;
    font-family: var(--font-serif);
    font-size: 0.9rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.stories-index-card__body {
    min-height: 250px;
    padding: 1rem;
}

.stories-index-card__body small {
    color: #d0aa70;
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.stories-index-card__body h2 {
    margin: 0.5rem 0;
    color: inherit;
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 1.8vw, 1.7rem);
    font-weight: 400;
    line-height: 1.05;
}

.stories-index-card__body > p {
    color: inherit;
    font-size: 0.67rem;
    line-height: 1.6;
    opacity: 0.72;
}

.stories-index-card__body > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.5rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.stories-index-card__body strong {
    color: #d0aa70;
    font-weight: 600;
}

.stories-index-card:hover .stories-index-card__media img {
    transform: scale(1.05);
}

@media (max-width: 1100px) {
    .stories-index__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .stories-index__heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
    }

    .stories-index__grid {
        display: flex;
        gap: 0.85rem;
        margin-right: calc(var(--spacing-content) * -1);
        padding-right: var(--spacing-content);
        overflow-x: auto;
        scroll-snap-type: inline mandatory;
        scrollbar-width: none;
    }

    .stories-index__grid::-webkit-scrollbar {
        display: none;
    }

    .stories-index-card {
        flex: 0 0 82vw;
        scroll-snap-align: start;
    }

    .stories-index-card__media {
        height: 310px;
    }
}

/* ATDW-style directory preview */
.magazine-body--directory {
    --editorial-ivory: #f2eee6;
    --editorial-forest: #14271f;
    --editorial-gold: #b99255;
    --editorial-ink: #1c211e;
    height: auto;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--editorial-ivory);
}

.magazine-body--directory .magazine-stage {
    height: auto;
    min-height: 100vh;
    overflow: visible;
}

.magazine-body--directory .magazine-chrome {
    background: linear-gradient(to bottom, rgba(6, 14, 11, 0.95), rgba(6, 14, 11, 0.36), transparent);
}

.directory-page {
    min-height: 100vh;
    color: var(--editorial-ink);
    background: var(--editorial-ivory);
}

.directory-hero {
    position: relative;
    display: flex;
    min-height: 340px;
    align-items: flex-end;
    color: #fff;
    background: url('https://images.pexels.com/photos/1365425/pexels-photo-1365425.jpeg?auto=compress&cs=tinysrgb&w=1920') center 56%/cover;
}

.directory-hero__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 16, 12, 0.9), rgba(7, 16, 12, 0.25) 70%);
}

.directory-hero__content {
    position: relative;
    z-index: 1;
    padding-top: 7.5rem;
    padding-bottom: 4rem;
}

.directory-hero h1 {
    margin: 0;
    color: #fff;
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4.8rem);
    font-weight: 400;
    letter-spacing: -0.035em;
}

.directory-hero p:last-child {
    max-width: 520px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.82rem;
}

.directory-main {
    padding-bottom: 5rem;
}

.directory-search {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 190px 190px auto;
    gap: 0.6rem;
    margin-top: -1.7rem;
    padding-block: 0.75rem;
    background: #fffdf8;
    box-shadow: 0 12px 35px rgba(16, 31, 24, 0.13);
}

.directory-search input,
.directory-search select {
    width: 100%;
    min-height: 42px;
    padding: 0.65rem 0.8rem;
    border: 1px solid rgba(31, 48, 39, 0.15);
    border-radius: 0;
    background: transparent;
    color: var(--editorial-ink);
    font: inherit;
    font-size: 0.7rem;
}

.directory-search button {
    min-width: 100px;
    border: 0;
    background: var(--editorial-forest);
    color: #fff;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}

.directory-results {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    padding-top: 2.5rem;
}

.directory-filters {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.directory-filters a {
    display: flex;
    justify-content: space-between;
    padding: 0.55rem 0.45rem;
    border-bottom: 1px solid rgba(31, 48, 39, 0.1);
    color: #4e5751;
    font-size: 0.65rem;
}

.directory-filters a.is-active {
    background: rgba(185, 146, 85, 0.18);
    color: var(--editorial-ink);
}

.directory-filters a span {
    color: #8b8e89;
}

.directory-listings__heading {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: #6f746f;
    font-size: 0.62rem;
}

.directory-listings__heading p {
    margin: 0;
}

.directory-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.directory-card {
    overflow: hidden;
    border: 1px solid rgba(31, 48, 39, 0.12);
    background: #fffdf8;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.directory-card__media {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.directory-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.directory-card__media span {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    color: #fff;
    background: rgba(7, 16, 12, 0.25);
}

.directory-card__body {
    padding: 0.85rem;
}

.directory-card__body small {
    color: var(--editorial-gold);
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.directory-card__body h2 {
    margin: 0.25rem 0;
    color: var(--editorial-ink);
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 400;
}

.directory-card__body p,
.directory-card__body strong {
    margin: 0;
    color: #70756f;
    font-size: 0.6rem;
    font-weight: 500;
}

.directory-card__body strong {
    display: block;
    margin-top: 0.75rem;
    color: #6f5030;
    text-transform: uppercase;
}

.directory-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(16, 31, 24, 0.12);
}

.directory-card:hover img {
    transform: scale(1.05);
}

@media (max-width: 900px) {
    .directory-search {
        grid-template-columns: 1fr 1fr;
    }

    .directory-search__query {
        grid-column: 1 / -1;
    }

    .directory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .directory-hero {
        min-height: 400px;
    }

    .directory-search {
        grid-template-columns: 1fr;
        margin-inline: 1rem;
    }

    .directory-search__query {
        grid-column: auto;
    }

    .directory-results {
        grid-template-columns: 1fr;
    }

    .directory-filters {
        display: none;
    }

    .directory-grid {
        grid-template-columns: 1fr;
    }

    .directory-card__media {
        height: 230px;
    }
}

@media (max-width: 980px) {
    .magazine-body--editorial-home .magazine-chrome__actions > a:nth-child(-n+4) {
        display: none;
    }

    .editorial-featured,
    .editorial-partners {
        grid-template-columns: 1fr;
    }

    .editorial-section__intro .editorial-text-link {
        margin-top: 1rem;
        padding-top: 0;
    }

    .editorial-card-rail {
        grid-template-columns: repeat(4, minmax(230px, 1fr));
    }
}

@media (max-width: 640px) {
    .magazine-body--editorial-home .magazine-chrome__inner {
        grid-template-rows: auto;
    }

    .magazine-body--editorial-home .magazine-chrome__actions {
        grid-column: 3;
        grid-row: 1;
        padding: 0;
    }

    .magazine-body--editorial-home .magazine-chrome__actions > a:not(.magazine-chrome__search):not(.magazine-chrome__join),
    .magazine-body--editorial-home .magazine-chrome__logout {
        display: none;
    }

    .magazine-body--editorial-home .magazine-chrome__join {
        padding: 0.5rem 0.65rem;
        font-size: 0.5rem !important;
    }

    .editorial-hero,
    .editorial-hero__content {
        min-height: 690px;
    }

    .editorial-hero__shade {
        background:
            linear-gradient(0deg, rgba(5, 9, 7, 0.94) 0%, rgba(5, 9, 7, 0.48) 70%, rgba(5, 9, 7, 0.42) 100%);
    }

    .editorial-hero__content {
        justify-content: flex-end;
        padding-bottom: 5rem;
    }

    .editorial-hero h1 {
        font-size: clamp(2.55rem, 13vw, 3.8rem);
    }

    .editorial-hero__edition {
        display: none;
    }

    .editorial-card-rail {
        grid-template-columns: repeat(4, minmax(78vw, 1fr));
        margin-right: calc(var(--spacing-content) * -1);
        padding-right: var(--spacing-content);
        scroll-snap-type: inline mandatory;
    }

    .editorial-story-card {
        scroll-snap-align: start;
    }

    .editorial-row-heading,
    .editorial-directory-cta__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .editorial-destination-card {
        flex-basis: 68vw;
    }

    .editorial-partner-card {
        flex-basis: 70vw;
    }
}

@keyframes magazineNavPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(185, 146, 85, 0.35); }
    50% { box-shadow: 0 0 0 10px rgba(185, 146, 85, 0); }
}

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

@keyframes magazinePageIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.99);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 720px) {
    .magazine-hub--destination {
        padding-top: 5rem;
    }

    .magazine-hub--destination .magazine-hub__header {
        display: block;
        padding-bottom: 0.75rem;
    }

    .magazine-hub--destination .magazine-breadcrumbs {
        margin-bottom: 0.5rem;
    }

    .magazine-hub--destination .magazine-hub__title {
        padding-top: 0;
        font-size: clamp(1.45rem, 7vw, 1.85rem);
    }

    .magazine-hub--destination .magazine-hub__subtitle {
        margin-top: 0.35rem;
        -webkit-line-clamp: 1;
        line-clamp: 1;
    }

    .magazine-hub--destination .magazine-hub__body--scroll {
        padding-top: 0.7rem;
    }

    .magazine-hub--destination .magazine-filters {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.25rem;
        scrollbar-width: none;
    }

    .magazine-hub--destination .magazine-filters::-webkit-scrollbar {
        display: none;
    }

    .magazine-hub--destination .magazine-filter {
        flex: 0 0 auto;
    }

    .magazine-hub--destination .magazine-section__header {
        align-items: center;
    }

    .magazine-hub--destination .magazine-section__header > div:first-child {
        gap: 0.45rem;
    }

    .magazine-hub--destination .magazine-section__title {
        font-size: 0.95rem;
    }

    .magazine-hub--destination .magazine-section__count {
        display: none;
    }

    .magazine-hub--destination .story-carousel__button {
        width: 30px;
        height: 30px;
    }

    .magazine-hub--destination .story-carousel__track > li {
        flex-basis: 76%;
    }

    .magazine-hub--destination .story-carousel.is-single .story-carousel__track > li {
        flex-basis: 100%;
    }

    .magazine-hub--destination .story-carousel .edition-tile {
        min-height: 190px;
        aspect-ratio: 4 / 3;
    }

    .edition-grid--collections {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        height: auto;
    }

    .edition-grid--collections > li:nth-child(n) {
        grid-column: auto;
    }

    .magazine-hub__body:not(.magazine-hub__body--scroll) {
        align-items: flex-start;
        overflow-y: auto;
        padding-bottom: 1.5rem;
    }
}

@media (max-width: 640px) {
    .magazine-nav__btn {
        max-width: none;
    }

    .magazine-nav__label {
        display: none;
    }

    .magazine-nav__icon {
        width: 40px;
        height: 40px;
        background: rgba(12, 24, 20, 0.72);
        backdrop-filter: blur(8px);
    }

    .magazine-chrome__inner {
        grid-template-columns: 1fr auto 1fr;
        grid-template-rows: auto auto;
    }

    .magazine-chrome__menu {
        grid-column: 1;
        grid-row: 1;
    }

    .magazine-chrome__brand {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
    }

    .magazine-chrome__actions {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: center;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem 1.25rem;
        padding-top: 0.25rem;
    }

    .magazine-intro__content {
        padding-top: 7.5rem;
    }
}

@media (max-width: 1100px) {
    .magazine-chrome__inner {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .magazine-chrome__actions {
        display: none;
    }

    .magazine-chrome__identity {
        grid-column: 1;
        grid-row: 1;
    }

    .magazine-chrome__utility {
        grid-column: 2;
        grid-row: 1;
    }
}

@media (max-width: 640px) {
    .magazine-chrome {
        padding: 0.45rem 0;
    }

    .magazine-chrome__inner {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: auto;
        gap: 0.5rem;
    }

    .magazine-chrome__identity {
        gap: 0.35rem;
    }

    .magazine-chrome__brand img {
        height: 40px;
        max-width: 145px;
        object-fit: contain;
    }

    .magazine-chrome__menu {
        width: 32px;
        height: 32px;
        padding: 7px;
    }

    .magazine-chrome__utility {
        gap: 0.45rem;
        padding: 0;
    }

    .magazine-chrome__utility > a:not(.magazine-chrome__search):not(.magazine-chrome__join),
    .magazine-chrome__logout {
        display: none;
    }

    .magazine-chrome__search {
        width: 32px;
        height: 32px;
    }

    .magazine-chrome__join {
        min-height: 32px;
        padding: 0.4rem 0.55rem !important;
        font-size: 0.5rem !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .magazine-intro__content,
    .magazine-hub__header,
    .magazine-tile-grid li,
    .edition-grid > li,
    .magazine-page-enter {
        animation: none;
    }

    .edition-tile:hover,
    .edition-tile:focus-visible,
    .magazine-tile:hover {
        transform: none;
    }
}

/* ATDW directory — national listings, promoted advertisers and full profiles */
.directory-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.directory-card__link--static {
    cursor: default;
}

.directory-card--promoted {
    border-color: rgba(185, 146, 85, 0.55);
    box-shadow: 0 10px 26px rgba(16, 31, 24, 0.1);
}

.directory-card__placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    background: linear-gradient(140deg, #1f3027, #33453a);
    color: rgba(255, 255, 255, 0.65);
    font-family: var(--font-serif);
    font-size: 2.4rem;
}

.directory-ribbon {
    position: absolute;
    top: 0.75rem;
    left: 0;
    margin: 0;
    padding: 0.32rem 0.7rem;
    background: var(--editorial-gold, #b99255);
    color: #fff;
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    box-shadow: 0 6px 14px rgba(16, 31, 24, 0.25);
}

.directory-ribbon--large {
    position: static;
    display: inline-block;
    margin-bottom: 0.9rem;
    padding: 0.45rem 0.9rem;
    font-size: 0.58rem;
}

.directory-card__address {
    margin-top: 0.2rem !important;
    color: #8b8e89 !important;
}

.directory-card__offer {
    margin-top: 0.55rem !important;
    color: #6f5030 !important;
    font-style: italic;
}

.directory-card__summary {
    margin-top: 0.5rem !important;
    color: #6f746f !important;
    font-size: 0.6rem !important;
    line-height: 1.6;
}

.directory-profile--basic .directory-profile__hero {
    min-height: 380px;
}

.directory-profile__facts {
    margin: 0.75rem 0 1rem;
}

.directory-profile__facts > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(31, 48, 39, 0.1);
}

.directory-profile__facts dt {
    color: #8b8e89;
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.directory-profile__facts dd {
    margin: 0;
    color: var(--editorial-ink, #14271f);
    font-size: 0.68rem;
    text-align: right;
}

.directory-profile__card--upsell {
    border-color: rgba(185, 146, 85, 0.5);
    background: rgba(185, 146, 85, 0.1);
}

.directory-notice {
    margin-top: 2rem;
    padding: 0.9rem 1rem;
    border-left: 3px solid var(--editorial-gold, #b99255);
    background: rgba(185, 146, 85, 0.12);
    color: #4e5751;
    font-size: 0.7rem;
}

.directory-featured {
    padding-top: 2.5rem;
}

.directory-featured__rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 0.75rem;
}

.directory-featured__card {
    position: relative;
    display: block;
    min-height: 170px;
    padding: 1rem;
    overflow: hidden;
    border: 1px solid rgba(185, 146, 85, 0.5);
    background: #12241c;
    color: #fff;
    text-decoration: none;
}

.directory-featured__card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.directory-featured__card .directory-ribbon {
    top: 0.9rem;
}

.directory-featured__card strong,
.directory-featured__card small {
    position: relative;
    display: block;
}

.directory-featured__card strong {
    margin-top: 4.2rem;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 400;
}

.directory-featured__card small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.6rem;
}

.directory-filters__heading {
    margin-top: 1.5rem;
}

.directory-pagination {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

.directory-pagination .pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.directory-pagination .page-link {
    display: inline-flex;
    min-width: 34px;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.6rem;
    border: 1px solid rgba(31, 48, 39, 0.16);
    color: var(--editorial-ink, #14271f);
    font-size: 0.65rem;
    text-decoration: none;
}

.directory-pagination .page-item.active .page-link {
    background: var(--editorial-forest, #14271f);
    border-color: var(--editorial-forest, #14271f);
    color: #fff;
}

.directory-pagination .page-item.disabled .page-link {
    opacity: 0.4;
}

.directory-empty {
    padding: 2.5rem 0;
    color: #70756f;
    font-size: 0.72rem;
}

/* Full advertiser profile */
.directory-profile {
    min-height: 100vh;
    background: var(--editorial-ivory, #f2eee6);
    color: var(--editorial-ink, #14271f);
}

.directory-profile__hero {
    position: relative;
    display: flex;
    min-height: 460px;
    align-items: flex-end;
    background: #0c1814;
    color: #fff;
}

.directory-profile__hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.directory-profile__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(7, 16, 12, 0.92), rgba(7, 16, 12, 0.25) 70%);
}

.directory-profile__hero-content {
    position: relative;
    z-index: 1;
    padding-top: 7.5rem;
    padding-bottom: 3rem;
}

.directory-profile__crumbs {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.directory-profile__crumbs a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.directory-profile__hero-content h1 {
    margin: 0;
    color: #fff;
    font-family: var(--font-serif);
    font-size: clamp(2.1rem, 4.4vw, 3.9rem);
    font-weight: 400;
    letter-spacing: -0.03em;
}

.directory-profile__location {
    margin: 0.6rem 0 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.72rem;
}

.directory-profile__headline {
    max-width: 620px;
    margin: 0.9rem 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-style: italic;
}

.directory-profile__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    padding-top: 3rem;
    padding-bottom: 4rem;
}

.directory-profile__promo {
    margin-bottom: 2.5rem;
    padding: 1.4rem;
    border-left: 3px solid var(--editorial-gold, #b99255);
    background: rgba(185, 146, 85, 0.1);
}

.directory-profile__promo p,
.directory-profile__section p {
    color: #4e5751;
    font-size: 0.78rem;
    line-height: 1.85;
}

.directory-profile__offer {
    color: #6f5030 !important;
    font-style: italic;
}

.directory-profile__section {
    margin-bottom: 2.5rem;
}

.directory-profile__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.75rem 0 0;
    padding: 0;
    list-style: none;
}

.directory-profile__tags li {
    padding: 0.35rem 0.7rem;
    border: 1px solid rgba(31, 48, 39, 0.16);
    color: #4e5751;
    font-size: 0.62rem;
}

.directory-profile__services {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 0.9rem;
}

.directory-profile__services article {
    padding: 1rem;
    border: 1px solid rgba(31, 48, 39, 0.12);
    background: #fffdf8;
}

.directory-profile__services h3 {
    margin: 0 0 0.4rem;
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 400;
}

.directory-profile__gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.6rem;
    margin-top: 0.9rem;
}

.directory-profile__gallery img {
    width: 100%;
    height: 130px;
    object-fit: cover;
}

.directory-profile__card {
    margin-bottom: 1rem;
    padding: 1.2rem;
    border: 1px solid rgba(31, 48, 39, 0.12);
    background: #fffdf8;
}

.directory-profile__meta {
    margin: 0.6rem 0 0.9rem;
    color: #4e5751;
    font-size: 0.7rem;
    line-height: 1.7;
}

.directory-profile__action {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--editorial-ink, #14271f);
    font-size: 0.7rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(31, 48, 39, 0.14);
    padding-bottom: 0.5rem;
}

.directory-profile__card .editorial-button {
    width: 100%;
    justify-content: center;
    margin-top: 0.6rem;
}

.directory-profile__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.9rem;
}

.directory-profile__socials a {
    color: #6f5030;
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.directory-profile__similar {
    padding-bottom: 4.5rem;
}

.directory-profile__similar .directory-grid {
    margin-top: 0.9rem;
}

/* Regional spotlight directory rail on destination pages */
.magazine-section--atdw .directory-grid--regional {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.magazine-section__source {
    margin-top: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.55rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.magazine-section--atdw .directory-card {
    background: rgba(255, 253, 248, 0.96);
}

.atdw-beacon {
    position: absolute;
    width: 1px;
    height: 1px;
    border: 0;
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 1024px) {
    .directory-profile__body {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 900px) {
    .directory-featured__rail,
    .magazine-section--atdw .directory-grid--regional {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .directory-profile__gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .directory-featured__rail,
    .directory-profile__services,
    .magazine-section--atdw .directory-grid--regional {
        grid-template-columns: minmax(0, 1fr);
    }

    .directory-profile__gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

