/* Divine Teppich — editorial chrome + homepage (Canva PDF) */

@font-face {
    font-family: "Safira March";
    src: url("/assets/fonts/SafiraMarch.woff2") format("woff2"),
         url("/assets/fonts/SafiraMarch.woff") format("woff");
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --ed-black: #0a0a0a;
    --ed-white: #f7f5f1;
    --ed-mute: rgba(247, 245, 241, 0.72);
    --ed-header-h: 7.35rem;
    --ed-grid-gap: 12px;
}

@media (min-width: 1024px) {
    :root {
        --ed-header-h: 8.35rem;
    }
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--ed-header-h);
    overflow-x: hidden;
}

html:has(body.is-home) {
    overflow-x: clip;
}

body.ed-body {
    background: #fff;
    color: #1e1e1e;
    overflow-x: hidden;
    max-width: 100%;
}

body.is-home {
    background: #000;
    color: var(--ed-white);
    overflow-x: clip;
}

.font-display {
    font-family: "Bodoni Moda", "Cormorant Garamond", serif;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.font-wordmark {
    font-family: "Abril Fatface", "Bodoni Moda", serif;
    font-weight: 400;
    line-height: 0.85;
    letter-spacing: -0.01em;
}

.font-ui {
    font-family: "Montserrat", "Outfit", sans-serif;
}

/* —— Header —— */
#ed-header {
    z-index: 60;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    color: var(--ed-white);
    background: transparent;
}

.ed-topbar {
    background: #0a0a0a;
    color: #f7f5f1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.9);
}

.ed-topbar-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
    padding: 0.52rem 1.5rem;
    max-width: 1440px;
    margin: 0 auto;
    font-family: "Montserrat", sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
}

.ed-topbar-left {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
    justify-self: start;
}

.ed-topbar-right {
    min-width: 0;
}

.ed-topbar-social {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.ed-topbar-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.2rem;
    height: 1.2rem;
    opacity: 0.88;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.ed-topbar-social a img {
    width: 14px;
    height: 14px;
    display: block;
    filter: brightness(0) invert(1);
}

.ed-topbar-inner a {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.ed-topbar-left > a {
    position: relative;
    transition: letter-spacing 0.3s ease;
}

.ed-topbar-left > a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.35s ease;
}

.ed-topbar-left > a:hover {
    letter-spacing: 0.12em;
}

.ed-topbar-left > a:hover::after {
    transform: scaleX(1);
}

.ed-topbar-social a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.ed-topbar-inner .summer {
    text-align: center;
    opacity: 0.9;
    white-space: nowrap;
    justify-self: center;
}

@media (min-width: 1024px) {
    .ed-topbar-inner {
        padding: 0.58rem 2.5rem;
        font-size: 0.82rem;
    }

    .ed-topbar-social a {
        width: 1.35rem;
        height: 1.35rem;
    }

    .ed-topbar-social a img {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 639px) {
    .ed-topbar-inner {
        font-size: 0.55rem;
        padding: 0.4rem 1rem;
        gap: 0.55rem;
        min-width: 0;
    }

    .ed-topbar-left {
        gap: 0.65rem;
        min-width: 0;
    }

    .ed-topbar-left > a {
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 42vw;
    }

    .ed-topbar-inner .summer {
        display: none;
    }
}

.ed-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.5rem;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
    min-width: 0;
}

@media (max-width: 639px) {
    .ed-header-inner {
        padding: 0.9rem 1rem;
        gap: 0.5rem;
    }
}

@media (min-width: 1024px) {
    .ed-header-inner {
        padding: 1.25rem 2.5rem;
    }
}

.ed-wordmark {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    justify-self: start;
    min-width: 0;
    flex: none;
}

.ed-wordmark .wm-divine,
.ed-wordmark .wm-teppich {
    font-family: "Abril Fatface", serif;
    font-size: 1.5rem;
    line-height: 0.9;
    text-transform: lowercase;
}

.ed-wordmark .wm-handmade {
    font-family: "Montserrat", sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    margin-top: 0.35rem;
    opacity: 0.85;
}

@media (min-width: 1024px) {
    .ed-wordmark .wm-divine,
    .ed-wordmark .wm-teppich {
        font-size: 1.95rem;
    }
}

.ed-nav {
    display: none;
    align-items: center;
    gap: 0.12rem;
}

@media (min-width: 1024px) {
    .ed-nav {
        display: flex;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

.ed-mega-wrap {
    position: relative;
}

.ed-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.38rem;
    border: 0;
    border-radius: 0;
    padding: 0.4rem 0.48rem;
    font-family: "Montserrat", sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: inherit;
    text-decoration: none;
    background: transparent;
    cursor: pointer;
    transition: letter-spacing 0.35s ease, transform 0.35s ease;
    white-space: nowrap;
}

.ed-pill:hover,
.ed-pill[aria-expanded="true"],
.ed-pill.is-active {
    background: transparent;
    color: inherit;
    letter-spacing: 0.24em;
    transform: translateY(-1px);
}

.ed-pill.is-active {
    transform: none;
    text-decoration: underline;
    text-underline-offset: 0.4em;
    text-decoration-thickness: 1px;
}

.ed-pill-caret {
    display: block;
    flex: none;
    width: 0.78rem;
    height: 0.78rem;
    margin-left: 0.02rem;
    opacity: 0.92;
    transform: translateY(0.5px);
    transition: transform 0.28s ease, opacity 0.28s ease;
    filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.35));
}

