@font-face {
  font-family: 'Instrument Serif';
  src: url('assets/instrument-serif-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Instrument Serif';
  src: url('assets/instrument-serif-italic.woff2') format('woff2');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('assets/dm-sans.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #33242a;
  --dark: #040304;
  --paper: #fffdf9;
  --rose: #f8f1eb;
  --muted: #65565b;
  --border: #dacfca;
  --pink: #ff80b7;
  --hot-pink: #f956a6;
  --gold: #e7bf87;
  --display: 'Instrument Serif', Georgia, serif;
  --body: 'DM Sans', system-ui, sans-serif;
  --gutter: clamp(1rem, 4.7vw, 5rem);
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 400 1rem/1.55 var(--body);
}
body:has(dialog[open]) { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: .98; }
h2 { font-size: clamp(3rem, 5.9vw, 5.5rem); letter-spacing: -.024em; }
:focus-visible { outline: 2px solid #a92662; outline-offset: 4px; }
.announcement :focus-visible, .site-footer :focus-visible { outline-color: var(--pink); }
[hidden] { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  z-index: 6;
  top: .75rem;
  left: .75rem;
  padding: .5rem .8rem;
  transform: translateY(-200%);
  background: var(--paper);
}
.skip-link:focus { transform: none; }
.shell { width: min(100% - var(--gutter) * 2, 88rem); margin-inline: auto; }

.button {
  display: inline-flex;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  padding: .78rem 1.5rem;
  border: 1px solid transparent;
  border-radius: .28rem;
  font-size: .94rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.button-pink { background: var(--hot-pink); color: #260a1b; }
.button-pink:hover { background: #ff8bc1; }
.button-dark { background: var(--ink); color: var(--paper); }
.button-dark:hover { background: #45213f; }
.button-outline { border-color: #9b627f; color: var(--ink); background: transparent; }
.button-outline:hover { background: #f5e3ec; }
.text-link {
  padding: .2em 0;
  border: 0;
  background: transparent;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .34em;
  text-decoration-thickness: 1px;
}
.text-link:hover { text-decoration-thickness: 2px; }
.eyebrow {
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.masthead { container: mast / inline-size; position: relative; z-index: 1; background: #fffaf5; color: var(--ink); }
.announcement {
  display: grid;
  place-items: center;
  min-height: 1.65rem;
  padding: .23rem 1rem;
  background: #482532;
  color: #fff8f4;
  font-size: .79rem;
  text-align: center;
  letter-spacing: .035em;
}
.announcement span { margin-inline: .65rem; color: #ffd5dc; }
.announcement a { text-decoration: none; }
.announcement a:hover { text-decoration: underline; }
.site-header {
  min-height: 4.75rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}
.wordmark { display: block; text-decoration: none; }
.site-header .wordmark { grid-area: 1/2; text-align: center; align-self: center; color: #522534; }
.signature { display: block; font: italic 400 clamp(2.45rem,3.3vw,3.2rem)/.76 var(--display); letter-spacing: -.048em; }
.signature-sub { display: block; margin: .46rem 0 0 .2em; font-size: .625rem; font-weight: 650; line-height: 1; letter-spacing: .24em; text-transform: uppercase; }
.site-footer .wordmark { width: clamp(8.7rem, 11vw, 10rem); }
.wordmark img { width: 100%; height: auto; }
.primary-nav { grid-area: 1/1; display: flex; align-items: center; gap: clamp(1rem, 2vw, 2.75rem); }
.primary-nav a, .header-delivery, .site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  text-decoration: none;
  font-size: .89rem;
  font-weight: 550;
  white-space: nowrap;
}
.primary-nav a:hover, .site-footer nav a:hover, .header-delivery:hover { text-decoration: underline; text-underline-offset: .32em; }
.header-actions { grid-area: 1/3; display: flex; justify-self: end; align-items: center; gap: .38rem; }
.header-delivery { margin-right: .8rem; }
.icon-button { display: inline-flex; min-width: 2.75rem; min-height: 2.75rem; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 50%; background: transparent; }
.icon-button:hover { border-color: currentColor; }
.bag-trigger { gap: .3rem; }
.bag-trigger > span { min-width: .65rem; font-size: .8rem; font-weight: 650; }
.menu-trigger { display: none; }

/* One continuous studio set. The active look supplies the wall and wardrobe palette. */
.wardrobe-spread { position: relative; isolation: isolate; }
.wig-story { position: relative; z-index: 0; container: wardrobe / inline-size; }
.wig-story[data-layered] { position: sticky; top: 0; }
.shop-anchor { position: relative; z-index: 1; pointer-events: none; }
.shop-surface { position: relative; pointer-events: auto; background: var(--paper); container: shelf / inline-size; }
.wardrobe-spread[data-layered] .shop-surface { transform: translateY(var(--shelf-drift,0px)); }
.shop-surface::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: rgb(64 35 44 / .13); }
.campaign {
  --wash: #deb6b2;
  --scene-ink: #49232f;
  --rail: #482631;
  --word-drift: 0px;
  --model-drift: 0px;
  color: var(--scene-ink);
}
.campaign[data-theme="bob"] { --wash: #b3c7cd; --scene-ink: #223e49; --rail: #293e48; }
.campaign[data-theme="wave"] { --wash: #dcad88; --scene-ink: #502e22; --rail: #4f3228; }
.campaign[data-theme="curl"] { --wash: #c6adc9; --scene-ink: #452b49; --rail: #432c47; }
.story-art {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: clamp(26rem, 37vw, 32.25rem);
  background-color: var(--wash);
  background-image: linear-gradient(105deg, rgb(255 243 222 / .56), rgb(255 244 231 / .16) 49%, transparent 73%),
    linear-gradient(155deg, transparent 46%, rgb(71 36 52 / .12));
  transition: background-color 460ms ease, color 320ms ease;
}
.story-art::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 42%, rgb(255 249 235 / .18) 56%, transparent 76%);
}
.hero-word {
  position: absolute;
  top: -.1em;
  right: 2.9%;
  color: rgb(255 248 239 / .52);
  font: 400 clamp(19rem, 28.8vw, 32rem)/.94 var(--display);
  letter-spacing: -.068em;
  text-transform: uppercase;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  transform: translate3d(var(--word-drift), 0, 0);
}
.campaign-layout { position: relative; height: 100%; isolation: isolate; }
.story-copy {
  position: absolute;
  left: 1%;
  top: 52%;
  z-index: 2;
  width: 46%;
  transform: translateY(-50%);
}
.story-kicker {
  display: flex;
  align-items: center;
  gap: .72rem;
  margin-bottom: clamp(1rem,1.8vw,1.7rem);
  font-size: .8rem;
  line-height: 1.25;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 650;
}
.story-kicker::before { content: ""; width: 2.35rem; height: 1px; background: currentColor; opacity: .72; }
.story-copy h1 {
  font: 400 clamp(5.2rem,8.8vw,8.65rem)/.83 var(--display);
  letter-spacing: -.047em;
}
.story-copy h1 span, .story-copy h1 em { display: block; }
.story-copy h1 em { margin: .04em 0 0 .13em; font-weight: 400; }
.look-specs { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; margin: clamp(1rem,1.7vw,1.5rem) 0 0 .16rem; font-size: clamp(.875rem,1.03vw,1rem); font-weight: 550; }
.fact-divider { width: 1px; height: .85em; background: currentColor; opacity: .45; transform: rotate(17deg); }
.story-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem 1.45rem; margin: clamp(1rem,1.9vw,1.7rem) 0 0; }
.look-buy { color: #fffaf3; background: var(--scene-ink); border-radius: 2rem; padding-inline: 1.8rem; border: 1px solid transparent; }
.look-buy:hover { background: #271d22; }
.all-wigs { display: inline-flex; min-height: 2.75rem; align-items: center; font-size: .94rem; font-weight: 650; text-underline-offset: .31em; text-decoration-thickness: 1px; }
.all-wigs:hover { text-decoration-thickness: 2px; }
.story-gallery { position: absolute; z-index: 1; inset: 0 13% 0 41%; pointer-events: none; }
.story-frame { position: absolute; inset: 0; margin: 0; opacity: 0; transform: translate3d(.65rem,0,0); transition: opacity 220ms ease-out, transform 340ms cubic-bezier(.2,.7,.24,1); }
.story-frame.is-active { z-index: 1; opacity: 1; transform: none; }
.story-frame img { width: 100%; height: 100%; max-width: none; object-fit: contain; object-position: center bottom; transform: translate3d(0,var(--model-drift),0); }
.story-frame[data-proof-only] { display: grid; place-items: center; }
.story-frame[data-proof-only] img { width: 71%; height: 83%; object-fit: contain; transform: none; }
.unit-proof {
  position: absolute;
  z-index: 2;
  right: 1.4%;
  bottom: 14%;
  width: clamp(5.8rem,8vw,8rem);
  padding: .34rem .34rem .5rem;
  text-decoration: none;
  color: #3d2b30;
  background: #fff9f0;
  box-shadow: 0 .6rem 1.2rem rgb(53 23 36 / .15), 0 1px 2px rgb(53 23 36 / .2);
  transform: rotate(3deg);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.unit-proof:hover, .unit-proof:focus-visible { transform: rotate(0); box-shadow: 0 .8rem 1.4rem rgb(53 23 36 / .18); }
.proof-photo { display: block; overflow: hidden; aspect-ratio: .85; background: #ebdcd1; }
.proof-photo img { width: 100%; height: 100%; object-fit: cover; }
.proof-text { display: grid; gap: .12rem; padding: .35rem .13rem 0; line-height: 1.1; }
.proof-text > span { font: italic 400 clamp(1.04rem,1.32vw,1.28rem)/1 var(--display); }
.proof-text small { font-size: .75rem; }
.campaign-credit { position: absolute; z-index: 2; right: 1%; bottom: .65rem; font-size: .75rem; letter-spacing: .02em; }
.campaign-bar { color: #fffbf5; background: var(--rail); transition: background-color 460ms ease; }
.look-control-shell { display: grid; align-items: center; grid-template-columns: minmax(8rem,.7fr) minmax(0,3.3fr); gap: 1rem; }
.story-instruction { font-size: .875rem; font-weight: 550; letter-spacing: .025em; }
.look-switcher { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); }
.look-switcher .look-button {
  text-decoration: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.45rem,1.2vw,1rem);
  min-width: 0;
  min-height: 4rem;
  padding: .3rem .5rem;
  border: 0;
  border-left: 1px solid rgb(255 255 255 / .2);
  color: rgb(255 248 242 / .85);
  background: transparent;
  font-size: .94rem;
  font-weight: 550;
  transition: background-color 180ms ease, color 180ms ease;
}
.look-switcher .look-button:last-child { border-right: 1px solid rgb(255 255 255 / .2); }
.look-switcher .look-button[data-selected], .look-switcher .look-button:hover { color: #fff; background: rgb(255 252 237 / .09); }
.look-switcher .look-button[data-selected]::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: #fff0da; }
.look-switcher .look-button:focus-visible { outline: 2px solid #fff3d9; outline-offset: -4px; z-index: 1; }
.look-thumb { flex: none; width: 2.05rem; height: 2.55rem; background-position: center top; background-size: cover; border: 1px solid rgb(255 255 255 / .3); }
.thumb-highlight { background-color: #d6a7a2; background-image: url(assets/cast-highlight-thumb.webp); }
.thumb-bob { background-color: #b5c9d0; background-image: url(assets/cast-bob-thumb.webp); }
.thumb-wave { background-color: #dba781; background-image: url(assets/cast-wave-thumb.webp); }
.thumb-curl { background-color: #bea5c4; background-image: url(assets/cast-curl-thumb.webp); }
.source-collection { display: grid; gap: .65rem; }

@media (min-width: 641px) and (max-width: 1000px) {
  .story-art { height: clamp(23.5rem,45vw,28.5rem); }
  .story-copy { left: 0; width: 46%; }
  .story-copy h1 { font-size: 8.7vw; }
  .story-gallery { inset: 0 9% 0 40%; }
  .unit-proof { right: 0; bottom: 3.1rem; width: 5.6rem; }
  .campaign-credit { padding: .12rem .42rem; border-radius: .2rem; background: rgb(255 249 240 / .86); color: #3d2b30; }
  .look-control-shell { grid-template-columns: auto minmax(0,1fr); gap: 1.2rem; }
  .story-instruction { font-size: .8rem; }
  .look-switcher .look-button { min-height: 3.65rem; gap: .45rem; padding-inline: .3rem; }
  .look-thumb { width: 1.65rem; height: 2rem; }
}
@media (max-width: 640px) {
  .story-art { height: auto; }
  .hero-word { top: -.045em; left: 8%; right: auto; font-size: 37vw; }
  .campaign-layout {
    width: 100%; display: grid;
    grid-template-columns: 46% 54%;
    grid-template-rows: clamp(14.7rem,73vw,23rem) auto;
  }
  .story-copy { display: contents; }
  .story-intro { position: relative; z-index: 2; grid-area: 1/1; align-self: end; padding: 0 0 1.2rem var(--gutter); }
  .story-gallery { position: relative; grid-area: 1/2; inset: auto; width: 100%; height: 100%; overflow: hidden; }
  .story-frame img { object-position: center bottom; }
  .story-frame[data-proof-only] img { width: 84%; height: 85%; }
  .story-kicker { gap: .35rem; margin-bottom: .75rem; font-size: .72rem; line-height: 1.4; letter-spacing: .085em; }
  .story-kicker::before { width: .9rem; flex: none; }
  .story-copy h1 { font-size: clamp(2.15rem,11.15vw,4.35rem); line-height: .87; }
  .story-copy h1 em { margin: .055em 0 0 .04em; }
  .story-purchase {
    position: relative; z-index: 2; grid-area: 2/1/3/3; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; min-height: 4rem;
    gap: .45rem .55rem; padding: .46rem var(--gutter);
    border-top: 1px solid rgb(58 31 43 / .14); background: rgb(255 252 246 / .55);
  }
  .look-specs { min-width: 0; display: grid; gap: .15rem; margin: 0; font-size: .82rem; line-height: 1.22; }
  .fact-divider { display: none; }
  .story-actions { gap: .18rem .68rem; margin: 0; }
  .look-buy { min-height: 2.75rem; padding: .6rem .92rem; font-size: .875rem; }
  .all-wigs { font-size: .875rem; }
  .unit-proof { top: .9rem; right: auto; bottom: auto; left: var(--gutter); width: auto; display: flex; gap: .48rem; align-items: center; padding: .26rem .6rem .26rem .27rem; transform: rotate(-2deg); }
  .proof-photo { flex: none; width: clamp(2.6rem, 11vw, 3.4rem); height: clamp(3.1rem, 13.2vw, 4.1rem); }
  .proof-text { gap: .18rem; padding: 0; }
  .proof-text > span { font-size: 1.04rem; }
  .proof-text small { font-size: .75rem; }
  .campaign-credit { position: relative; z-index: 2; grid-area: 1/2; align-self: end; justify-self: end; right: auto; bottom: auto; padding: .14rem .4rem .18rem; color: #fffaf3; background: rgb(49 29 39 / .88); font-size: .75rem; }
  .look-control-shell { display: block; width: 100%; }
  .story-instruction { display: none; }
  .look-switcher .look-button { gap: .2rem; flex-direction: column; min-height: 3.9rem; padding: .32rem .1rem .48rem; font-size: .875rem; line-height: 1.1; }
  .look-switcher .look-button:first-child { border-left: 0; }
  .look-switcher .look-button:last-child { border-right: 0; }
  .look-thumb { width: 1.45rem; height: 1.6rem; }
}
/* Reflow when the reader enlarges type inside a narrow scene. */
@container wardrobe (max-width: 19em) {
  .campaign-layout { display: flex; flex-direction: column; }
  .story-gallery { position: relative; inset: auto; order: 0; width: 56%; height: 70cqw; align-self: end; }
  .unit-proof { top: .58rem; left: var(--gutter); width: min(36%,6.2rem); display: grid; justify-items: start; padding: .25rem; transform: none; }
  .proof-photo { width: 100%; height: 13cqw; }
  .proof-photo img { object-position: center 30%; }
  .proof-text { padding: 0 .1rem .1rem; }
  .campaign-credit { order: 1; align-self: end; font-size: .68rem; }
  .story-intro { order: 2; align-self: stretch; padding: .65rem var(--gutter) .88rem; }
  .story-kicker { margin-bottom: .48rem; }
  .story-copy h1 { font-size: clamp(2.15rem,13cqw,3.35rem); line-height: .97; overflow-wrap: anywhere; }
  .story-copy h1 span, .story-copy h1 em { display: inline; margin: 0; }
  .story-purchase { order: 3; grid-template-columns: minmax(0,1fr); padding-block: .5rem; }
  .story-actions { flex-wrap: wrap; }
  .look-switcher { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .look-switcher .look-button { gap: .33rem; flex-direction: row; min-height: 2.75rem; }
  .look-thumb { width: 1.05rem; height: 1.4rem; }
}
@media (min-width: 641px) and (max-height: 530px) {
  .story-art { height: 19.8rem; }
  .story-copy h1 { font-size: clamp(3.8rem,8.6vw,5rem); }
  .story-kicker { margin-bottom: .7rem; }
  .look-specs, .story-actions { margin-top: .8rem; }
  .unit-proof { width: 4.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .story-art, .campaign-bar, .story-frame, .unit-proof, .look-switcher .look-button { transition: none; }
  .story-frame, .story-frame img, .hero-word, .unit-proof { transform: none; }
}

.shop { padding-block: clamp(1.75rem,2.6vw,3rem) clamp(2.8rem,5.5vw,6rem); scroll-margin-top: 1rem; }
.shop-heading { display: grid; justify-items: center; text-align: center; gap: .4rem; }
.shop-heading h2 em { font-weight: 400; }
.shop-heading h2 { font-size: clamp(2.65rem,5vw,5.2rem); }
.shop-heading .catalog-note { color: var(--muted); font-size: .85rem; }
.texture-section { container: textures / inline-size; background: #f2e3de; padding-block: clamp(2.4rem,4.8vw,5.3rem); }
.texture-section h2 { text-align: center; margin-bottom: clamp(1.3rem,2.6vw,2.75rem); font-size: clamp(2.75rem,5.2vw,5.4rem); }
.texture-section h2 em, .studio h2 em { font-weight: 400; }
.texture-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(.5rem,1.4vw,1.3rem); }
.texture-tile { position: relative; display: block; aspect-ratio: 4 / 4.8; overflow: hidden; isolation: isolate; color: white; background: #6a4947; text-decoration: none; }
.texture-tile img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform 360ms ease; }
.texture-tile::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, #190f13a1); pointer-events: none; }
.texture-tile span { position: absolute; left: 0; right: 0; bottom: 6%; z-index: 1; text-align: center; font: 400 clamp(2.2rem,5.3vw,5.6rem)/1 var(--display); letter-spacing: -.026em; }
.texture-tile:hover img { transform: scale(1.035); }
.texture-tile:hover span { text-decoration: underline; text-underline-offset: .12em; text-decoration-thickness: 1px; }
.quick-add { width: 100%; display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.75rem; margin-top: .75rem; border: 1px solid #4b2934; border-radius: 3rem; background: #4b2934; color: white; font-size: .875rem; font-weight: 600; }
.quick-add:hover { background: #633548; }
@media (max-width: 700px) {
  .texture-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: .38rem; }
  .texture-tile { aspect-ratio: .65; }
  .texture-tile span { font-size: clamp(1.5rem,6.1vw,2.8rem); bottom: 7%; }
}

.catalog-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .85rem;
  margin: 1.2rem 0 1rem;
}
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.filters :is(button, [data-filter]) {
  text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.75rem;
  padding: .45rem 1.03rem;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 3rem;
  font-size: .9rem;
  font-weight: 650;
}
.filters :is(button, [data-filter]):hover { border-color: #a45e87; }
.filters :is(button[aria-pressed="true"], [data-filter][data-selected]) { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.catalog-search {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding-inline: .7rem;
  min-height: 2.75rem;
  width: min(100%, 16.5rem);
  border: 1px solid var(--border);
  border-radius: .3rem;
  color: var(--muted);
}
.catalog-search:focus-within { outline: 2px solid #a92662; outline-offset: 2px; }
.catalog-search input { width: 100%; min-height: 2.6rem; min-width: 0; border: 0; background: none; outline: none; color: var(--ink); }
.catalog-search input::placeholder { color: var(--muted); }
.catalog-search svg { flex: none; }

@media (min-width: 850px) and (max-width: 1149px) {
  .shop { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 1.25rem 1rem; }
  .shop-heading { justify-items: start; text-align: left; }
  .shop-heading h2 { font-size: clamp(2.7rem,5.1vw,3.55rem); }
  .catalog-tools { justify-content: flex-end; flex-wrap: nowrap; margin: 0; gap: .6rem; }
  .filters { gap: .22rem; }
  .filters :is(button, [data-filter]) { padding-inline: .66rem; }
  .catalog-search { width: clamp(8rem,15vw,12rem); }
  .shop .catalog, .shop noscript { grid-column: 1/-1; }
}

@media (min-width: 1150px) {
  .shop { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 1.45rem 1rem; }
  .shop-heading { grid-area: 1/2; }
  .catalog-tools { display: contents; }
  .filters { grid-area: 1/1; align-self: center; }
  .catalog-search { grid-area: 1/3; align-self: center; justify-self: end; }
  .shop .catalog, .shop noscript { grid-column: 1/-1; }
}

.catalog {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem clamp(.75rem, 1.75vw, 1.8rem);
  min-height: 8rem;
}
.product-card { min-width: 0; display: flex; flex-direction: column; }
.product-card .quick-add { margin-top: auto; }
.product-link { display: block; text-decoration: none; border-radius: .35rem; }
.product-photo {
  position: relative;
  overflow: hidden;
  border-radius: .28rem;
  background: #f1e8e2;
  aspect-ratio: 4 / 4.7;
}
.product-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.product-link:hover .product-photo img { transform: scale(1.045); }
.product-caption { display: flex; justify-content: space-between; align-items: baseline; gap: .4rem .65rem; padding-top: .75rem; }
.product-caption h3 { font-family: var(--display); font-size: clamp(1.5rem, 2.15vw, 2.22rem); font-weight: 400; line-height: 1; }
.product-price { flex: none; font-weight: 700; }
.product-lace { color: var(--muted); font-size: .875rem; margin: .35rem 0 .75rem; }
.empty-catalog { grid-column: 1 / -1; padding: 2.5rem 1rem; border: 1px solid var(--border); text-align: center; }
.empty-catalog p { margin-bottom: .55rem; }

.fit { background: var(--rose); padding-block: clamp(3.2rem, 6vw, 6.4rem); }
.fit-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2.2rem clamp(1.5rem, 8vw, 10rem); }
.section-description { color: var(--muted); max-width: 28rem; margin-top: 1rem; }
.fit-questions { border-top: 1px solid #d8bccd; }
.fit-questions details { border-bottom: 1px solid #d8bccd; }
.fit-questions summary {
  display: flex;
  min-height: 3.4rem;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  padding: .65rem .15rem;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.fit-questions summary::-webkit-details-marker { display: none; }
.fit-questions summary::after { content: '+'; flex: none; font-size: 1.15rem; }
.fit-questions details[open] summary::after { content: '−'; }
.fit-questions details p { padding: 0 2.2rem 1rem .15rem; color: #604354; }

.studio {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 2rem clamp(2rem, 7vw, 8rem);
  padding-top: clamp(3.35rem, 6vw, 6.4rem);
}
.studio-install, .about-install, .detail-photo { margin: 0; }
.studio-install { justify-self: center; width: min(100%, 28rem); }
.studio-image { display: block; overflow: hidden; background: #eee6e0; aspect-ratio: 3 / 4; }
.studio-install figcaption, .about-install figcaption { margin-top: .65rem; color: var(--muted); font-size: .875rem; line-height: 1.45; }
.about-install { width: min(100%, 16rem); justify-self: end; }
.info-intro .about-install img { display: block; width: 100%; height: auto; max-height: none; }
.about-install a { text-underline-offset: .2em; }
.studio-image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.studio-copy .eyebrow { color: #8d2758; margin-bottom: .75rem; }
.studio-copy .button { margin-top: 1.5rem; }
.delivery {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.15rem 2rem;
  padding-block: clamp(2rem, 4.3vw, 4.3rem);
  margin-block: clamp(2rem, 5vw, 4.3rem) 0;
  border-top: 1px solid var(--border);
}
.delivery h2 { font-size: clamp(2.4rem, 4.2vw, 3.9rem); }
.delivery .section-description { max-width: 36rem; }
.site-footer { color: var(--paper); background: var(--dark); }
.footer-layout { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.3rem; padding-block: 2.25rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .35rem 1.5rem; }
.site-footer .footer-layout > small { color: #d1b9c8; font-size: .875rem; }

dialog {
  max-width: calc(100% - 2rem);
  max-height: calc(100% - 2rem);
  padding: 0;
  border: 1px solid var(--border);
  border-radius: .5rem;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 25px 80px #1d0b2450;
}
dialog::backdrop { background: #160d1bd1; }
.dialog-inner { position: relative; }
.dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.dialog-header h2 { font-size: clamp(2.1rem, 5vw, 3.35rem); }
.close-button { font-size: 1.75rem; line-height: 1; }
.product-dialog { width: min(62rem, calc(100% - 2rem)); }
.product-dialog-inner { padding: 1rem; }
.product-close { position: absolute; top: 1.2rem; right: 1.2rem; z-index: 1; background: var(--paper); }
.detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 4vw, 3rem); }
.detail-picture {
  overflow: hidden;
  background: #eadfdc;
  border-radius: .25rem;
  aspect-ratio: 4 / 5;
}
.detail-picture img { width: 100%; height: 100%; object-fit: contain; transition: transform 250ms ease; }
.detail-photo figcaption { padding-top: .5rem; font-size: .875rem; color: var(--muted); }
.detail-photo-link { display: block; height: 100%; }
.detail-photo-link:focus-visible { outline-offset: -4px; }
.detail-photo .detail-picture { max-height: 60svh; }
.detail-photo .gallery-controls { justify-content: start; }
.detail-photo .gallery-controls button { min-height: 2.75rem; }
.gallery-controls { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem; padding-top: .65rem; }
.gallery-controls button {
  min-height: 2.75rem;
  padding: .45rem .7rem;
  border: 1px solid var(--border);
  background: transparent;
  border-radius: .3rem;
  font-size: .875rem;
}
.gallery-controls button[aria-pressed="true"] { background: var(--rose); border-color: #a35983; font-weight: 700; }
.detail-content { align-self: center; padding: 2.75rem clamp(0rem, 1.5vw, 1rem) 1rem 0; }
.detail-content h2 { font-size: clamp(2.65rem, 5.5vw, 4.75rem); }
.detail-price { margin: .75rem 0 .55rem; font-size: 1.3rem; font-weight: 700; }
.detail-description { color: var(--muted); }
.detail-data { margin-block: 1.05rem; border-top: 1px solid var(--border); }
.detail-data div { display: grid; grid-template-columns: minmax(5.3rem, .7fr) 1fr; gap: .4rem .65rem; padding: .38rem 0; border-bottom: 1px solid var(--border); }
.detail-data dt, .detail-data dd { margin: 0; font-size: .9rem; }
.detail-data dt { color: var(--muted); }
.detail-data dd { font-weight: 650; }
.detail-delivery { margin-block: .85rem .7rem; color: var(--muted); font-size: .875rem; }
.detail-content .button { width: 100%; }
.detail-links { display: flex; flex-wrap: wrap; gap: .1rem 1rem; margin-top: .55rem; }
.detail-links a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .875rem; }

.mobile-menu { width: 26rem; }
.mobile-menu .dialog-inner, .dialog-padding { padding: 1.2rem clamp(1rem, 4vw, 1.9rem) 1.5rem; }
.mobile-menu nav { display: grid; padding-top: 1rem; }
.mobile-menu nav a { padding: .7rem 0; border-bottom: 1px solid var(--border); font-size: 1.15rem; font-weight: 650; text-decoration: none; }
.mobile-menu nav a:hover { text-decoration: underline; }

.bag-dialog { inset: 0 0 0 auto; margin: 0; width: min(100%, 27rem); height: 100%; max-width: 100%; max-height: 100%; border-radius: 0; border-width: 0 0 0 1px; }
.bag-inner { min-height: 100%; display: flex; flex-direction: column; gap: 1.25rem; padding: clamp(1rem, 4vw, 1.7rem); }
#bag-items { flex: 1; }
.bag-empty { display: grid; justify-items: start; gap: 1.1rem; color: var(--muted); }
.bag-line { display: grid; grid-template-columns: 4rem 1fr auto; gap: .85rem; padding-block: .9rem; border-top: 1px solid var(--border); }
.bag-line img { width: 4rem; height: 5rem; object-fit: cover; border-radius: .25rem; background: var(--rose); }
.bag-line h3 { font-size: .95rem; line-height: 1.3; }
.bag-unit { color: var(--muted); font-size: .875rem; margin-top: .2rem; }
.bag-line-total { font-size: .9rem; }
.quantity { display: flex; align-items: center; gap: .4rem; margin-top: .38rem; }
.quantity button { display: grid; min-width: 2.75rem; min-height: 2.75rem; place-items: center; background: transparent; border: 1px solid var(--border); border-radius: .25rem; line-height: 1; }
.quantity button:hover { background: var(--rose); }
.quantity span { text-align: center; min-width: 1.3rem; }
.bag-footer { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--border); }
.bag-total { display: flex; justify-content: space-between; }
.bag-footer p { font-size: .875rem; color: var(--muted); margin: .55rem 0 .85rem; }
.bag-footer .button { width: 100%; }
.delivery-dialog { width: min(100% - 2rem, 32rem); }
.delivery-dialog .dialog-header { margin-bottom: .85rem; }
.delivery-dialog form { display: grid; gap: .6rem; margin-top: 1.05rem; }
.delivery-dialog label { display: grid; gap: .2rem; font-weight: 650; }
.delivery-dialog input {
  width: 100%;
  min-height: 2.85rem;
  border: 1px solid #b997ae;
  border-radius: .26rem;
  background: #fff;
  padding: .4rem .6rem;
  font-weight: 400;
}
.delivery-dialog form .button { margin-top: .35rem; }
.destination-fields { display: grid; gap: .6rem; }
.optional-field { margin-left: .25rem; color: var(--muted); font-size: .8125rem; font-weight: 400; }
.payment-options { margin: .25rem 0 0; padding: 0; border: 0; min-width: 0; }
.payment-options legend { font-weight: 650; margin-bottom: .35rem; }
.payment-methods { display: flex; flex-wrap: wrap; gap: .4rem; }
.delivery-dialog .payment-method {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: .38rem;
  min-height: 2.75rem;
  padding-inline: .6rem;
  border: 1px solid #d8adbf;
  border-radius: .28rem;
  font-size: .875rem;
  cursor: pointer;
}
.delivery-dialog .payment-method:has(input:checked) { border-color: #9d1952; background: #f9dce8; }
.delivery-dialog .payment-method input { width: 1rem; min-height: 0; margin: 0; accent-color: #8c1e52; }
.quote-result { margin-top: 1rem; padding: .85rem; background: var(--rose); }
.quote-result .button { margin-top: .55rem; width: 100%; }
.checkout-note { font-size: .875rem; color: var(--muted); margin-top: .4rem; }
.back-to-bag { min-height: 2.75rem; margin-top: .65rem; font-size: .875rem; }

@media (max-width: 1000px) {
  .product-caption { flex-wrap: wrap; }
}

@media (max-width: 800px) {
  .primary-nav { display: none; }
  .menu-trigger { display: inline-flex; justify-self: start; margin-left: -.5rem; }
  .site-header { min-height: 3.9rem; }
  .site-header .header-delivery { display: none; }
  .site-header .wordmark { grid-column: 2; }
  .catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-caption h3 { font-size: clamp(1.45rem, 4.15vw, 2rem); }
  .fit-layout { grid-template-columns: 1fr; }
  .studio { gap: 1.5rem; }
}

@media (max-width: 700px) {
  .shop { padding-top: 1.35rem; }
  .shop-heading { gap: .28rem; }
  .shop-heading h2 { font-size: clamp(2.35rem,8.8vw,3.25rem); }
  .catalog-tools { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; margin-block: .85rem .8rem; gap: .45rem; }
  .filters { flex-wrap: nowrap; gap: .2rem; }
  .filters :is(button, [data-filter]) { padding-inline: clamp(.4rem,1.8vw,.88rem); font-size: .875rem; }
  .catalog-search { position: relative; display: grid; place-items: center; width: 2.75rem; padding: 0; border-radius: 50%; }
  .catalog-search svg { pointer-events: none; }
  .catalog-search input { position: absolute; inset: 0; height: 100%; width: 100%; opacity: 0; cursor: text; }
  .catalog-tools:has(input[type="search"]:focus, input[type="search"]:not(:placeholder-shown)) .filters { grid-column: 1/-1; }
  .catalog-search:focus-within, .catalog-search:has(input[type="search"]:not(:placeholder-shown)) { grid-column: 1/-1; width: 100%; display: flex; gap: .45rem; padding-inline: .65rem; border-radius: .3rem; }
  .catalog-search:focus-within input[type="search"], .catalog-search input[type="search"]:not(:placeholder-shown) { position: static; opacity: 1; }
  .studio { grid-template-columns: 1fr; align-items: start; }
  .studio-copy .eyebrow { margin-bottom: .55rem; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-picture { aspect-ratio: 1; }
  .detail-content { padding: 0 .15rem .5rem; }
}

@media (max-width: 399px) {
  .shop-heading .catalog-note { font-size: .8125rem; }
  .header-actions { gap: .1rem; }
  .site-header { gap: .35rem; }
  .product-price { font-size: .9rem; }
  .product-lace { font-size: .8125rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  .story-frame, .texture-tile:hover img, .product-link:hover .product-photo img { transform: none; }
}

@container mast (max-width: 19em) {
  .site-header { width: calc(100% - .7rem); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .1rem; padding-block: .23rem; }
  .site-header .icon-button { min-width: max(44px,1.5rem); min-height: max(44px,1.5rem); padding: .16rem; }
  .menu-trigger { margin: 0; }
  .header-actions { gap: 0; }
  .signature { font-size: clamp(1.65rem,13cqw,2.2rem); }
  .signature-sub { font-size: .44rem; margin-top: .38rem; }
  .announcement { padding-inline: .3rem; font-size: .72rem; }
}
@container shelf (max-width: 19em) {
  .catalog-tools { display: grid; grid-template-columns: minmax(0,1fr); }
  .catalog-tools .filters { min-width: 0; flex-wrap: wrap; }
  .filters :is(button, [data-filter]) { min-height: max(44px,1.7rem); padding: .2rem .42rem; }
  .catalog-tools .catalog-search { position: static; grid-column: 1/-1; display: flex; width: 100%; gap: .35rem; padding-inline: .45rem; border-radius: .3rem; }
  .catalog-tools .catalog-search input { position: static; opacity: 1; min-height: 1.8rem; height: auto; }
  .catalog { grid-template-columns: minmax(0,1fr); }
  .shop-heading h2 { font-size: 2rem; overflow-wrap: anywhere; }
  .product-caption h3 { min-width: 0; overflow-wrap: anywhere; }
}
@container textures (max-width: 19em) {
  .texture-grid { grid-template-columns: minmax(0,1fr); }
  .texture-tile { aspect-ratio: 2.15; }
  .texture-tile span { font-size: 1.65rem; }
}

@media (max-width: 700px) {
  .about-install { justify-self: start; max-width: 14rem; }
  .studio-install { width: min(100%, 22rem); }
  .detail-photo .detail-picture { height: clamp(12rem, 47svh, 23rem); aspect-ratio: auto; }
}
