/* ===================================================================
   diam Systems – Main Stylesheet
   Inspired by editorial minimalism: sharp corners, CSS custom
   properties, lightweight typography, generous whitespace.
   =================================================================== */

/* ----- Local Fonts ----- */
@font-face {
    font-family: 'Instrument Serif';
    src: url('../fonts/InstrumentSerif-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Instrument Serif';
    src: url('../fonts/InstrumentSerif-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Inter Display';
    src: url('../fonts/InterDisplay-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter Display';
    src: url('../fonts/InterDisplay-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter Display';
    src: url('../fonts/InterDisplay-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter Display';
    src: url('../fonts/InterDisplay-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter Display';
    src: url('../fonts/InterDisplay-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter Display';
    src: url('../fonts/InterDisplay-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter Display';
    src: url('../fonts/InterDisplay-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ----- Custom Properties ----- */
:root {
    color-scheme: light;

    /* Neutrals */
    --background: #ffffff;
    --surface: #fafafa;
    --card: #ffffff;

    /* Brand accent (hot pink) */
    --accent: #FF0060;
    --accent-hover: #e00055;
    --accent-muted: rgba(255, 0, 96, 0.10);

    /* Warning / alert (amber) */
    --warning: #EAA800;
    --warning-hover: #d49a00;
    --warning-muted: rgba(234, 168, 0, 0.10);

    /* Text */
    --text: #111111;
    --text-secondary: #333333;
    --text-muted: #777777;
    --text-faint: #aaaaaa;

    /* Borders */
    --border: rgba(0, 0, 0, 0.10);
    --border-hover: rgba(0, 0, 0, 0.20);

    /* Layout */
    --radius: 0px;
    --max-width: 1200px;

    /* Typography */
    font-family: 'Inter Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    font-weight: 300;
}

/* ----- Image protection ----- */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    -webkit-user-select: none;
    user-select: none;
}

/* ----- Reset ----- */
*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: var(--background);
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    color: var(--text);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

::selection {
    background: var(--accent);
    color: #ffffff;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

img {
    max-width: 100%;
    display: block;
    image-rendering: auto;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: 300;
    line-height: 1.15;
}

p { margin: 0; }

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    text-decoration: none;
}

input, div, span, a {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* ===================================================================
   SITE HEADER – inspo-matched white bar
   =================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 60px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transform: translateY(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.is-visible {
    transform: translateY(0);
}

/* ----- Header Left (comma-separated nav) ----- */

.header-left {
    display: flex;
    align-items: center;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

.header-nav__link {
    font-size: 1rem;
    font-weight: 300;
    color: var(--text);
    text-decoration: none;
    transition: opacity 0.15s;
}

.header-nav__link:hover {
    opacity: 0.6;
}

.header-nav__sep {
    font-size: 1rem;
    font-weight: 300;
    color: var(--text);
    margin-right: 0.35rem;
}

/* ----- Header Logo (centered) ----- */

.header-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    text-decoration: none;
}

.header-logo__img {
    height: 28px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* ----- Header Right (icon buttons) ----- */

.header-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-icon-btn {
    background: transparent;
    border: none;
    color: var(--text);
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.15s;
    text-decoration: none;
}

.header-icon-btn:hover {
    opacity: 0.5;
}

/* Main content area padding for fixed header */
main {
    padding-top: 60px;
}

/* ===================================================================
   HAMBURGER OVERLAY – full-screen menu
   =================================================================== */

.hamburger-overlay {
    position: fixed;
    inset: 0;
    background: #ffffff;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s cubic-bezier(0.19, 1, 0.22, 1),
        visibility 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.hamburger-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.hamburger-overlay__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    flex-shrink: 0;
}

.hamburger-overlay__header .header-logo {
    position: static;
    transform: none;
}

.hamburger-overlay__icons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hamburger-close {
    background: transparent;
    border: none;
    color: var(--text);
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.15s;
    transform: rotate(0deg);
}

.hamburger-overlay.is-active .hamburger-close {
    transform: rotate(90deg);
}

.hamburger-close:hover {
    opacity: 0.5;
}

.hamburger-overlay__nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
    padding: 2rem 0;
}

.hamburger-overlay__body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .hamburger-overlay__body {
        flex-direction: row;
        gap: 4rem;
        align-items: center;
        overflow: visible;
    }
}

.hamburger-overlay__products {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 0;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
}

@media (min-width: 768px) {
    .hamburger-overlay__products {
        padding: 0;
        justify-content: center;
        flex: 1;
        gap: 1.5rem;
        overflow: visible;
    }
}

.hamburger-product-card {
    flex: 0 0 auto;
    width: calc((100vw - 4rem) / 3);
    max-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.15s;
}

.hamburger-product-card:hover {
    opacity: 0.6;
}

.hamburger-product-card__img {
    aspect-ratio: 3 / 4;
    width: 100%;
    background: var(--surface, #f5f5f5);
    overflow: hidden;
}

@media (min-width: 768px) {
    .hamburger-product-card {
        width: auto;
        max-width: none;
    }
    .hamburger-product-card__img {
        width: 240px;
    }
}

.hamburger-product-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hamburger-product-card__info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.hamburger-product-card__name {
    font-size: 0.9rem;
    font-weight: 400;
    margin: 0;
    line-height: 1.3;
    text-transform: lowercase;
}

@media (min-width: 768px) {
    .hamburger-product-card__name {
        font-size: 1rem;
    }
}

.hamburger-product-card__price {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text-muted);
}

@media (min-width: 768px) {
    .hamburger-product-card__price {
        font-size: 0.95rem;
    }
}

.hamburger-overlay__link {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 300;
    color: var(--text);
    text-decoration: none;
    line-height: 1.1;
    transition: color 0.2s, transform 0.6s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    transform: translateY(20px);
    opacity: 0;
}

.hamburger-overlay.is-active .hamburger-overlay__link {
    transform: translateY(0);
    opacity: 1;
}

/* Staggered reveal for links */
.hamburger-overlay.is-active .hamburger-overlay__link:nth-child(1) { transition-delay: 0.1s; }
.hamburger-overlay.is-active .hamburger-overlay__link:nth-child(2) { transition-delay: 0.15s; }
.hamburger-overlay.is-active .hamburger-overlay__link:nth-child(3) { transition-delay: 0.2s; }
.hamburger-overlay.is-active .hamburger-overlay__link:nth-child(4) { transition-delay: 0.25s; }
.hamburger-overlay.is-active .hamburger-overlay__link:nth-child(5) { transition-delay: 0.3s; }
.hamburger-overlay.is-active .hamburger-overlay__link:nth-child(6) { transition-delay: 0.35s; }

/* Hover: mute siblings, accent on hovered */
.hamburger-overlay__nav:hover .hamburger-overlay__link {
    color: var(--text-muted);
}

.hamburger-overlay__nav .hamburger-overlay__link:hover {
    color: var(--accent);
    opacity: 1;
}

.hamburger-overlay__footer {
    padding: 1.5rem 0;
    flex-shrink: 0;
}

.hamburger-overlay__footer-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.hamburger-overlay__footer-links a {
    font-size: 1rem;
    font-weight: 300;
    color: var(--text);
    text-decoration: none;
    transition: opacity 0.15s;
}

.hamburger-overlay__footer-links a:hover {
    opacity: 0.5;
}

/* ===================================================================
   SEARCH DROPDOWN BAR – slides from top
   =================================================================== */

.search-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1200;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px) saturate(1.5);
    -webkit-backdrop-filter: blur(24px) saturate(1.5);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.search-bar.is-active {
    transform: translateY(0);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.search-bar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.search-bar__form {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 900px;
}

.search-bar__form input::-webkit-search-decoration,
.search-bar__form input::-webkit-search-cancel-button,
.search-bar__form input::-webkit-search-results-button,
.search-bar__form input::-webkit-search-results-decoration {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

.search-bar__form input {
    width: 100%;
    background: transparent;
    border: none;
    font-family: inherit;
    font-size: 1.75rem;
    font-weight: 300;
    color: var(--text);
    padding: 0.5rem 0;
    outline: none;
    text-transform: lowercase;
    text-align: center;
}

.search-bar__form input::placeholder {
    color: var(--text-muted);
    opacity: 0.4;
}

.search-bar__close {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text);
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: clamp(1.5rem, 5vw, 4rem);
    top: 50%;
    transform: translateY(-50%);
    transition: opacity 0.2s, transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.search-bar__close:hover {
    opacity: 0.6;
    transform: translateY(-50%) rotate(90deg);
}

/* ----- Search Results (inside dropdown) ----- */

.search-bar__results {
    padding: 0 clamp(1.5rem, 5vw, 4rem) 2rem;
    overflow-y: auto;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.search-bar__empty {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 300;
    padding: 1rem 0;
    margin: 0;
}

.search-result-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    opacity: 0.6;
}

.search-result-item__title {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text);
    margin: 0;
    line-height: 1.3;
}

.search-result-item__snippet {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
    font-weight: 300;
}

/* ----- Search product cards ----- */

.search-products {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
}

.search-product-card {
    flex: 0 0 120px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.15s;
}

.search-product-card:hover { opacity: 0.7; }

.search-product-card__img {
    aspect-ratio: 3 / 4;
    background: var(--surface, #f5f5f5);
    overflow: hidden;
    margin-bottom: 0.4rem;
}

.search-product-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-product-card__info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.search-product-card__name {
    font-size: 0.65rem;
    font-weight: 400;
    margin: 0;
    line-height: 1.3;
    text-transform: lowercase;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-product-card__price {
    font-size: 0.6rem;
    font-weight: 300;
    color: var(--text-muted);
}

.search-product-card__oos {
    font-size: 0.55rem;
    font-weight: 300;
    color: #c0392b;
    text-transform: lowercase;
}

.search-divider {
    height: 1px;
    background: var(--border);
    margin: 1rem 0 0.5rem;
}

/* ===================================================================
   MOBILE BOTTOM NAV – removed; desktop header used on all breakpoints
   =================================================================== */

/* .mobile-nav – removed */
.mobile-nav {
    display: none;
}

._mobile-nav-legacy {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    justify-content: space-around;
    align-items: center;
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    padding: 0.6rem 0.5rem calc(0.6rem + var(--safe-bottom));
    background: rgba(255, 255, 255, 0.85);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 900;
    min-height: calc(56px + var(--safe-bottom));
    -webkit-touch-callout: none;
    touch-action: manipulation;
}

.mobile-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    color: var(--text-muted);
    font-size: 0.6rem;
    font-weight: 400;
    text-transform: lowercase;
    letter-spacing: 0.06em;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.15s ease;
    -webkit-tap-highlight-color: transparent;
    padding: 0.25rem 0;
    font-family: inherit;
}

.mobile-nav__item:active {
    transform: scale(0.88);
}

.mobile-nav__item span {
    font-size: 0.6rem;
    letter-spacing: 0.08em;
}

.mobile-nav__icon {
    width: 22px;
    height: 22px;
    stroke-width: 1.4;
    stroke: currentColor;
    fill: none;
    transition: stroke-width 0.2s ease;
}

.mobile-nav__item.is-active {
    color: var(--text);
}

.mobile-nav__item.is-active .mobile-nav__icon {
    stroke-width: 2;
}

/* ===================================================================
   RESPONSIVE — Tablet (≤ 900px)
   =================================================================== */

@media (max-width: 900px) {
    .site-header {
        padding: 0 1rem;
    }

    .header-nav {
        display: none;
    }

    .footer__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .editorial-cols {
        grid-template-columns: 1fr 1fr;
    }

    .lnd-values {
        grid-template-columns: 1fr 1fr;
    }

    .lnd-showcase__trio {
        grid-template-columns: 1fr 1fr;
    }

    .lnd-card--featured {
        flex-direction: column;
    }

    .lnd-card--featured .lnd-card__img {
        min-height: 240px;
    }
}

/* ===================================================================
   RESPONSIVE — Mobile (≤ 768px): compact header, hide nav links
   =================================================================== */

@media (max-width: 768px) {
    .site-header {
        display: flex;
        padding: 0 1rem;
    }

    .header-nav {
        display: none;
    }

    main {
        padding-top: 3.5rem;
    }

    .search-bar__inner {
        height: 80px;
    }

    .search-bar__form input {
        font-size: 1.35rem;
    }
}

@media (max-width: 480px) {
    .hamburger-overlay__link {
        font-size: 2.5rem;
        letter-spacing: -0.02em;
    }

    .hamburger-overlay__footer-links a {
        font-size: 2.5rem;
    }

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

/* ===================================================================
   EYEBROW LABEL (reusable small uppercase label)
   =================================================================== */

.eyebrow {
    text-transform: lowercase;
    letter-spacing: 0.06em;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    margin: 0 0 0.5rem;
    display: block;
}

/* ===================================================================
   HERO CAROUSEL (Home page — editorial full-bleed)
   =================================================================== */

.hero-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-carousel__track {
    width: 100%;
}

.hero-carousel__track::after { content: ''; display: block; clear: both; }

/* --- Individual slide --- */

.hero-slide {
    width: 100%;
    min-height: 75vh;
    position: relative;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide__scrim {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    pointer-events: none;
}

.hero-slide__scrim--light {
    background: rgba(255, 255, 255, 0.35);
}

/* --- Slide content --- */

.hero-slide__content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 5rem);
    color: var(--text);
}

.hero-slide__content--white {
    color: #ffffff;
}

.hero-slide__heading {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    font-style: normal;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 0 0 1.25rem;
}

.hero-slide__heading strong {
    font-weight: 400;
    font-style: italic;
}

.hero-slide__sub {
    font-family: 'Inter Display', sans-serif;
    font-size: clamp(0.85rem, 1.3vw, 1rem);
    font-weight: 300;
    line-height: 1.65;
    opacity: 0.8;
    margin: 0 0 1.5rem;
    max-width: 520px;
}

.hero-slide__link {
    font-family: 'Inter Display', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: opacity 0.15s;
}

.hero-slide__link:hover {
    opacity: 0.7;
}

/* --- Full-image slide (clickable banner) --- */

.hero-slide--fullimg {
    display: block;
    text-decoration: none;
    padding: 0;
    min-height: 0;
    cursor: pointer;
    overflow: hidden;
}

.hero-slide__fullimg {
    display: block;
    width: 100%;
    height: 75vh;
    object-fit: cover;
    object-position: center;
}

/* --- Split slide (text + side image) --- */

.hero-slide--split {
    align-items: center;
    justify-content: space-between;
    gap: 0;
}

.hero-slide--split .hero-slide__content {
    flex: 0 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: clamp(3rem, 6vw, 5rem);
    padding-bottom: clamp(3rem, 6vw, 5rem);
}

.hero-slide__media {
    flex: 0 1 45%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.hero-slide__media img {
    max-width: 100%;
    max-height: 55vh;
    object-fit: contain;
    display: block;
}

/* Image on the left: reverse the order */
.hero-slide--img-left {
    flex-direction: row-reverse;
}

@media (max-width: 768px) {
    .hero-slide--split {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-slide--split .hero-slide__content {
        flex: none;
        width: 100%;
    }

    .hero-slide__media {
        flex: none;
        width: 100%;
        padding: 0 clamp(2rem, 5vw, 5rem) 2rem;
    }

    .hero-slide__media img {
        max-height: 35vh;
    }

    .hero-slide--img-left {
        flex-direction: column;
    }
}

/* --- Carousel custom UI (counter + arrows) --- */

.hero-carousel__ui {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: clamp(1rem, 2.5vw, 1.75rem);
    pointer-events: none;
}

.hero-carousel__counter {
    display: flex;
    align-items: center;
    gap: 6px;
    pointer-events: auto;
}

.hero-carousel__counter span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: background 0.25s;
    font-size: 0;
    padding: 0;
}

.hero-carousel__counter span.is-active {
    background: #fff;
}

.hero-carousel__counter span.is-active::after {
    display: none;
}

/* Light-slide counter override */
.hero-carousel[data-slide-theme="light"] .hero-carousel__counter span {
    background: rgba(0,0,0,0.2);
}
.hero-carousel[data-slide-theme="light"] .hero-carousel__counter span.is-active {
    background: var(--text);
}

.hero-carousel__arrow {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    transition: background 0.2s;
}

.hero-carousel__arrow:hover {
    background: rgba(255,255,255,0.35);
}

.hero-carousel__arrow svg {
    display: block;
}

.hero-carousel[data-slide-theme="light"] .hero-carousel__arrow {
    background: rgba(0,0,0,0.08);
    color: var(--text);
}

.hero-carousel[data-slide-theme="light"] .hero-carousel__arrow:hover {
    background: rgba(0,0,0,0.15);
}

/* Hide Flickity default dots and buttons */
.hero-carousel .flickity-page-dots,
.hero-carousel .flickity-prev-next-button {
    display: none;
}

.hide-mobile { display: inline; }

/* ===================================================================
   LANDING STATEMENT
   =================================================================== */

.lnd-statement {
    padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 4rem);
    border-top: 1px solid var(--border);
}

.lnd-statement__inner {
    max-width: 750px;
    margin: 0 auto;
}

.lnd-statement__heading {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--text);
    margin: 0 0 1.25rem;
}

.lnd-statement__body {
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    font-weight: 300;
    line-height: 1.75;
    color: var(--text-secondary);
    margin: 0 0 2rem;
}

.lnd-statement__rule {
    width: 40px;
    height: 1px;
    background: var(--border);
}

/* ===================================================================
   PRODUCT SHOWCASE (Home page cards)
   =================================================================== */

.lnd-showcase {
    padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 4rem);
    max-width: var(--max-width);
    margin: 0 auto;
}

.lnd-showcase__header {
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.lnd-showcase__title {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--text);
    margin: 0;
}

.lnd-showcase__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.lnd-card--featured {
    flex-direction: row;
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.lnd-card--featured .lnd-card__img {
    flex: 1.2;
    aspect-ratio: auto;
    min-height: 320px;
}

.lnd-card--featured .lnd-card__body {
    flex: 1;
    justify-content: center;
    padding: clamp(1.5rem, 3vw, 2.5rem);
}

.lnd-card--featured .lnd-card__title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

.lnd-showcase__trio {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.lnd-card__img--contain {
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.lnd-card__img--contain img {
    object-fit: contain;
    width: 60%;
    height: 80%;
}

.lnd-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--border);
    transition: border-color 0.2s, transform 0.2s;
    overflow: hidden;
}

.lnd-card:hover {
    border-color: var(--text);
    transform: translateY(-3px) rotate(-0.5deg);
}

.lnd-card__img {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--surface);
}

.lnd-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.lnd-card:hover .lnd-card__img img {
    transform: scale(1.03);
}

.lnd-card__body {
    padding: clamp(1.25rem, 2vw, 1.75rem);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.lnd-card__title {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 300;
    color: var(--text);
    margin: 0 0 0.5rem;
    text-transform: lowercase;
    letter-spacing: -0.02em;
}

.lnd-card__body p {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0 0 1rem;
    flex: 1;
}

/* ===================================================================
   VALUE PILLARS (Three columns)
   =================================================================== */

.lnd-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 3vw, 3rem);
    max-width: var(--max-width);
    margin: 0 auto;
    padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 4rem);
    border-top: 1px solid var(--border);
}

.lnd-value {
    display: flex;
    flex-direction: column;
}

.lnd-value__number {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.lnd-value__title {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 400;
    color: var(--text);
    margin: 0 0 0.5rem;
    text-transform: lowercase;
    line-height: 1.25;
}

.lnd-value p,
.lnd-values p {
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.65;
    color: var(--text-secondary);
    margin: 0;
}

/* ===================================================================
   PARALLAX BREAK
   =================================================================== */

.lnd-parallax {
    position: relative;
    width: 100%;
    min-height: 50vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lnd-parallax__scrim {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.lnd-parallax__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 4rem);
}

.lnd-parallax__heading {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    font-style: italic;
    color: #fff;
    letter-spacing: -0.01em;
    margin: 0;
    line-height: 1.15;
}

/* ===================================================================
   PLAYFUL ACCENT INTERLUDE
   =================================================================== */

.lnd-accent {
    background: var(--accent);
    color: #111;
    display: flex;
    align-items: center;
    min-height: 380px;
    overflow: hidden;
    position: relative;
}

.lnd-accent__media {
    flex: 1;
    min-height: 380px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lnd-accent__media img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    display: block;
}

.lnd-accent__text {
    flex: 1;
    padding: clamp(2rem, 4vw, 3.5rem) clamp(2rem, 5vw, 5rem);
    text-align: right;
}

.lnd-accent__heading {
    font-family: 'Inter Display', sans-serif;
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 300;
    line-height: 1.05;
    margin: 0 0 0.25rem;
    color: #111;
    letter-spacing: -0.03em;
}

.lnd-accent__sub {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    font-weight: 300;
    line-height: 1.5;
    color: #111;
    margin: 0 0 0.35rem;
}

.lnd-accent__link {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.15s;
}

.lnd-accent__link:hover {
    opacity: 0.7;
}

/* ===================================================================
   PRODUCT GRID (3-up cards)
   =================================================================== */

.lnd-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
}

.lnd-grid__card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}

.lnd-grid__card:hover {
    opacity: 0.85;
}

.lnd-grid__body {
    padding: clamp(1rem, 2.5vw, 1.5rem) clamp(1.25rem, 3vw, 2rem);
}

.lnd-grid__title {
    font-family: 'Inter Display', sans-serif;
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    font-weight: 400;
    letter-spacing: -0.01em;
    margin: 0 0 0.15rem;
    color: var(--text);
}

.lnd-grid__body p {
    font-size: 0.8rem;
    font-weight: 300;
    line-height: 1.5;
    color: var(--text-secondary);
    margin: 0 0 0.5rem;
}

.lnd-grid__link {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--accent);
    text-decoration: none;
}

.lnd-grid__img {
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 3vw, 2rem);
    overflow: hidden;
}

.lnd-grid__img img {
    max-width: 85%;
    max-height: 320px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* ===================================================================
   BOTTOM CTA
   =================================================================== */

.lnd-bottom-cta {
    padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 4vw, 4rem);
    text-align: center;
    border-top: 1px solid var(--border);
}

.lnd-bottom-cta__inner {
    max-width: 600px;
    margin: 0 auto;
}

.lnd-bottom-cta__heading {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--text);
    letter-spacing: -0.01em;
    margin: 0 0 0.75rem;
    line-height: 1.15;
}

.lnd-bottom-cta__sub {
    font-size: clamp(0.9rem, 1.3vw, 1rem);
    font-weight: 300;
    line-height: 1.65;
    color: var(--text-secondary);
    margin: 0 0 2rem;
}

.lnd-bottom-cta__actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ===================================================================
   BUTTONS
   =================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border: 2px solid var(--text);
    background: var(--text);
    color: var(--background);
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
    font-family: inherit;
    font-weight: 300;
    text-transform: lowercase;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: opacity 0.15s ease;
    text-decoration: none;
}

.btn:hover {
    opacity: 0.85;
    text-decoration: none;
    color: var(--background);
}

.btn:active {
    opacity: 0.7;
}

.btn--accent {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.btn--accent:hover {
    opacity: 0.85;
    color: #fff;
}

.btn--ghost {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--text);
}

.btn--ghost:hover {
    opacity: 0.7;
}

.btn-lg {
    padding: 1.1rem 3rem;
    font-size: 1.05rem;
}

/* Override Gumroad default button styling */
.gumroad-button.btn {
    background: var(--text) !important;
    color: var(--background) !important;
    padding: 0.85rem 2.5rem !important;
    font-family: inherit !important;
    font-size: inherit !important;
}

/* Badge (e.g. "Coming Soon") */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.85rem;
    background: var(--accent-muted);
    font-size: 0.65rem;
    text-transform: lowercase;
    letter-spacing: 0.06em;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1.25rem;
    border-radius: 999px;
}

/* ===================================================================
   PRODUCT HERO (Product pages)
   =================================================================== */

.product-hero {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 4rem);
    display: flex;
    align-items: center;
    gap: clamp(2rem, 4vw, 4rem);
}