.ed-pill:hover .ed-pill-caret,
.ed-pill[aria-expanded="true"] .ed-pill-caret {
    opacity: 1;
}

.ed-pill[aria-expanded="true"] .ed-pill-caret {
    transform: translateY(0.5px) rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
    .ed-pill-caret {
        transition: none;
    }
}

.ed-header-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    position: relative;
    z-index: 3;
    margin-left: auto;
    flex: none;
}

.ed-book {
    display: none;
    align-items: center;
    justify-content: center;
    position: relative;
    font-family: "Montserrat", sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #0a0a0a;
    background: #fff;
    text-decoration: none;
    border: 2px solid #0a0a0a;
    padding: 0.52rem 1.05rem;
    white-space: nowrap;
    transition: background 0.25s ease, color 0.25s ease;
}

.ed-book:hover {
    background: #0a0a0a;
    color: #fff;
}

@media (min-width: 1024px) {
    .ed-book {
        display: inline-flex;
    }
}

.ed-book--drawer {
    display: inline-flex;
    width: 100%;
    margin-top: auto;
}

.ed-search {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.ed-search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.ed-search-toggle svg {
    width: 18px;
    height: 18px;
    display: block;
    overflow: visible;
}

.ed-search-toggle svg circle,
.ed-search-toggle svg path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
}

.ed-search-toggle svg circle {
    animation: ed-search-draw 0.75s ease 0.22s forwards;
}

.ed-search-toggle svg path {
    animation: ed-search-draw 0.45s ease 0.58s forwards;
}

.ed-search-toggle:hover {
    transform: translateY(-1px);
}

@keyframes ed-search-draw {
    from {
        stroke-dashoffset: 1;
    }
    to {
        stroke-dashoffset: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ed-search-toggle svg circle,
    .ed-search-toggle svg path {
        stroke-dashoffset: 0;
        animation: none;
    }
}

.ed-search-form {
    display: flex;
    align-items: center;
    margin: 0;
    width: 0;
    max-width: 0;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    border: 0;
    background: transparent;
    color: #fff;
    transition: width 0.28s ease, max-width 0.28s ease, opacity 0.2s ease, padding 0.28s ease;
}

.ed-search-form label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ed-search-form input {
    width: 100%;
    min-width: 0;
    background: transparent;
    border: 0;
    outline: none;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0;
}

.ed-search-form input::placeholder {
    color: rgba(255, 255, 255, 0.72);
    opacity: 1;
    text-transform: uppercase;
}

.ed-search.is-open .ed-search-form {
    position: fixed;
    top: var(--ed-header-h);
    left: 0.75rem;
    right: 0.75rem;
    width: auto;
    max-width: none;
    min-height: 3.15rem;
    margin: 0;
    padding: 0.7rem 1rem;
    opacity: 1;
    pointer-events: auto;
    overflow: visible;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(8, 8, 8, 0.97);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
    z-index: 72;
}

.ed-search.is-open .ed-search-form input {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
}

@media (min-width: 1024px) {
    .ed-search.is-open .ed-search-form {
        left: auto;
        right: 2.5rem;
        width: 20rem;
        max-width: calc(100vw - 3rem);
        min-height: 2.65rem;
        padding: 0.55rem 1rem;
        border-radius: 0;
    }
}

.ed-search-panel {
    position: fixed;
    left: 0.75rem;
    right: 0.75rem;
    top: calc(var(--ed-header-h) + 3.15rem);
    width: auto;
    max-width: none;
    max-height: min(70vh, 28rem);
    overflow: auto;
    background: rgba(8, 8, 8, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    z-index: 71;
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.32);
}

.ed-search-panel[hidden] {
    display: none;
}

.ed-search-status {
    margin: 0;
    padding: 0.9rem 1rem;
    font-family: "Montserrat", sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.ed-search-list {
    list-style: none;
    margin: 0;
    padding: 0.25rem 0 0.5rem;
}

.ed-search-group {
    padding: 0.55rem 1rem 0.2rem;
    font-family: "Montserrat", sans-serif;
    font-size: 0.58rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.42);
}

.ed-search-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 1rem;
    color: #fff;
    text-decoration: none;
}

