/* ==========================================================================
   Craft Egypt — Contemporary Studio Architecture
   Preserves 100% of Craft Egypt's original typography & warm heritage color
   palette while re-architecting every surface, layout, card, gallery, and
   interaction into a modern editorial & tactile design system.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Arabic:wght@400;500;600;700&family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&display=swap');

/* ── Brand Fonts (Strictly Preserved) ──────────────────────────────────── */

@font-face {
    font-family: 'KO Lab';
    src: url('../fonts/kolab/KOLab-Thin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'KO Lab';
    src: url('../fonts/kolab/KOLab-ExtraLight.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'KO Lab';
    src: url('../fonts/kolab/KOLab-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'KO Lab';
    src: url('../fonts/kolab/KOLab-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'KO Lab';
    src: url('../fonts/kolab/KOLab-SemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'KO Lab';
    src: url('../fonts/kolab/KOLab-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Guesswhat Exceptional';
    src: url('../fonts/guesswhat/Guesswhat-Exceptional.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Thmanyah Serif Display';
    src: url('../fonts/thmanyah/thmanyahserifdisplay-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Thmanyah Serif Display';
    src: url('../fonts/thmanyah/thmanyahserifdisplay-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Thmanyah Serif Display';
    src: url('../fonts/thmanyah/thmanyahserifdisplay-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Thmanyah Serif Display';
    src: url('../fonts/thmanyah/thmanyahserifdisplay-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Thmanyah Serif Display';
    src: url('../fonts/thmanyah/thmanyahserifdisplay-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ── Brand Palette & Studio Tokens (Strictly Preserved Colors) ─────────── */

:root {
    --ivory: #F5F1E8;
    --sand: #E9E1D2;
    --charcoal: #211C18;
    --clay: #5C4434;
    --terracotta: #A85D3A;
    --gold: #B89A62;
    --line: rgba(33, 28, 24, .14);
    --line-strong: rgba(33, 28, 24, .24);
    --muted: rgba(33, 28, 24, .62);

    --font-display: 'Guesswhat Exceptional', 'Noto Serif Arabic', 'DM Serif Display', Georgia, serif;
    --font-body: 'KO Lab', 'IBM Plex Sans Arabic', 'Manrope', Tahoma, sans-serif;
    --font-heading: 'Thmanyah Serif Display', 'Noto Serif Arabic', Georgia, serif;

    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 26px;
    --radius-xl: 32px;
    --radius-2xl: 40px;
    --radius-pill: 999px;

    --shadow-sm: 0 6px 20px rgba(33, 28, 24, .05);
    --shadow-md: 0 18px 46px rgba(33, 28, 24, .10);
    --shadow-lg: 0 28px 72px rgba(33, 28, 24, .16);

    --glass-bg: rgba(255, 255, 255, .58);
    --glass-bg-strong: rgba(255, 255, 255, .82);
    --glass-ivory: rgba(245, 241, 232, .82);
    --glass-border: rgba(255, 255, 255, .72);
    --glass-blur: blur(22px) saturate(150%);
    --glass-shadow: 0 14px 40px rgba(33, 28, 24, .08), inset 0 1px 0 rgba(255, 255, 255, .75);

    /* Preserved legacy aliases */
    --brand-dark: var(--clay);
    --brand-darker: var(--charcoal);
    --brand-gold: var(--terracotta);
    --brand-gold-light: var(--sand);
    --brand-gold-hover: var(--gold);
    --brand-cream: var(--ivory);
    --brand-cream-2: var(--sand);
    --text-body: var(--charcoal);
    --text-muted: var(--muted);
    --white: #ffffff;
    --font-main: var(--font-body);
}

/* ── Base & Atmospheric Canvas ─────────────────────────────────────────── */

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

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    margin: 0;
    background-color: var(--ivory);
    color: var(--charcoal);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

.ce-ambient {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(62vw 52vw at 12% 8%, rgba(184, 154, 98, .15), transparent 70%),
        radial-gradient(50vw 44vw at 88% 18%, rgba(168, 93, 58, .11), transparent 72%),
        radial-gradient(65vw 50vw at 50% 78%, rgba(233, 225, 210, .75), transparent 75%),
        var(--ivory);
}

.ce-viewport {
    position: relative;
    z-index: 1;
    min-height: 62vh;
}

img {
    max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -.015em;
}

h1 em, h2 em, h3 em {
    font-style: normal;
    color: var(--terracotta);
    font-family: var(--font-display);
    font-weight: 500;
}

p {
    margin: 0;
}

a {
    color: inherit;
}

button, input, textarea, select {
    font: inherit;
}

.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;
}

:where(a, button, input, textarea, select, [tabindex]):focus-visible {
    outline: 2px solid var(--terracotta);
    outline-offset: 3px;
}

button:disabled,
[aria-disabled="true"] {
    cursor: not-allowed;
}

/* Scroll reveal choreography */
[data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .65s cubic-bezier(.22, 1, .36, 1), transform .65s cubic-bezier(.22, 1, .36, 1);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Eyebrows, Badges & Studio Pills ───────────────────────────────────── */

.eyebrow {
    display: inline-block;
    color: var(--terracotta);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.4;
}

.eyebrow.light {
    color: var(--gold);
}

.pill-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, .68);
    border: 1px solid var(--line);
    box-shadow: 0 2px 10px rgba(33, 28, 24, .04);
    color: var(--clay);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.pill-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--terracotta);
    flex-shrink: 0;
}

.pill-eyebrow--dark {
    background: rgba(33, 28, 24, .82);
    border-color: rgba(245, 241, 232, .16);
    color: var(--ivory);
}

.pill-eyebrow--dark::before {
    background: var(--gold);
}

/* ── Contemporary Pill Buttons (Lomen + Meeting App + Studio Styles) ───── */

.ce-pill-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 22px;
    min-height: 48px;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform .24s cubic-bezier(.22, 1, .36, 1), background-color .24s ease, color .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.ce-pill-btn:has(.ce-pill-btn__icon) {
    padding-inline-end: 8px;
}

.ce-pill-btn:active {
    transform: scale(.97);
}

.ce-pill-btn__icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    font-size: 14px;
    line-height: 1;
    transition: transform .24s ease, background-color .24s ease, color .24s ease;
}

.ce-pill-btn:hover .ce-pill-btn__icon {
    transform: rotate(-12deg) scale(1.05);
}

.ce-pill-btn--dark {
    background: var(--charcoal);
    color: var(--ivory);
    box-shadow: 0 10px 26px rgba(33, 28, 24, .18);
}

.ce-pill-btn--dark .ce-pill-btn__icon {
    background: var(--ivory);
    color: var(--charcoal);
}

.ce-pill-btn--dark:hover {
    background: var(--clay);
    transform: translateY(-2px);
}

.ce-pill-btn--terracotta {
    background: var(--terracotta);
    color: var(--ivory);
    box-shadow: 0 12px 28px rgba(168, 93, 58, .28);
}

.ce-pill-btn--terracotta .ce-pill-btn__icon {
    background: rgba(245, 241, 232, .22);
    color: var(--ivory);
}

.ce-pill-btn--terracotta:hover {
    background: var(--clay);
    transform: translateY(-2px);
}

.ce-pill-btn--ivory {
    background: var(--ivory);
    color: var(--charcoal);
    box-shadow: 0 10px 24px rgba(33, 28, 24, .14);
}

.ce-pill-btn--ivory .ce-pill-btn__icon {
    background: var(--charcoal);
    color: var(--ivory);
}

.ce-pill-btn--ivory:hover {
    background: #fff;
    transform: translateY(-2px);
}

.ce-pill-btn--outline {
    background: rgba(255, 255, 255, .45);
    border-color: var(--line-strong);
    color: var(--charcoal);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.ce-pill-btn--outline:hover {
    background: var(--sand);
    border-color: var(--clay);
    transform: translateY(-2px);
}

.ce-pill-btn--glass-light {
    background: rgba(245, 241, 232, .14);
    border-color: rgba(245, 241, 232, .45);
    color: var(--ivory);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.ce-pill-btn--glass-light:hover {
    background: rgba(245, 241, 232, .26);
    border-color: var(--ivory);
}

/* Legacy button classes upgraded seamlessly */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 13px 26px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .22s ease, background-color .25s ease, color .25s ease, box-shadow .25s ease;
}

.button:active {
    transform: scale(.97);
}

.button-light {
    color: var(--charcoal);
    background: var(--ivory);
    box-shadow: var(--shadow-sm);
}

.button-light:hover {
    background: #fff;
    transform: translateY(-2px);
}

.button-dark {
    color: var(--ivory);
    background: var(--charcoal);
    box-shadow: 0 10px 26px rgba(33, 28, 24, .18);
}

.button-dark:hover {
    background: var(--terracotta);
    transform: translateY(-2px);
}

.btn-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14px;
    background: var(--charcoal);
    color: var(--ivory);
    border: none;
    padding: 13px 28px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(33, 28, 24, .15);
    transition: background-color .25s ease, transform .2s ease, box-shadow .25s ease;
}

.btn-brand:hover {
    background: var(--terracotta);
    box-shadow: 0 14px 30px rgba(168, 93, 58, .26);
    transform: translateY(-2px);
}

.btn-brand.whatsapp {
    background: var(--clay);
}

.btn-brand.whatsapp:hover {
    background: var(--terracotta);
}

.btn-brand:disabled {
    background: var(--sand);
    color: var(--muted);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
    pointer-events: none;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, .45);
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    color: var(--charcoal);
    cursor: pointer;
    transition: background-color .22s ease, border-color .22s ease, color .22s ease, transform .22s ease;
}

.text-link:hover {
    background: var(--charcoal);
    border-color: var(--charcoal);
    color: var(--ivory);
    transform: translateY(-1px);
}

.light-link {
    color: var(--ivory);
    border-color: rgba(245, 241, 232, .35);
    background: rgba(245, 241, 232, .10);
}

.light-link:hover {
    background: var(--ivory);
    color: var(--charcoal);
}

/* ── Floating Capsule Header & Command-K Search ────────────────────────── */

.site-header-shell {
    position: sticky;
    top: 0;
    z-index: 400;
    padding: 14px clamp(12px, 3.2vw, 40px) 8px;
    pointer-events: none;
}

.site-header {
    pointer-events: auto;
    max-width: 1380px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 12px 9px 14px;
    border-radius: var(--radius-pill);
    background: rgba(245, 241, 232, .84);
    border: 1px solid rgba(255, 255, 255, .82);
    box-shadow: 0 12px 36px rgba(33, 28, 24, .09), 0 1px 0 rgba(33, 28, 24, .06);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--charcoal);
    flex-shrink: 0;
    padding-inline-start: 4px;
}

.site-logo__mark {
    width: 38px;
    height: 38px;
    border-radius: 13px;
    background: var(--charcoal);
    display: grid;
    place-items: center;
    padding: 6px;
    box-shadow: inset 0 0 0 1px rgba(245, 241, 232, .22);
}

.site-logo__mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.12);
}

.site-logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.site-logo__text strong {
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.site-logo__text small {
    font-size: 10.5px;
    color: var(--terracotta);
    font-weight: 600;
    margin-top: 2px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.site-nav a {
    text-decoration: none;
    color: var(--muted);
    font-weight: 600;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: var(--radius-pill);
    position: relative;
    transition: color .2s ease, background-color .2s ease;
    white-space: nowrap;
}

.site-nav a:hover {
    color: var(--charcoal);
    background: rgba(233, 225, 210, .65);
}

.site-nav a.active {
    color: var(--charcoal);
    font-weight: 700;
}

/* Lomen-style centered dot under active nav item */
.site-nav a.active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 2px;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--terracotta);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* Command-K Quick Search Pill (High Conversion Landing Page reference) */
.cmd-search-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 8px 0 12px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .66);
    color: var(--muted);
    cursor: pointer;
    font-size: 12.5px;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.cmd-search-pill:hover {
    background: #fff;
    border-color: var(--gold);
    color: var(--charcoal);
}

.cmd-search-pill__label {
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cmd-search-pill__kbd {
    padding: 2px 7px;
    border-radius: var(--radius-pill);
    background: var(--sand);
    color: var(--clay);
    font-family: var(--font-body);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .04em;
}

.header-cart {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 38px;
    padding: 0 10px 0 12px;
    border-radius: var(--radius-pill);
    background: var(--sand);
    border: 1px solid var(--line);
    color: var(--charcoal);
    text-decoration: none;
    font-weight: 700;
    font-size: 12.5px;
    transition: background-color .22s ease, transform .2s ease;
    flex-shrink: 0;
}

.header-cart:hover {
    background: var(--gold);
    color: var(--ivory);
    transform: translateY(-1px);
}

.header-cart__count {
    background: var(--charcoal);
    color: var(--ivory);
    border-radius: var(--radius-pill);
    min-width: 21px;
    height: 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    font-size: 11px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* Lomen-style dark pill CTA with circular arrow badge */
.header-cta-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 38px;
    padding: 0 6px 0 14px;
    border-radius: var(--radius-pill);
    background: var(--charcoal);
    color: var(--ivory);
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 700;
    transition: background-color .22s ease, transform .2s ease;
}

.header-cta-pill:hover {
    background: var(--terracotta);
    transform: translateY(-1px);
}

.header-cta-pill__arrow {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--ivory);
    color: var(--charcoal);
    display: inline-grid;
    place-items: center;
}

.icon-button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    background: rgba(255, 255, 255, .72);
    border: 1px solid var(--line);
    color: var(--charcoal);
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease;
}

.icon-button:hover {
    background: var(--sand);
    border-color: var(--clay);
}

.nav-toggle {
    display: none;
}

@media (max-width: 1180px) {
    .cmd-search-pill__label,
    .header-cta-pill {
        display: none;
    }

    .cmd-search-pill {
        padding: 0 10px;
    }
}

@media (max-width: 960px) {
    .site-nav {
        display: none;
    }

    .nav-toggle {
        display: inline-grid;
    }
}

@media (max-width: 560px) {
    .site-header-shell {
        padding: 10px 10px 6px;
    }

    .site-header {
        padding: 7px 10px;
        gap: 8px;
    }

    .cmd-search-pill__kbd,
    .header-cart__label,
    .site-logo__text small {
        display: none;
    }

    .cmd-search-pill {
        width: 38px;
        padding: 0;
        justify-content: center;
    }

    .header-cart {
        padding: 0 8px;
    }
}

/* ── Studio Overlays (Menu Sheet & Command-K Modal) ────────────────────── */

.overlay {
    position: fixed;
    inset: 0;
    z-index: 11000;
    display: flex;
    padding: clamp(14px, 3vw, 36px);
    overflow-y: auto;
}

.overlay[hidden] {
    display: none !important;
}

.overlay-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(33, 28, 24, .48);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.overlay-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--ivory);
    color: var(--charcoal);
    display: inline-grid;
    place-items: center;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}

.overlay-close:hover {
    background: var(--terracotta);
    color: var(--ivory);
    transform: rotate(90deg);
}

.menu-sheet,
.cmd-modal {
    position: relative;
    z-index: 2;
    margin: auto;
    width: min(1040px, 100%);
    min-width: 0;
    max-width: calc(100vw - 28px);
    background: var(--ivory);
    border: 1px solid rgba(255, 255, 255, .85);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: clamp(20px, 3.4vw, 38px);
}

.cmd-modal {
    width: min(680px, 100%);
}

.menu-sheet__top,
.cmd-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 24px;
}

.cmd-modal__head .pill-eyebrow {
    min-width: 0;
}

.cmd-modal__head-end {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.cmd-esc-badge {
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: var(--sand);
    color: var(--clay);
    font-size: 11px;
    font-weight: 700;
}

.menu-sheet__grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 28px;
    align-items: stretch;
}

@media (max-width: 820px) {
    .menu-sheet__grid {
        grid-template-columns: 1fr;
    }
}

.menu-inner {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.menu-link-row {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    background: rgba(255, 255, 255, .52);
    text-decoration: none;
    transition: background-color .22s ease, border-color .22s ease, transform .22s ease;
}

.menu-link-row:hover {
    background: #fff;
    border-color: var(--gold);
    transform: translateX(-4px);
}

.menu-link-row__idx {
    font-family: var(--font-display);
    font-size: 14px;
    color: var(--terracotta);
}

.menu-link-row__copy {
    display: flex;
    flex-direction: column;
}

.menu-link-row__copy strong {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--charcoal);
}

.menu-link-row__copy small {
    font-size: 12px;
    color: var(--muted);
}

.menu-link-row__arrow {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--sand);
    color: var(--charcoal);
    display: grid;
    place-items: center;
    font-size: 13px;
}