.product-hero--wide {
    max-width: none;
    padding-left: clamp(2rem, 5vw, 6rem);
    padding-right: clamp(2rem, 5vw, 6rem);
}

.product-hero__text {
    flex: 1;
    min-width: 280px;
}

.product-hero__title {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--text);
    margin: 0 0 1rem;
}

.product-hero__logo {
    max-height: 48px;
    width: auto;
    margin-bottom: 1.25rem;
    display: block;
}

.product-hero__sub {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0 0 1.5rem;
}

.product-hero__media {
    flex: 1;
    min-width: 0;
}

.product-hero__media img {
    width: 100%;
    object-fit: cover;
    display: block;
}

/* ===================================================================
   EDITORIAL FEATURE (alternating image + text rows)
   =================================================================== */

.editorial-feature {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 4rem);
    display: flex;
    align-items: center;
    gap: clamp(2rem, 4vw, 4rem);
    border-top: 1px solid var(--border);
}

.editorial-feature--reverse {
    flex-direction: row-reverse;
}

.editorial-feature__media {
    flex: 1;
    min-width: 0;
}

.editorial-feature__media img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.editorial-feature__media--full {
    flex: none;
    width: 100%;
}

.editorial-feature__text {
    flex: 1;
    min-width: 280px;
    position: relative;
}

