:root {
  --ink: #201b17;
  --paper: #fffdf8;
  --oat: #f1e9da;
  --rust: #913e29;
  --rule: #d6cdc0;
  font-family: Calibri, Carlito, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 1rem; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
:focus-visible { outline: 3px solid #b45637; outline-offset: 4px; }
main:focus { outline: none; }
.skip { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 10px 16px; background: var(--paper); }
.skip:not(:focus) { clip-path: inset(100%); }
header, footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 5vw; }
header { min-height: 80px; border-bottom: 1px solid var(--rule); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.06rem; font-weight: 700; letter-spacing: .08em; line-height: 1; }
.brand img { width: 33px; height: 45px; object-fit: contain; mix-blend-mode: multiply; }
nav { display: flex; gap: clamp(18px, 5vw, 62px); }
nav a, .bag-link { font-weight: 700; }
[aria-current=page] { text-decoration: underline; text-underline-offset: 6px; }
main { min-height: 65vh; }
.hero { display: grid; grid-template-columns: .9fr 1.1fr; background: var(--oat); }
.hero-copy { display: flex; align-items: flex-start; justify-content: center; flex-direction: column; padding: clamp(45px, 8vw, 125px) 5vw; }
h1, h2 { margin: 0; line-height: .96; letter-spacing: -.045em; }
h1 { font-size: clamp(2.75rem, 7.5vw, 7.5rem); }
h2 { font-size: clamp(2.1rem, 4vw, 4rem); }
.hero h1 { margin-bottom: 30px; text-transform: uppercase; }
.eyebrow { margin: 0 0 16px; color: var(--rust); text-transform: uppercase; font-weight: 700; letter-spacing: .14em; font-size: .875rem; }
.button, button, select { display: inline-block; font: inherit; padding: 12px 20px; border: 1px solid currentColor; border-radius: 0; background: transparent; color: inherit; }
.button, button { font-weight: 700; cursor: pointer; }
.primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.primary:hover { background: var(--rust); border-color: var(--rust); text-decoration: none; }
.section { padding: clamp(38px, 6vw, 92px) 5vw; }
.brand-story { display: grid; grid-template-columns: 1fr 1fr; gap: 20px clamp(24px, 6vw, 90px); border-bottom: 1px solid var(--rule); }
.brand-story p { max-width: 52ch; margin: 0; align-self: center; font-size: clamp(1.125rem, 2vw, 1.35rem); }
.section-head, .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.section-head { margin-bottom: 25px; }
.section-head a, .back { text-decoration: underline; text-underline-offset: 5px; }
.product-card { display: block; max-width: 380px; }
.product-card img, .product-photo { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--oat); }
.product-card > span { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; }
.campaign { background: var(--oat); }
.editorials, .story-images { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 3vw, 42px); margin-top: 24px; }
.editorial-card img, .story-images img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 25%; }
.editorial-card span { display: block; padding-top: 9px; font-size: clamp(1.2rem, 2.5vw, 2rem); font-weight: 700; }
.story-images { margin-bottom: 24px; }
.back { display: inline-block; margin-bottom: 22px; }
.shop { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 7vw, 110px); align-items: center; max-width: 1300px; margin: auto; }
.product-details h1 { font-size: clamp(2.65rem, 6vw, 6rem); }
.price { font-size: 1.25rem; }
.product-details label { display: block; font-weight: 700; margin-bottom: 5px; }
.product-details select { appearance: none; padding-right: 36px; margin-right: 5px; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23201b17' stroke-width='1.5'/%3E%3C/svg%3E") right 12px center no-repeat; }
.product-gallery { margin: 0; }
.product-gallery figcaption { margin-top: 6px; }
.color-options { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.color-options legend { padding: 0; font-weight: 700; }
#selected-color { font-weight: 400; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.swatches .swatch { position: relative; margin: 0; cursor: pointer; }
.swatch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.swatch-face { display: flex; align-items: center; gap: 7px; min-height: 44px; padding: 6px 9px; border: 1px solid var(--rule); font-size: .9rem; }
.swatch-face::before { content: ""; width: 18px; height: 18px; background: var(--swatch); border: 1px solid #201b1760; }
.swatch input:checked + .swatch-face { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.swatch input:focus-visible + .swatch-face { outline: 3px solid #b45637; outline-offset: 3px; }
#notice { min-height: 24px; }
.review { max-width: 850px; margin: auto; }
.line { border-bottom: 1px solid var(--rule); padding: 16px 0; }
.line button { padding: 5px 10px; }
.total { margin: 22px 0; }
footer { flex-wrap: wrap; background: var(--ink); color: var(--paper); padding-block: 32px; }
@media (max-width: 680px) {
  header { gap: 12px; }
  .hero, .shop, .brand-story { grid-template-columns: 1fr; }
  .product-photo { max-width: 480px; }
}
@media (max-width: 380px) {
  header { padding-inline: 12px; }
  nav { gap: 12px; }
  .brand { font-size: .9rem; gap: 4px; }
  .brand img { width: 25px; height: 34px; }
}

.cover-flow { background: #29201b; color: var(--paper); min-width: 0; padding: clamp(16px, 3vw, 40px) 12px 14px; }
.cover-stage { position: relative; height: clamp(280px, 39vw, 590px); perspective: 850px; overflow: hidden; touch-action: pan-y; }
.cover-stage img { position: absolute; inset: 0 auto 0 50%; width: 49%; height: 100%; object-fit: cover; object-position: center 26%; border-radius: 4px; transition: transform .55s cubic-bezier(.25,.8,.2,1), opacity .55s; }
.cover-stage [data-position="center"] { transform: translateX(-50%); z-index: 2; box-shadow: 0 10px 28px #110a08a0; }
.cover-stage [data-position="previous"] { transform: translateX(-112%) scale(.82) rotateY(36deg); opacity: .68; }
.cover-stage [data-position="next"] { transform: translateX(12%) scale(.82) rotateY(-36deg); opacity: .68; }
.cover-controls { display: flex; align-items: center; justify-content: center; gap: 15px; margin-top: 8px; }
.cover-controls button { border-radius: 50%; min-width: 44px; height: 44px; padding: 0; font-size: 1.45rem; }
.cover-controls button:hover { background: #ffffff20; }
.cover-caption { min-width: 10rem; text-align: center; }
.swatch-face { transition: border-color .2s, box-shadow .2s, background-color .2s; }
.swatch input:checked + .swatch-face { background-color: var(--oat); }
.signup-link { border: 0; padding-inline: 0; text-decoration: underline; text-underline-offset: 4px; }
#signup { color: var(--ink); background: var(--paper); width: min(92%, 480px); max-height: 90vh; border: 1px solid var(--rule); padding: clamp(25px, 6vw, 45px); }
#signup::backdrop { background: #201b17aa; }
#signup h2 { padding-right: 28px; }
.signup-close { position: absolute; top: 8px; right: 8px; border: 0; padding: 5px 12px; font-size: 1.25rem; }
#signup-form > label { display: block; margin: 12px 0 5px; }
#signup-contact { width: 100%; min-height: 44px; padding: 8px 12px; font: inherit; border: 1px solid currentColor; }
#signup-form .signup-consent { display: flex; gap: 8px; align-items: baseline; margin: 14px 0; }
#signup-status:empty { display: none; }
@media (prefers-reduced-motion: reduce) {
  .cover-stage img, .swatch-face { transition: none; }
}

:root {
  --woven: repeating-linear-gradient(0deg, #100c0b42 0 1px, transparent 1px 4px),
    repeating-conic-gradient(from 45deg, #ecaa42 0 12.5%, #402552 12.5% 25%, #9d3436 25% 37.5%, #256055 37.5% 50%);
  --night: #22172b;
  --gold: #ffcc6d;
}
.hero {
  background: radial-gradient(ellipse at 25% 0%, #53335e, transparent 74%), var(--night);
  color: var(--paper);
  border-top: 7px solid transparent;
  border-image: repeating-linear-gradient(90deg, #ecaa42 0 18px, #402552 18px 36px, #9d3436 36px 54px, #256055 54px 72px) 1;
}
.hero-copy { position: relative; isolation: isolate; overflow: hidden; }
.hero-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--woven);
  background-size: auto, 72px 72px;
  opacity: .34;
  mask-image: linear-gradient(150deg, transparent 28%, #000 100%);
}
.hero-copy::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #201429c9, #22172b55);
}
.hero .eyebrow { color: var(--gold); }
.hero h1 { margin-bottom: 15px; }
.hero-welcome { margin: 0 0 25px; font-size: clamp(1.15rem, 2vw, 1.5rem); }
.hero .primary { background: var(--gold); border-color: var(--gold); color: var(--night); }
.hero .primary:hover { background: #ffe0a7; }
.cover-flow { background: radial-gradient(ellipse at 50% 72%, #563c73, #1e1728 76%); }
.cover-stage [data-position="center"] { box-shadow: 0 8px 34px #0f081a; }
.campaign { background: linear-gradient(125deg, #f4e6d8, #f4eee3 48%, #e6ece4); }
.brand-story { border-top: 5px solid #c88e39; }
footer {
  background: linear-gradient(115deg, #271732, #171b21 70%);
  border-top: 6px solid transparent;
  border-image: repeating-linear-gradient(90deg, #ecaa42 0 18px, #402552 18px 36px, #9d3436 36px 54px, #256055 54px 72px) 1;
}
#signup { border-top: 6px solid #b47a34; }
.hero :focus-visible, footer :focus-visible { outline-color: var(--gold); }

/* Shared woven trim and lighting with a palette for each storefront page. */
body {
  --page-deep: #22172b;
  --page-glow: #604272;
  --page-gold: #ffcc6d;
  --page-surface: #f5edf7;
  --page-rule: #d8c9df;
  --page-stripe: repeating-linear-gradient(90deg, var(--page-gold) 0 18px, var(--page-glow) 18px 36px, #a33d41 36px 54px, #357266 54px 72px);
}
body[data-page="boutique"] {
  --page-deep: #13322c; --page-glow: #346b5e; --page-surface: #edf5ee; --page-rule: #bcd2c3;
}
body[data-page="lookbook"] {
  --page-deep: #512734; --page-glow: #89465a; --page-surface: #faf0ed; --page-rule: #dfc0c3;
}
body[data-page="bag"] {
  --page-deep: #1a2b4a; --page-glow: #405f8e; --page-surface: #edf3fa; --page-rule: #c2d0e3;
}
body[data-page="checkout"] {
  --page-deep: #532e21; --page-glow: #93543b; --page-surface: #fbf1e9; --page-rule: #dfc9b7;
}
footer {
  background: linear-gradient(115deg, var(--page-deep), #171b21 78%);
  border-image: var(--page-stripe) 1;
}
body:not([data-page="home"]) main {
  background:
    radial-gradient(ellipse at 90% 0%, var(--page-glow), transparent 68%),
    var(--page-deep);
  border-top: 7px solid transparent;
  border-image: var(--page-stripe) 1;
  padding: clamp(22px, 5vw, 70px) 5vw;
  position: relative;
  isolation: isolate;
}
body:not([data-page="home"]) main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--woven);
  background-size: auto, 64px 64px;
  opacity: .26;
  mask-image: linear-gradient(145deg, transparent 32%, #000 100%);
}
body:not([data-page="home"]) main > .section {
  width: min(100%, 1300px);
  margin-inline: auto;
  padding: clamp(22px, 5vw, 64px);
  border-radius: 6px;
  background: var(--page-surface);
  box-shadow: 0 16px 44px #17121f4d;
}
body:not([data-page="home"]) main > .review { width: min(100%, 850px); }
body:not([data-page="home"]) main .primary { background: var(--page-deep); border-color: var(--page-deep); }
body:not([data-page="home"]) main .primary:hover { background: var(--page-glow); border-color: var(--page-glow); }
body:not([data-page="home"]) main .swatch input:checked + .swatch-face { background: var(--page-surface); border-color: var(--page-deep); }
body:not([data-page="home"]) main .eyebrow { color: var(--page-deep); }
.line { border-color: var(--page-rule); }
#signup { border-color: var(--page-rule); border-top-color: var(--page-glow); }

.cover-stage [data-position="hidden"] { transform: translateX(-50%) scale(.65); opacity: 0; visibility: hidden; }
.cover-choices { display: flex; flex-wrap: wrap; justify-content: center; margin-top: 2px; }
.cover-choices button { display: grid; place-items: center; width: 32px; min-height: 36px; border: 0; padding: 0; }
.cover-choices button::before { content: ""; width: 8px; height: 8px; border: 1px solid currentColor; border-radius: 50%; }
.cover-choices button[aria-pressed="true"]::before { background: var(--page-gold); border-color: var(--page-gold); }
body:not([data-page="home"]) .cover-flow { background: radial-gradient(ellipse at 50% 72%, var(--page-glow), var(--page-deep) 80%); border-radius: 5px; }
.campaign > .cover-flow { margin-top: 25px; }
.shop { align-items: start; }
.shop-visuals { min-width: 0; }
.shop .cover-stage { height: clamp(220px, 30vw, 440px); }
.shop .cover-stage img { width: 56%; }
.shop .cover-caption { min-width: 0; }
.editorial-note { margin: 8px 0 12px; }
.product-reference summary { cursor: pointer; font-weight: 700; margin-bottom: 9px; }
.product-reference .product-photo { width: min(100%, 245px); }

.cover-stage img { object-position: center 43%; }
.cover-stage [data-position="center"] { object-fit: contain; background: #100d17; }
.shop .cover-stage { height: clamp(265px, 38vw, 520px); }
.shop .cover-stage img { width: 64%; }
.product-reference .product-photo { width: min(100%, 420px); aspect-ratio: auto; }
.arrivals .product-card img { object-position: center 38%; }
.campaign > .cover-flow { margin-bottom: 25px; }

.bag-link, .review-title, .review .button[href="#checkout"] {
  display: inline-flex;
  align-items: center;
  gap: .45em;
}
.bag-link { white-space: nowrap; }
.bag-icon { width: 1.3em; height: 1.3em; flex: none; }
.review-title { display: flex; font-size: clamp(2.1rem, 7vw, 6rem); }
.review-title .bag-icon { width: .87em; height: .87em; }

body[data-page="contact"] {
  --page-deep: #23382a; --page-glow: #516e4d; --page-surface: #f1f5ec; --page-rule: #c6d5bf;
}
.contact-page { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 65px); }
.contact-page address { font-style: normal; line-height: 1.8; overflow-wrap: anywhere; }
.contact-page address a { text-decoration: underline; text-underline-offset: 3px; }
#contact-form { min-width: 0; }
#contact-form label { display: block; margin-block: 12px 4px; font-weight: 700; }
#contact-form input, #contact-form textarea {
  width: 100%; min-height: 44px; padding: 9px; color: var(--ink); background: var(--paper);
  font: inherit; border: 1px solid var(--page-deep);
}
#contact-form textarea { resize: vertical; }
#contact-status:empty { display: none; }
@media (max-width: 680px) {
  .contact-page { grid-template-columns: 1fr; }
  header nav { flex-wrap: wrap; gap: 4px 12px; justify-content: center; }
}

.header-tools { display: flex; align-items: center; justify-content: flex-end; gap: 16px; padding: 10px 5vw; background: var(--paper); }
#site-search { display: flex; flex: 1 1 400px; max-width: 540px; min-width: 0; }
#search-query { flex: 1; min-width: 0; border: 1px solid currentColor; border-right: 0; background: #fff; color: var(--ink); font: inherit; padding: 8px 10px; }
#site-search button { padding: 8px 12px; }
.account-link { white-space: nowrap; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; padding-block: 10px; }
.search-results { padding-inline-start: 24px; line-height: 2; }
.search-results a { text-decoration: underline; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.store-footer { display: block; padding: clamp(28px, 5vw, 64px) 5vw 24px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.1fr; gap: 28px; }
.footer-grid section { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.footer-grid h2 { font-size: 1.22rem; letter-spacing: normal; line-height: 1.2; margin-bottom: 4px; }
.footer-grid p { margin: 0; }
.footer-brand .brand { color: var(--page-gold); }
.footer-signup { padding: 8px 12px; color: var(--page-gold); }
.footer-signup:hover { background: #ffffff16; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid #ffffff40; margin-top: 30px; padding-top: 18px; }
.shopping-help details { border-bottom: 1px solid var(--page-rule); padding-block: 16px; }
.shopping-help summary { font-weight: 700; cursor: pointer; }
.shopping-help details a { text-decoration: underline; }
.shopping-help > .button { margin-top: 24px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 410px) { .footer-grid { grid-template-columns: 1fr; } }