.menu-aside-card {
    border-radius: var(--radius-lg);
    padding: 28px;
    background:
        radial-gradient(circle at 80% 15%, rgba(184, 154, 98, .28), transparent 60%),
        var(--sand);
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
}

.menu-aside-card h3 {
    font-size: 24px;
    line-height: 1.35;
}

.menu-aside-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.85;
}

.menu-aside-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cmd-modal__label {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(22px, 3vw, 30px);
    margin-bottom: 16px;
}

.cmd-input-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 8px 8px 16px;
    border-radius: var(--radius-pill);
    background: #fff;
    border: 1.5px solid var(--line-strong);
    box-shadow: var(--shadow-sm);
}

.cmd-input-bar:focus-within {
    border-color: var(--terracotta);
    box-shadow: 0 0 0 4px rgba(168, 93, 58, .12);
}

.cmd-input-bar svg {
    color: var(--terracotta);
    flex-shrink: 0;
    margin-inline-start: 8px;
}

.cmd-input-bar input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    outline: none;
    font-size: 16px;
    color: var(--charcoal);
    padding: 8px 0;
}

.cmd-input-bar__submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    border: 0;
    background: var(--charcoal);
    color: var(--ivory);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: background-color .2s ease;
}

.cmd-input-bar__submit:hover {
    background: var(--terracotta);
}