.editorial-feature__text h2 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 400;
    margin: 0 0 0.75rem;
    color: var(--text);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.editorial-feature__text p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0 0 1.25rem;
    color: var(--text-secondary);
    font-weight: 300;
}

/* Watermark eyebrow – large faded label behind content */
.editorial-feature__text .eyebrow {
    position: absolute;
    top: -0.15em;
    left: -0.05em;
    font-family: 'Inter Display', sans-serif;
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 300;
    letter-spacing: -0.03em;
    color: rgba(0, 0, 0, 0.10);
    line-height: 1;
    margin: 0;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    z-index: 0;
}

.editorial-feature__text h2,
.editorial-feature__text p {
    position: relative;
    z-index: 1;
}

/* ===================================================================
   EDITORIAL SECTION (header + columns)
   =================================================================== */

.editorial-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 4rem);
    border-top: 1px solid var(--border);
}

.editorial-section__header {
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.editorial-section__header h2 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--text);
    margin: 0;
}

.editorial-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 3vw, 3rem);
}

.editorial-col h3 {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    font-weight: 400;
    color: var(--text);
    margin: 0 0 0.5rem;
    text-transform: lowercase;
    line-height: 1.25;
}

.editorial-col p {
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.65;
    color: var(--text-secondary);
    margin: 0;
}