.ed-search-item:hover,
.ed-search-item.is-active {
    background: rgba(255, 255, 255, 0.08);
}

.ed-search-thumb {
    flex: none;
    width: 2.6rem;
    height: 2.6rem;
    overflow: hidden;
    background: #1a1a1a;
}

.ed-search-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ed-search-copy {
    min-width: 0;
}

.ed-search-copy strong {
    display: block;
    font-family: "Bodoni Moda", serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: 0;
    text-transform: none;
}

.ed-search-copy span {
    display: block;
    margin-top: 0.15rem;
    font-family: "Montserrat", sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (min-width: 1024px) {
    .ed-search-panel {
        left: auto;
        right: 2.5rem;
        width: 20rem;
        max-width: calc(100vw - 3rem);
        top: calc(var(--ed-header-h) + 2.65rem);
        transform: none;
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        border-right: 1px solid rgba(255, 255, 255, 0.08);
    }
}

.ed-burger {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 2.5rem;
    height: 2.5rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    color: inherit;
}

@media (min-width: 1024px) {
    .ed-burger {
        display: none;
    }
}

/* Mega menus — World of DT + Rugs */
.ed-mega {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: rgba(8, 8, 8, 0.97);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.4s ease;
}

#ed-header.wodt-mega-open #wodt-mega-panel,
#ed-header.rugs-mega-open #rugs-mega-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.ed-mega-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 2.1rem 2.5rem 2.5rem;
}

.ed-mega-inner--wodt {
    display: grid;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .ed-mega-inner--wodt {
        grid-template-columns: 220px 1fr;
        gap: 3rem;
        align-items: start;
    }
}

.ed-mega-kicker {
    margin: 0 0 0.55rem;
    font-family: "Montserrat", sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.ed-mega-intro h3 {
    margin: 0 0 0.65rem;
    font-family: "Bodoni Moda", serif;
    font-size: 1.7rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1.15;
}

.ed-mega-intro p {
    margin: 0;
    max-width: 16rem;
    font-size: 0.78rem;
    font-weight: 300;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.55);
}

.ed-mega-features {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.4rem;
}

.ed-mega-feature {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    text-decoration: none;
    opacity: 0;
    transform: translateY(18px);
}

#ed-header.wodt-mega-open .ed-mega-feature {
    animation: ed-mega-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

#ed-header.wodt-mega-open .ed-mega-intro {
    animation: ed-mega-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

#ed-header.wodt-mega-open .ed-mega-feature:nth-child(1) { animation-delay: 0.06s; }
#ed-header.wodt-mega-open .ed-mega-feature:nth-child(2) { animation-delay: 0.12s; }
#ed-header.wodt-mega-open .ed-mega-feature:nth-child(3) { animation-delay: 0.18s; }
#ed-header.wodt-mega-open .ed-mega-feature:nth-child(4) { animation-delay: 0.24s; }
#ed-header.wodt-mega-open .ed-mega-feature:nth-child(5) { animation-delay: 0.3s; }

.ed-mega-feature span {
    font-family: "Montserrat", sans-serif;
    font-size: 0.58rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.38);
}

.ed-mega-feature strong {
    font-family: "Bodoni Moda", serif;
    font-size: 1.28rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1.2;
}

.ed-mega-feature em {
    font-style: normal;
    font-family: "Montserrat", sans-serif;
    font-size: 0.66rem;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.5);
}

.ed-mega-feature:hover {
    opacity: 1;
}

.ed-mega-feature:hover strong {
    text-decoration: underline;
    text-underline-offset: 0.28em;
    text-decoration-thickness: 1px;
}

.ed-mega-inner--rugs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.6rem 2rem;
}

.ed-mega-col {
    min-width: 0;
    opacity: 0;
    transform: translateY(16px);
}

#ed-header.rugs-mega-open .ed-mega-col {
    animation: ed-mega-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

#ed-header.rugs-mega-open .ed-mega-col:nth-child(1) { animation-delay: 0.04s; }
#ed-header.rugs-mega-open .ed-mega-col:nth-child(2) { animation-delay: 0.1s; }
#ed-header.rugs-mega-open .ed-mega-col:nth-child(3) { animation-delay: 0.16s; }
#ed-header.rugs-mega-open .ed-mega-col:nth-child(4) { animation-delay: 0.22s; }
#ed-header.rugs-mega-open .ed-mega-col:nth-child(5) { animation-delay: 0.28s; }