.cmd-suggestions {
    margin-top: 22px;
}

.cmd-suggestions__title {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 10px;
}

.cmd-suggestions__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cmd-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, .75);
    border: 1px solid var(--line);
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--clay);
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.cmd-chip:hover {
    background: var(--terracotta);
    border-color: var(--terracotta);
    color: var(--ivory);
}

@media (max-width: 560px) {
    .cmd-modal {
        padding: 18px 16px 20px;
    }

    .cmd-modal__head {
        margin-bottom: 18px;
    }

    .cmd-modal__head .pill-eyebrow {
        font-size: 11px;
        padding: 6px 12px;
    }

    /* ESC hint is meaningless on touch devices — keep the close button visible */
    .cmd-esc-badge {
        display: none;
    }

    .cmd-input-bar {
        gap: 8px;
        padding: 6px 6px 6px 12px;
    }

    .cmd-input-bar__submit {
        padding: 10px 16px;
    }
}

/* ── Studio Section Scaffolding & Numbered Chapter Headers ─────────────── */

.studio-wrap {
    max-width: 1380px;
    margin: 0 auto;
    padding: clamp(56px, 7vw, 108px) clamp(16px, 4vw, 48px);
}

.section {
    max-width: 1380px;
    margin: 0 auto;
    padding: clamp(56px, 7vw, 104px) clamp(16px, 4vw, 48px);
}

.studio-sec-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: clamp(34px, 4.5vw, 56px);
}

.studio-sec-head--center {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.studio-sec-head__index {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.studio-sec-head__num {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.2vw, 42px);
    color: rgba(33, 28, 24, .28);
    line-height: 1;
}

.studio-sec-head__ring {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 3px solid var(--sand);
    border-top-color: var(--terracotta);
    border-inline-end-color: var(--gold);
}

.studio-sec-head__title {
    font-size: clamp(30px, 4.2vw, 54px);
    max-width: 18ch;
}

.studio-sec-head--center .studio-sec-head__title {
    max-width: 24ch;
}

.studio-sec-head__desc {
    color: var(--muted);
    max-width: 44ch;
    font-size: 15px;
    line-height: 1.85;
}

/* ── 1. Lomen + Azentos Hybrid Monumental Hero ─────────────────────────── */

.lomen-hero {
    position: relative;
    max-width: 1420px;
    margin: 6px auto 0;
    padding: clamp(22px, 3vw, 44px) clamp(16px, 4vw, 48px) 0;
}

.lomen-hero__stage {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-2xl);
    background:
        radial-gradient(54% 64% at 28% 42%, rgba(184, 154, 98, .28), transparent 72%),
        radial-gradient(45% 50% at 78% 18%, rgba(168, 93, 58, .15), transparent 70%),
        linear-gradient(165deg, rgba(255, 255, 255, .74) 0%, rgba(233, 225, 210, .86) 100%);
    border: 1px solid rgba(255, 255, 255, .86);
    box-shadow: var(--shadow-md);
    padding: clamp(32px, 5vw, 68px) clamp(20px, 4.5vw, 64px) clamp(28px, 3.6vw, 44px);
}

/* Concentric halo rings behind centerpiece (Lomen Ai Glass reference) */
.lomen-rings {
    position: absolute;
    width: clamp(340px, 48vw, 660px);
    height: clamp(340px, 48vw, 660px);
    inset-inline-end: 6%;
    top: 6%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .85);
    box-shadow:
        0 0 0 38px rgba(255, 255, 255, .28),
        0 0 0 78px rgba(184, 154, 98, .10),
        inset 0 0 60px rgba(255, 255, 255, .55);
    pointer-events: none;
}

/* Oversized editorial background display wordmark (Azentos reference) */
.lomen-watermark {
    position: absolute;
    inset-inline: 0;
    bottom: 92px;
    text-align: center;
    font-family: var(--font-display);
    font-size: clamp(64px, 13.5vw, 196px);
    line-height: .85;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: rgba(92, 68, 52, .065);
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

.lomen-hero__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .95fr) auto;
    gap: clamp(24px, 3.5vw, 48px);
    align-items: center;
}

.lomen-hero__copy {
    max-width: 580px;
}

.lomen-hero__headline {
    margin: 20px 0 18px;
    font-size: clamp(38px, 5.5vw, 76px);
    line-height: 1.08;
    letter-spacing: -.025em;
}

.lomen-hero__headline .muted-line {
    display: block;
    color: rgba(92, 68, 52, .56);
    font-family: var(--font-display);
    font-weight: 500;
}

.lomen-hero__rule {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}

.lomen-hero__rule span {
    width: 48px;
    height: 1.5px;
    background: var(--charcoal);
}

.lomen-hero__rule i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--terracotta);
}

.lomen-hero__lead {
    color: var(--muted);
    font-size: clamp(15px, 1.35vw, 17px);
    max-width: 44ch;
    line-height: 1.85;
}

.lomen-hero__cta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 28px;
}

.lomen-story-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--charcoal);
    font-weight: 700;
    font-size: 13.5px;
}

.lomen-story-btn__orb {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    display: grid;
    place-items: center;
    color: var(--terracotta);
    transition: transform .24s ease, background-color .24s ease, color .24s ease;
}