.editorial-col__img {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    margin-bottom: 1rem;
    background: var(--surface);
}

.editorial-col__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===================================================================
   ENTERPRISE HERO
   =================================================================== */

.enterprise-hero {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 420px;
    padding: clamp(4rem, 8vw, 6rem) clamp(1.5rem, 4vw, 4rem);
    overflow: hidden;
}

.enterprise-hero .cell-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.75)),
                url('../images/server-room.jpg') center/cover no-repeat;
    z-index: 1;
}

.enterprise-info {
    position: relative;
    z-index: 2;
    max-width: 600px;
    text-align: center;
}

.enterprise-info h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 200;
    margin-bottom: 1rem;
    color: #fff;
    text-transform: lowercase;
    letter-spacing: -0.03em;
}

.enterprise-info p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
    font-weight: 300;
}

/* ===================================================================
   ABOUT & CONTACT PAGES – editorial layout
   =================================================================== */

.about-container,
.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 4rem);
}

.about-container h1,
.contact-container h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 200;
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--text);
    text-transform: lowercase;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.about-container p,
.contact-container p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.contact-details {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    border-top: 1px solid var(--border);
}

.contact-details li {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.contact-details li strong {
    font-weight: 500;
    color: var(--text);
    text-transform: lowercase;
}

.contact-details li a {
    color: var(--text);
    text-decoration: underline;
    text-decoration-color: var(--border);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s;
}

.contact-details li a:hover {
    text-decoration-color: var(--text);
}

/* ----- Contact Form – editorial bottom-border inputs ----- */

.contact-form {
    max-width: 600px;
    margin: 0 auto clamp(3rem, 6vw, 5rem);
    padding: 0 clamp(1.5rem, 4vw, 4rem);
}

.contact-form .form-group {
    margin-bottom: 1.75rem;
}

.contact-form label {
    display: block;
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: lowercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 0;
    border: none;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 300;
    outline: none;
    transition: border-color 0.3s ease;
    color: var(--text);
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-faint);
    font-weight: 300;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-bottom-color: var(--text);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
    margin-top: 0.5rem;
}

.success-message {
    padding: 1.25rem 1.5rem;
    border-left: 3px solid var(--text);
    margin-bottom: 2rem;
    background: var(--surface);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 400;
}

/* ===================================================================
   BESPOKE FORM SECTION
   =================================================================== */

.bespoke-form-section {
    max-width: 780px;
    margin: 0 auto;
    padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 4rem);
}

