/* ==========================================================================
   Avera — storefront styles
   Brand: Primary #14212B · Background #F7F5F0 · Secondary #DDD4C5 · Accent #B9684B · Text #202326
   Type: Manrope (headings) · Inter (everything else)
   ========================================================================== */

:root {
  --primary: #14212B;
  --bg: #F7F5F0;
  --secondary: #DDD4C5;
  --accent: #B9684B;
  --text: #202326;

  --primary-90: #1D2D39;
  --accent-dark: #A0573C;
  --muted: #61656A;
  --line: rgba(20, 33, 43, 0.12);
  --line-strong: rgba(20, 33, 43, 0.24);
  --surface: #EFEBE3;
  --surface-2: #E8E2D7;
  --white: #FFFFFF;

  --font-head: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  --wrap: 1240px;
  --wrap-wide: 1440px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(72px, 9vw, 128px);
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.no-scroll { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--primary); margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.12; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.display { font-size: clamp(42px, 6.2vw, 88px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; }
.h1 { font-size: clamp(34px, 4.4vw, 58px); letter-spacing: -0.03em; line-height: 1.06; }
.h2 { font-size: clamp(28px, 3.3vw, 44px); letter-spacing: -0.03em; }
.h3 { font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -0.02em; }
.lede { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.65; color: var(--muted); max-width: 34em; }
.muted { color: var(--muted); }
.eyebrow {
  font-family: var(--font-body);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
}

.container { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container-wide { width: 100%; max-width: calc(var(--wrap-wide) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(780px + var(--gutter) * 2); }
.section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * .7) 0; }
.section--sand { background: var(--surface); }
.section--navy { background: var(--primary); color: #E9E4DA; }
.section--navy h2, .section--navy h3 { color: var(--bg); }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--primary); color: #fff; padding: 10px 16px; }
.skip-link:focus { top: 12px; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 32px;
  font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: var(--radius);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--primary); color: var(--bg); }
.btn--primary:hover { background: var(--primary-90); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-dark); }
.btn--light { background: var(--bg); color: var(--primary); }
.btn--light:hover { background: #fff; }
.btn--ghost { border-color: var(--line-strong); color: var(--primary); background: transparent; }
.btn--ghost:hover { border-color: var(--primary); }
.btn--outline-light { border-color: rgba(247, 245, 240, .6); color: var(--bg); }
.btn--outline-light:hover { background: var(--bg); color: var(--primary); }
.btn--block { width: 100%; }
.btn--grow { flex: 1; }
.btn svg { width: 18px; height: 18px; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary);
  padding-bottom: 4px; border-bottom: 1px solid var(--line-strong);
  transition: border-color .3s var(--ease), gap .3s var(--ease);
}
.text-link:hover { border-color: var(--primary); gap: 12px; }
.text-link svg { width: 16px; height: 16px; }
.link-btn { font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--primary); }

.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; color: var(--primary); transition: background .2s; position: relative; }
.icon-btn:hover { background: rgba(20, 33, 43, .06); }

/* ---------- announcement + header ---------- */
.announce { background: var(--primary); color: #E6E0D5; text-align: center; font-size: 12.5px; letter-spacing: 0.06em; }
.announce p { margin: 0; padding: 10px var(--gutter); display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 0 4px; }
.announce__dot { display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--accent); margin: 0 14px; }