.ed-mega-col h4 {
    margin: 0 0 0.85rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    font-family: "Montserrat", sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.ed-mega-col a {
    display: block;
    padding: 0.32rem 0;
    color: #fff;
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    line-height: 1.35;
    transition: opacity 0.25s ease, transform 0.25s ease, letter-spacing 0.25s ease;
}

.ed-mega-col a:hover {
    opacity: 0.62;
    letter-spacing: 0.12em;
    transform: translateX(3px);
}

@keyframes ed-mega-in {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ed-mega,
    .ed-mega-feature,
    .ed-mega-col,
    .ed-mega-intro {
        animation: none !important;
        transition: none !important;
        opacity: 1;
        transform: none;
    }
}

/* Mobile drawer */
body.ed-drawer-open {
    overflow: hidden;
}

.ed-drawer {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(0, 0, 0, 0.55);
}

.ed-drawer.is-open {
    display: block;
}

.ed-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(88vw, 380px);
    height: 100%;
    height: 100dvh;
    background: #0a0a0a;
    color: #f7f5f1;
    display: flex;
    flex-direction: column;
    padding: 1.15rem 1.35rem 1.4rem;
    overflow-y: auto;
}

.ed-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.6rem;
}

.ed-drawer-panel .ed-wordmark {
    color: #f7f5f1;
}

.ed-drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    padding: 0;
    border: 1px solid rgba(247, 245, 241, 0.45);
    border-radius: 999px;
    background: transparent;
    color: #f7f5f1;
    cursor: pointer;
}

.ed-drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.ed-drawer-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.72rem 0;
    border: 0;
    background: none;
    color: #f7f5f1;
    text-decoration: none;
    text-align: left;
    font-family: "Montserrat", sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
}

.ed-drawer-link.is-active,
.ed-drawer-link:hover {
    color: #fff;
}

.ed-drawer-caret {
    opacity: 0.55;
    transition: transform 0.2s ease;
}

.wodt-mobile-toggle.is-open .ed-drawer-caret,
#rugs-mobile-toggle.is-open .ed-drawer-caret {
    transform: rotate(180deg);
}

.ed-drawer-sub {
    display: none;
    padding: 0.15rem 0 0.85rem 0.85rem;
}

.ed-drawer-sub.is-open {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.ed-drawer-sub a {
    color: rgba(247, 245, 241, 0.62);
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ed-drawer-sub a:hover {
    color: #fff;
}

.ed-drawer-group {
    margin: 0.7rem 0 0.15rem;
    font-family: "Montserrat", sans-serif;
    font-size: 0.58rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(247, 245, 241, 0.42);
}

.ed-drawer-group:first-child {
    margin-top: 0;
}

.ed-drawer-journal {
    display: block;
    margin: 1.35rem 0 0;
    padding: 1.05rem 0 1.15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: #f7f5f1;
    text-decoration: none;
}

.ed-drawer-kicker {
    display: block;
    font-family: "Montserrat", sans-serif;
    font-size: 0.58rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(247, 245, 241, 0.5);
}

.ed-drawer-journal-title {
    display: block;
    margin-top: 0.35rem;
    font-family: "Bodoni Moda", serif;
    font-size: 1.55rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1;
}

.ed-drawer-journal-sub {
    display: block;
    margin-top: 0.4rem;
    font-family: "Montserrat", sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    line-height: 1.5;
    color: rgba(247, 245, 241, 0.62);
}

.ed-drawer-foot {
    margin-top: auto;
    padding-top: 1.35rem;
}

.ed-drawer-social {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.05rem;
}

.ed-drawer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    opacity: 0.9;
}

.ed-drawer-social a img {
    width: 14px;
    height: 14px;
    display: block;
    filter: brightness(0) invert(1);
}

.ed-drawer-social a:hover {
    border-color: #fff;
    opacity: 1;
}

.ed-drawer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1.05rem;
}

.ed-drawer-contact a {
    color: rgba(247, 245, 241, 0.72);
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
}

.ed-drawer-contact a:hover {
    color: #fff;
}

/* —— Homepage screens —— */
.ed-screen {
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    color: var(--ed-white);
}

.ed-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
}

.ed-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.45));
    pointer-events: none;
}

.ed-veil--hero {
    background:
        linear-gradient(to right, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0.18) 42%, rgba(0, 0, 0, 0.42) 78%, rgba(0, 0, 0, 0.58) 100%),
        rgba(0, 0, 0, 0.22);
}

#hero .ed-bg {
    object-fit: cover;
    object-position: center bottom;
}

.ed-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1.75rem;
    padding: calc(var(--ed-header-h) + 1.25rem) 5.5% 8%;
    pointer-events: none;
}

.ed-hero-overlay > * {
    pointer-events: auto;
}