.bespoke-form-section__header {
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.bespoke-form-section__header .lnd-statement__heading {
    margin-bottom: 0.75rem;
}

.bespoke-form-section__header .lnd-statement__body {
    max-width: 520px;
}

.form-row {
    display: flex;
    gap: clamp(1rem, 3vw, 2rem);
}

.form-group--half {
    flex: 1;
}

.form-phone {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.form-phone__prefix {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-secondary);
    padding: 0.75rem 0.5rem 0.75rem 0;
    flex-shrink: 0;
}

.form-phone input {
    border-bottom: none !important;
    flex: 1;
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* ===================================================================
   FEATURE LIST
   =================================================================== */

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.feature-list li {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
    font-weight: 300;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    line-height: 1.5;
}

.feature-list li::before {
    content: '\2014';
    color: var(--text-faint);
    flex-shrink: 0;
}

/* ===================================================================
   FOOTER – inspo-matched 5-column grid
   =================================================================== */

.site-footer {
    background: #ededed;
    color: var(--text);
    border-top: none;
    margin-top: 3rem;
    padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 4rem) clamp(1.5rem, 3vw, 2rem);
    max-width: none;
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: clamp(1.5rem, 3vw, 3rem);
    margin-bottom: 2.5rem;
    padding-bottom: 0;
    border-bottom: none;
}

.footer__section {
    display: flex;
    flex-direction: column;
}

.footer__heading {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 200;
    color: var(--text);
    margin: 0 0 0.75rem;
    line-height: 1.1;
}

.footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.footer__list a {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 300;
    text-decoration: none;
    transition: opacity 0.15s;
}

.footer__list a:hover {
    opacity: 0.5;
}

/* Footer email section */
.footer__email-form {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.footer__email-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.4rem 0;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text);
    outline: none;
}

.footer__email-input::placeholder {
    color: var(--text-muted);
}

.footer__email-input:focus {
    border-bottom-color: var(--text);
}

.footer__email-note {
    font-size: 0.6rem;
    color: var(--text-faint, rgba(0,0,0,0.35));
    font-weight: 300;
}

/* Footer centered logo */
.footer__logo-center {
    display: flex;
    justify-content: center;
    padding: 2.5rem 0 1.5rem;
}

.footer__logo-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--text);
    transition: opacity 0.15s;
}

.footer__logo-link:hover {
    opacity: 0.6;
}

.footer__logo-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.footer__logo-text {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: lowercase;
}

/* Footer bottom bar */
.footer__bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding-top: 1rem;
}

.footer__copyright {
    font-size: 0.6rem;
    font-weight: 300;
    color: var(--text-faint, rgba(0,0,0,0.35));
    margin: 0;
    max-width: 500px;
    line-height: 1.4;
    text-align: center;
}

.footer__copyright a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.footer__copyright a:hover {
    color: var(--text);
}

.footer__legal {
    display: flex;
    gap: 0;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0.4rem;
}

.footer__legal a {
    font-size: 0.55rem;
    font-weight: 300;
    color: var(--text-faint, rgba(0,0,0,0.35));
    text-decoration: none;
    transition: color 0.2s;
    letter-spacing: 0.03em;
}

.footer__legal a:hover {
    color: var(--text);
}

.footer__legal a + a::before {
    content: "·";
    margin: 0 0.5rem;
    color: var(--text-faint, rgba(0,0,0,0.25));
    pointer-events: none;
}

/* ===================================================================
   LEGAL & PRESS PAGES – long-form content
   =================================================================== */

.legal-container {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 4rem) clamp(4rem, 8vw, 7rem);
}

.legal-container h2 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-weight: 400;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    margin: 2.5rem 0 0.75rem;
    color: var(--text);
}

.legal-container h3 {
    font-family: 'Inter Display', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: lowercase;
    letter-spacing: 0.04em;
    margin: 1.75rem 0 0.5rem;
    color: var(--text);
}

.legal-container p {
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin: 0 0 1rem;
    font-weight: 300;
}

.legal-container ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
}

.legal-container ul li {
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--text-secondary);
    font-weight: 300;
    padding-left: 1rem;
    position: relative;
}

.legal-container ul li::before {
    content: "–";
    position: absolute;
    left: 0;
    color: var(--text-faint);
}

.legal-container a {
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-container a:hover {
    opacity: 0.6;
}

.legal-container .btn {
    margin: 1.5rem 0;
    display: inline-block;
    text-decoration: none;
    color: var(--background);
}

/* ===================================================================
   REGION / LANGUAGE SELECTOR PAGE
   =================================================================== */

.region-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: clamp(5rem, 10vw, 8rem) clamp(1.5rem, 4vw, 4rem) clamp(4rem, 8vw, 7rem);
}

.region-page__title {
    font-family: 'Instrument Serif', Georgia, serif;
    font-weight: 400;
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: var(--text);
    margin-bottom: 3rem;
    text-align: center;
}

.region-section {
    margin-bottom: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.region-section:first-of-type {
    border-top: none;
    padding-top: 0;
}

.region-section__heading {
    font-family: 'Inter Display', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
    text-transform: lowercase;
    letter-spacing: 0.06em;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.region-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.5rem;
}

.region-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text);
    transition: background 0.2s, transform 0.15s;
}

.region-item:hover {
    background: rgba(0, 0, 0, 0.03);
    transform: scale(1.01);
}

.region-item--active {
    background: rgba(0, 0, 0, 0.04);
}

.region-item__flag {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    pointer-events: auto;
}

.region-item__name {
    font-family: 'Inter Display', sans-serif;
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1.3;
    display: flex;
    flex-direction: column;
}

.region-item__lang {
    font-size: 0.62rem;
    font-weight: 300;
    color: var(--text-muted);
    margin-top: 0.1rem;
}

@media (max-width: 600px) {
    .region-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===================================================================
   RTL SUPPORT
   =================================================================== */

[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .header-left {
    order: 2;
}

[dir="rtl"] .header-right {
    order: 0;
}

[dir="rtl"] .header-nav__link {
    direction: rtl;
}

[dir="rtl"] .footer__grid {
    direction: rtl;
}

[dir="rtl"] .region-item {
    flex-direction: row-reverse;
}

[dir="rtl"] .region-item__name {
    text-align: right;
}

[dir="rtl"] .lnd-statement__heading,
[dir="rtl"] .lnd-statement__body {
    text-align: right;
}

/* ===================================================================
   FOOTER ACTION BUTTONS (region + dyslexia)
   =================================================================== */

.footer__bottom--actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 1.2rem 0 0.5rem;
    flex-wrap: wrap;
}

.footer__region-btn,
.footer__dyslexia-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0;
    border: none;
    background: transparent;
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 0.85rem;
    font-style: italic;
    font-weight: 400;
    color: var(--text);
    text-decoration: none;
    cursor: pointer;
    opacity: 0.65;
    transition: opacity 0.2s;
}

.footer__region-btn:hover,
.footer__dyslexia-btn:hover {
    opacity: 1;
}