.header { position: sticky; top: 0; z-index: 60; background: rgba(247, 245, 240, .94); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.header.is-scrolled { border-color: var(--line); }
.header__inner { height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; max-width: calc(var(--wrap-wide) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.header__left, .header__right { display: flex; align-items: center; }
.header__right { justify-content: flex-end; gap: 4px; }
.header__nav { display: flex; gap: 30px; }
.header__link { position: relative; white-space: nowrap; font-size: 13.5px; font-weight: 500; letter-spacing: 0.02em; color: var(--primary); padding: 6px 0; }
.header__link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.header__link:hover::after, .header__link.is-active::after { transform: scaleX(1); }
.header__right .header__link { margin-right: 14px; }
.header__logo img { height: 52px; width: auto; }
.header__menu { display: none; margin-left: -10px; }
.cart-count { position: absolute; top: 5px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 10.5px; font-weight: 600; display: grid; place-items: center; line-height: 1; }

/* ---------- overlays & drawers ---------- */
.overlay { position: fixed; inset: 0; z-index: 90; background: rgba(20, 33, 43, .42); opacity: 0; transition: opacity .35s var(--ease); }
.overlay.is-open { opacity: 1; }
.drawer { position: fixed; top: 0; bottom: 0; z-index: 100; width: min(440px, 100%); background: var(--bg); display: flex; flex-direction: column; transition: transform .45s var(--ease), visibility 0s linear .45s; visibility: hidden; }
.drawer.is-open { transition: transform .45s var(--ease); visibility: visible; transform: none; }
.drawer--right { right: 0; transform: translateX(100%); }
.drawer--left { left: 0; transform: translateX(-100%); width: min(380px, 88%); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.drawer__title { font-size: 18px; letter-spacing: -0.01em; }
.drawer__title span { color: var(--muted); font-weight: 500; }
.drawer__logo { height: 40px; width: auto; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer__foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer__foot:empty { display: none; }
.drawer__note { font-size: 13px; color: var(--muted); margin: -2px 0 6px; }

.mobile-nav { display: flex; flex-direction: column; padding: 16px 24px; }
.mobile-nav__link { font-family: var(--font-head); font-size: 24px; font-weight: 600; letter-spacing: -0.02em; color: var(--primary); padding: 12px 0; border-bottom: 1px solid var(--line); }
.mobile-nav__link.is-active { color: var(--accent); }
.mobile-nav__help { margin-top: auto; padding: 24px; display: grid; gap: 10px; font-size: 14px; color: var(--muted); }

.ship-meter { padding: 16px 24px 0; font-size: 13.5px; color: var(--text); }
.ship-meter:empty { display: none; }
.ship-meter p { margin-bottom: 10px; }
.ship-meter__bar { height: 3px; background: var(--secondary); border-radius: 2px; overflow: hidden; }
.ship-meter__bar span { display: block; height: 100%; background: var(--accent); transition: width .5s var(--ease); }
.ship-meter--page { padding: 0; margin: 24px 0 8px; max-width: 460px; }

.line { display: grid; grid-template-columns: 92px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line__img { aspect-ratio: 4 / 5; background: var(--surface); overflow: hidden; }
.line__img img { width: 100%; height: 100%; object-fit: cover; }
.line__info { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; min-width: 0; }
.line__top { display: flex; justify-content: space-between; gap: 12px; }
.line__name { font-family: var(--font-head); font-weight: 600; font-size: 15.5px; color: var(--primary); letter-spacing: -0.01em; }
.line__meta, .line__unit { font-size: 13px; color: var(--muted); margin: 2px 0 0; }
.line__price { font-weight: 500; font-size: 15px; white-space: nowrap; }
.line__bottom { display: flex; align-items: center; justify-content: space-between; }
.line--page { grid-template-columns: 128px 1fr; padding: 28px 0; }
.line--page .line__name { font-size: 18px; }

.cart-empty { text-align: center; padding: 64px 0; display: grid; gap: 18px; justify-items: center; color: var(--muted); }
.cart-empty--page { padding: 40px 0 24px; }
.cart-empty--page .h1 { margin-bottom: 4px; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius); height: 54px; }
.qty button { width: 44px; height: 100%; display: grid; place-items: center; color: var(--primary); }
.qty button:hover { background: rgba(20, 33, 43, .05); }
.qty svg { width: 16px; height: 16px; }
.qty span { min-width: 28px; text-align: center; font-weight: 500; font-variant-numeric: tabular-nums; }
.qty--sm { height: 36px; }
.qty--sm button { width: 34px; }
.qty--sm svg { width: 14px; height: 14px; }

/* search */
.search { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: var(--bg); transform: translateY(-104%); transition: transform .45s var(--ease), visibility 0s linear .45s; visibility: hidden; box-shadow: 0 30px 60px -30px rgba(20, 33, 43, .3); max-height: 100vh; overflow-y: auto; }
.search.is-open { transform: none; visibility: visible; transition: transform .45s var(--ease); }
.search__inner { max-width: calc(1080px + var(--gutter) * 2); margin: 0 auto; padding: 24px var(--gutter) 40px; }
.search__bar { display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--primary); padding: 8px 0; }
.search__bar > svg { color: var(--muted); }
.search__bar input { flex: 1; border: 0; background: transparent; font-family: var(--font-head); font-size: clamp(20px, 2.4vw, 28px); letter-spacing: -0.02em; color: var(--primary); padding: 8px 0; outline: none; }
.search__bar input::placeholder { color: #9A9C9E; }
.search__bar input::-webkit-search-cancel-button { display: none; }
.search__label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 28px 0 16px; font-weight: 600; }
.search__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 24px; }
.search__empty { margin-top: 28px; color: var(--muted); }
.search-item { display: flex; align-items: center; gap: 16px; padding: 8px; margin: -8px; border-radius: var(--radius); transition: background .2s; }
.search-item:hover { background: var(--surface); }
.search-item__img { width: 64px; aspect-ratio: 4 / 5; background: var(--surface); overflow: hidden; flex-shrink: 0; }
.search-item__img img { width: 100%; height: 100%; object-fit: cover; }
.search-item__name { display: block; font-family: var(--font-head); font-weight: 600; color: var(--primary); letter-spacing: -0.01em; }
.search-item__meta { display: block; font-size: 13px; color: var(--muted); }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 120; transform: translate(-50%, 24px); opacity: 0; pointer-events: none; background: var(--primary); color: var(--bg); padding: 14px 22px; font-size: 14px; border-radius: var(--radius); max-width: calc(100% - 32px); text-align: center; transition: opacity .3s, transform .3s var(--ease); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: min(calc(100vh - var(--header-h) - 38px), 860px); background: var(--surface); }
.hero__media { position: relative; overflow: hidden; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media--main::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 33, 43, 0) 25%, rgba(20, 33, 43, .55) 55%, rgba(20, 33, 43, .86) 100%), linear-gradient(90deg, rgba(20, 33, 43, .35) 0%, rgba(20, 33, 43, 0) 70%); }
.hero__copy { position: absolute; z-index: 2; left: clamp(24px, 5vw, 72px); right: clamp(24px, 5vw, 72px); bottom: clamp(32px, 6vw, 80px); color: var(--bg); }
.hero__copy .eyebrow { color: #F3D3C4; text-shadow: 0 1px 12px rgba(20,33,43,.4); }
.hero__copy .display { color: var(--bg); max-width: 9.5em; }
.hero__copy p.hero__sub { font-size: clamp(16px, 1.3vw, 18px); max-width: 30em; margin: 22px 0 32px; color: rgba(247, 245, 240, .88); }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__media--side::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 33, 43, 0) 55%, rgba(20, 33, 43, .38) 100%); pointer-events: none; }
.hero__tag {
  position: absolute; z-index: 2; right: clamp(20px, 3.2vw, 48px); bottom: clamp(32px, 6vw, 80px);
  display: grid; gap: 6px; width: min(340px, calc(100% - 40px));
  padding: 22px 24px; background: rgba(247, 245, 240, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius); color: var(--primary); transition: background .3s var(--ease), transform .4s var(--ease);
}
.hero__tag:hover { background: var(--bg); transform: translateY(-3px); }
.hero__tag-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.hero__tag-title { font-family: var(--font-head); font-size: 19px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.hero__tag-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.hero__tag-link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.hero__tag:hover .hero__tag-link svg { transform: translateX(4px); }

/* ---------- values strip ---------- */
.values { border-bottom: 1px solid var(--line); }
.values__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.value { display: flex; align-items: center; gap: 14px; padding: 26px 20px; font-size: 14px; color: var(--text); }
.value + .value { border-left: 1px solid var(--line); }
.value svg { color: var(--accent); width: 24px; height: 24px; }
.value strong { display: block; font-family: var(--font-head); font-weight: 600; color: var(--primary); font-size: 14.5px; letter-spacing: -0.01em; }
.value span { color: var(--muted); font-size: 13px; }

/* ---------- section heads ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head .lede { margin-top: 14px; }

/* ---------- categories ---------- */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 24px); }
.cat { display: block; }
.cat__media { aspect-ratio: 3 / 4; overflow: hidden; background: var(--surface); }
.cat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.cat:hover .cat__media img { transform: scale(1.045); }
.cat__label { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; font-family: var(--font-head); font-size: 17px; font-weight: 600; color: var(--primary); letter-spacing: -0.015em; }
.cat__label svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.cat:hover .cat__label svg { transform: translateX(4px); }
.cat__blurb { font-size: 14px; color: var(--muted); margin: 4px 0 0; }