.ed-hero-core {
    position: relative;
    left: auto;
    bottom: auto;
    z-index: 4;
    flex: 0 0 auto;
    min-width: 0;
    max-width: 18ch;
    font-family: "Safira March", "Bodoni Moda", serif;
    font-size: clamp(3.2rem, 9vw, 7.4rem);
    line-height: 0.88;
    font-weight: 500;
    color: #fff;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.ed-hero-shop {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    z-index: 5;
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    align-self: flex-start;
    gap: 1.35rem;
    width: 100%;
    max-width: 20rem;
    color: #fff;
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55);
}

.ed-hero-shop-item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    color: #fff;
    text-decoration: none;
}

.ed-hero-shop:hover .ed-hero-shop-item:not(:hover):not(:focus-visible),
.ed-hero-shop:focus-within .ed-hero-shop-item:not(:hover):not(:focus-visible) {
    opacity: 0.45;
}

.ed-hero-shop-item:not(:hover):not(:focus-visible) {
    transition: opacity 0.22s ease;
}

.ed-hero-shop-index {
    position: relative;
    flex: 0 0 1.8em;
    width: 1.8em;
    height: 1.2em;
    margin-top: 0.22em;
}

.ed-hero-shop-num,
.ed-hero-shop-arrow {
    position: absolute;
    left: 0;
    top: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    line-height: 1.15;
    white-space: nowrap;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.ed-hero-shop-num {
    opacity: 0.8;
}

.ed-hero-shop-arrow {
    opacity: 0;
    transform: translateX(-7px);
    font-size: 0.95rem;
    letter-spacing: 0;
}

.ed-hero-shop-item:hover .ed-hero-shop-num,
.ed-hero-shop-item:focus-visible .ed-hero-shop-num {
    opacity: 0;
    transform: translateX(6px);
}

.ed-hero-shop-item:hover .ed-hero-shop-arrow,
.ed-hero-shop-item:focus-visible .ed-hero-shop-arrow {
    opacity: 1;
    transform: translateX(0);
}

.ed-hero-shop-copy {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 0;
}

.ed-hero-shop-copy strong {
    font-family: "Montserrat", sans-serif;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    line-height: 1.25;
    color: #fff;
}

.ed-hero-shop-copy em {
    font-style: normal;
    font-family: "Montserrat", sans-serif;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.82);
}

.ed-hero-shop-item:hover .ed-hero-shop-copy em,
.ed-hero-shop-item:focus-visible .ed-hero-shop-copy em {
    color: #fff;
}

.ed-hero-shop-item:focus-visible {
    outline: 1px solid rgba(255, 255, 255, 0.7);
    outline-offset: 6px;
}

@media (min-width: 900px) {
    .ed-hero-overlay {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        gap: 2rem;
        padding: calc(var(--ed-header-h) + 1.5rem) 5.5% 6%;
    }

    .ed-hero-core {
        align-self: flex-end;
        max-width: 20ch;
        margin-bottom: 0;
    }

    .ed-hero-shop {
        align-self: flex-end;
        width: auto;
        min-width: 14rem;
        max-width: 22rem;
        gap: 2rem;
        margin-top: 0;
    }
}

@media (max-width: 899px) {
    .ed-hero-overlay {
        justify-content: center;
        padding: calc(var(--ed-header-h) + 1rem) 6% 8%;
        gap: 1.5rem;
    }

    .ed-hero-core {
        font-size: clamp(2.4rem, 12vw, 4.2rem);
        max-width: 100%;
    }

    .ed-hero-shop {
        max-width: 100%;
        gap: 1.25rem;
    }

    .ed-hero-shop-copy strong {
        font-size: 0.68rem;
        letter-spacing: 0.12em;
    }

    .ed-hero-shop-copy em {
        font-size: 0.62rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ed-hero-shop-item:not(:hover):not(:focus-visible),
    .ed-hero-shop-num,
    .ed-hero-shop-arrow,
    .ed-hero-shop-copy em {
        transition: none;
    }
}

/* Core collection */
.ed-split-2 {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    min-height: 100vh;
    align-items: stretch;
    overflow: hidden;
    background: #000;
    gap: var(--ed-grid-gap);
}

@media (min-width: 900px) {
    .ed-split-2 {
        grid-template-columns: 1fr 1fr;
        height: 100vh;
        min-height: 100vh;
        overflow: visible;
    }
}

.ed-card {
    position: relative;
    min-height: 70vh;
    height: 100%;
    overflow: hidden;
    display: block;
    color: #fff;
    text-decoration: none;
}

@media (min-width: 900px) {
    .ed-card {
        display: flex;
        flex-direction: column;
        min-height: 100%;
        height: 100%;
        overflow: visible;
    }
}

.ed-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.ed-split-2 .ed-card:nth-child(2) img {
    object-position: center 28%;
}

.ed-card-copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 1.5rem 1.5rem 2.4rem;
    background: none;
}