.lomen-story-btn:hover .lomen-story-btn__orb {
    background: var(--terracotta);
    color: var(--ivory);
    transform: scale(1.06);
}

/* Centerpiece Arch Frame + Floating Azentos Stat Cards */
.lomen-hero__visual {
    position: relative;
    display: grid;
    place-items: center;
}

.lomen-arch-frame {
    position: relative;
    width: min(430px, 100%);
    aspect-ratio: 4 / 4.7;
    border-radius: 220px 220px 34px 34px;
    overflow: hidden;
    border: 6px solid rgba(255, 255, 255, .86);
    box-shadow: 0 28px 64px rgba(33, 28, 24, .18);
    background: var(--clay);
}

.lomen-arch-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .9s cubic-bezier(.22, 1, .36, 1);
}

.lomen-arch-frame:hover img {
    transform: scale(1.04);
}

.lomen-arch-frame__tag {
    position: absolute;
    top: 18px;
    inset-inline-start: 18px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: rgba(33, 28, 24, .68);
    color: var(--ivory);
    font-size: 11px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.az-stat-cluster {
    position: absolute;
    inset-inline-start: -18px;
    bottom: 18px;
    display: flex;
    gap: 10px;
    z-index: 3;
}

.az-stat-card {
    padding: 14px 18px;
    border-radius: 22px;
    min-width: 126px;
    box-shadow: 0 16px 36px rgba(33, 28, 24, .14);
    transition: transform .25s ease;
}

.az-stat-card:hover {
    transform: translateY(-4px);
}

.az-stat-card--ivory {
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(255, 255, 255, .95);
    color: var(--charcoal);
}

.az-stat-card--terracotta {
    background: linear-gradient(145deg, var(--terracotta), var(--clay));
    border: 1px solid rgba(245, 241, 232, .24);
    color: var(--ivory);
}

.az-stat-card strong {
    display: block;
    font-family: var(--font-display);
    font-size: 28px;
    line-height: 1.05;
    margin-bottom: 4px;
}

.az-stat-card span {
    font-size: 11.5px;
    opacity: .86;
    font-weight: 600;
}

/* Vertical 01 | 02 | 03 Chapter Rail (Lomen Ai Glass right margin) */
.lomen-rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
}

.lomen-rail a {
    text-decoration: none;
    transition: color .2s ease;
}

.lomen-rail a.is-current,
.lomen-rail a:hover {
    color: var(--charcoal);
}

.lomen-rail__bar {
    width: 1.5px;
    height: 52px;
    background: linear-gradient(to bottom, var(--charcoal), rgba(33, 28, 24, .12));
}

/* Floating 4-Column Frosted Feature Dock (Lomen Ai Glass bottom dock) */
.lomen-dock {
    position: relative;
    z-index: 3;
    margin-top: clamp(28px, 4vw, 44px);
    padding: 20px 24px;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, .68);
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: 0 16px 40px rgba(33, 28, 24, .07);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.lomen-dock__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-inline-end: 14px;
    border-inline-end: 1px solid var(--line);
}

.lomen-dock__item:last-child {
    border-inline-end: 0;
    padding-inline-end: 0;
}

.lomen-dock__icon {
    width: 44px;
    height: 44px;
    border-radius: 15px;
    background: linear-gradient(145deg, #fff, var(--sand));
    border: 1px solid var(--line);
    color: var(--terracotta);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(33, 28, 24, .05);
}

.lomen-dock__copy strong {
    display: block;
    font-size: 14px;
    color: var(--charcoal);
    margin-bottom: 3px;
}

.lomen-dock__copy span {
    display: block;
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.55;
}

/* Azentos-style Dark Charcoal Regions & Craft Tags Bar */
.az-partner-bar {
    margin-top: 14px;
    padding: 16px 26px;
    border-radius: var(--radius-xl);
    background: var(--charcoal);
    color: var(--ivory);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px 24px;
}

.az-partner-bar__label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
}

.az-partner-bar__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.az-partner-pill {
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(245, 241, 232, .22);
    color: rgba(245, 241, 232, .86);
    font-size: 12px;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.az-partner-pill:hover {
    background: var(--terracotta);
    border-color: var(--terracotta);
    color: #fff;
}

@media (max-width: 1040px) {
    .lomen-hero__grid {
        grid-template-columns: 1fr;
    }

    .lomen-rail {
        display: none;
    }

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

    .lomen-dock__item:nth-child(2) {
        border-inline-end: 0;
    }

    .az-stat-cluster {
        inset-inline-start: 12px;
    }
}

@media (max-width: 620px) {
    .lomen-dock {
        grid-template-columns: 1fr;
    }

    .lomen-dock__item {
        border-inline-end: 0;
        border-bottom: 1px solid var(--line);
        padding-bottom: 14px;
    }

    .lomen-dock__item:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

    .az-stat-cluster {
        position: static;
        margin-top: 14px;
        width: 100%;
    }

    .az-stat-card {
        flex: 1;
    }
}

/* ── 2. Narrow-Slit Expanding Image Gallery (Reference GIF) ────────────── */

.slit-gallery {
    display: flex;
    gap: 14px;
    height: clamp(400px, 50vw, 520px);
    align-items: stretch;
}

.slit-panel {
    position: relative;
    flex: .85 1 0%;
    min-width: 62px;
    border-radius: 38px;
    overflow: hidden;
    background: var(--sand);
    border: 1px solid rgba(255, 255, 255, .82);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: flex .72s cubic-bezier(.22, 1, .36, 1), border-radius .5s ease, box-shadow .4s ease;
    isolation: isolate;
}

.slit-panel.is-active {
    flex: 6.2 1 0%;
    border-radius: 36px;
    box-shadow: var(--shadow-lg);
    cursor: default;
}

.slit-panel__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .85s cubic-bezier(.22, 1, .36, 1), filter .5s ease;
}

.slit-panel:not(.is-active) .slit-panel__img {
    filter: saturate(.82) brightness(.92);
}

.slit-panel:hover .slit-panel__img {
    transform: scale(1.04);
}

.slit-panel__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(33, 28, 24, .84) 0%,
        rgba(33, 28, 24, .32) 48%,
        rgba(33, 28, 24, .06) 100%
    );
    opacity: .65;
    transition: opacity .45s ease;
}

.slit-panel.is-active .slit-panel__shade {
    opacity: 1;
}

.slit-panel__content {
    position: absolute;
    inset-inline: 16px;
    bottom: 16px;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
}

.slit-panel:not(.is-active) .slit-panel__content {
    inset-inline: 0;
    justify-content: center;
}

.slit-panel__badge {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--ivory);
    color: var(--terracotta);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(33, 28, 24, .22);
    transition: background-color .3s ease, color .3s ease, transform .3s ease;
}

.slit-panel.is-active .slit-panel__badge {
    background: var(--terracotta);
    color: var(--ivory);
}

.slit-panel__meta {
    flex: 1;
    min-width: 0;
    color: var(--ivory);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity .35s ease .12s, transform .35s ease .12s;
    display: none;
}

.slit-panel.is-active .slit-panel__meta {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.slit-panel__kicker {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    background: rgba(245, 241, 232, .18);
    backdrop-filter: blur(8px);
    font-size: 11px;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 8px;
}

.slit-panel__title {
    font-size: clamp(22px, 2.8vw, 34px);
    color: var(--ivory);
    margin-bottom: 6px;
}

.slit-panel__desc {
    font-size: 13.5px;
    color: rgba(245, 241, 232, .82);
    max-width: 46ch;
    margin-bottom: 14px;
}

@media (max-width: 860px) {
    .slit-gallery {
        flex-direction: column;
        height: auto;
    }

    .slit-panel {
        flex: none;
        height: 82px;
        border-radius: 26px;
        transition: height .45s cubic-bezier(.22, 1, .36, 1);
    }

    .slit-panel.is-active {
        flex: none;
        height: 360px;
    }

    .slit-panel:not(.is-active) .slit-panel__content {
        inset-inline: 16px;
        bottom: 18px;
        justify-content: flex-start;
    }

    .slit-panel:not(.is-active)::after {
        content: attr(data-label);
        position: absolute;
        inset-inline-start: 74px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--ivory);
        font-family: var(--font-heading);
        font-size: 18px;
        font-weight: 700;
        z-index: 2;
    }
}