.footer__dyslexia-btn[aria-pressed="true"] {
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer__dyslexia-btn[aria-pressed="true"] svg {
    stroke: currentColor;
}

/* ===================================================================
   DYSLEXIA-FRIENDLY MODE
   =================================================================== */

body.dyslexia-mode {
    --font-sans: 'OpenDyslexic', sans-serif;
    --font-serif: 'OpenDyslexic', serif;
    letter-spacing: 0.04em;
    word-spacing: 0.12em;
}

body.dyslexia-mode *:not(.header-logo__img):not(.footer__logo-icon):not(svg):not(path):not(circle):not(line):not(polyline):not(polygon) {
    font-family: 'OpenDyslexic', sans-serif !important;
}

body.dyslexia-mode .lnd-statement__heading,
body.dyslexia-mode .product-hero__title,
body.dyslexia-mode .hero-slide__heading,
body.dyslexia-mode .region-page__title,
body.dyslexia-mode .lnd-bottom-cta__heading,
body.dyslexia-mode .lnd-accent__heading {
    font-style: italic;
    font-weight: 700;
    letter-spacing: 0.01em;
}

body.dyslexia-mode p,
body.dyslexia-mode li,
body.dyslexia-mode .lnd-statement__body,
body.dyslexia-mode .product-hero__sub,
body.dyslexia-mode .hero-slide__sub,
body.dyslexia-mode .editorial-feature__text p,
body.dyslexia-mode .about-container p {
    line-height: 1.9;
    letter-spacing: 0.035em;
    word-spacing: 0.15em;
}

body.dyslexia-mode h1,
body.dyslexia-mode h2,
body.dyslexia-mode h3 {
    letter-spacing: 0.02em;
    line-height: 1.4;
}

body.dyslexia-mode .header-nav__link,
body.dyslexia-mode .footer__heading,
body.dyslexia-mode .eyebrow {
    letter-spacing: 0.06em;
}

/* ===================================================================
   SITE POPUPS (cookie consent + idle alert)
   =================================================================== */

.site-popup {
    position: fixed;
    z-index: 9999;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    box-shadow: 8px 8px 30px rgba(0, 0, 0, 0.25);
    display: none;
    flex-direction: column;
    gap: 1rem;
    max-width: 380px;
    width: calc(100% - 2rem);
}

.site-popup.is-visible {
    display: flex;
}

/* -- Cookie popup (bottom-left, pink) -- */
.site-popup--cookie {
    bottom: 1rem;
    left: 1rem;
    background: var(--accent);
    color: #111;
}

/* -- Idle alert popup (bottom-left, amber) -- */
.site-popup--alert {
    bottom: 1rem;
    left: 1rem;
    background: var(--warning);
    color: #111;
}

.site-popup__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.site-popup__icon {
    flex-shrink: 0;
}

.site-popup__icon svg {
    width: 40px;
    height: 40px;
    stroke: #111;
    fill: none;
    stroke-width: 1.5;
}

.site-popup__title {
    font-family: 'Inter Display', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 300;
    line-height: 1.1;
    color: #111;
}

.site-popup__body {
    font-size: clamp(0.8rem, 2vw, 0.95rem);
    font-weight: 300;
    line-height: 1.5;
    color: #111;
}

.site-popup__actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.site-popup__btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    font-family: inherit;
    font-size: clamp(0.85rem, 2vw, 1rem);
    font-weight: 300;
    cursor: pointer;
    text-transform: lowercase;
    transition: opacity 0.15s;
    text-decoration: none;
    border: none;
}

.site-popup__btn:hover {
    opacity: 0.8;
}

/* Outline variant — border matches popup bg */
.site-popup__btn--outline {
    background: transparent;
    border: 2px solid #111;
    color: #111;
}

/* Filled variant — dark bg, text = popup bg color */
.site-popup__btn--filled {
    background: #111;
    color: var(--accent);
    border: 2px solid #111;
}

/* Override for amber popup */
.site-popup--alert .site-popup__btn--filled {
    color: var(--warning);
}

/* Popup backdrop overlay for alert */
.site-popup-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(0, 0, 0, 0.3);
    display: none;
}

.site-popup-backdrop.is-visible {
    display: block;
}

/* ===================================================================
   APPAREL STORE — "apparel, by diam"
   =================================================================== */

/* --- Hero --- */
.apparel-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: clamp(4rem, 8vw, 8rem) clamp(2rem, 5vw, 5rem);
    background: #ffffff;
    text-align: center;
}

.apparel-hero__inner {
    max-width: 600px;
}

.apparel-hero__logo {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 2rem;
}

.apparel-hero__tagline {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 400;
    font-style: italic;
    color: var(--text-muted);
    letter-spacing: 0.01em;
}

/* --- Product Grid --- */
.apparel-grid-section {
    padding: 0 clamp(2rem, 5vw, 5rem) clamp(4rem, 8vw, 6rem);
    max-width: var(--max-width);
    margin: 0 auto;
}

.apparel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.apparel-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}

.apparel-card:hover {
    opacity: 0.8;
}

.apparel-card__img-wrap {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--surface);
    margin-bottom: 1rem;
}

.apparel-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.apparel-card:hover .apparel-card__img {
    transform: scale(1.03);
}

.apparel-card__placeholder {
    width: 100%;
    height: 100%;
    background: var(--surface);
}

.apparel-card__info {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
}

.apparel-card__title {
    font-family: 'Inter Display', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: lowercase;
}

.apparel-card__price {
    font-family: 'Inter Display', sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text-muted);
    white-space: nowrap;
}

.apparel-card__badge {
    display: inline-block;
    font-family: 'Inter Display', sans-serif;
    font-size: 0.62rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: lowercase;
    padding: 0.25rem 0.6rem;
    margin-bottom: 0.5rem;
}

.apparel-card__badge--oos {
    color: var(--text-muted);
    border: 1px solid rgba(0,0,0,0.1);
}

/* --- Notice (empty state / error) --- */
.apparel-notice {
    text-align: center;
    padding: clamp(4rem, 8vw, 8rem) 2rem;
}

.apparel-notice p {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-style: italic;
    color: var(--text-muted);
}

/* --- Bottom Statement --- */
.apparel-bottom {
    padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 5rem);
    text-align: center;
    border-top: 1px solid var(--border);
    margin: 0 clamp(2rem, 5vw, 5rem);
}

.apparel-bottom__text {
    font-family: 'Inter Display', sans-serif;
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* --- Product Detail --- */
.apparel-detail {
    display: flex;
    gap: clamp(2rem, 5vw, 4rem);
    max-width: var(--max-width);
    margin: 0 auto;
    padding: clamp(5rem, 10vw, 7rem) clamp(2rem, 5vw, 5rem) clamp(4rem, 8vw, 6rem);
}

.apparel-detail__gallery {
    flex: 1 1 55%;
    min-width: 0;
}

.apparel-detail__main-img-wrap {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--surface);
    margin-bottom: 0.75rem;
}

.apparel-detail__main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.apparel-detail__thumbs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
}

.apparel-detail__thumb {
    flex: 0 0 64px;
    height: 80px;
    overflow: hidden;
    border: 2px solid transparent;
    background: var(--surface);
    cursor: pointer;
    padding: 0;
    transition: border-color 0.2s;
}

.apparel-detail__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.apparel-detail__thumb.is-active {
    border-color: var(--text);
}

.apparel-detail__thumb:hover {
    border-color: var(--text-muted);
}

/* --- Product info panel --- */
.apparel-detail__info {
    flex: 1 1 40%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.apparel-detail__back {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color 0.15s;
}

.apparel-detail__back:hover {
    color: var(--text);
}

.apparel-detail__title {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 400;
    line-height: 1.15;
    text-transform: lowercase;
}

.apparel-detail__price {
    font-family: 'Inter Display', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text);
}

.apparel-detail__desc {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.65;
    color: var(--text-secondary);
    max-width: 480px;
}

.apparel-detail__desc p {
    margin-bottom: 0.75rem;
}