@media (min-width: 900px) {
    .ed-card-copy {
        position: sticky;
        top: calc(var(--ed-header-h) + 1rem);
        bottom: auto;
        margin-top: 1.25rem;
        width: 100%;
        box-sizing: border-box;
    }
}

.ed-card-copy h3 {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
}

.ed-card-copy p {
    font-family: "Montserrat", sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin: 0.45rem 0 1.1rem;
    opacity: 0.85;
}

.ed-explore {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #fff;
    padding: 0.45rem 1.3rem;
    font-family: "Montserrat", sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
}

.ed-explore:hover {
    background: #fff;
    color: #0a0a0a;
}

/* Taste sections */
.ed-taste {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 100vh;
    background: #000;
    gap: var(--ed-grid-gap);
}

.ed-split-2 + .ed-taste,
.ed-taste + .ed-taste,
.ed-taste + .ed-split-2,
.ed-split-2 + .ed-split-2,
.ed-taste + .ed-screen,
.ed-taste + #cinematic {
    margin-top: var(--ed-grid-gap);
}

@media (min-width: 900px) {
    .ed-taste {
        grid-template-columns: 1fr 1fr;
        min-height: 100vh;
        height: auto;
        overflow: visible;
        align-items: stretch;
    }
}

.ed-taste.is-reverse .ed-taste-media {
    order: -1;
}

@media (max-width: 899px) {
    .ed-taste.is-reverse .ed-taste-media {
        order: 0;
    }
}

.ed-taste-copy {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: center;
    justify-content: flex-start;
    gap: 1.4rem;
    padding: 5.5rem 8% 3.5rem;
    min-height: 50vh;
}

@media (min-width: 900px) {
    .ed-taste-copy {
        min-height: 100%;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 6.5rem 8% 5rem 7%;
        overflow: visible;
        gap: 1.75rem;
    }
}

.ed-taste-copy h2 {
    flex: 0 0 auto;
    margin: 0;
    font-family: "Bodoni Moda", serif;
    font-size: clamp(3.2rem, 6.2vw, 6.4rem);
    line-height: 1.08;
    font-weight: 500;
    letter-spacing: -0.03em;
    padding-bottom: 0.12em;
}

.ed-taste-aside {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    padding-top: 0.35em;
    z-index: 2;
}

.ed-summer-note {
    margin: 0;
    text-align: left;
    font-family: "Montserrat", sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    line-height: 1.55;
    color: #fff;
}

.ed-taste-aside .ed-explore {
    align-self: flex-start;
}

@media (min-width: 900px) {
    .ed-summer-note {
        font-size: 0.92rem;
    }
}

.js-mask {
    display: block;
    overflow: hidden;
}

.ed-taste-copy .js-mask {
    padding-bottom: 0.08em;
}

.js-line {
    display: block;
    will-change: transform;
}

.ed-taste-media {
    position: relative;
    min-height: 55vh;
    overflow: hidden;
}

.ed-card-copy > *,
.ed-taste-overlay > * {
    will-change: transform, opacity;
}

@media (min-width: 900px) {
    .ed-taste-media {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        height: auto;
        overflow: visible;
        align-self: stretch;
    }
}

.ed-taste-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ed-taste-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 1.5rem 1.6rem 2rem;
    background: none;
}

@media (min-width: 900px) {
    .ed-taste-overlay {
        position: sticky;
        top: calc(var(--ed-header-h) + 1rem);
        bottom: auto;
        margin-top: 1.25rem;
        width: 100%;
        box-sizing: border-box;
    }
}

.ed-taste-overlay h3 {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1;
}

.ed-taste-overlay p {
    font-family: "Montserrat", sans-serif;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin: 0.45rem 0 1.1rem;
    opacity: 0.85;
}

/* Giant overlay titles */
.ed-giant-title {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    font-family: "Bodoni Moda", serif;
    font-size: clamp(2.6rem, 7vw, 6.2rem);
    line-height: 0.92;
    pointer-events: none;
}

.ed-veil--cinematic {
    background: rgba(0, 0, 0, 0.42);
}

.ed-cinematic-copy {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 6rem 8%;
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}

.ed-cinematic-kicker {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
}

.ed-cinematic-title {
    margin: 0;
    font-family: "Bodoni Moda", serif;
    font-size: clamp(3.6rem, 10vw, 8rem);
    font-weight: 500;
    line-height: 0.9;
    letter-spacing: -0.02em;
}

.ed-cinematic-lede {
    margin: 0 0 0.4rem;
    max-width: 28rem;
    font-family: "Montserrat", sans-serif;
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
}