/* ---------- feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 7vw, 120px); }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; overflow: hidden; background: var(--surface); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media--tall { aspect-ratio: 4 / 5; }
.split__copy { max-width: 520px; }
.split__copy .h2 { margin-bottom: 20px; }
.split__copy .lede { margin-bottom: 32px; }
.spec-list { list-style: none; padding: 0; margin: 0 0 36px; border-top: 1px solid var(--line); }
.spec-list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec-list li span:first-child { color: var(--muted); }
.spec-list li strong { font-weight: 500; color: var(--primary); }
.inline-swatches { display: inline-flex; align-items: center; gap: 8px; }
.inline-swatches i { width: 14px; height: 14px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }

/* ---------- product grid & card ---------- */
.grid-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 44px) clamp(14px, 2vw, 28px); }
.grid-products--4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; display: flex; flex-direction: column; }
.card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.card__media > a { display: block; width: 100%; height: 100%; }
.card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s var(--ease), transform 1.1s var(--ease); }
.card__img--alt { opacity: 0; }
.card:hover .card__img { transform: scale(1.035); }
.card:hover .card__img--alt { opacity: 1; }
.card__quick {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
  display: flex; align-items: center; justify-content: center; min-height: 46px;
  background: rgba(247, 245, 240, .96); color: var(--primary);
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  opacity: 0; transform: translateY(8px); transition: opacity .35s var(--ease), transform .35s var(--ease), background .2s;
}
.card:hover .card__quick, .card__quick:focus-visible { opacity: 1; transform: none; }
.card__quick:hover { background: var(--primary); color: var(--bg); }
.card__body { padding-top: 18px; }
.card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card__title { font-size: 16.5px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.card__price { font-size: 15px; font-weight: 500; color: var(--text); margin: 0; white-space: nowrap; }
.card__meta { font-size: 13px; color: var(--muted); margin: 4px 0 0; }
.card .swatches { margin-top: 12px; position: relative; z-index: 2; }

.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { width: 30px; height: 30px; border-radius: 50%; position: relative; background: transparent; }
.swatch::before { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); }
.swatch::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px solid transparent; transition: border-color .2s; }
.swatch:hover::after { border-color: var(--line-strong); }
.swatch.is-active::after { border-color: var(--primary); }
.swatches--sm { gap: 4px; }
.swatches--sm .swatch { width: 24px; height: 24px; }
.swatches--sm .swatch::before { inset: 4px; }
.swatch--lg { width: 42px; height: 42px; }
.swatch--lg::before { inset: 5px; }