/* --- Option groups (split pickers) --- */
.apparel-detail__options {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.apparel-detail__option-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* --- Color swatches --- */
.apparel-detail__color-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.apparel-color-swatch {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    padding: 0;
    position: relative;
    transition: border-color 0.15s, box-shadow 0.15s;
    outline: none;
}

.apparel-color-swatch:hover {
    box-shadow: 0 0 0 2px var(--text-muted);
}

.apparel-color-swatch.is-selected {
    border-color: var(--text);
    box-shadow: 0 0 0 2px var(--text);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- Variant picker (size / other) --- */
.apparel-detail__variant-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.apparel-detail__variant-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.apparel-variant-btn {
    padding: 0.5rem 1.25rem;
    font-family: 'Inter Display', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}

.apparel-variant-btn:hover {
    border-color: var(--text);
}

.apparel-variant-btn.is-selected {
    background: var(--text);
    color: #ffffff;
    border-color: var(--text);
}

.apparel-variant-btn.is-unavailable {
    color: var(--text-faint);
    border-color: var(--border);
    cursor: not-allowed;
    text-decoration: line-through;
}

/* --- Buy button --- */
.apparel-detail__buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2.5rem;
    background: var(--text);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: none;
    transition: opacity 0.2s;
    align-self: flex-start;
}

.apparel-detail__buy:hover {
    opacity: 0.75;
    color: #ffffff;
}

.apparel-detail__buy--oos {
    background: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.6;
}

.apparel-detail__buy--oos:hover {
    opacity: 0.6;
}

/* --- Stock label --- */
.apparel-detail__stock {
    font-family: 'Inter Display', sans-serif;
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: lowercase;
    margin-bottom: 1rem;
}

.apparel-detail__stock--in {
    color: #2d7a3a;
}

.apparel-detail__stock--out {
    color: #c0392b;
}

/* --- Unavailable swatches / buttons --- */
.apparel-color-swatch.is-unavailable {
    opacity: 0.3;
    position: relative;
}

.apparel-color-swatch.is-unavailable::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -2px;
    right: -2px;
    height: 1px;
    background: var(--text-muted);
    transform: rotate(-45deg);
}

.apparel-variant-btn.is-unavailable {
    opacity: 0.4;
    text-decoration: line-through;
}

.apparel-variant-btn__oos {
    font-size: 0.6rem;
    font-weight: 300;
    color: var(--text-muted);
    text-decoration: none;
}

/* --- Tags --- */
.apparel-detail__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.apparel-detail__tag {
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-faint);
    padding: 0.2rem 0.6rem;
    border: 1px solid var(--border);
}

/* --- Apparel Responsive --- */
@media (max-width: 768px) {
    .apparel-hero {
        min-height: 50vh;
    }

    .apparel-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .apparel-detail {
        flex-direction: column;
        padding-top: clamp(4rem, 8vw, 5rem);
    }

    .apparel-detail__gallery {
        flex: none;
    }

    .apparel-detail__main-img-wrap {
        aspect-ratio: 1 / 1;
    }
}

@media (max-width: 480px) {
    .apparel-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 0 auto;
    }
}

/* ===================================================================
   RESPONSIVE — max-width: 768px  (Mobile content overrides)
   =================================================================== */

@media (max-width: 768px) {
    .hide-mobile { display: none; }

    .hero-slide {
        min-height: 65vh;
    }

    .hero-slide__heading {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    .hero-carousel__ui {
        padding: 1.25rem;
    }

    .lnd-showcase__grid {
        grid-template-columns: 1fr;
    }

    .lnd-showcase__trio {
        grid-template-columns: 1fr;
    }

    .lnd-card--featured {
        flex-direction: column;
    }

    .lnd-card--featured .lnd-card__img {
        min-height: 200px;
    }

    .lnd-values {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .lnd-parallax {
        background-attachment: scroll;
        min-height: 40vh;
    }

    .lnd-accent {
        flex-direction: column;
        min-height: auto;
    }

    .lnd-accent__media {
        min-height: 240px;
        width: 100%;
    }

    .lnd-accent__media img {
        min-height: 240px;
    }

    .lnd-accent__text {
        text-align: center;
    }

    .lnd-accent__heading {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

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

    .site-popup {
        max-width: calc(100% - 1rem);
        width: calc(100% - 1rem);
    }

    .product-hero,
    .product-hero--wide {
        flex-direction: column;
        padding: clamp(2rem, 4vw, 3rem) 1.25rem;
    }

    .product-hero__text {
        min-width: 0;
    }

    .editorial-feature {
        flex-direction: column !important;
        padding: clamp(2rem, 4vw, 3rem) 1.25rem;
    }

    .editorial-feature__text {
        min-width: 0;
    }

    .editorial-cols {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .enterprise-hero {
        min-height: 300px;
        padding: clamp(3rem, 6vw, 4rem) 1.25rem;
    }

    .enterprise-info h1 {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }

    .about-container,
    .contact-container {
        padding: clamp(2rem, 4vw, 3rem) 1.25rem;
    }

    .contact-form {
        padding: 0 1.25rem;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer__section--email {
        grid-column: 1 / -1;
    }

    .site-footer {
        padding: 1.5rem 1rem;
    }

    .bag-drawer {
        width: 100%;
        max-width: 100%;
    }
}

/* =====================================================================
   SHOPPING BAG – editorial drawer
   ===================================================================== */

.bag-trigger {
    position: relative;
}

.bag-badge {
    position: absolute;
    top: -3px;
    right: -5px;
    min-width: 16px;
    height: 16px;
    padding: 0 3px;
    border-radius: 50%;
    background: var(--text);
    color: #ffffff;
    font-family: 'Inter Display', sans-serif;
    font-size: 0.55rem;
    font-weight: 600;
    line-height: 16px;
    text-align: center;
    pointer-events: none;
}

/* Overlay */
.bag-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0);
    display: none;
    justify-content: flex-end;
    transition: background 0.35s ease;
}

.bag-overlay[data-open] {
    display: flex;
}

.bag-overlay.is-open {
    background: rgba(0, 0, 0, 0.2);
}

/* Drawer */
.bag-drawer {
    width: 400px;
    max-width: 88vw;
    height: 100%;
    background: #fafafa;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    border-left: 1px solid rgba(0, 0, 0, 0.06);
}

.bag-overlay.is-open .bag-drawer {
    transform: translateX(0);
}

/* Header */
.bag-drawer__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 2rem 2rem 1.5rem;
}

.bag-drawer__title {
    font-family: 'Instrument Serif', Georgia, serif;
    font-weight: 400;
    font-style: italic;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--text);
}

.bag-drawer__close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 1.6rem;
    font-weight: 200;
    line-height: 1;
    padding: 0;
    transition: color 0.2s;
}

.bag-drawer__close:hover {
    color: var(--text);
}

/* Items */
.bag-drawer__items {
    flex: 1;
    overflow-y: auto;
    padding: 0 2rem;
}

/* Empty */
.bag-drawer__empty {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    flex: 1;
    padding: 4rem 2rem;
}

.bag-drawer__empty-text {
    font-family: 'Instrument Serif', Georgia, serif;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.bag-drawer__browse {
    font-family: 'Inter Display', sans-serif;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: lowercase;
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid var(--text);
    padding-bottom: 2px;
    transition: opacity 0.2s;
}

.bag-drawer__browse:hover {
    opacity: 0.6;
}

/* Item */
.bag-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.bag-item:last-child {
    border-bottom: none;
}

.bag-item__img {
    width: 80px;
    height: 100px;
    object-fit: cover;
    flex-shrink: 0;
}

.bag-item__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.bag-item__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
}

.bag-item__row--bottom {
    margin-top: auto;
    align-items: center;
}