.ed-cinematic-copy .ed-explore {
    margin-top: 0.4rem;
}

/* Follow our story — 50/50 Instagram + title */
.ed-follow {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 100vh;
    background: #000;
    gap: var(--ed-grid-gap);
}

@media (min-width: 900px) {
    .ed-follow {
        grid-template-columns: 1fr 1fr;
        min-height: 100vh;
        height: auto;
        overflow: visible;
        align-items: stretch;
    }
}

.ed-follow-media {
    position: relative;
    display: block;
    min-height: 55vh;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

@media (min-width: 900px) {
    .ed-follow-media {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        min-height: 100vh;
        height: auto;
        overflow: visible;
        align-self: stretch;
    }

    .ed-follow-copy {
        min-height: 100%;
        height: auto;
        align-self: stretch;
    }
}

.ed-follow-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ed-follow-media::after,
.ed-post::after {
    content: none;
}

.ed-social-chip {
    position: absolute;
    left: 1.35rem;
    bottom: 1.35rem;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: #fff;
    pointer-events: none;
}

@media (min-width: 900px) {
    .ed-social-chip {
        position: sticky;
        top: calc(var(--ed-header-h) + 1.35rem);
        left: auto;
        bottom: auto;
        align-self: flex-start;
        margin: 1.35rem 0 0 1.35rem;
    }
}

.ed-social-chip-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
}

.ed-social-chip-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.ed-social-chip-copy em {
    position: relative;
    display: inline-block;
    font-style: normal;
    font-family: "Montserrat", sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    line-height: 1.2;
    color: #fff;
    text-decoration: none;
}

.ed-follow-copy {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    background: #000;
    min-height: 45vh;
    padding: 2.4rem 1.6rem 1.8rem;
}

@media (min-width: 900px) {
    .ed-follow-copy {
        min-height: 100%;
        padding: 2.6rem 2.4rem 2.2rem;
    }
}

.ed-follow-copy h2 {
    margin: 0;
    font-family: "Bodoni Moda", serif;
    font-size: clamp(3.8rem, 7.6vw, 7.6rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 0.92;
    text-align: right;
    text-transform: uppercase;
    color: #fff;
}

#cinematic + .ed-follow,
.ed-follow + .ed-posts,
.ed-posts + .ed-comply {
    margin-top: var(--ed-grid-gap);
}

/* Social posts — two full-height cards */
.ed-posts {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 100vh;
    background: #000;
    gap: var(--ed-grid-gap);
}

@media (min-width: 900px) {
    .ed-posts {
        grid-template-columns: 1fr 1fr;
        min-height: 100vh;
        height: auto;
        overflow: visible;
        align-items: stretch;
    }
}

.ed-post {
    position: relative;
    display: block;
    min-height: 50vh;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

@media (min-width: 900px) {
    .ed-post {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        min-height: 100vh;
        height: auto;
        overflow: visible;
        align-self: stretch;
    }
}

.ed-post img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Compliance */
.ed-comply {
    min-height: 0;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.2rem 6% 2.4rem;
}

.ed-comply-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.2rem;
    width: 100%;
    max-width: 1180px;
}

@media (min-width: 900px) {
    .ed-comply-inner {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 3.4rem;
    }
}

.ed-comply h2 {
    margin: 0;
    font-family: "Bodoni Moda", serif;
    font-size: clamp(2.4rem, 5.2vw, 4.7rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 0.95;
    text-align: center;
    text-transform: uppercase;
}

@media (min-width: 900px) {
    .ed-comply h2 {
        text-align: left;
        flex: 0 0 auto;
    }
}

.ed-comply-rule {
    display: block;
    width: 4.5rem;
    height: 1px;
    background: #fff;
    flex-shrink: 0;
}

@media (min-width: 900px) {
    .ed-comply-rule {
        width: 1px;
        height: 8.2rem;
    }
}

.ed-comply-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.15rem;
    flex-wrap: wrap;
}

@media (min-width: 900px) {
    .ed-comply-badges {
        gap: 1.7rem;
        flex-wrap: nowrap;
    }
}

.ed-comply-badges img {
    width: clamp(86px, 12vw, 138px);
    height: auto;
    display: block;
}

/* Footer */
.ed-footer {
    background: #0a0a0a;
    color: #fff;
    padding: 1rem 8% 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ed-footer-grid {
    display: grid;
    gap: 2.5rem;
    padding: 2rem 0 2.5rem;
}

.ed-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    text-align: center;
}

.ed-footer-journal {
    position: relative;
    display: block;
    width: 100%;
    max-width: 260px;
    overflow: hidden;
    aspect-ratio: 2.35 / 1;
    background: #111;
    text-decoration: none !important;
}

.ed-footer-journal-track {
    display: flex;
    width: 500%;
    height: 100%;
    animation: ed-footer-slide 20s ease-in-out infinite;
}

.ed-footer-journal-slide {
    flex: 0 0 20%;
    width: 20%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

@keyframes ed-footer-slide {
    0%,
    16% { transform: translateX(0); }
    20%,
    36% { transform: translateX(-20%); }
    40%,
    56% { transform: translateX(-40%); }
    60%,
    76% { transform: translateX(-60%); }
    80%,
    100% { transform: translateX(-80%); }
}

.ed-footer-journal-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 0.32rem 0.55rem 0.4rem;
    background: rgba(18, 18, 18, 0.62);
    text-align: left;
    pointer-events: none;
}

.ed-footer-journal-title {
    display: block;
    font-family: "Outfit", sans-serif;
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.05;
    text-transform: uppercase;
    color: #fff;
}

.ed-footer-journal-sub {
    display: block;
    margin-top: 0.08rem;
    font-family: "Outfit", sans-serif;
    font-size: 0.58rem;
    font-weight: 300;
    letter-spacing: 0.01em;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.92);
}