/* ── 3. Architectural Blueprint Grid & Bento Widgets (download 8 + Deck) ── */

.blueprint-section {
    position: relative;
    border-top: 1px dashed var(--line);
    border-bottom: 1px dashed var(--line);
    background:
        linear-gradient(to right, rgba(33, 28, 24, .04) 1px, transparent 1px) 0 0 / 50% 100%,
        rgba(255, 255, 255, .26);
}

.blueprint-frame {
    max-width: 1380px;
    margin: 0 auto;
    border-inline: 1px solid var(--line);
    padding: clamp(48px, 6vw, 88px) clamp(16px, 3.6vw, 44px);
}

.bento-studio-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
}

.bento-col-5 { grid-column: span 5; }
.bento-col-7 { grid-column: span 7; }
.bento-col-6 { grid-column: span 6; }
.bento-col-4 { grid-column: span 4; }
.bento-col-8 { grid-column: span 8; }
.bento-col-12 { grid-column: span 12; }

@media (max-width: 980px) {
    .bento-col-5,
    .bento-col-7,
    .bento-col-6,
    .bento-col-4,
    .bento-col-8 {
        grid-column: span 12;
    }
}

.bento-card {
    position: relative;
    border-radius: var(--radius-xl);
    background: var(--glass-bg-strong);
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: var(--glass-shadow);
    padding: clamp(22px, 3vw, 34px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 22px;
    transition: transform .3s ease, box-shadow .3s ease;
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.bento-card--sand {
    background:
        radial-gradient(circle at 85% 15%, rgba(184, 154, 98, .24), transparent 58%),
        var(--sand);
}

.bento-card--dark {
    background:
        radial-gradient(circle at 20% 15%, rgba(168, 93, 58, .35), transparent 58%),
        var(--charcoal);
    color: var(--ivory);
    border-color: rgba(245, 241, 232, .12);
}

/* Stacked Depth Summary Deck (Week on Journal reference) */
.deck-stack {
    position: relative;
    padding-top: 38px;
}

.deck-stack::before,
.deck-stack::after {
    content: '';
    position: absolute;
    inset-inline: 22px;
    height: 64px;
    border-radius: 26px 26px 0 0;
    border: 1px solid var(--line);
    pointer-events: none;
}

.deck-stack::before {
    top: 4px;
    inset-inline: 38px;
    background: rgba(233, 225, 210, .62);
}

.deck-stack::after {
    top: 19px;
    background: rgba(245, 241, 232, .88);
}

.deck-front {
    position: relative;
    z-index: 2;
    border-radius: var(--radius-xl);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: clamp(24px, 3vw, 34px);
}

.deck-stack.is-flipping .deck-front {
    animation: deckFlip .42s cubic-bezier(.22, 1, .36, 1);
}

@keyframes deckFlip {
    0% { transform: translateY(8px) scale(.985); opacity: .72; }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}

.deck-badges {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.deck-avatar-pair {
    display: flex;
    align-items: center;
}

.deck-squircle {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--charcoal), var(--clay));
    display: grid;
    place-items: center;
    padding: 10px;
    box-shadow: var(--shadow-sm);
}

.deck-squircle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.deck-circle-photo {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff;
    margin-inline-start: -12px;
    background: var(--sand);
    box-shadow: var(--shadow-sm);
}

.deck-circle-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.deck-summary-kicker {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 10px;
}

.deck-summary-copy {
    font-family: var(--font-heading);
    font-size: clamp(22px, 2.5vw, 31px);
    line-height: 1.42;
    color: rgba(33, 28, 24, .44);
}

.deck-summary-copy strong {
    color: var(--charcoal);
    font-weight: 800;
}

.deck-summary-copy em {
    color: var(--terracotta);
    font-style: normal;
}

.deck-foot {
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.deck-next-btn {
    border: 1px solid var(--line);
    background: var(--ivory);
    color: var(--charcoal);
    border-radius: var(--radius-pill);
    padding: 7px 16px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}

.deck-next-btn:hover {
    background: var(--charcoal);
    color: var(--ivory);
}

/* Order Pipeline Diagram + Glowing Orb (download 8 reference) */
.pipeline-stage {
    position: relative;
    padding: 28px 18px 22px;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 50% 78%, rgba(168, 93, 58, .22), transparent 58%),
        var(--ivory);
    border: 1px solid var(--line);
    text-align: center;
}

.pipeline-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    background: var(--terracotta);
    color: var(--ivory);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .06em;
    margin-bottom: 14px;
}

.pipeline-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 14px;
    border-radius: var(--radius-pill);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.pipeline-step {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 13px;
    border-radius: var(--radius-pill);
    background: var(--ivory);
    font-size: 12.5px;
    font-weight: 700;
    color: var(--charcoal);
}

.pipeline-step.is-highlight {
    background: rgba(168, 93, 58, .14);
    color: var(--terracotta);
}

.pipeline-connector {
    width: 18px;
    height: 1.5px;
    background: var(--gold);
}

.pipeline-orb {
    width: 54px;
    height: 54px;
    margin: 20px auto 0;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #fff 0%, var(--gold) 42%, var(--terracotta) 85%);
    box-shadow: 0 12px 30px rgba(168, 93, 58, .35), 0 0 0 8px rgba(255, 255, 255, .72);
}

/* 3-Card Overlapping Fan Showcase (High Conversion Landing Page reference) */
.fan-cards {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 18px 8px 6px;
    min-height: 220px;
}

.fan-card {
    width: 142px;
    height: 188px;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 16px 34px rgba(33, 28, 24, .18);
    position: relative;
    background: var(--sand);
    transition: transform .35s cubic-bezier(.22, 1, .36, 1), z-index .1s;
    text-decoration: none;
}

.fan-card:nth-child(1) {
    transform: translateX(-18px) rotate(7deg) translateY(10px);
    z-index: 1;
}

.fan-card:nth-child(2) {
    transform: translateY(-6px) scale(1.06);
    z-index: 3;
}

.fan-card:nth-child(3) {
    transform: translateX(18px) rotate(-7deg) translateY(10px);
    z-index: 2;
}

.fan-card:hover {
    transform: translateY(-14px) scale(1.08) rotate(0deg);
    z-index: 5;
}

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

.fan-card span {
    position: absolute;
    inset-inline: 8px;
    bottom: 8px;
    padding: 5px 8px;
    border-radius: 10px;
    background: rgba(33, 28, 24, .76);
    color: var(--ivory);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Tall Portrait Editorial Card (Meeting App UI Design reference) */
.portrait-card {
    position: relative;
    min-height: 460px;
    border-radius: 34px;
    overflow: hidden;
    background: var(--clay);
    color: var(--ivory);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(22px, 3vw, 34px);
    isolation: isolate;
}

.portrait-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transition: transform .85s cubic-bezier(.22, 1, .36, 1);
}

.portrait-card:hover .portrait-card__img {
    transform: scale(1.04);
}

.portrait-card__veil {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        0deg,
        rgba(33, 28, 24, .92) 0%,
        rgba(33, 28, 24, .58) 46%,
        rgba(33, 28, 24, .08) 100%
    );
}