.bag-item__title {
    font-family: 'Inter Display', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bag-item__variant {
    font-family: 'Inter Display', sans-serif;
    font-size: 0.68rem;
    font-weight: 300;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.bag-item__remove {
    background: none;
    border: none;
    font-family: 'Inter Display', sans-serif;
    font-size: 0.65rem;
    font-weight: 300;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.15s;
    flex-shrink: 0;
}

.bag-item__remove:hover {
    color: var(--text);
}

.bag-item__qty-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bag-item__qty-btn {
    width: 24px;
    height: 24px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 0;
    background: transparent;
    color: var(--text);
    font-size: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s;
}

.bag-item__qty-btn:hover {
    border-color: var(--text);
}

.bag-item__qty {
    font-family: 'Inter Display', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    min-width: 12px;
    text-align: center;
}

.bag-item__price {
    font-family: 'Inter Display', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text);
}

/* Footer */
.bag-drawer__footer {
    padding: 1.5rem 2rem 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.bag-drawer__summary {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.4rem;
}

.bag-drawer__summary-label {
    font-family: 'Inter Display', sans-serif;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: lowercase;
    color: var(--text-muted);
}

.bag-drawer__summary-value {
    font-family: 'Inter Display', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
}

.bag-drawer__note {
    font-family: 'Inter Display', sans-serif;
    font-size: 0.62rem;
    font-weight: 300;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}

.bag-drawer__checkout {
    display: block;
    width: 100%;
    padding: 0.9rem 0;
    background: var(--text);
    color: #ffffff;
    border: none;
    font-family: 'Inter Display', sans-serif;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: lowercase;
    cursor: pointer;
    text-align: center;
    transition: opacity 0.2s;
}

.bag-drawer__checkout:hover {
    opacity: 0.8;
}

.bag-drawer__checkout:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* =====================================================================
   CHECKOUT – editorial embedded payment
   ===================================================================== */

.checkout {
    display: flex;
    min-height: 100vh;
}

/* Showcase – visual product strip on far left */
.checkout__showcase {
    width: 280px;
    flex-shrink: 0;
    background: #f7f7f7;
    padding: 3rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    overflow-y: auto;
    position: relative;
}

.checkout__showcase:empty {
    display: none;
}

.checkout__showcase-item {
    width: 100%;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: showcase-fadein 0.6s ease forwards;
}

.checkout__showcase-item:nth-child(odd) {
    transform: translateY(20px) rotate(-2deg);
}

.checkout__showcase-item:nth-child(even) {
    transform: translateY(20px) rotate(1.5deg);
}

@keyframes showcase-fadein {
    to {
        opacity: 1;
        transform: translateY(0) rotate(var(--rot, 0deg));
    }
}

.checkout__showcase-item:nth-child(odd) {
    --rot: -2deg;
}

.checkout__showcase-item:nth-child(even) {
    --rot: 1.5deg;
}

.checkout__showcase-img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.checkout__showcase-label {
    margin-top: 0.6rem;
    font-family: 'Instrument Serif', Georgia, serif;
    font-style: italic;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
}

.checkout__showcase-qty {
    display: block;
    font-family: 'Inter Display', sans-serif;
    font-style: normal;
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-top: 0.2rem;
}

/* Left: shipping + payment form */
.checkout__left {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    padding: 4rem 3rem 4rem 2rem;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
}

.checkout__left-inner {
    width: 100%;
    max-width: 460px;
}

.checkout__back {
    display: inline-block;
    font-family: 'Inter Display', sans-serif;
    font-size: 0.68rem;
    font-weight: 300;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 2.5rem;
    transition: color 0.2s;
}

.checkout__back:hover {
    color: var(--text);
}

.checkout__heading {
    font-family: 'Instrument Serif', Georgia, serif;
    font-weight: 400;
    font-style: italic;
    font-size: clamp(2rem, 4vw, 2.8rem);
    letter-spacing: -0.03em;
    margin-bottom: 2.5rem;
    color: var(--text);
}

.checkout__subheading {
    font-family: 'Inter Display', sans-serif;
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: lowercase;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.checkout__section-title {
    font-family: 'Inter Display', sans-serif;
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: lowercase;
    color: var(--text-muted);
    margin: 2.5rem 0 1.25rem;
}

/* Form fields */
.checkout__form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.checkout__field {
    margin-bottom: 1.1rem;
}

.checkout__field label {
    display: block;
    font-family: 'Inter Display', sans-serif;
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: lowercase;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.checkout__optional {
    font-weight: 300;
    color: var(--text-faint);
}

.checkout__field input,
.checkout__field select {
    width: 100%;
    padding: 0.7rem 0.8rem;
    font-family: 'Inter Display', sans-serif;
    font-size: 0.82rem;
    font-weight: 300;
    color: var(--text);
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 0;
    outline: none;
    transition: border-color 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

.checkout__field input:focus,
.checkout__field select:focus {
    border-color: var(--text);
}

.checkout__field input::placeholder {
    color: var(--text-faint);
    font-weight: 300;
}

.checkout__field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.checkout__field-row--three {
    grid-template-columns: 2fr 1fr 1fr;
}

/* Stripe PaymentElement container */
.checkout__payment-el {
    margin-bottom: 1.5rem;
}

.checkout__errors {
    color: #c0392b;
    font-family: 'Inter Display', sans-serif;
    font-size: 0.75rem;
    font-weight: 300;
    margin-bottom: 1rem;
    min-height: 1.2em;
}

/* Pay button */
.checkout__pay-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 1rem 0;
    background: var(--text);
    color: #ffffff;
    border: none;
    font-family: 'Inter Display', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: lowercase;
    cursor: pointer;
    transition: opacity 0.2s;
    margin-top: 0.5rem;
}

.checkout__pay-btn:hover {
    opacity: 0.85;
}

.checkout__pay-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.checkout__spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Right: order summary sidebar */
.checkout__right {
    width: 420px;
    flex-shrink: 0;
    background: #fafafa;
    padding: 4rem 2.5rem 4rem 3rem;
}

.checkout__right-inner {
    position: sticky;
    top: 4rem;
}

.checkout__order-title {
    font-family: 'Instrument Serif', Georgia, serif;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 1.75rem;
}

/* Items in summary */
.checkout__items {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.checkout__item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.checkout__item:last-child {
    border-bottom: none;
}

.checkout__item-img {
    width: 56px;
    height: 70px;
    object-fit: cover;
    flex-shrink: 0;
}

.checkout__item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.checkout__item-title {
    font-family: 'Inter Display', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.checkout__item-variant {
    font-size: 0.65rem;
    font-weight: 300;
    color: var(--text-muted);
}

.checkout__item-qty {
    font-size: 0.65rem;
    font-weight: 300;
    color: var(--text-muted);
}

.checkout__item-price {
    font-family: 'Inter Display', sans-serif;
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--text);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.checkout__divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.06);
    margin: 1rem 0;
}

.checkout__totals {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.checkout__totals-row {
    display: flex;
    justify-content: space-between;
    font-family: 'Inter Display', sans-serif;
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--text);
    padding: 0.35rem 0;
}

.checkout__totals-row--muted {
    font-size: 0.68rem;
    font-weight: 300;
    color: var(--text-muted);
}

.checkout__totals-row--total {
    font-size: 0.95rem;
    font-weight: 500;
    padding-top: 0.75rem;
}

/* Responsive: stack on mobile */
@media (max-width: 860px) {
    .checkout__showcase {
        display: none;
    }

    .checkout {
        flex-direction: column-reverse;
    }

    .checkout__left {
        padding: 2.5rem 1.5rem;
        justify-content: center;
        border-right: none;
    }

    .checkout__right {
        width: 100%;
        padding: 2rem 1.5rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .checkout__right-inner {
        position: static;
    }

    .checkout__field-row--three {
        grid-template-columns: 1fr 1fr;
    }
}
