/* The editorial palette is deliberately scoped to the storefront home page. */
body.atelier-home { --atelier-paper: #eee7db; --atelier-muted: #c4baaa; --atelier-line: #605344; background: #11100e; color: var(--atelier-paper); margin-bottom: 0; }
.atelier-home::before, .atelier-home .storefront-rune-bar { display: none; }
.atelier-home > .container { max-width: none; padding: 0; }
.atelier-home main.pb-3 { padding-bottom: 0 !important; }
.atelier-home a { color: inherit; }
.atelier-home a:hover { color: #e0c495; }
.atelier-home a:focus-visible, .atelier-home button:focus-visible, .atelier-home summary:focus-visible { outline: 2px solid #e0c495; outline-offset: 5px; }
.atelier-home > header, .atelier-home > header .navbar { background: #11100e !important; }
.atelier-home > header .navbar { min-height: 82px; border-bottom: 1px solid var(--atelier-line) !important; box-shadow: none !important; }
.atelier-home .navbar .container-fluid { max-width: 1680px; }
.atelier-home .navbar-brand > .atelier-wordmark { max-width: none; color: var(--atelier-paper); font-size: clamp(1.05rem, 1.76vw, 1.54rem); text-transform: uppercase; letter-spacing: .35em; white-space: nowrap; }
.atelier-home .navbar .nav-link { color: var(--atelier-paper) !important; font-weight: 400; font-size: .78rem; letter-spacing: .06em; }
.atelier-home .navbar-nav { justify-content: center; margin-left: 1rem; flex-wrap: wrap; }
.atelier-home .account-navigation a, .atelier-home .storefront-cart { background: transparent; color: var(--atelier-paper); border: 0; }
.atelier-home .storefront-cart__label { display: none; }
.atelier-home .market-selector summary { background: transparent; border-color: var(--atelier-line); color: var(--atelier-paper); font-size: .7rem; }
.atelier-home .market-selector__popup { background: #1d1b17; color: var(--atelier-paper); border-color: var(--atelier-line); }
.atelier-home .market-selector__popup a { color: var(--atelier-paper); }
.atelier-home .market-selector__popup a:hover { background: #343027; }
.atelier-home .navbar-toggler { border-color: var(--atelier-line); min-height: 44px; }
.atelier-home .navbar-toggler-icon { filter: invert(1); }
.atelier { max-width: 1920px; margin: auto; }
.atelier .hero-carousel { margin: 0; border-bottom: 1px solid var(--atelier-line); }
.atelier .storefront-hero { min-height: clamp(360px, 34vw, 560px); border: 0; border-radius: 0; box-shadow: none; background: #15120f; padding: clamp(2rem, 3vw, 3.5rem) clamp(2rem, 6vw, 7rem); }
.atelier .storefront-hero__content { width: 48%; }
.atelier .storefront-hero h2 { font-size: clamp(2.75rem, 5.3vw, 5.8rem); line-height: 1.08; font-weight: 400; letter-spacing: -.035em; max-width: 13ch; overflow-wrap: normal; }
.atelier .storefront-hero p { font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 1.75; max-width: 42ch; }
.atelier .storefront-hero::before { background: linear-gradient(90deg, rgba(12,11,9,.75), rgba(12,11,9,.3) 48%, transparent 80%); }
.atelier .button-link, .atelier-button { display: inline-flex; align-items: center; justify-content: center; gap: 1.8rem; padding: 1rem 1.7rem; min-height: 48px; border: 1px solid #b8a17c; border-radius: 0; background: rgba(10,10,9,.2); color: #f4ede2; font-size: .73rem; font-weight: 500; text-transform: uppercase; letter-spacing: .16em; text-decoration: none; box-shadow: none; }
.atelier .button-link:hover, .atelier-button:hover { background: #d5c09b; color: #15120f; }
.atelier-editorial-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.atelier-editorial-actions button { cursor: pointer; }
.atelier-home .atelier-editorial .atelier-button:hover { color: #000; }
.atelier .hero-carousel__controls { background: #191611; border-color: var(--atelier-line); }
.atelier-categories { border-bottom: 1px solid var(--atelier-line); padding: 1.6rem 2rem; }
.atelier-categories ul { display: flex; justify-content: center; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.atelier-categories li + li { border-left: 1px solid var(--atelier-line); }
.atelier-categories a.nav-link { color: var(--atelier-paper) !important; font: 1rem "Inter", sans-serif; padding: .5rem clamp(1rem, 4vw, 4rem); }
.atelier-collection { padding: clamp(2rem, 5vw, 5rem) clamp(1.25rem, 4.5vw, 5rem); border-bottom: 1px solid var(--atelier-line); }
.atelier-collection + .atelier-editorial, .atelier-collection + .atelier-stories > .atelier-editorial:first-child { border-top: 0; }
.atelier-section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; margin-bottom: 2rem; }
.atelier h2 { font-weight: 400; font-size: clamp(2rem, 3.3vw, 3.6rem); }
.atelier #collection-heading, .atelier #history-heading { font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(.95rem, 1.6vw, 1.4rem); text-transform: uppercase; letter-spacing: .35em; }
.atelier-history-heading { padding: clamp(2rem, 5vw, 5rem) clamp(1.25rem, 4.5vw, 5rem) 2rem; }
.atelier-history-heading h2 { margin: 0; }
.atelier-history-heading + .atelier-editorial { border-top: 0; }
.atelier-text-link { font-size: .7rem; text-transform: uppercase; letter-spacing: .15em; text-decoration: none; line-height: 1.7; }
.atelier-text-link > span { margin-left: .8rem; }
.atelier-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.atelier-product { text-align: center; text-decoration: none; min-width: 0; }
.atelier-product-image { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #211e19; border: 1px solid var(--atelier-line); display: grid; place-items: center; }
.atelier-product img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .35s ease; }
.atelier-product:hover img { transform: scale(1.035); }
.atelier-product-price { color: var(--atelier-muted); font-size: .95rem; margin: 0 0 .75rem; }
.atelier-product h3 { font-size: clamp(.95rem, 1.6vw, 1.4rem); line-height: 1.5; margin: 1rem 0 .65rem; overflow-wrap: anywhere; }
.atelier-image-placeholder { font: 3rem "Cormorant Garamond", Georgia, serif; letter-spacing: .2em; color: #a88f68; }
.atelier-editorial { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--atelier-line); }
.atelier-editorial-image { position: relative; min-height: 440px; overflow: hidden; }
.atelier-editorial-image img { position: absolute; inset: 0; display: block; height: 100%; width: 100%; object-fit: cover; }
.atelier-editorial-copy { align-self: center; padding: clamp(2rem, 5vw, 6rem); }
.atelier-editorial-copy h2 { max-width: 15ch; line-height: 1.15; margin-bottom: 1.5rem; }
.atelier-editorial-copy > p:not(.atelier-eyebrow) { line-height: 1.8; color: var(--atelier-muted); white-space: pre-line; margin-bottom: 2rem; }
.atelier-eyebrow { font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; margin-bottom: 1.5rem; }
.atelier-landscape { position: relative; isolation: isolate; min-height: 420px; display: flex; align-items: end; padding: clamp(2rem, 5vw, 5rem); }
.atelier-landscape img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.atelier-landscape::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.65), transparent), linear-gradient(0deg, rgba(0,0,0,.35), transparent); }
.atelier-landscape h2 { max-width: 17ch; line-height: 1.1; }
.atelier-landscape p { color: var(--atelier-paper); }
body.atelier-home .footer.storefront-footer { margin-top: 0; background: #11100e; border-top: 1px solid var(--atelier-line) !important; color: var(--atelier-muted) !important; padding-top: 3rem; }
@media (max-width: 1100px) and (min-width: 768px) {
    .atelier-home .navbar .container-fluid { flex-wrap: wrap; }
    .atelier-home .navbar-brand { width: 100%; justify-content: center; margin: .5rem 0 1rem; }
    .atelier-home .navbar-nav { margin-left: 0; }
}
@media (max-width: 767px) {
    .atelier-home > header .navbar { min-height: 72px; }
    .atelier-home .navbar .container-fluid { display: grid; grid-template-columns: minmax(0, 1fr) 40px 44px; gap: .25rem; padding-inline: .75rem; }
    .atelier-home .navbar-brand { width: auto; min-width: 0; margin: 0; justify-content: flex-start; }
    .atelier-home .navbar-brand > .atelier-wordmark { font-size: clamp(.85rem, 3.4vw, 1.1rem); letter-spacing: clamp(.2em, .8vw, .35em); white-space: nowrap; }
    .atelier-home .storefront-cart { width: 40px; min-height: 44px; margin: 0; justify-content: center; }
    .atelier-home .navbar-toggler { width: 44px; margin: 0; padding-inline: .35rem; }
    .atelier-home .navbar-collapse { grid-column: 1 / -1; }
    .atelier #collection-heading, .atelier #history-heading { font-size: clamp(1.25rem, 5vw, 1.6rem); }
    .atelier-product h3 { font-size: clamp(1.25rem, 5vw, 1.6rem); }
    .atelier-home .navbar-nav { align-items: start; margin: 1rem 0; }
    .atelier-home .navbar-collapse { padding-bottom: 1rem; }
    .atelier-home .market-selector { margin: .75rem 0; }
    .atelier .storefront-hero { padding: 0; display: flex; flex-direction: column; min-height: 0; }
    .atelier .storefront-hero__image { position: relative; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; object-position: right; z-index: 0; }
    .atelier .storefront-hero::before { display: none; }
    .atelier .storefront-hero__content { width: 100%; padding: 2rem 1.5rem 2.5rem; background: #15120f; }
    .atelier .storefront-hero h2 { font-size: clamp(2.5rem, 9vw, 4rem); max-width: 17ch; }
    .atelier .hero-carousel--multiple .storefront-hero__content { padding-bottom: 2.5rem; }
    .atelier .hero-carousel__controls { display: none; }
    .atelier-categories { padding: .8rem .5rem; }
    .atelier-categories a.nav-link { font-size: 1.15rem; padding: .7rem 1rem; }
    .atelier-section-heading { align-items: start; flex-direction: column; gap: .4rem; }
    .atelier-product-grid { grid-template-columns: 1fr; gap: 2.25rem; }
    .atelier-product-image { aspect-ratio: 4 / 3; }
    .atelier-editorial { grid-template-columns: 1fr; }
    .atelier-editorial-image { min-height: 0; height: 320px; }
    .atelier-editorial-copy { padding: 2.5rem 1.5rem; }
    .atelier-landscape { min-height: 380px; }
}
@media (prefers-reduced-motion: reduce) { .atelier-product img { transition: none; } }

.atelier-home { font-family: "Inter", sans-serif; }
.atelier-home :is(h1, h2, h3, h4, h5, h6, .navbar-brand, .atelier-wordmark) { font-family: "Cormorant Garamond", Georgia, serif; }
.atelier-home :is(button, input, select, textarea, .nav-link, .atelier-button, .button-link) { font-family: "Inter", sans-serif; }
.atelier-home .storefront-product-name { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 400; text-transform: uppercase; letter-spacing: .15em; }