.portrait-card__title {
    font-size: clamp(26px, 3vw, 36px);
    margin: 10px 0 8px;
    color: var(--ivory);
}

.portrait-card__desc {
    color: rgba(245, 241, 232, .82);
    font-size: 14px;
    line-height: 1.75;
    max-width: 44ch;
    margin-bottom: 18px;
}

.portrait-card__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.portrait-card__stat {
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    background: rgba(245, 241, 232, .14);
    border: 1px solid rgba(245, 241, 232, .24);
    font-size: 12px;
    color: var(--ivory);
}

.portrait-card__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

@media (max-width: 480px) {
    .portrait-card__actions {
        grid-template-columns: 1fr;
    }
}

/* ── 4. Center-Focus CSS Scroll-Snap Fanned Carousel (Charlie J ref) ───── */

.snap-section {
    position: relative;
    overflow: hidden;
}

.snap-stage {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.snap-nav {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .86);
    color: var(--charcoal);
    display: inline-grid;
    place-items: center;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    transition: background-color .22s ease, color .22s ease, transform .22s ease;
    z-index: 4;
}

.snap-nav:hover {
    background: var(--charcoal);
    color: var(--ivory);
    transform: scale(1.06);
}

.snap-track {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 28px clamp(16px, 28%, 340px);
    scrollbar-width: none;
}

.snap-track::-webkit-scrollbar {
    display: none;
}

.snap-card {
    flex: 0 0 clamp(230px, 25vw, 296px);
    aspect-ratio: 3 / 3.9;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    scroll-snap-align: center;
    background: var(--sand);
    border: 2px solid rgba(255, 255, 255, .9);
    box-shadow: var(--shadow-md);
    text-decoration: none;
    color: var(--ivory);
    transform: scale(.84);
    opacity: .68;
    transition: transform .48s cubic-bezier(.22, 1, .36, 1), opacity .42s ease, box-shadow .42s ease;
}

.snap-card.is-near {
    transform: scale(.92);
    opacity: .86;
}

.snap-card.is-center {
    transform: scale(1.04);
    opacity: 1;
    z-index: 3;
    box-shadow: 0 28px 60px rgba(33, 28, 24, .22);
}

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

.snap-card__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(33, 28, 24, .86) 0%, rgba(33, 28, 24, .18) 52%, transparent 100%);
}

.snap-card__info {
    position: absolute;
    inset-inline: 18px;
    bottom: 18px;
    z-index: 2;
}

.snap-card__pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: rgba(245, 241, 232, .22);
    backdrop-filter: blur(8px);
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 6px;
}

.snap-card__title {
    font-size: 20px;
    color: var(--ivory);
    margin-bottom: 4px;
}

.snap-card__sub {
    font-size: 12px;
    color: rgba(245, 241, 232, .78);
}

.snap-footer {
    text-align: center;
    max-width: 540px;
    margin: 18px auto 0;
}

.snap-footer__title {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--charcoal);
    margin-bottom: 6px;
}

.snap-footer__caption {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.8;
    min-height: 48px;
}

.snap-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin-top: 16px;
}

.snap-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-pill);
    border: 0;
    padding: 0;
    background: rgba(33, 28, 24, .2);
    cursor: pointer;
    transition: width .3s ease, background-color .3s ease;
}

.snap-dot.is-active {
    width: 24px;
    background: var(--terracotta);
}

@media (max-width: 680px) {
    .snap-nav {
        display: none;
    }

    .snap-track {
        padding-inline: 12vw;
    }
}

/* ── 5. Orbital Craft Loop & Radial Infographic (Blog.jpg + download 7) ── */

.orbital-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: clamp(28px, 4.5vw, 64px);
    align-items: center;
}

@media (max-width: 960px) {
    .orbital-grid {
        grid-template-columns: 1fr;
    }
}

.orbital-diagram {
    position: relative;
    width: min(500px, 100%);
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    display: grid;
    place-items: center;
}

.orbital-ring {
    position: absolute;
    inset: 11%;
    border-radius: 50%;
    border: 1px dashed rgba(168, 93, 58, .38);
}

.orbital-core {
    width: 56%;
    height: 56%;
    border-radius: 50%;
    background: radial-gradient(
        circle at 42% 38%,
        var(--terracotta) 0%,
        var(--clay) 58%,
        rgba(184, 154, 98, .22) 92%,
        transparent 100%
    );
    box-shadow:
        0 0 68px rgba(168, 93, 58, .42),
        0 0 120px rgba(184, 154, 98, .28);
    display: grid;
    place-items: center;
    text-align: center;
    padding: 26px;
    color: var(--ivory);
}

.orbital-core strong {
    font-family: var(--font-heading);
    font-size: clamp(16px, 1.9vw, 22px);
    line-height: 1.45;
}

.orbital-node {
    position: absolute;
    padding: 9px 18px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(255, 255, 255, .95);
    box-shadow: 0 10px 26px rgba(33, 28, 24, .09);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    font-size: 12.5px;
    font-weight: 700;
    color: var(--charcoal);
    white-space: nowrap;
}

.orbital-node--1 { top: 3%; left: 50%; transform: translateX(-50%); }
.orbital-node--2 { top: 23%; right: -2%; }
.orbital-node--3 { bottom: 23%; right: -2%; }
.orbital-node--4 { bottom: 3%; left: 50%; transform: translateX(-50%); }
.orbital-node--5 { bottom: 23%; left: -2%; }
.orbital-node--6 { top: 23%; left: -2%; }

@media (max-width: 540px) {
    .orbital-diagram {
        aspect-ratio: auto;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .orbital-ring {
        display: none;
    }

    .orbital-core {
        width: 220px;
        height: 220px;
        margin-bottom: 12px;
    }

    .orbital-node {
        position: static;
        transform: none;
        width: 100%;
        text-align: center;
    }
}

/* Radial Metric Callout Cards (download 7 right-side glass callouts) */
.radial-callouts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

@media (max-width: 560px) {
    .radial-callouts {
        grid-template-columns: 1fr;
    }
}

.radial-callout-card {
    padding: 20px 22px;
    border-radius: 26px;
    background: rgba(255, 255, 255, .74);
    border: 1px solid rgba(255, 255, 255, .92);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radial-callout-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.radial-callout-card__metric {
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--charcoal);
    line-height: 1;
}

.radial-callout-card__dot {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--terracotta);
    color: var(--ivory);
    display: grid;
    place-items: center;
    font-size: 15px;
    box-shadow: 0 8px 18px rgba(168, 93, 58, .28);
}

.radial-callout-card strong {
    font-size: 15px;
    color: var(--charcoal);
}

.radial-callout-card p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
}

/* ── Shared Modern Cards (Crafts, Products, Journal, Inner Pages) ──────── */

.page-hero {
    max-width: 1380px;
    margin: 8px auto 0;
    padding: clamp(20px, 3vw, 34px) clamp(16px, 4vw, 48px) 0;
}

.page-hero__box {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-2xl);
    padding: clamp(32px, 5vw, 60px) clamp(24px, 4.5vw, 56px);
    background:
        radial-gradient(50% 70% at 15% 20%, rgba(184, 154, 98, .25), transparent 70%),
        radial-gradient(40% 60% at 88% 80%, rgba(168, 93, 58, .15), transparent 70%),
        rgba(255, 255, 255, .64);
    border: 1px solid rgba(255, 255, 255, .88);
    box-shadow: var(--shadow-sm);
}

.page-hero__title {
    font-size: clamp(32px, 4.8vw, 60px);
    margin: 14px 0 12px;
}

.page-hero__lead {
    color: var(--muted);
    max-width: 54ch;
    font-size: 15.5px;
    line-height: 1.85;
}