/* ---------- editorial collection (accessories) ---------- */
.collection { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.collection__media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.collection__media img { width: 100%; height: 100%; object-fit: cover; }
.mini-list { margin-top: 36px; border-top: 1px solid var(--line); }
.mini { display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); transition: padding .35s var(--ease); }
.mini:hover { padding-left: 8px; }
.mini__img { aspect-ratio: 1; overflow: hidden; background: var(--surface); }
.mini__img img { width: 100%; height: 100%; object-fit: cover; }
.mini__name { font-family: var(--font-head); font-weight: 600; color: var(--primary); letter-spacing: -0.01em; display: block; }
.mini__meta { font-size: 13px; color: var(--muted); }
.mini__price { font-weight: 500; }

/* ---------- colorway band ---------- */
.colorway { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: var(--primary); color: #E6E0D5; }
.colorway__media { position: relative; min-height: 620px; overflow: hidden; }
.colorway__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.colorway__copy { padding: clamp(48px, 8vw, 120px) clamp(28px, 6vw, 96px); display: flex; flex-direction: column; justify-content: center; }
.colorway__copy .h2 { color: var(--bg); margin-bottom: 20px; max-width: 12em; }
.colorway__copy .lede { color: rgba(230, 224, 213, .82); margin-bottom: 40px; }
.colorway__copy .eyebrow { color: #E2A58C; }
.finishes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 44px; max-width: 460px; }
.finish { display: grid; gap: 12px; justify-items: start; padding: 18px; border: 1px solid rgba(247, 245, 240, .16); border-radius: var(--radius); transition: border-color .3s, background .3s; }
.finish:hover { border-color: rgba(247, 245, 240, .5); background: rgba(247, 245, 240, .04); }
.finish i { width: 30px; height: 30px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.finish span { font-size: 14px; color: var(--bg); font-weight: 500; }

/* ---------- story ---------- */
.story { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.story__quote { font-family: var(--font-head); font-size: clamp(28px, 3.4vw, 48px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.16; color: var(--primary); margin: 0 0 32px; }
.story__quote em { font-style: normal; color: var(--accent); }
.story__media { max-width: 480px; justify-self: end; width: 100%; }
.story__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.story__caption { font-size: 13px; color: var(--muted); margin-top: 14px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.pillars h3 { font-size: 16px; margin-bottom: 6px; }
.pillars p { font-size: 14px; color: var(--muted); }

/* ---------- promo ---------- */
.promo { display: grid; grid-template-columns: 1.35fr 1fr; background: var(--primary); overflow: hidden; }
.promo__media { position: relative; min-height: 420px; }
.promo__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo__copy { padding: clamp(40px, 5vw, 72px); color: #E6E0D5; display: flex; flex-direction: column; justify-content: center; }
.promo__copy .h2 { color: var(--bg); margin-bottom: 16px; }
.promo__copy .eyebrow { color: #E2A58C; }
.promo__copy p { color: rgba(230, 224, 213, .82); margin-bottom: 32px; }
.promo__copy .btn { align-self: flex-start; }

/* ---------- showcase ---------- */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.showcase__media { background: var(--bg); padding: clamp(16px, 2vw, 28px); }
.showcase__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.showcase__links { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 36px; }

/* ---------- newsletter ---------- */
.newsletter { text-align: center; max-width: 620px; margin: 0 auto; }
.newsletter .h2 { margin-bottom: 14px; }
.newsletter .lede { margin: 0 auto 32px; }
.newsletter__form { display: flex; border-bottom: 1px solid var(--primary); max-width: 480px; margin: 0 auto; }
.newsletter__form input { flex: 1; border: 0; background: transparent; padding: 16px 4px; font-size: 16px; outline: none; min-width: 0; }
.newsletter__form button { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); padding: 0 4px; }
.newsletter__done { display: inline-flex; align-items: center; gap: 10px; color: var(--primary); font-weight: 500; }
.newsletter__done svg { color: var(--accent); }
.newsletter__fine { font-size: 12.5px; color: var(--muted); margin-top: 16px; }
.newsletter__fine a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- footer ---------- */
.footer { background: var(--surface); padding: clamp(56px, 7vw, 96px) 0 0; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer__logo { height: 72px; width: auto; margin-bottom: 20px; }
.footer__tagline { font-family: var(--font-head); font-size: 20px; font-weight: 500; color: var(--primary); letter-spacing: -0.02em; margin-bottom: 12px; }
.footer__email { font-size: 14px; color: var(--muted); border-bottom: 1px solid var(--line-strong); }
.footer__email:hover { color: var(--primary); }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h3 { font-family: var(--font-body); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--primary); margin-bottom: 6px; font-weight: 600; }
.footer__col a { font-size: 14.5px; color: var(--muted); transition: color .2s; width: fit-content; }
.footer__col a:hover { color: var(--primary); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer__bottom p { margin: 0; }
.footer__legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__legal a:hover { color: var(--primary); }

/* ---------- shop ---------- */
.page-head { padding: clamp(48px, 6vw, 88px) 0 clamp(28px, 3vw, 40px); }
.page-head .h1 { margin-bottom: 16px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: clamp(28px, 3vw, 44px); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 9px 18px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13.5px; color: var(--primary); transition: all .2s; }
.chip:hover { border-color: var(--primary); }
.chip.is-active { background: var(--primary); color: var(--bg); border-color: var(--primary); }
.toolbar__right { display: flex; align-items: center; gap: 20px; font-size: 13.5px; color: var(--muted); }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; border: 1px solid var(--line-strong); background: transparent; border-radius: var(--radius); padding: 9px 38px 9px 14px; font-size: 13.5px; color: var(--primary); cursor: pointer; }
.select::after { content: ''; position: absolute; right: 14px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid var(--primary); border-bottom: 1.5px solid var(--primary); transform: translateY(-70%) rotate(45deg); pointer-events: none; }

/* ---------- product page ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--muted); padding: 22px 0; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb [aria-current] { color: var(--primary); }
.pdp { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); padding-bottom: clamp(48px, 6vw, 96px); align-items: start; }
.gallery { display: grid; grid-template-columns: 76px 1fr; gap: 16px; }
.gallery__thumbs { display: flex; flex-direction: column; gap: 10px; }
.gallery__thumbs:empty { display: none; }
.gallery__thumbs:empty + .gallery__main { grid-column: 1 / -1; }
.gallery__thumb { aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); opacity: .55; transition: opacity .25s; border: 1px solid transparent; }
.gallery__thumb.is-active, .gallery__thumb:hover { opacity: 1; }
.gallery__thumb.is-active { border-color: var(--primary); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__main { position: relative; min-width: 0; }
.gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--surface); }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 4 / 5; }
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery__dots { display: none; justify-content: center; gap: 6px; margin-top: 14px; }
.gallery__dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); transition: background .2s, width .2s; }
.gallery__dots span.is-active { background: var(--primary); width: 18px; border-radius: 3px; }
.gallery__note { font-size: 12.5px; color: var(--muted); margin-top: 12px; text-align: right; }

.pdp__sticky { position: sticky; top: calc(var(--header-h) + 24px); }
.pdp__title { font-size: clamp(32px, 3.4vw, 46px); letter-spacing: -0.03em; margin-bottom: 12px; }
.pdp__price { font-size: 22px; font-weight: 500; color: var(--primary); margin-bottom: 20px; font-variant-numeric: tabular-nums; }
.pdp__desc { font-size: 16px; color: var(--muted); max-width: 32em; padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.pdp-opt { margin-bottom: 26px; }
.pdp-opt__label { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary); margin-bottom: 12px; }
.pdp-opt__label span { font-weight: 400; letter-spacing: 0.02em; text-transform: none; color: var(--muted); margin-left: 8px; font-size: 14px; }
.pills { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; max-width: 420px; }
.pill { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid var(--line-strong); border-radius: var(--radius); font-size: 15px; color: var(--primary); transition: border-color .2s, background .2s; text-align: left; }
.pill:hover { border-color: var(--primary); }
.pill.is-active { border-color: var(--primary); background: var(--primary); color: var(--bg); }
.pill__price { font-size: 14px; opacity: .75; }
.pdp-buy { display: flex; gap: 12px; margin: 32px 0 24px; }
.assurance { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; }
.assurance li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text); }
.assurance svg { width: 20px; height: 20px; color: var(--accent); }
.assurance--compact { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.assurance--compact li { font-size: 13.5px; }
.assurance a { text-decoration: underline; text-underline-offset: 2px; }

.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 20px 0; font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--primary); letter-spacing: -0.01em; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: ''; width: 10px; height: 10px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translate(-3px, -3px); transition: transform .3s var(--ease); }
.accordion details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.accordion__body { padding: 0 0 22px; font-size: 15px; color: var(--muted); }
.accordion__body a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.ticks { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: center; color: var(--text); }
.ticks svg { width: 18px; height: 18px; color: var(--accent); }

.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: rgba(247, 245, 240, .97); backdrop-filter: blur(10px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .4s var(--ease); }
.sticky-buy.is-visible { transform: none; }
.sticky-buy__info { display: grid; min-width: 0; font-size: 13px; color: var(--muted); }
.sticky-buy__info strong { font-family: var(--font-head); color: var(--primary); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy .btn { min-height: 48px; padding: 0 20px; }

.notfound { padding: 96px 0; display: grid; gap: 16px; justify-items: start; }

/* ---------- cart page ---------- */
.cart-page { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; padding: clamp(40px, 5vw, 72px) 0 var(--section); }
.summary { background: var(--surface); padding: clamp(24px, 3vw, 40px); position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 4px; }
.summary .h3 { margin-bottom: 16px; }
.sum-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; font-size: 15px; }
.sum-row--field select { border: 1px solid var(--line-strong); background: var(--bg); border-radius: var(--radius); padding: 8px 12px; font-size: 14px; }
.sum-row--total { border-top: 1px solid var(--line-strong); margin-top: 8px; padding-top: 18px; font-size: 17px; }
.sum-row--total strong { font-family: var(--font-head); font-size: 22px; color: var(--primary); letter-spacing: -0.02em; }
.summary__note { font-size: 13px; color: var(--muted); margin: 4px 0 16px; }
.summary .btn + .btn { margin-top: 8px; }

/* ---------- content pages ---------- */
.prose { font-size: 16.5px; line-height: 1.75; color: var(--text); }
.prose h2 { font-size: clamp(22px, 2vw, 26px); margin: 48px 0 14px; }
.prose h3 { font-size: 18px; margin: 28px 0 10px; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--accent); }
.prose .updated { font-size: 14px; color: var(--muted); }
.legal-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.callout { background: var(--surface); padding: 24px 28px; border-left: 2px solid var(--accent); margin: 28px 0; }
.callout p { margin: 0; }
.rates { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 15.5px; }
.rates th, .rates td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); }
.rates th { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.rates td:last-child, .rates th:last-child { text-align: right; }

.about-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 620px; }
.about-hero__copy { padding: clamp(48px, 7vw, 112px) var(--gutter); display: flex; flex-direction: column; justify-content: center; max-width: 680px; margin-left: auto; }
.about-hero__media { position: relative; overflow: hidden; }
.about-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }
.principle { border-top: 1px solid var(--primary); padding-top: 24px; }
.principle__num { font-family: var(--font-head); font-size: 14px; color: var(--accent); font-weight: 600; margin-bottom: 28px; display: block; }
.principle h3 { font-size: 22px; margin-bottom: 12px; }
.principle p { color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 96px); padding-bottom: var(--section); }
.contact-card { background: var(--surface); padding: clamp(24px, 3vw, 40px); display: grid; gap: 20px; align-content: start; }
.contact-card h2 { font-size: 20px; }
.contact-card a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--primary); }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line-strong); background: #FBFAF7; border-radius: var(--radius); padding: 14px 16px; font-size: 15.5px; transition: border-color .2s; }
.field input:focus, .field textarea:focus { border-color: var(--primary); outline: none; }
.field textarea { min-height: 160px; resize: vertical; }
.form__fine { font-size: 13px; color: var(--muted); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .header__nav { gap: 22px; }
  .hide-md { display: none; }
  .grid-products--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  :root { --header-h: 64px; }
  .header__nav { display: none; }
  .header__menu { display: inline-grid; }
  .header__logo img { height: 42px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__media--main { min-height: 78vh; }
  .hero__media--side { aspect-ratio: 4 / 3; }
  .values__grid { grid-template-columns: repeat(2, 1fr); }
  .value:nth-child(3) { border-left: 0; }
  .value:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cats { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .split, .collection, .story, .showcase, .about-hero, .contact-grid { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__copy, .story__media { max-width: none; }
  .story__media { justify-self: stretch; max-width: 560px; }
  .colorway, .promo { grid-template-columns: 1fr; }
  .colorway__media { min-height: 0; aspect-ratio: 4 / 5; }
  .promo__media { min-height: 0; aspect-ratio: 16 / 9; }
  .grid-products { grid-template-columns: repeat(2, 1fr); }
  .pdp { grid-template-columns: 1fr; }
  .pdp__sticky, .summary { position: static; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__thumbs { display: none; }
  .gallery__dots { display: flex; }
  .gallery__note { text-align: left; }
  .sticky-buy { display: flex; }
  .cart-page { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .search__grid { grid-template-columns: repeat(2, 1fr); }
  .about-hero__copy { margin: 0; max-width: none; }
  .about-hero__media { aspect-ratio: 4 / 3; }
  .principles { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .hide-sm { display: none; }
  .announce { font-size: 11.5px; }
  .announce p { flex-direction: column; gap: 1px; padding-top: 8px; padding-bottom: 8px; line-height: 1.5; }
  .announce__dot { margin: 0 10px; }
  .hero__media--main { min-height: 82vh; }
  .hero__ctas .btn { flex: 1; padding: 0 18px; }
  .hero__media--side { aspect-ratio: 4 / 5; }
  .hero__tag { left: 20px; right: 20px; width: auto; bottom: 20px; padding: 18px 20px; }
  .values__grid { grid-template-columns: 1fr; }
  .value + .value { border-left: 0; border-top: 1px solid var(--line); }
  .value { padding: 18px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .cats { gap: 24px 12px; }
  .cat__label { font-size: 15px; margin-top: 12px; }
  .cat__blurb { display: none; }
  .grid-products, .grid-products--4 { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
  .card__row { flex-direction: column; gap: 2px; }
  .card__title { font-size: 15px; }
  .card__price { font-size: 14px; }
  .card__quick { display: none; }
  .finishes { grid-template-columns: repeat(3, 1fr); }
  .finish { padding: 14px; }
  .pillars { grid-template-columns: 1fr; gap: 16px; }
  .pdp-buy { flex-direction: row; }
  .pdp-buy .btn { padding: 0 16px; letter-spacing: 0.08em; }
  .line--page { grid-template-columns: 92px 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .search__grid { grid-template-columns: 1fr; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { white-space: nowrap; }
  .toolbar__right { justify-content: space-between; }
  .form__row { grid-template-columns: 1fr; }
  .rates { font-size: 14.5px; }
}