@media (prefers-reduced-motion: reduce) {
    .ed-footer-journal-track {
        animation: none;
        width: 100%;
        transform: none;
    }

    .ed-footer-journal-slide {
        display: none;
    }

    .ed-footer-journal-slide:first-child {
        display: block;
        flex: none;
        width: 100%;
    }
}

.ed-footer-wordmark {
    text-align: center;
}

@media (max-width: 799px) {
    .ed-footer-brand {
        order: -1;
    }
}

@media (min-width: 800px) {
    .ed-footer-grid {
        grid-template-columns: 1fr 1.2fr 1fr;
        align-items: start;
    }

    .ed-footer-brand {
        justify-self: center;
        width: 100%;
    }

    .ed-footer-support {
        justify-self: end;
        text-align: right;
    }
}

.ed-footer-wordmark .wm-divine,
.ed-footer-wordmark .wm-teppich {
    font-family: "Abril Fatface", serif;
    font-size: 2.4rem;
    line-height: 0.88;
    text-transform: lowercase;
}

.ed-footer-wordmark .wm-handmade {
    font-family: "Montserrat", sans-serif;
    font-size: 0.58rem;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    margin-top: 0.4rem;
    opacity: 0.8;
}

.ed-footer h5 {
    font-family: "Outfit", sans-serif;
    font-weight: 300;
    font-size: 1.05rem;
    margin-bottom: 0.85rem;
}

.ed-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ed-footer li {
    margin: 0.35rem 0;
}

.ed-footer a,
.ed-footer button {
    font-family: "Outfit", sans-serif;
    font-weight: 200;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.ed-footer a:hover,
.ed-footer button:hover {
    color: #fff;
}

.ed-legal-page {
    padding-top: calc(var(--ed-header-h) + 2.75rem);
}

.ed-legal-page.pl-page,
.pl-page {
    background: #000;
    color: #f7f5f1;
}

.ed-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    justify-content: space-between;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ed-legal a {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.ed-back-top {
    position: fixed;
    right: 1.35rem;
    bottom: 1.35rem;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(212, 175, 55, 0.55);
    border-radius: 999px;
    background: #111;
    color: #d4af37;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ed-back-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.ed-back-top:hover,
.ed-back-top:focus {
    background: #d4af37;
    color: #111;
    border-color: #d4af37;
    outline: none;
}

.ed-back-top svg {
    width: 20px;
    height: 20px;
}

/* Inner-page helpers kept for gallery/product/custom */
.luxury-card {
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.luxury-img {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.luxury-card:hover .luxury-img {
    transform: scale(1.08);
}

.btn-luxury-dark {
    transition: all 0.35s ease;
}

.btn-luxury-dark:hover {
    transform: translateY(-2px);
}

.btn-luxury-outline:hover {
    background: #1e1e1e;
    color: #fff;
}

@media (prefers-reduced-motion: reduce) {
    .ed-bg,
    .ed-card img,
    .ed-follow-media img,
    .ed-post img,
    .ed-mega-card-bg,
    .js-line {
        transform: none !important;
        transition: none !important;
        clip-path: none !important;
    }

    @media (min-width: 900px) {
        .ed-card,
        .ed-taste-media,
        .ed-follow-media,
        .ed-post {
            min-height: 100vh;
            height: auto;
        }

        .ed-card-copy,
        .ed-taste-overlay {
            position: absolute;
            top: auto;
            bottom: 0;
            margin-top: 0;
        }

        .ed-social-chip {
            position: absolute;
            top: auto;
            left: 1.35rem;
            bottom: 1.35rem;
            margin: 0;
        }
    }
}