.craft-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.craft-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    padding: 12px 12px 20px;
    background: var(--glass-bg-strong);
    border: 1px solid rgba(255, 255, 255, .92);
    border-radius: var(--radius-xl);
    box-shadow: var(--glass-shadow);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease, border-color .35s ease;
    min-width: 0;
}

.craft-card:hover {
    transform: translateY(-6px);
    border-color: rgba(184, 154, 98, .55);
    box-shadow: var(--shadow-md);
}

.image-frame {
    overflow: hidden;
    background: var(--sand);
    border-radius: 22px;
    position: relative;
}

.image-frame img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform .75s cubic-bezier(.22, 1, .36, 1);
    display: block;
}

.craft-card:hover .image-frame img {
    transform: scale(1.05);
}

.craft-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 8px 0;
    flex: 1;
}

.craft-meta .craft-index {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 4px 11px;
    border-radius: var(--radius-pill);
    background: var(--ivory);
    border: 1px solid var(--line);
    color: var(--terracotta);
    font-size: 11.5px;
    font-weight: 700;
}

.craft-meta h3 {
    font-size: 21px;
    margin-top: 4px;
    overflow-wrap: anywhere;
}

.craft-meta p {
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.no-image,
.artisan-placeholder {
    width: 100%;
    height: 100%;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: repeating-linear-gradient(135deg, rgba(33, 28, 24, .04) 0 10px, transparent 10px 20px), var(--sand);
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    padding: 16px;
    border-radius: 20px;
}

.region-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.region-list span {
    display: inline-flex;
    align-items: center;
    padding: 7px 15px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .66);
    border-radius: var(--radius-pill);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--clay);
}

/* Journal Bento Cards */
.journal-section {
    max-width: 1380px;
    margin: 0 auto;
    padding: clamp(48px, 6vw, 96px) clamp(16px, 4vw, 48px);
}

.journal-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 38px;
}

.journal-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr;
    gap: 22px;
}

.journal-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    padding: 12px 12px 22px;
    background: var(--glass-bg-strong);
    border: 1px solid rgba(255, 255, 255, .92);
    border-radius: var(--radius-xl);
    box-shadow: var(--glass-shadow);
    transition: transform .32s ease, box-shadow .32s ease;
}

.journal-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.journal-art {
    height: 230px;
    margin-bottom: 18px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 30% 30%, rgba(184, 154, 98, .35), transparent 65%),
        var(--sand);
    border-radius: 22px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 14px;
}

.journal-feature .journal-art {
    height: 280px;
}

.journal-art span {
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    background: rgba(245, 241, 232, .88);
    color: var(--charcoal);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
}

.journal-label {
    display: inline-block;
    color: var(--terracotta);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    margin: 0 8px 6px;
}

.journal-card h3 {
    font-size: 22px;
    margin: 8px 8px 18px;
    line-height: 1.35;
}

.journal-card .eyebrow {
    margin-inline: 8px;
}

.journal-card .text-link {
    margin-top: auto;
    margin-inline-start: 8px;
    align-self: flex-start;
}

/* Process steps cards */
.process-track {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.process-track article {
    padding: 24px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(255, 255, 255, .92);
    box-shadow: var(--shadow-sm);
}

.process-no {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(168, 93, 58, .12);
    font-family: var(--font-display);
    color: var(--terracotta);
    font-size: 15px;
    font-weight: 700;
}

.process-line {
    height: 1px;
    background: var(--line);
    margin: 14px 0;
}

.process-track p {
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.75;
    margin-top: 8px;
}

.section-tail {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    margin-top: 28px;
    padding: 9px 18px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, .66);
    border: 1px solid var(--line);
    color: var(--charcoal);
    font-size: 12.5px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color .22s ease, color .22s ease;
}

.section-tail:hover {
    background: var(--charcoal);
    color: var(--ivory);
}

.empty-state {
    text-align: center;
    padding: 64px 24px;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, .58);
    border: 1px dashed var(--line-strong);
    color: var(--muted);
}

/* Shared form fields */
.form-field {
    margin-bottom: 16px;
    text-align: start;
}

.form-field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
    color: var(--clay);
    font-size: 13px;
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    font-size: 15px;
    font-family: var(--font-body);
    background-color: rgba(255, 255, 255, .86);
    color: var(--charcoal);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    border-color: var(--terracotta);
    outline: none;
    box-shadow: 0 0 0 3px rgba(168, 93, 58, .15);
}

/* ── Pre-Footer + Atmospheric Bloom + Giant Monumental Wordmark Footer ── */

.footer-ecosystem {
    margin-top: clamp(32px, 5vw, 64px);
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(233, 225, 210, .65) 18%,
        rgba(184, 154, 98, .34) 36%,
        var(--clay) 54%,
        var(--charcoal) 74%,
        var(--charcoal) 100%
    );
}

.studio-prefooter {
    max-width: 820px;
    margin: 0 auto;
    padding: clamp(64px, 8vw, 112px) 20px clamp(56px, 7vw, 92px);
    text-align: center;
}

.studio-prefooter__title {
    font-size: clamp(34px, 5vw, 62px);
    margin: 18px 0 16px;
    color: var(--charcoal);
}

.studio-prefooter__lead {
    color: var(--muted);
    max-width: 50ch;
    margin: 0 auto 28px;
    font-size: 15.5px;
    line-height: 1.85;
}

.studio-prefooter__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.site-footer {
    position: relative;
    color: var(--ivory);
    padding: clamp(44px, 5vw, 72px) clamp(18px, 4.5vw, 56px) 28px;
}

.site-footer__glow {
    position: absolute;
    inset-inline: 8%;
    top: -90px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(168, 93, 58, .42), transparent 70%);
    filter: blur(28px);
    pointer-events: none;
}

.footer-top {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1.55fr;
    gap: clamp(24px, 3vw, 44px);
    max-width: 1380px;
    margin: 0 auto;
    padding-bottom: clamp(40px, 5vw, 64px);
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--ivory);
}

.footer-brand__squircle {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(245, 241, 232, .14);
    border: 1px solid rgba(245, 241, 232, .3);
    padding: 6px;
    display: grid;
    place-items: center;
}

.footer-brand__squircle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.site-footer__brand p {
    margin-top: 14px;
    color: rgba(245, 241, 232, .74);
    line-height: 1.8;
    font-size: 13.5px;
    max-width: 30ch;
}

.footer-social-row {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-circle-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(245, 241, 232, .24);
    background: rgba(245, 241, 232, .06);
    color: var(--ivory);
    display: inline-grid;
    place-items: center;
    text-decoration: none;
    transition: background-color .22s ease, border-color .22s ease, transform .22s ease;
}

.footer-circle-icon:hover {
    background: var(--terracotta);
    border-color: var(--terracotta);
    transform: translateY(-2px);
}

.site-footer__links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-footer__links .eyebrow,
.site-footer__finder .eyebrow {
    color: var(--gold);
    margin-bottom: 6px;
}

.site-footer__links a {
    color: rgba(245, 241, 232, .78);
    text-decoration: none;
    font-size: 13.5px;
    transition: color .2s ease, transform .2s ease;
}

.site-footer__links a:hover {
    color: #fff;
    transform: translateX(-3px);
}

.site-footer__finder p {
    color: rgba(245, 241, 232, .74);
    font-size: 13px;
    line-height: 1.75;
    margin-bottom: 14px;
}

.footer-search-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-search-stack input {
    width: 100%;
    padding: 12px 18px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(245, 241, 232, .22);
    background: rgba(245, 241, 232, .10);
    color: var(--ivory);
    font-size: 13.5px;
    outline: none;
}

.footer-search-stack input::placeholder {
    color: rgba(245, 241, 232, .52);
}

.footer-search-stack input:focus {
    border-color: var(--gold);
    background: rgba(245, 241, 232, .16);
}

.footer-search-stack button {
    width: 100%;
    padding: 12px 20px;
    border-radius: var(--radius-pill);
    border: 0;
    background: var(--ivory);
    color: var(--charcoal);
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
    transition: background-color .22s ease, color .22s ease;
}

.footer-search-stack button:hover {
    background: var(--gold);
    color: var(--charcoal);
}

/* Giant Cropped Wordmark + Concentric Squircle (Footer Website UI ref) */
.footer-monument {
    max-width: 1380px;
    margin: 8px auto 22px;
    padding-top: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 2.8vw, 38px);
    overflow: hidden;
    user-select: none;
}

.footer-monument__squircle {
    width: clamp(68px, 11vw, 152px);
    height: clamp(68px, 11vw, 152px);
    border-radius: 30%;
    background: rgba(245, 241, 232, .12);
    padding: clamp(7px, 1.1vw, 16px);
    flex-shrink: 0;
    display: grid;
    place-items: center;
}

.footer-monument__squircle-mid {
    width: 100%;
    height: 100%;
    border-radius: 28%;
    background: rgba(245, 241, 232, .20);
    padding: clamp(5px, .8vw, 11px);
    display: grid;
    place-items: center;
}

.footer-monument__squircle-core {
    width: 100%;
    height: 100%;
    border-radius: 26%;
    background: var(--ivory);
    padding: clamp(3px, .5vw, 7px);
    overflow: hidden;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .25);
}

.footer-monument__squircle-core img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-monument__word {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: clamp(44px, 11.2vw, 162px);
    line-height: .9;
    letter-spacing: -.04em;
    color: var(--ivory);
    white-space: nowrap;
}

.site-footer__bottom {
    max-width: 1380px;
    margin: 0 auto;
    padding-top: 18px;
    border-top: 1px solid rgba(245, 241, 232, .14);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: rgba(245, 241, 232, .56);
}

@media (max-width: 1040px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .site-footer__brand,
    .site-footer__finder {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .craft-grid,
    .journal-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-monument {
        gap: 12px;
    }

    .footer-monument__word {
        font-size: clamp(24px, 7.5vw, 48px);
    }
}

/* ── Toast, Pager, Concierge Chat & PWA Install Chip (Preserved Hooks) ── */

.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--charcoal);
    color: var(--ivory);
    padding: 13px 26px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(245, 241, 232, .16);
    font-weight: 700;
    font-size: 13.5px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease, transform .3s ease;
    z-index: 10050;
    max-width: 90%;
    text-align: center;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Storefront Pager */
.pager-block {
    margin-top: clamp(32px, 5vw, 52px);
}

.pager-anchor {
    scroll-margin-top: 96px;
}

.pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px 28px;
    padding: 20px 24px;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, .66);
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: var(--shadow-sm);
}

.pager__summary {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.pager__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pager__item {
    display: flex;
}

.pager__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    background: #fff;
    color: var(--charcoal);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    transition: background-color .22s ease, border-color .22s ease, color .22s ease;
}

a.pager__link:hover {
    background: var(--sand);
    border-color: var(--clay);
}

.pager__link.is-current {
    background: var(--charcoal);
    border-color: var(--charcoal);
    color: var(--ivory);
    cursor: default;
}

.pager__link.is-disabled {
    background: transparent;
    border-color: var(--line);
    color: var(--muted);
    opacity: .48;
}

.pager__link--nav {
    padding: 0 18px;
    font-size: 12.5px;
}

.pager__chevron {
    flex: 0 0 13px;
    width: 13px;
    height: 13px;
}

[dir="rtl"] .pager__chevron {
    transform: scaleX(-1);
}

.pager__gap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 42px;
    color: var(--muted);
}

@media (max-width: 720px) {
    .pager {
        flex-direction: column;
        justify-content: center;
    }

    .pager__list {
        justify-content: center;
    }

    .pager__nav-label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
    }

    .pager__link--nav {
        padding: 0;
        min-width: 40px;
    }
}

/* Site-wide Concierge Chat */
.site-chat {
    position: fixed;
    inset-inline-end: 20px;
    bottom: 20px;
    z-index: 10020;
    font-family: var(--font-body);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    max-height: calc(100dvh - 40px);
    pointer-events: none;
}

.site-chat > * {
    pointer-events: auto;
}

.site-chat [hidden] {
    display: none !important;
}

.site-chat__toggle,
.site-chat__form button {
    border: 0;
    border-radius: var(--radius-pill);
    background: var(--charcoal);
    color: var(--ivory);
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.site-chat__toggle {
    flex: 0 0 auto;
    padding: 12px 20px;
    border: 1px solid rgba(245, 241, 232, .16);
    box-shadow: var(--shadow-md);
    transition: background-color .22s ease, transform .2s ease;
}

.site-chat__toggle:hover {
    background: var(--terracotta);
    transform: translateY(-2px);
}

.site-chat__toggle .site-chat__icon {
    color: var(--gold);
    margin-inline-end: 6px;
}

.site-chat__panel {
    flex: 0 1 auto;
    min-height: 0;
    width: min(380px, calc(100dvw - 28px));
    height: min(520px, calc(100dvh - 130px));
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--ivory);
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.site-chat__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    background: var(--charcoal);
    color: var(--ivory);
}

.site-chat__head div,
.site-chat__bubble {
    display: grid;
    gap: 4px;
}

.site-chat__head span {
    color: rgba(245, 241, 232, .7);
    font-size: 12px;
}

.site-chat__close {
    border: 0;
    background: rgba(245, 241, 232, .12);
    color: var(--ivory);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
}

.site-chat__messages {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
}

.site-chat__bubble {
    max-width: 88%;
    align-self: flex-start;
    margin: 0;
    padding: 11px 14px;
    border-radius: 18px 18px 18px 4px;
    background: var(--sand);
    color: var(--charcoal);
    font-size: 14px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.site-chat__bubble--user {
    align-self: flex-end;
    border-radius: 18px 18px 4px 18px;
    background: var(--charcoal);
    color: var(--ivory);
}

.site-chat__bubble a {
    color: var(--terracotta);
    font-weight: 700;
}

.site-chat__form {
    display: flex;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, .6);
}

.site-chat__form input {
    min-width: 0;
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    background: #fff;
}

.site-chat__form button {
    padding: 0 18px;
}

.site-chat .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

@media (max-width: 640px) {
    .site-chat {
        inset-inline-end: 14px;
        bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    }

    .site-chat__toggle {
        width: 48px;
        height: 48px;
        padding: 0;
        display: grid;
        place-items: center;
        font-size: 20px;
    }

    .site-chat__toggle .site-chat__icon {
        margin: 0;
    }

    .site-chat__toggle .site-chat__label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    /* Keep the footer copyright clear of the floating chat button */
    .site-footer__bottom {
        padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px));
    }
}

/* PWA Install Chip */
.install-app {
    position: fixed;
    left: 20px;
    bottom: 80px;
    z-index: 10015;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.install-app[hidden] {
    display: none;
}

.install-app__chip {
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .88);
    border-radius: var(--radius-pill);
    background: var(--glass-ivory);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.install-app__btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 15px;
    border: 0;
    background: none;
    color: var(--charcoal);
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
}

.install-app__btn svg {
    color: var(--terracotta);
}

.install-app__dismiss {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border: 0;
    border-inline-start: 1px solid var(--line);
    background: none;
    color: var(--muted);
    cursor: pointer;
}

.install-app__hint {
    max-width: min(296px, calc(100vw - 40px));
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--ivory);
    color: var(--charcoal);
    box-shadow: var(--shadow-md);
    font-size: 12.5px;
    line-height: 1.9;
}

.install-app__hint[hidden],
.install-app__hint p[hidden] {
    display: none;
}

@media (display-mode: standalone) {
    .install-app {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }

    [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
    }
}
