:root {
  color-scheme: light;
  --paper: #ffffff;
  --surface: #ffffff;
  --ink: #14100d;
  --brown: #3a2921;
  --wine: #691d2d;
  --wine-dark: #4f1521;
  --muted: #64584f;
  --line: #e3dfda;
  --white: #ffffff;
  --display: "Playfair Display", Georgia, serif;
  --body: "DM Sans", Arial, sans-serif;
  --gutter: clamp(18px, 3.85vw, 58px);
  --content-width: 1680px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-control: 999px;
  --radius-image: 18px;
  --radius-card: 26px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  overflow-x: clip;
}

body {
  display: flex;
  flex-direction: column;
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.55;
}

main { flex: 1 0 auto; }

button, a { color: inherit; font: inherit; }
button { cursor: pointer; }
a { text-decoration: none; }
img { display: block; width: 100%; }
figure { margin: 0; }
.icon-image {
  display: block;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  background-image: url("assets/klapa-icon-sprite.png");
  background-repeat: no-repeat;
  background-size: 88px 88px;
  transition: filter 180ms ease;
}
.icon-image--bag { background-position: 0 0; }
.icon-image--menu { background-position: -22px 0; }
.icon-image--arrow { background-position: -44px 0; }
.icon-image--sparkle { background-position: -66px 0; }
.icon-image--repeat { background-position: 0 -22px; }
.icon-image--heart { background-position: -22px -22px; }
.icon-image--plus { background-position: -44px -22px; }
.icon-image--minus { background-position: -66px -22px; }
.icon-image--chevron-left { background-position: 0 -44px; }
.icon-image--chevron-right { background-position: -22px -44px; }
.icon-image--arrow-up { background-position: -44px -44px; }
.icon-image--close { background-position: -66px -44px; }
.button:not(.button--light) .icon-image,
.text-link .icon-image,
.site-footer__bottom .icon-image { filter: brightness(0) invert(1); }

button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 40;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.announcement {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 26px;
  padding: 5px 14px;
  color: var(--white);
  background: var(--wine);
  font-size: 9px;
  letter-spacing: 0.11em;
  text-align: center;
}
.announcement span { padding-inline: 10px; color: #d9c5b4; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgb(255 255 255 / 78%);
  border-bottom: 1px solid rgb(58 41 33 / 12%);
  backdrop-filter: blur(16px) saturate(125%);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
}
.site-header__top {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 64px;
  padding: 0 var(--gutter);
}
.brand {
  display: inline-flex;
  align-items: baseline;
  justify-self: center;
  gap: 7px;
  color: var(--wine);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.17em;
  line-height: 1;
}
.brand span { color: var(--brown); font-size: 9px; font-weight: 500; letter-spacing: 0.2em; }
.header-actions { display: flex; justify-self: end; align-items: center; }
.bag-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0 8px 8px;
  border: 0;
  color: var(--wine);
  background: transparent;
  font-size: 12px;
}
.bag-button .icon-image { width: 22px; height: 22px; }
.bag-count { min-width: 15px; font-size: 11px; text-align: center; }
.desktop-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(26px, 4.2vw, 62px);
  min-height: 38px;
  padding: 0 var(--gutter) 10px;
  font-size: 12px;
}
.desktop-nav a, .site-footer a, .text-button { transition: color 160ms ease; }
.desktop-nav a:hover, .site-footer a:hover, .text-button:hover { color: var(--wine); }
.text-button { padding: 0; border: 0; background: transparent; text-align: left; }
.menu-toggle, .mobile-nav { display: none; }
.mobile-nav[hidden] { display: none !important; }

.site-header.is-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  gap: clamp(10px, 1.5vw, 22px);
  padding-inline: var(--gutter);
}
.site-header.is-compact .site-header__top { display: contents; }
.site-header.is-compact .brand {
  order: 0;
  justify-self: auto;
  flex: 0 0 auto;
  font-size: 19px;
}
.site-header.is-compact .brand span { font-size: 8px; }
.site-header.is-compact .desktop-nav {
  order: 1;
  flex: 1 1 auto;
  justify-content: center;
  min-height: 58px;
  gap: clamp(10px, 2vw, 24px);
  padding: 0;
  font-size: 11px;
}
.site-header.is-compact .header-actions {
  order: 2;
  justify-self: auto;
  flex: 0 0 auto;
}
.site-header.is-compact .bag-button { gap: 6px; padding-block: 6px; font-size: 11px; }
.site-header.is-compact .bag-button .icon-image { width: 22px; height: 22px; }

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: min(var(--content-width), 100%);
  margin: 20px auto 0;
  padding-inline: var(--gutter);
}
.feature-card {
  position: relative;
  display: block;
  aspect-ratio: 1.06 / 1;
  min-height: 450px;
  overflow: hidden;
  color: var(--white);
  background: var(--brown);
  isolation: isolate;
}
.feature-card > img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}
.feature-card--bodysuit > img { object-position: 51% center; }
.feature-card--bikini > img { object-position: 50% 47%; }
.feature-card:hover > img { transform: scale(1.035); }
.feature-card__shade {
  position: absolute;
  z-index: -1;
  inset: 32% 0 0;
  background: linear-gradient(0deg, rgb(20 16 13 / 70%), rgb(20 16 13 / 0%));
}
.feature-card__copy {
  position: absolute;
  right: clamp(20px, 4vw, 54px);
  bottom: clamp(24px, 4vw, 52px);
  left: clamp(20px, 4vw, 54px);
  display: grid;
  justify-items: start;
  gap: 10px;
}
.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}
.feature-card .eyebrow { color: rgb(253 253 252 / 86%); }
.feature-card__title {
  font-family: var(--display);
  font-size: clamp(36px, 4.15vw, 62px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.98;
}
.feature-card__description { max-width: 36ch; font-size: 13px; line-height: 1.5; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 44px;
  padding: 11px 17px;
  border: 0;
  color: var(--white);
  background: var(--wine);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.045em;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}
.button:hover { color: var(--white); background: var(--wine-dark); transform: translateY(-1px); }
.button--light { margin-top: 7px; color: var(--ink); background: var(--white); }
.button--light:hover { color: var(--white); background: var(--wine); }
.button--wine { color: var(--white); background: var(--wine); }
.button--full { width: 100%; }

.service-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(var(--content-width), 100%);
  margin: 0 auto;
  padding: 18px var(--gutter);
  border-bottom: 1px solid var(--line);
}
.service-strip > div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  color: var(--brown);
  font-size: 11px;
  text-align: center;
}
.service-strip > div + div { border-left: 1px solid var(--line); }
.service-strip__mark { flex: 0 0 22px; width: 22px; height: 22px; }

.page-section {
  width: min(var(--content-width), 100%);
  margin: clamp(88px, 10vw, 142px) auto;
  padding-inline: var(--gutter);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 29px;
}
.section-heading .eyebrow { margin-bottom: 11px; }
.section-heading h2, .editorial__copy h2, .workshop__copy h2, .before-order h2,
.product-dialog h2, .dialog-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.section-heading h2 { font-size: clamp(36px, 4vw, 54px); }
.section-heading__note { max-width: 34ch; margin: 0 0 5px; color: var(--muted); font-size: 12px; }
.collection-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.filter-list { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-chip {
  min-height: 31px;
  padding: 5px 12px;
  border: 1px solid transparent;
  border-radius: 99px;
  color: var(--muted);
  background: transparent;
  font-size: 11px;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}
.filter-chip:hover, .filter-chip.is-active { border-color: var(--brown); color: var(--ink); }
.filter-chip.is-active { background: var(--surface); }
.collection-toolbar__count { color: var(--muted); font-size: 10px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.product[hidden] { display: none; }
.product__image { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.product__view { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; }
.product__view img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; transition: transform 600ms var(--ease); }
.product:hover .product__view img { transform: scale(1.025); }
.product__image--flatlay .product__view img { object-position: center 43%; }
.product__quick-add {
  position: absolute;
  right: 11px;
  bottom: 11px;
  left: 11px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 42px;
  padding: 9px 13px;
  border: 0;
  color: var(--ink);
  background: rgb(253 253 252 / 94%);
  font-size: 11px;
  text-align: left;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}
.product:hover .product__quick-add, .product__quick-add:focus-visible { opacity: 1; transform: translateY(0); }
.product__quick-add:hover { color: var(--white); background: var(--wine); }
.product__quick-add .icon-image--plus { width: 20px; height: 20px; background-size: 80px 80px; background-position: -40px -20px; }
.product__details { padding: 12px 1px 0; }
.product__name {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 12px;
  font-weight: 500;
  text-align: left;
}
.product__name span { font-weight: 400; }
.product__name:hover { color: var(--wine); }
.product__price { margin: 4px 0 0; color: var(--brown); font-size: 12px; font-variant-numeric: tabular-nums; }
.product__colors { display: flex; align-items: center; gap: 7px; margin-top: 10px; color: var(--muted); font-size: 10px; }
.product__colors i, [data-product-swatch] { display: inline-block; flex: 0 0 auto; width: 14px; height: 14px; border: 1px solid rgb(20 16 13 / 20%); border-radius: 50%; background: var(--swatch); }

.editorial {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
  max-width: var(--content-width);
  margin: clamp(90px, 11vw, 156px) auto;
  padding-inline: var(--gutter);
}
.editorial__image { min-height: 490px; overflow: hidden; background: var(--brown); }
.editorial__image img { width: 100%; height: 100%; min-height: 490px; object-fit: cover; object-position: center 40%; }
.editorial__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(32px, 7vw, 100px);
  background: var(--surface);
}
.editorial__copy h2 { max-width: 10ch; margin-top: 17px; color: var(--brown); font-size: clamp(38px, 5vw, 66px); }
.editorial__copy > p:not(.eyebrow) { max-width: 42ch; margin: 20px 0 22px; color: var(--muted); font-size: 13px; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  padding: 0 0 4px;
  border: 0;
  border-bottom: 1px solid var(--wine);
  color: var(--brown);
  background: transparent;
  font-size: 11px;
  text-align: left;
}
.text-link:hover { color: var(--wine); }

.workshop { display: grid; grid-template-columns: 1fr 0.88fr; align-items: center; gap: clamp(32px, 7vw, 105px); }
.workshop__image { overflow: hidden; background: var(--surface); }
.workshop__image img { width: 100%; aspect-ratio: 1.18 / 1; object-fit: cover; }
.workshop__copy h2 { margin-top: 11px; font-size: clamp(40px, 4.5vw, 58px); }
.workshop__copy > p:not(.eyebrow) { max-width: 43ch; margin: 17px 0 21px; color: var(--muted); font-size: 13px; }
.workshop__details { display: grid; gap: 0; max-width: 510px; margin: 0 0 22px; border-top: 1px solid var(--line); }
.workshop__details > div { display: grid; grid-template-columns: 1fr 1.3fr; gap: 15px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.workshop__details dt { color: var(--muted); font-size: 11px; }
.workshop__details dd { margin: 0; font-size: 11px; }

.packaging-story {
  display: grid;
  grid-template-columns: minmax(250px, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(32px, 6vw, 92px);
}
.packaging-story__copy h2 {
  max-width: 10ch;
  margin: 12px 0 16px;
  color: var(--brown);
  font-family: var(--display);
  font-size: clamp(38px, 4.7vw, 62px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.04;
}
.packaging-story__copy > p:not(.eyebrow) { max-width: 36ch; margin: 0 0 19px; color: var(--muted); font-size: 13px; }
.packaging-story__image { position: relative; overflow: hidden; background: var(--surface); }
.packaging-story__image img { width: 100%; aspect-ratio: 1.12 / 1; object-fit: cover; object-position: center 48%; }
.packaging-story__image figcaption {
  position: absolute;
  right: 14px;
  bottom: 13px;
  padding: 7px 10px;
  color: var(--ink);
  background: rgb(255 255 255 / 92%);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.before-order { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(28px, 6vw, 82px); padding-block: 41px; border-top: 1px solid var(--line); }
.before-order h2 { margin-top: 12px; font-size: clamp(35px, 4vw, 52px); }
.info-list { border-top: 1px solid var(--line); }
.info-item { border-bottom: 1px solid var(--line); }
.info-item summary, .product-dialog__accordions summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 52px;
  cursor: pointer;
  list-style: none;
  font-size: 12px;
}
.info-item summary::-webkit-details-marker, .product-dialog__accordions summary::-webkit-details-marker { display: none; }
.info-item summary .icon-image--plus, .product-dialog__accordions summary .icon-image--plus { transition: transform 220ms var(--ease); }
.info-item[open] summary .icon-image--plus, .product-dialog__accordions details[open] summary .icon-image--plus { transform: rotate(45deg); }
.info-item p { max-width: 60ch; margin: 0 0 15px; color: var(--muted); font-size: 12px; }
.info-item .text-link { margin: 0 0 17px; }

.site-footer { padding: 44px var(--gutter) 18px; color: var(--white); background: var(--brown); }
.site-footer__main, .site-footer__bottom { display: flex; justify-content: space-between; gap: 42px; width: min(var(--content-width), 100%); margin-inline: auto; }
.site-footer__main { align-items: start; padding-bottom: 38px; }
.site-footer__contact { max-width: 34ch; }
.site-footer__brand { display: inline-block; color: var(--white); font-size: 15px; font-weight: 600; letter-spacing: 0.15em; }
.site-footer__contact p { margin: 9px 0 17px; color: rgb(253 253 252 / 75%); font-size: 12px; }
.footer-link { display: inline-flex; gap: 8px; padding-bottom: 3px; border-bottom: 1px solid #ba8b83; font-size: 11px; }
.site-footer__group h2 { margin: 0 0 12px; font-family: var(--display); font-size: 18px; font-weight: 400; }
.site-footer__links { display: grid; gap: 8px; color: rgb(253 253 252 / 78%); font-size: 11px; }
.site-footer__links .text-button { color: inherit; font-size: inherit; }
.site-footer__links a:hover, .site-footer__links .text-button:hover { color: #ead5ce; }
.site-footer__bottom { align-items: center; padding-top: 15px; border-top: 1px solid rgb(253 253 252 / 25%); color: rgb(253 253 252 / 65%); font-size: 10px; }

dialog { max-width: none; border: 0; color: var(--ink); background: var(--paper); }
dialog::backdrop { background: rgb(20 16 13 / 52%); backdrop-filter: blur(2px); }
dialog:not([open]) { display: none; }
.icon-button { display: grid; place-items: center; flex: 0 0 auto; width: 39px; height: 39px; padding: 0; border: 1px solid var(--line); border-radius: 50%; color: var(--wine); background: var(--paper); }
.icon-button:hover { color: var(--white); border-color: var(--wine); background: var(--wine); }
.dialog-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.dialog-heading h2 { font-size: 30px; }

.product-dialog {
  position: fixed;
  inset: 50% auto auto 50%;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  width: min(1260px, calc(100vw - 36px));
  height: min(92dvh, 940px);
  margin: 0;
  padding: 0;
  overflow: auto;
  transform: translate(-50%, -50%);
}
.product-dialog[open] { display: grid; }
.product-dialog__close { position: absolute; z-index: 2; top: 14px; right: 14px; background: rgb(255 255 255 / 96%); }
.product-dialog__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; align-content: start; min-height: 100%; padding: 9px; background: var(--surface); }
.product-dialog__gallery--single { grid-template-columns: 1fr; }
.product-dialog__gallery img { width: 100%; height: 100%; min-height: 500px; max-height: 920px; object-fit: cover; object-position: center 40%; background: var(--surface); }
.product-dialog__gallery--single img { object-fit: contain; }
.product-dialog__content { padding: clamp(26px, 4vw, 58px); overflow-y: auto; }
.product-dialog__crumb { display: flex; gap: 9px; margin: 0 0 27px; color: var(--muted); font-size: 10px; }
.product-dialog__content > .eyebrow { color: var(--wine); }
.product-dialog__content h2 { margin-top: 7px; font-size: clamp(29px, 3vw, 42px); }
.product-dialog__price { margin: 12px 0 0; color: var(--brown); font-size: 14px; }
.product-dialog__color { display: flex; align-items: center; gap: 9px; margin: 19px 0; color: var(--muted); font-size: 11px; }
.product-dialog__size { margin-bottom: 0; }
.product-dialog__size-note { margin: 7px 0 17px; color: var(--muted); font-size: 10px; }
.product-dialog__add { justify-content: space-between; padding-inline: 17px; }
.product-dialog__policy-note { margin: 10px 0 20px; color: var(--muted); font-size: 10px; text-align: center; }
.product-dialog__accordions { border-top: 1px solid var(--line); }
.product-dialog__accordions details { border-bottom: 1px solid var(--line); }
.product-dialog__accordions summary { min-height: 46px; }
.product-dialog__accordions p { margin: 0 0 14px; color: var(--muted); font-size: 10px; }
.complete-look { margin-top: 26px; }
.complete-look h3 { margin: 0 0 12px; font-family: var(--display); font-size: 20px; font-weight: 400; }
.complete-look__items { display: grid; gap: 10px; }
.recommendation { display: grid; grid-template-columns: 62px 1fr auto; gap: 11px; align-items: center; }
.recommendation img { width: 62px; height: 76px; object-fit: cover; object-position: center 40%; background: var(--surface); }
.recommendation__name { font-size: 10px; }
.recommendation__price { margin-top: 2px; color: var(--muted); font-size: 10px; }
.recommendation button { padding: 5px 0 4px; border: 0; border-bottom: 1px solid var(--wine); color: var(--brown); background: transparent; font-size: 10px; }

.bag-dialog {
  position: fixed;
  inset: 0 0 0 auto;
  display: flex;
  flex-direction: column;
  width: min(100%, 450px);
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 24px;
  box-shadow: -14px 0 44px rgb(20 16 13 / 14%);
}
.bag-dialog[open] { display: flex; }
.bag-dialog__body { flex: 1; overflow: auto; padding-top: 25px; }
.bag-empty { margin: 0; color: var(--muted); font-size: 13px; }
.bag-item { display: grid; grid-template-columns: 78px 1fr auto; gap: 13px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.bag-item__image { width: 78px; height: 98px; object-fit: cover; background: var(--surface); }
.bag-item__info h3, .bag-item__info p { margin: 0; }
.bag-item__info h3 { font-size: 12px; font-weight: 500; }
.bag-item__info > p { color: var(--muted); font-size: 11px; }
.bag-item__price { margin-top: 4px !important; color: var(--ink) !important; }
.bag-item__controls { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; }
.quantity-button { display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 50%; color: var(--wine); background: rgb(105 29 45 / 6%); }
.bag-item__quantity { min-width: 14px; text-align: center; }
.bag-item__remove { align-self: start; padding: 0; border: 0; color: var(--muted); background: transparent; font-size: 10px; }
.bag-dialog__footer { padding-top: 17px; border-top: 1px solid var(--line); }
.bag-dialog__footer[hidden] { display: none; }
.bag-total { display: flex; justify-content: space-between; font-size: 12px; }
.bag-dialog__note { color: var(--muted); font-size: 10px; }
.bag-dialog__footer .button { justify-content: space-between; }

.size-dialog {
  width: min(calc(100% - 32px), 530px);
  max-height: min(90dvh, 760px);
  margin: auto;
  padding: clamp(23px, 5vw, 38px);
  overflow-y: auto;
  box-shadow: 0 22px 56px rgb(20 16 13 / 17%);
}
.size-dialog__intro { margin: 20px 0; color: var(--muted); font-size: 12px; }
.measure-list { display: grid; gap: 0; margin: 0 0 23px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.measure-list li { display: grid; grid-template-columns: 1fr 1.2fr; gap: 15px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.measure-list strong { font-weight: 500; }
.measure-list span, .size-dialog__footnote { color: var(--muted); }
.size-dialog__footnote { margin-bottom: 0; font-size: 10px; }

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal="copy"] {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
    transition: opacity 620ms var(--ease), transform 680ms var(--ease);
  }
  .js [data-reveal="picture"] {
    opacity: 0;
    transform: translate3d(0, 14px, 0) scale(.985);
    transition: opacity 760ms var(--ease), transform 800ms var(--ease);
  }
  .js [data-reveal].is-in {
    opacity: 1;
    transform: none;
    transition-delay: calc(var(--i, 0) * 85ms);
  }
}

@media (max-width: 900px) {
  .feature-card { min-height: 400px; }
  .feature-card__title { font-size: clamp(34px, 5vw, 50px); }
  .editorial { grid-template-columns: 0.9fr 1.1fr; }
  .editorial__image, .editorial__image img { min-height: 420px; }
  .editorial__copy { padding: clamp(28px, 5vw, 55px); }
  .workshop { grid-template-columns: 1fr 1fr; gap: 34px; }
  .packaging-story { grid-template-columns: minmax(220px, 0.82fr) minmax(0, 1.18fr); gap: 34px; }
  .product-dialog { grid-template-columns: 1fr 0.95fr; }
  .product-dialog__gallery { grid-template-columns: 1fr; align-content: start; }
  .product-dialog__gallery img { min-height: min(70vh, 690px); }
  .product-dialog__gallery img + img { display: none; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 68px; }
  .announcement { min-height: 25px; font-size: 8px; letter-spacing: 0.08em; }
  .site-header__top { min-height: 57px; }
  .brand { font-size: 19px; }
  .brand span { font-size: 8px; }
  .bag-label { display: none; }
  .menu-toggle { display: grid; place-content: center; justify-self: start; width: 33px; height: 33px; padding: 6px; border: 0; color: var(--wine); background: transparent; }
  .menu-toggle { position: relative; }
  .menu-toggle .icon-image { position: absolute; inset: 0; margin: auto; transition: opacity 180ms ease, transform 220ms var(--ease); }
  .menu-toggle .icon-image--close { opacity: 0; transform: scale(.72) rotate(-45deg); }
  .menu-toggle[aria-expanded="true"] .icon-image--menu { opacity: 0; transform: scale(.72) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .icon-image--close { opacity: 1; transform: scale(1) rotate(0); }
  .desktop-nav { display: none; }
  .mobile-nav:not([hidden]) { position: absolute; top: 100%; right: 0; left: 0; display: grid; gap: 14px; padding: 14px var(--gutter) 22px; border-top: 1px solid var(--line); background: var(--paper); box-shadow: 0 12px 18px rgb(20 16 13 / 6%); }
  .mobile-nav a, .mobile-nav button { width: max-content; font-size: 12px; }
  .site-header.is-compact {
    min-height: 52px;
    gap: 12px;
    padding-inline: var(--gutter);
  }
  .site-header.is-compact .brand { font-size: 18px; }
  .site-header.is-compact .menu-toggle {
    order: 1;
    justify-self: auto;
    width: 30px;
    height: 30px;
    margin-left: auto;
  }
  .site-header.is-compact .header-actions { order: 2; }
  .site-header.is-compact .mobile-nav:not([hidden]) { top: 100%; }
  .feature-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 12px; }
  .feature-card { min-height: 0; aspect-ratio: 0.98 / 1; }
  .feature-card--bodysuit { aspect-ratio: 0.93 / 1; }
  .feature-card--bikini { aspect-ratio: 0.93 / 1; }
  .feature-card__copy { right: 20px; bottom: 22px; left: 20px; gap: 8px; }
  .feature-card__title { font-size: clamp(36px, 11vw, 50px); }
  .feature-card__description { max-width: 32ch; font-size: 12px; }
  .service-strip { grid-template-columns: 1fr; gap: 0; padding-block: 4px; }
  .service-strip > div { justify-content: flex-start; min-height: 42px; padding-inline: 4px; text-align: left; }
  .service-strip > div + div { border-top: 1px solid var(--line); border-left: 0; }
  .service-strip__mark { width: 22px; height: 22px; }
  .page-section { margin-block: 82px; }
  .section-heading { display: block; margin-bottom: 22px; }
  .section-heading h2 { font-size: 39px; }
  .section-heading__note { margin-top: 9px; font-size: 11px; }
  .collection-toolbar { margin-bottom: 13px; }
  .filter-list { gap: 3px; }
  .filter-chip { padding-inline: 10px; font-size: 10px; }
  .collection-toolbar__count { font-size: 9px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .product__image { aspect-ratio: 0.78 / 1; }
  .product__view img { object-position: center 42%; }
  .product__quick-add { right: 7px; bottom: 7px; left: 7px; min-height: 36px; padding: 7px 9px; font-size: 10px; opacity: 1; transform: none; }
  .product__details { padding-top: 9px; }
  .product__name { font-size: 10px; line-height: 1.45; }
  .product__name span { display: block; color: var(--muted); }
  .product__price { font-size: 11px; }
  .product__colors { margin-top: 7px; font-size: 9px; }
  .product__colors i { width: 12px; height: 12px; }
  .editorial { grid-template-columns: 1fr; margin-block: 82px; padding-inline: var(--gutter); }
  .editorial__image, .editorial__image img { min-height: 0; aspect-ratio: 4 / 4.7; }
  .editorial__copy { min-height: 300px; padding: 31px 24px 35px; }
  .editorial__copy h2 { max-width: 12ch; font-size: 45px; }
  .editorial__copy > p:not(.eyebrow) { margin-block: 15px 18px; font-size: 12px; }
  .workshop { grid-template-columns: 1fr; gap: 24px; }
  .packaging-story { grid-template-columns: 1fr; gap: 22px; }
  .packaging-story__copy h2 { max-width: 11ch; font-size: 43px; }
  .packaging-story__copy > p:not(.eyebrow) { font-size: 12px; }
  .packaging-story__image img { aspect-ratio: 1.02 / 1; }
  .workshop__image img { aspect-ratio: 1.14 / 1; }
  .workshop__copy h2 { font-size: 42px; }
  .workshop__copy > p:not(.eyebrow) { font-size: 12px; }
  .workshop__details > div { grid-template-columns: 0.8fr 1.2fr; }
  .before-order { grid-template-columns: 1fr; gap: 20px; padding-block: 29px; }
  .before-order h2 { font-size: 38px; }
  .info-item summary { min-height: 49px; font-size: 11px; }
  .info-item p { font-size: 11px; }
  .site-footer { padding-top: 34px; }
  .site-footer__main { display: grid; grid-template-columns: 1fr 1fr; gap: 27px 18px; padding-bottom: 28px; }
  .site-footer__contact { grid-column: 1 / -1; }
  .site-footer__group h2 { font-size: 17px; }
  .site-footer__bottom { font-size: 9px; }
  .product-dialog { inset: auto 0 0; display: block; width: 100%; height: min(94dvh, 850px); max-height: 94dvh; border-radius: 0; transform: none; }
  .product-dialog[open] { display: block; }
  .product-dialog__close { position: fixed; top: auto; right: 13px; bottom: calc(min(94dvh, 850px) - 45px); background: var(--paper); }
  .product-dialog__gallery { grid-template-columns: 1fr 1fr; gap: 5px; min-height: 0; height: 43dvh; padding: 5px; overflow: hidden; }
  .product-dialog__gallery img { min-height: 0; height: 100%; max-height: none; object-fit: cover; }
  .product-dialog__gallery img + img { display: block; }
  .product-dialog__gallery--single { grid-template-columns: 1fr; }
  .product-dialog__gallery--single img { object-fit: contain; }
  .product-dialog__content { padding: 20px 20px 28px; overflow: visible; }
  .product-dialog__crumb { margin-bottom: 16px; }
  .product-dialog__content h2 { font-size: 31px; }
  .product-dialog__price { margin-top: 7px; }
  .product-dialog__color { margin-block: 13px; }
  .product-dialog__policy-note { margin-bottom: 15px; }
  .complete-look { margin-top: 20px; }
  .complete-look__items { grid-template-columns: 1fr 1fr; }
  .recommendation { grid-template-columns: 48px 1fr; gap: 8px; }
  .recommendation img { width: 48px; height: 58px; }
  .recommendation button { grid-column: 2; justify-self: start; }
  .bag-dialog { padding: 19px; }
  .dialog-heading h2 { font-size: 26px; }
  .size-dialog { padding: 22px; }
  .measure-list li { grid-template-columns: 0.85fr 1.15fr; font-size: 10px; }
}

@media (min-width: 641px) and (max-width: 760px) {
  .site-header.is-compact { min-height: 54px; }
  .site-header.is-compact .desktop-nav { display: none; }
  .site-header.is-compact .menu-toggle {
    display: grid;
    order: 1;
    justify-self: auto;
    width: 32px;
    height: 32px;
    margin-left: auto;
  }
  .site-header.is-compact .header-actions { order: 2; }
  .site-header.is-compact .mobile-nav:not([hidden]) {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    gap: 14px;
    padding: 14px var(--gutter) 22px;
    border-top: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 12px 18px rgb(20 16 13 / 6%);
  }
  .site-header.is-compact .mobile-nav a,
  .site-header.is-compact .mobile-nav button { width: max-content; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}

/* Editorial collage and swipeable campaign gallery */
.color-story {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: clamp(30px, 6vw, 88px);
  align-items: center;
}
.color-story__hero {
  position: relative;
  overflow: hidden;
  background: var(--surface);
}
.color-story__hero img {
  width: 100%;
  aspect-ratio: 1.18 / 1;
  object-fit: cover;
}
.color-story__hero figcaption {
  position: absolute;
  right: 14px;
  bottom: 13px;
  padding: 7px 10px;
  color: var(--ink);
  background: rgb(255 255 255 / 92%);
  font-size: 9px;
  letter-spacing: 0.1em;
}
.color-story__copy { min-width: 0; }
.color-story__copy h2 {
  max-width: 10ch;
  margin: 12px 0;
  color: var(--brown);
  font-family: var(--display);
  font-size: clamp(38px, 4.7vw, 62px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.04;
}
.color-story__copy > p:not(.eyebrow) { max-width: 36ch; margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.color-story__swatches { display: flex; flex-wrap: wrap; gap: 14px 18px; margin: 0 0 23px; padding: 0; list-style: none; }
.color-story__swatches li { display: inline-flex; align-items: center; gap: 7px; color: var(--brown); font-size: 10px; }
.color-story__swatches i { width: 13px; height: 13px; border: 1px solid rgb(20 16 13 / 18%); border-radius: 50%; background: var(--swatch); }
.color-story__details { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: clamp(24px, 4vw, 48px); }
.color-story__details img { width: 100%; aspect-ratio: 0.84 / 1; object-fit: cover; }

.campaign-slider { margin-top: clamp(90px, 10vw, 140px); overflow: hidden; }
.campaign-slider__heading { align-items: end; }
.carousel-controls { display: flex; gap: 8px; }
.carousel-controls button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--wine);
  background: var(--white);
  font-size: 17px;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}
.carousel-controls button:hover { color: var(--white); border-color: var(--wine); background: var(--wine); }
.carousel-controls button:disabled { cursor: default; opacity: 0.38; }
.carousel-controls button:disabled:hover { color: var(--brown); border-color: var(--line); background: var(--white); }
.campaign-slider__track {
  display: grid;
  grid-auto-columns: minmax(320px, 44%);
  grid-auto-flow: column;
  gap: 13px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding-bottom: 8px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.campaign-slider__track::-webkit-scrollbar { display: none; }
.campaign-slide { min-width: 0; scroll-snap-align: start; }
.campaign-slide img { width: 100%; height: clamp(240px, 30vw, 420px); aspect-ratio: auto; object-fit: cover; background: var(--surface); }
.campaign-slide figcaption { display: flex; justify-content: space-between; gap: 12px; padding-top: 10px; font-size: 10px; }
.campaign-slide figcaption span + span { color: var(--muted); text-align: right; }
.carousel-progress { height: 1px; margin-top: 18px; background: var(--line); }
.carousel-progress span { display: block; width: 25%; height: 1px; background: var(--wine); transform-origin: left; transition: transform 180ms ease; }

/* Let desktop photography carry more weight and use the available canvas. */
@media (min-width: 1200px) {
  :root {
    --content-width: 1840px;
    --gutter: clamp(32px, 3.2vw, 58px);
  }
  .campaign-slider {
    margin-top: clamp(96px, 8vw, 138px);
    margin-bottom: clamp(84px, 6vw, 112px);
  }
  .campaign-slider__heading { margin-bottom: clamp(30px, 2.5vw, 42px); }
  .campaign-slider .section-heading h2 { font-size: clamp(56px, 4.5vw, 72px); }
  .campaign-slider__track {
    grid-auto-columns: clamp(380px, 23vw, 440px);
    gap: clamp(16px, 1.2vw, 22px);
  }
  .campaign-slide img { height: clamp(460px, 29vw, 540px); }
  .campaign-slide figcaption { padding-top: 13px; font-size: 12px; }
}

/* White page canvas; the brand palette stays in type, buttons and details. */
html, body { background: var(--paper); }
.site-header { background: rgb(255 255 255 / 96%); }
.before-order { margin-bottom: 0; }
.site-footer { flex: 0 0 auto; margin-top: 0; margin-bottom: 0; padding-bottom: max(18px, env(safe-area-inset-bottom)); }
.site-footer__bottom { padding-bottom: 0; }

@media (max-width: 900px) {
  .color-story { grid-template-columns: minmax(0, 1fr) minmax(270px, 0.85fr); gap: 30px; }
  .campaign-slider__track { grid-auto-columns: minmax(280px, 52%); }
  .campaign-slide img { height: clamp(240px, 36vw, 320px); }
}

@media (max-width: 640px) {
  .color-story { grid-template-columns: 1fr; gap: 23px; }
  .color-story__hero img { aspect-ratio: 1.02 / 1; }
  .color-story__copy h2 { max-width: 11ch; font-size: 43px; }
  .color-story__details { gap: 7px; margin-top: 24px; }
  .color-story__details img { aspect-ratio: 0.88 / 1; }
  .campaign-slider { margin-top: 82px; padding-right: 0; }
  .campaign-slider__heading { padding-right: var(--gutter); }
  .campaign-slider__track { grid-auto-columns: 82%; gap: 10px; padding-right: var(--gutter); }
  .campaign-slide img { height: clamp(220px, 72vw, 300px); }
  .campaign-slide figcaption { font-size: 9px; }
  .carousel-controls button { width: 37px; height: 37px; }
  .carousel-progress { margin-right: var(--gutter); }
}

/* Slow, looping hero photography and a transparent Lucy product cutout. */
.feature-card { border-radius: var(--radius-card); }
.feature-card--bodysuit { background: var(--brown); }
.feature-card__slideshow {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
}
.feature-card__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1100ms ease;
  will-change: opacity, transform;
}
.feature-card__slide.is-active {
  opacity: 1;
  animation: klapa-hero-zoom 7800ms linear both;
}
.feature-card__slideshow.is-paused .feature-card__slide.is-active { animation-play-state: paused; }
@keyframes klapa-hero-zoom { to { transform: scale(1.085); } }

.feature-card--bikini {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--white);
  text-align: center;
}
.feature-card--bikini .feature-card__cutout {
  position: relative;
  z-index: 0;
  inset: auto;
  width: auto;
  height: 62%;
  max-width: 100%;
  max-height: 68%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 13px 12px rgb(20 16 13 / 8%));
  transition: none;
}
.feature-card--bikini .feature-card__copy {
  position: relative;
  inset: auto;
  display: grid;
  justify-items: center;
  gap: 6px;
  width: 100%;
  text-align: center;
}
.feature-card--bikini .eyebrow { color: var(--wine); }
.feature-card--bikini .feature-card__title { color: var(--ink); font-size: clamp(32px, 3.3vw, 45px); }
.feature-card--bikini .feature-card__description { color: var(--muted); font-size: 12px; }
.feature-card--bikini .button { min-height: 42px; margin-top: 3px; border-radius: var(--radius-control); }
.feature-card--bikini:hover > .feature-card__cutout { transform: none; }

/* Soft corners carry through the product, editorial and shopping surfaces. */
.site-header.is-compact { border-radius: 0 0 var(--radius-image) var(--radius-image); }
.button, .product__quick-add { border-radius: var(--radius-control); }
.product__image, .editorial__image, .packaging-story__image, .workshop__image,
.campaign-slide img, .color-story__hero img, .color-story__details img,
.product-dialog__gallery img, .recommendation img {
  overflow: hidden;
  border-radius: var(--radius-image);
}
.product__view, .product__view img { border-radius: inherit; }
.info-item { overflow: hidden; border-radius: 12px; }
.product-dialog, .bag-dialog, .size-dialog { border-radius: 24px; }
.site-footer { border-radius: 22px 22px 0 0; }

@media (max-width: 640px) {
  .feature-card--bikini { gap: 8px; padding: 14px; }
  .feature-card--bikini .feature-card__cutout { height: 50%; max-height: 50%; }
  .feature-card--bikini .feature-card__title { font-size: clamp(30px, 9vw, 40px); }
  .product-dialog { border-radius: 24px 24px 0 0; }
}

/* Refined navigation, editorial action, and soft interactive surfaces. */
.announcement { gap: 7px; overflow: hidden; }
.announcement__label { color: #fff !important; font-weight: 600; letter-spacing: 0.12em; }
.announcement__divider { padding: 0 2px !important; color: #d9c5b4 !important; }
.announcement__message { color: rgb(255 255 255 / 85%) !important; transition: opacity 180ms ease, transform 180ms ease; }
.announcement.is-changing .announcement__message { opacity: 0; transform: translateY(3px); }

.desktop-nav {
  width: max-content;
  max-width: calc(100% - var(--gutter) - var(--gutter));
  margin-inline: auto;
  gap: 3px;
  padding: 4px;
  border-radius: var(--radius-control);
  background: rgb(105 29 45 / 5%);
}
.desktop-nav a, .desktop-nav > button {
  display: inline-flex;
  align-items: center;
  min-height: 35px;
  padding: 0 15px;
  border-radius: var(--radius-control);
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}
.desktop-nav a:hover, .desktop-nav > button:hover {
  color: var(--wine-dark);
  background: rgb(105 29 45 / 9%);
  transform: translateY(-1px);
}
.desktop-nav a:focus-visible, .desktop-nav > button:focus-visible { outline: 2px solid var(--wine); outline-offset: 2px; }
.site-header.is-compact .desktop-nav { width: auto; max-width: none; margin: 0; gap: 1px; padding: 2px; }
.site-header.is-compact .desktop-nav a, .site-header.is-compact .desktop-nav > button { min-height: 32px; padding-inline: 11px; font-size: 11px; }

.service-strip { border: 0; }
.service-strip > div + div { border: 0; }
.collection-toolbar { padding-bottom: 0; border: 0; }

.text-link--button {
  align-items: center;
  min-height: 46px;
  padding: 0 19px;
  border: 0;
  border-radius: var(--radius-control);
  color: var(--white);
  background: var(--wine);
  box-shadow: 0 7px 18px rgb(105 29 45 / 15%);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, transform 180ms var(--ease);
}
.text-link--button:hover {
  color: var(--white);
  background: var(--wine-dark);
  box-shadow: 0 10px 22px rgb(105 29 45 / 21%);
  transform: translateY(-2px);
}
.text-link--button:active { box-shadow: 0 3px 8px rgb(105 29 45 / 18%); transform: translateY(0) scale(0.98); }
.text-link--button span { transition: transform 180ms ease; }
.text-link--button:hover span { transform: translate(2px, -1px); }
.text-link--button:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }

.color-story__hero figcaption {
  padding: 9px 14px;
  border-radius: var(--radius-control);
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0;
}
.color-story__details {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: start;
  gap: clamp(8px, 1.3vw, 14px);
}
.color-story__hero img, .color-story__details img { height: auto; }
.color-story__details img:first-child { aspect-ratio: 1.35 / 1; object-position: center; }
.color-story__details img:last-child { aspect-ratio: 0.76 / 1; margin-top: clamp(16px, 3vw, 34px); object-position: center; }

.campaign-slider__track { scroll-padding-inline: 0; }
.campaign-slide { scroll-snap-stop: always; }
.carousel-controls button { transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, transform 180ms var(--ease); }
.carousel-controls button:active { transform: scale(0.94); }
.carousel-controls button:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }
.carousel-controls button:disabled { opacity: 0.38; }
.carousel-progress { display: none; }

.info-list { display: grid; gap: 9px; border: 0; }
.info-item {
  padding-inline: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}
.info-item summary { min-height: 58px; font-size: 13px; }
.info-item summary .icon-image--plus { transition: transform 220ms var(--ease); }
.info-item > p { margin-bottom: 14px; line-height: 1.55; }
.info-item .text-link { margin-bottom: 15px; }
.info-item[open] > p, .info-item[open] > .text-link { animation: info-content-in 240ms var(--ease) both; }
@keyframes info-content-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
@supports selector(details::details-content) {
  .info-item::details-content {
    opacity: 0;
    transform: translateY(-5px);
    transition: content-visibility 220ms allow-discrete, opacity 220ms ease, transform 220ms var(--ease);
  }
  .info-item[open]::details-content { opacity: 1; transform: translateY(0); }
  .info-item[open] > p, .info-item[open] > .text-link { animation: none; }
}

.site-footer__bottom { flex-wrap: wrap; padding-top: 0; border-top: 0; }
.site-footer__bottom > a { display: inline-flex; align-items: center; gap: 5px; }
.site-footer__credit a { color: var(--white); text-underline-offset: 3px; }
.site-footer__credit a:hover { color: #ead5ce; }

@media (max-width: 640px) {
  .mobile-nav:not([hidden]) {
    right: var(--gutter);
    left: var(--gutter);
    width: auto;
    padding: 11px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-top: 0;
    border-radius: 0 0 20px 20px;
  }
  .mobile-nav a, .mobile-nav button { padding: 9px 12px; border-radius: var(--radius-control); }
  .mobile-nav a:hover, .mobile-nav button:hover { color: var(--wine); background: rgb(105 29 45 / 6%); }
  .service-strip > div + div { border: 0; }
  .site-footer__bottom { display: grid; grid-template-columns: 1fr auto; gap: 10px 15px; }
  .site-footer__credit { grid-column: 1 / -1; grid-row: 2; }
  .site-footer__bottom > a { grid-column: 2; grid-row: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .announcement__message, .text-link--button, .text-link .icon-image--arrow, .footer-link .icon-image--arrow, .carousel-controls button, .menu-toggle .icon-image { transition: none; }
  .info-item[open] > p, .info-item[open] > .text-link { animation: none; }
}

/* Single-row floating header and consistent pill actions. */
.site-header {
  top: 12px;
  width: calc(100% - var(--gutter) - var(--gutter));
  max-width: var(--content-width);
  margin: 12px auto;
  overflow: visible;
  border: 0;
  border-radius: var(--radius-image);
  box-shadow: 0 8px 26px rgb(20 16 13 / 7%);
}
.site-header__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  min-height: 62px;
  padding: 0 clamp(15px, 2.2vw, 30px);
}
.site-header .brand {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}
.site-header .desktop-nav {
  grid-column: 2;
  grid-row: 1;
  width: max-content;
  max-width: 100%;
  min-height: 0;
  margin: 0 auto;
  padding: 3px;
  gap: 1px;
  background: transparent;
}
.site-header .desktop-nav a,
.site-header .desktop-nav > button {
  min-height: 35px;
  padding-inline: clamp(8px, 1.15vw, 15px);
  white-space: nowrap;
}
.site-header .header-actions {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}
.site-header .menu-toggle { display: none; }
.site-header.is-compact {
  display: block;
  min-height: 0;
  gap: 0;
  padding: 0;
}
.site-header.is-compact .site-header__top {
  display: grid;
  min-height: 54px;
  padding-inline: clamp(15px, 2.2vw, 30px);
}
.site-header.is-compact .brand {
  order: initial;
  justify-self: start;
  font-size: 18px;
}
.site-header.is-compact .desktop-nav {
  order: initial;
  flex: initial;
  width: max-content;
  min-height: 0;
  margin: 0 auto;
  padding: 2px;
}
.site-header.is-compact .desktop-nav a,
.site-header.is-compact .desktop-nav > button { min-height: 32px; }
.site-header.is-compact .header-actions {
  order: initial;
  justify-self: end;
}

.announcement { min-height: 26px; padding-inline: 14px; }
.announcement__message { color: rgb(255 255 255 / 90%) !important; }

.product__quick-add {
  pointer-events: none;
  transform: translate3d(0, 10px, 0) scale(0.985);
  transition: opacity 360ms cubic-bezier(.2,.75,.25,1), transform 440ms cubic-bezier(.2,.75,.25,1), background-color 220ms ease;
  will-change: opacity, transform;
}
.product:hover .product__quick-add,
.product:focus-within .product__quick-add,
.product__quick-add:focus-visible {
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
}
.product__quick-add:hover { transform: translate3d(0, -1px, 0) scale(1); }

.text-link,
.text-link--button {
  min-height: 44px;
  padding: 0 17px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: var(--wine);
  box-shadow: 0 6px 15px rgb(105 29 45 / 15%);
  text-decoration: none;
  transition: color 240ms ease, background-color 240ms ease, box-shadow 300ms ease, transform 360ms cubic-bezier(.2,.75,.25,1);
}
.text-link:hover,
.text-link--button:hover {
  color: var(--white);
  background: var(--wine-dark);
  box-shadow: 0 9px 19px rgb(105 29 45 / 22%);
  transform: translateY(-2px);
}
.text-link:active,
.text-link--button:active { transform: translateY(0) scale(.98); }
.text-link .icon-image--arrow,
.text-link--button .icon-image--arrow { transition: transform 240ms var(--ease); }
.text-link:hover .icon-image--arrow,
.text-link--button:hover .icon-image--arrow { transform: translate(2px, -1px); }
.text-link:focus-visible,
.text-link--button:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }
.footer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: var(--brown);
  background: var(--white);
  box-shadow: 0 6px 15px rgb(0 0 0 / 10%);
  font-size: 11px;
  text-decoration: none;
  transition: background-color 240ms ease, box-shadow 300ms ease, transform 360ms cubic-bezier(.2,.75,.25,1);
}
.footer-link:hover { color: var(--wine-dark); background: #f7efed; box-shadow: 0 9px 19px rgb(0 0 0 / 16%); transform: translateY(-2px); }
.footer-link .icon-image--arrow { transition: transform 240ms var(--ease); }
.footer-link:hover .icon-image--arrow { transform: translate(2px, -1px); }
.footer-link:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

.packaging-story__image figcaption {
  padding: 9px 13px;
  border-radius: 999px;
  background: rgb(255 255 255 / 64%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.workshop__copy h2 { font-size: clamp(48px, 5.1vw, 70px); }
.workshop__copy > p:not(.eyebrow) { font-size: 15px; line-height: 1.65; }
.workshop__details dt,
.workshop__details dd { font-size: 13px; }
.before-order { border-top: 0; }

@media (max-width: 760px) {
  .site-header .desktop-nav a,
  .site-header .desktop-nav > button { padding-inline: 8px; font-size: 10px; }
  .site-header__top { padding-inline: 9px; }
}

@media (max-width: 640px) {
  .site-header {
    top: 9px;
    width: calc(100% - var(--gutter) - var(--gutter));
    margin: 9px auto;
    border-radius: 20px;
  }
  .site-header__top {
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    min-height: 54px;
    padding-inline: 10px;
  }
  .site-header .brand {
    grid-column: 2;
    justify-self: center;
    font-size: 19px;
  }
  .site-header .header-actions { grid-column: 3; justify-self: end; }
  .site-header .menu-toggle {
    display: grid;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    order: initial;
    width: 32px;
    height: 32px;
    margin: 0;
  }
  .site-header.is-compact .site-header__top { display: grid; min-height: 50px; padding-inline: 10px; }
  .site-header.is-compact .brand { justify-self: center; font-size: 18px; }
  .site-header.is-compact .menu-toggle { justify-self: start; order: initial; margin: 0; }
  .site-header.is-compact .header-actions { justify-self: end; order: initial; }
  .mobile-nav:not([hidden]),
  .site-header.is-compact .mobile-nav:not([hidden]) {
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    width: auto;
    padding: 12px;
    border: 0;
    border-radius: 18px;
    background: rgb(255 255 255 / 96%);
    box-shadow: 0 12px 22px rgb(20 16 13 / 10%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }
  .product__quick-add {
    pointer-events: auto;
    min-height: 36px;
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
  .product:hover .product__quick-add,
  .product:focus-within .product__quick-add,
  .product__quick-add:focus-visible { transform: none; }
  .text-link,
  .text-link--button { min-height: 42px; padding-inline: 15px; font-size: 11px; }
  .workshop__copy h2 { font-size: 45px; }
  .workshop__copy > p:not(.eyebrow) { font-size: 14px; }
  .workshop__details dt,
  .workshop__details dd { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .product__quick-add,
  .text-link,
  .text-link--button,
  .footer-link { transition: none; }
  .product__quick-add { will-change: auto; }
}

/* Final feedback: retain four rounded corners in the compact header. */
.site-header.is-compact { border-radius: var(--radius-image); }
@media (min-width: 641px) {
  .feature-grid { column-gap: clamp(22px, 2.3vw, 30px); }
}

/* Dedicated content pages, sharing the white and wine Klapa system. */
.desktop-nav a.is-current,
.mobile-nav a.is-current {
  color: var(--wine);
  background: rgb(105 29 45 / 7%);
}
.detail-hero,
.detail-story,
.brand-notes,
.about-next,
.workshop-overview,
.workshop-contact,
.measure-guide,
.shopping-notes {
  width: min(var(--content-width), 100%);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.detail-hero {
  display: grid;
  grid-template-columns: minmax(260px, .82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(28px, 6vw, 86px);
  margin-top: clamp(38px, 5vw, 70px);
}
.detail-hero__copy { padding-block: clamp(18px, 4vw, 48px); }
.detail-hero__copy h1,
.detail-story__copy h2,
.workshop-overview__copy h2,
.measure-guide__content h2,
.about-next h2,
.workshop-contact h2 {
  margin: 12px 0 16px;
  color: var(--brown);
  font-family: var(--display);
  font-size: clamp(42px, 5.6vw, 76px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.02;
}
.detail-hero__copy h1 { max-width: 10ch; }
.detail-hero__copy > p:not(.eyebrow),
.detail-story__copy > p:not(.eyebrow),
.workshop-overview__copy > p:not(.eyebrow),
.measure-guide__content > p:not(.eyebrow),
.workshop-contact > div > p:not(.eyebrow) {
  max-width: 46ch;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.detail-hero__image,
.detail-story__image {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: #f4f2f0;
}
.detail-hero__image { aspect-ratio: 1.28 / 1; }
.detail-hero__image img,
.detail-story__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-hero--shop .detail-hero__image img { object-position: center 57%; }
.detail-hero--about .detail-hero__image img { object-position: center 55%; }
.detail-hero--workshop .detail-hero__image img { object-position: center 57%; }
.detail-hero--size .detail-hero__image { aspect-ratio: 1.1 / 1; }
.detail-hero--size .detail-hero__image img { object-position: center 48%; }
.detail-hero__image figcaption,
.detail-story__image figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  max-width: calc(100% - 28px);
  padding: 9px 14px;
  border: 1px solid rgb(255 255 255 / 48%);
  border-radius: var(--radius-control);
  color: var(--brown);
  background: rgb(255 255 255 / 72%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 10px;
}
.detail-products { margin-top: clamp(70px, 9vw, 126px); }
.detail-products .section-heading h2 { font-size: clamp(40px, 4.8vw, 58px); }
.detail-products .product__image { border-radius: var(--radius-image); }
.detail-note { margin: 26px 0 0; color: var(--muted); font-size: 13px; text-align: center; }
.detail-note a { color: var(--wine); text-decoration: underline; text-underline-offset: 3px; }
.section-more { display: flex; justify-content: center; margin-top: 26px; }
.before-order__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  grid-column: 2;
  justify-self: start;
  min-height: 44px;
  margin-top: 16px;
  padding: 0 16px;
  border-radius: var(--radius-control);
  color: var(--white);
  background: var(--wine);
  font-size: 12px;
  transition: background-color 180ms ease, transform 180ms var(--ease);
}
.before-order__more:hover { background: var(--wine-dark); transform: translateY(-2px); }
.before-order__more .icon-image { filter: brightness(0) invert(1); }
.detail-story {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(30px, 7vw, 100px);
  margin-top: clamp(80px, 10vw, 140px);
}
.detail-story__image { aspect-ratio: .86 / 1; }
.detail-story__image img { object-position: center 40%; }
.detail-story__copy h2,
.workshop-overview__copy h2,
.measure-guide__content h2 { max-width: 13ch; font-size: clamp(38px, 4.8vw, 62px); }
.detail-story__copy .text-link { margin-top: 3px; }
.brand-notes { margin-top: clamp(80px, 10vw, 140px); }
.brand-notes .section-heading { align-items: end; }
.brand-notes__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.brand-notes__grid article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(100px, .58fr);
  align-items: center;
  gap: 9px;
  min-height: 205px;
  padding: clamp(20px, 2.5vw, 30px);
  overflow: hidden;
  border-radius: var(--radius-card);
  background: #f8f7f6;
}
.brand-notes__copy { min-width: 0; }
.brand-notes__image { width: 100%; max-height: 155px; object-fit: contain; }
.brand-notes__number { color: var(--wine); font-size: 11px; letter-spacing: .12em; }
.brand-notes__grid h3,
.shopping-note h3 { margin: 26px 0 8px; font-family: var(--display); font-size: 25px; font-weight: 400; line-height: 1.15; }
.brand-notes__grid h3 { margin-top: 16px; }
.brand-notes__grid p,
.shopping-note p:not(.eyebrow) { max-width: 38ch; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.about-next {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, .55fr);
  align-items: center;
  gap: 10px 30px;
  width: min(var(--content-width), calc(100% - var(--gutter) - var(--gutter)));
  margin: clamp(80px, 10vw, 140px) auto;
  padding-block: clamp(28px, 5vw, 58px);
  border-radius: var(--radius-card);
  color: var(--white);
  background: var(--brown);
}
.about-next .eyebrow { grid-column: 1; color: rgb(255 255 255 / 72%); }
.about-next h2 { grid-column: 1; max-width: 16ch; margin: 0; color: var(--white); font-size: clamp(30px, 3.8vw, 48px); }
.about-next .button { grid-column: 1; grid-row: 3; justify-self: start; }
.about-next__illustration { grid-column: 2; grid-row: 1 / span 3; align-self: stretch; width: 100%; max-height: 270px; object-fit: contain; }
.about-next .button--wine { background: var(--wine); }
.workshop-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  align-items: center;
  gap: clamp(30px, 7vw, 100px);
  margin-block: clamp(80px, 10vw, 140px);
}
.workshop-overview__copy > p:not(.eyebrow) { max-width: 54ch; }
.workshop-facts { margin: 0; padding: 0; border-top: 1px solid var(--line); }
.workshop-facts > div { display: grid; grid-template-columns: .8fr 1.2fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.workshop-facts dt { color: var(--muted); }
.workshop-facts dd { margin: 0; font-weight: 500; }
.workshop-contact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 26px;
  margin-block: clamp(75px, 9vw, 125px);
  padding-block: clamp(24px, 4.5vw, 50px);
  border-radius: var(--radius-card);
  background: #f8f7f6;
}
.workshop-contact h2 { max-width: 12ch; margin-block: 9px 12px; font-size: clamp(36px, 4.2vw, 54px); }
.workshop-contact > div > p:not(.eyebrow) { margin-bottom: 0; }
.measure-guide {
  display: grid;
  grid-template-columns: minmax(240px, .78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(30px, 7vw, 100px);
  margin-block: clamp(78px, 10vw, 136px);
}
.measure-guide__image { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-card); background: #f8f7f6; }
.measure-guide__image img { width: 100%; aspect-ratio: .82 / 1; object-fit: cover; }
.measure-guide__image figcaption { position: absolute; right: 12px; bottom: 12px; left: 12px; width: max-content; max-width: calc(100% - 24px); padding: 9px 13px; border-radius: var(--radius-control); color: var(--brown); background: rgb(255 255 255 / 82%); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 10px; }
.measure-guide__content h2 { margin-bottom: 12px; }
.measure-guide__content > p:not(.eyebrow) { margin-bottom: 15px; }
.measure-guide__note { margin-top: 17px !important; padding: 14px 16px; border-left: 2px solid var(--wine); color: var(--brown) !important; background: #f8f7f6; font-size: 12px !important; }
.measure-list--page { margin-top: 20px; }
.measure-list--page li { grid-template-columns: .78fr 1.22fr; font-size: 12px; }
.shopping-notes { margin-block: clamp(80px, 10vw, 140px); }
.shopping-notes__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.shopping-note { display: grid; grid-template-columns: minmax(0, 1fr) minmax(100px, .48fr); align-items: center; gap: 14px; min-height: 230px; padding: clamp(20px, 3vw, 34px); border-radius: var(--radius-card); background: #f8f7f6; scroll-margin-top: 110px; }
.shopping-note__copy { min-width: 0; }
.shopping-note__illustration { width: 100%; max-height: 180px; object-fit: contain; }
.shopping-note h3 { max-width: 15ch; margin: 18px 0 10px; font-size: clamp(24px, 3vw, 34px); }

@media (max-width: 760px) {
  .detail-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 24px; }
  .detail-hero__copy h1 { font-size: clamp(38px, 5.5vw, 54px); }
  .detail-hero__copy > p:not(.eyebrow) { font-size: 12px; }
  .detail-story { gap: 28px; }
  .workshop-overview { grid-template-columns: minmax(0, 1fr) minmax(270px, .9fr); gap: 28px; }
}
@media (max-width: 640px) {
  .detail-hero { grid-template-columns: 1fr; gap: 18px; margin-top: 28px; }
  .detail-hero__copy { padding-block: 13px 2px; }
  .detail-hero__copy h1 { max-width: 12ch; margin-block: 9px 12px; font-size: 47px; }
  .detail-hero__copy > p:not(.eyebrow) { max-width: 45ch; margin-bottom: 16px; font-size: 13px; }
  .detail-hero__image { aspect-ratio: 1.05 / 1; border-radius: 22px; }
  .detail-hero--about .detail-hero__image { aspect-ratio: .9 / 1; }
  .detail-hero--workshop .detail-hero__image { aspect-ratio: 1.04 / 1; }
  .detail-hero--size .detail-hero__image { aspect-ratio: .96 / 1; }
  .detail-products { margin-top: 62px; }
  .detail-story { grid-template-columns: 1fr; gap: 24px; margin-top: 76px; }
  .detail-story__image { aspect-ratio: .86 / 1; }
  .detail-story__copy h2,
  .workshop-overview__copy h2,
  .measure-guide__content h2 { font-size: 42px; }
  .brand-notes { margin-top: 76px; }
  .brand-notes__grid { grid-template-columns: 1fr; gap: 9px; }
  .brand-notes__grid article { grid-template-columns: minmax(0, 1fr) minmax(105px, .44fr); min-height: 160px; padding: 18px; }
  .brand-notes__image { max-height: 130px; }
  .brand-notes__grid h3 { margin-top: 12px; font-size: 23px; }
  .about-next { grid-template-columns: minmax(0, 1fr) minmax(110px, .52fr); gap: 8px 10px; width: calc(100% - var(--gutter) - var(--gutter)); margin-block: 76px; padding: 25px 20px; border-radius: 22px; }
  .about-next .eyebrow, .about-next h2, .about-next .button { grid-column: 1; grid-row: auto; }
  .about-next h2 { max-width: 13ch; margin-bottom: 8px; font-size: clamp(29px, 7vw, 36px); }
  .about-next .button { justify-self: start; padding-inline: 13px; font-size: 10px; }
  .about-next__illustration { grid-column: 2; grid-row: 1 / span 3; align-self: center; max-height: 190px; }
  .workshop-overview { grid-template-columns: 1fr; gap: 22px; margin-block: 76px; }
  .workshop-contact { width: calc(100% - var(--gutter) - var(--gutter)); align-items: flex-start; flex-direction: column; gap: 18px; margin: 70px auto; padding-block: 25px; border-radius: 22px; }
  .workshop-contact h2 { font-size: 42px; }
  .measure-guide { grid-template-columns: 1fr; gap: 24px; margin-block: 72px; }
  .measure-guide__image { width: calc(100% - 24px); margin-left: auto; aspect-ratio: 1.48 / 1; border-radius: 22px; }
  .measure-guide__image img { height: 100%; aspect-ratio: auto; object-position: center 52%; }
  .measure-list--page li { grid-template-columns: .85fr 1.15fr; font-size: 11px; }
  .shopping-notes { margin-block: 74px; }
  .shopping-notes__grid { grid-template-columns: 1fr; gap: 9px; }
  .shopping-note { grid-template-columns: minmax(0, 1fr) minmax(86px, .38fr); gap: 11px; min-height: 0; padding: 21px 18px; border-radius: 21px; }
  .shopping-note__illustration { max-height: 132px; }
  .section-more { justify-content: stretch; }
  .section-more .button { width: 100%; }
  .before-order__more { grid-column: 1; justify-self: start; font-size: 10px; }
  .workshop-facts > div { grid-template-columns: .9fr 1.1fr; padding-block: 14px; font-size: 12px; }
}
.before-order__heading > p:not(.eyebrow) {
  max-width: 36ch;
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}
@media (max-width: 640px) {
  .site-header.is-compact { border-radius: 20px; }
  .before-order__heading > p:not(.eyebrow) { margin-top: 12px; font-size: 12px; }
}

/* Keep the compact state, but let the header settle into it smoothly. */
.site-header__top {
  transition: min-height 260ms cubic-bezier(.22, .61, .36, 1);
}
.site-header .brand,
.site-header .brand span,
.site-header .desktop-nav {
  transition: font-size 260ms cubic-bezier(.22, .61, .36, 1);
}
.site-header .desktop-nav a,
.site-header .desktop-nav > button {
  transition: min-height 260ms cubic-bezier(.22, .61, .36, 1),
    padding 260ms cubic-bezier(.22, .61, .36, 1);
}
.site-header .bag-button {
  transition: font-size 260ms cubic-bezier(.22, .61, .36, 1),
    gap 260ms cubic-bezier(.22, .61, .36, 1),
    padding 260ms cubic-bezier(.22, .61, .36, 1);
}
.site-header .bag-button .icon-image { transition: transform 260ms cubic-bezier(.22, .61, .36, 1); }
.site-header.is-compact .bag-button .icon-image {
  width: 20px;
  height: 20px;
  transform: scale(.9);
}
@media (prefers-reduced-motion: reduce) {
  .site-header__top,
  .site-header .brand,
  .site-header .brand span,
  .site-header .desktop-nav,
  .site-header .desktop-nav a,
  .site-header .desktop-nav > button,
  .site-header .bag-button,
  .site-header .bag-button .icon-image { transition: none; }
}

/* Frosted floating navigation and a gently animated shopping drawer. */
.site-header { background: rgb(255 255 255 / 78%); }
.bag-dialog[open] { animation: bag-drawer-in 360ms cubic-bezier(.22, .61, .36, 1) both; }
.bag-dialog[open]::backdrop {
  background: rgb(20 16 13 / 42%);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  animation: bag-backdrop-in 320ms ease both;
}
.bag-dialog[open].is-closing { animation: bag-drawer-out 250ms cubic-bezier(.4, 0, 1, 1) both; }
.bag-dialog[open].is-closing::backdrop { animation: bag-backdrop-out 250ms ease both; }
@keyframes bag-drawer-in {
  from { opacity: 0; transform: translate3d(100%, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes bag-drawer-out {
  from { opacity: 1; transform: translate3d(0, 0, 0); }
  to { opacity: 0; transform: translate3d(100%, 0, 0); }
}
@keyframes bag-backdrop-in {
  from { background-color: rgb(20 16 13 / 0%); backdrop-filter: blur(0); }
  to { background-color: rgb(20 16 13 / 42%); backdrop-filter: blur(5px); }
}
@keyframes bag-backdrop-out {
  from { background-color: rgb(20 16 13 / 42%); backdrop-filter: blur(5px); }
  to { background-color: rgb(20 16 13 / 0%); backdrop-filter: blur(0); }
}
@media (prefers-reduced-motion: reduce) {
  .bag-dialog[open], .bag-dialog[open]::backdrop,
  .bag-dialog[open].is-closing, .bag-dialog[open].is-closing::backdrop { animation: none; }
}

/* Keep raster icons legible when interactive surfaces turn wine. */
.button--light:hover .icon-image,
.product__quick-add:hover .icon-image,
.icon-button:hover .icon-image,
.carousel-controls button:hover .icon-image { filter: brightness(0) invert(1); }
.carousel-controls button:disabled:hover .icon-image { filter: none; }

/* Mobile quick controls: two compact actions with anchored floating panels. */
.mobile-tools { display: none; }

@media (max-width: 640px) {
  .site-header {
    height: auto;
    transform: none;
  }
  .site-header__top {
    grid-template-columns: minmax(0, 1fr);
    min-height: 54px;
    padding-inline: 14px;
  }
  .site-header .brand {
    grid-column: 1;
    justify-self: center;
  }
  .site-header .header-actions { display: none; }

  .mobile-tools {
    position: fixed;
    z-index: 60;
    right: max(var(--gutter), calc(env(safe-area-inset-right) + 12px));
    bottom: max(14px, calc(env(safe-area-inset-bottom) + 12px));
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 5px;
    isolation: isolate;
  }
  .mobile-tools::before {
    position: absolute;
    z-index: 0;
    inset: -7px -8px;
    border: 1px solid rgb(58 41 33 / 10%);
    border-radius: 999px;
    background: rgb(255 255 255 / 82%);
    box-shadow: 0 8px 24px rgb(20 16 13 / 12%);
    backdrop-filter: blur(16px) saturate(125%);
    -webkit-backdrop-filter: blur(16px) saturate(125%);
    content: "";
  }
  .mobile-tools .menu-toggle,
  .mobile-tools .bag-button--mobile {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 50%;
    color: var(--brown);
    background: transparent;
    box-shadow: none;
    transition: transform 200ms var(--ease), color 160ms ease,
      background-color 160ms ease, box-shadow 200ms var(--ease), border-color 160ms ease;
  }
  .mobile-tools .menu-toggle .icon-image {
    inset: 0;
    width: 22px;
    height: 22px;
    margin: auto;
  }
  .mobile-tools .bag-button--mobile .icon-image { width: 22px; height: 22px; }
  .mobile-tools .bag-button--mobile .bag-count {
    position: absolute;
    top: 1px;
    right: 0;
    display: grid;
    min-width: 19px;
    height: 19px;
    place-items: center;
    padding-inline: 4px;
    border: 2px solid var(--white);
    border-radius: 999px;
    color: var(--white);
    background: var(--wine);
    font-size: 9px;
    line-height: 1;
  }
  .mobile-tools .menu-toggle[aria-expanded="true"],
  .mobile-tools .bag-button--mobile[aria-expanded="true"] {
    transform: translateY(-9px);
    border-color: var(--wine);
    color: var(--white);
    background: var(--wine);
    box-shadow: 0 8px 18px rgb(105 29 45 / 22%);
  }
  .mobile-tools .menu-toggle[aria-expanded="true"] .icon-image,
  .mobile-tools .bag-button--mobile[aria-expanded="true"] .icon-image { filter: brightness(0) invert(1); }
  .mobile-tools .bag-button--mobile[aria-expanded="true"] .bag-count {
    border-color: var(--wine);
    color: var(--wine);
    background: var(--white);
  }
  .mobile-tools .menu-toggle:focus-visible,
  .mobile-tools .bag-button--mobile:focus-visible {
    outline: 2px solid var(--wine);
    outline-offset: 3px;
  }

  .mobile-tools .mobile-nav:not([hidden]) {
    position: absolute;
    z-index: 2;
    top: auto;
    right: 0;
    bottom: calc(100% + 12px);
    left: auto;
    display: grid;
    gap: 4px;
    width: min(270px, calc(100vw - 32px));
    padding: 10px;
    overflow: hidden;
    border: 1px solid rgb(58 41 33 / 11%);
    border-radius: 20px;
    color: var(--brown);
    background: rgb(255 255 255 / 88%);
    box-shadow: 0 16px 38px rgb(20 16 13 / 13%);
    backdrop-filter: blur(18px) saturate(125%);
    -webkit-backdrop-filter: blur(18px) saturate(125%);
    transform-origin: bottom right;
    animation: mobile-nav-in 220ms var(--ease) both;
  }
  .mobile-tools .mobile-nav.is-closing {
    pointer-events: none;
    animation: mobile-nav-out 170ms ease-in both;
  }
  .mobile-tools .mobile-nav a,
  .mobile-tools .mobile-nav button {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 44px;
    padding: 10px 13px;
    border: 0;
    border-radius: 13px;
    color: var(--brown);
    background: transparent;
    font-size: 12px;
    text-align: left;
  }
  .mobile-tools .mobile-nav a:hover,
  .mobile-tools .mobile-nav button:hover,
  .mobile-tools .mobile-nav a:focus-visible,
  .mobile-tools .mobile-nav button:focus-visible {
    color: var(--wine);
    background: rgb(105 29 45 / 7%);
  }

  .bag-dialog.is-mobile-popover {
    top: auto;
    right: max(var(--gutter), calc(env(safe-area-inset-right) + 12px));
    bottom: calc(98px + env(safe-area-inset-bottom));
    left: auto;
    z-index: 59;
    width: min(360px, calc(100vw - var(--gutter) - var(--gutter)));
    height: min(420px, 60dvh);
    min-height: 220px;
    max-height: calc(100dvh - 158px - env(safe-area-inset-bottom));
    margin: 0;
    padding: 19px;
    border: 1px solid rgb(58 41 33 / 12%);
    border-radius: 23px;
    background: rgb(255 255 255 / 91%);
    box-shadow: 0 18px 46px rgb(20 16 13 / 16%);
    backdrop-filter: blur(18px) saturate(120%);
    -webkit-backdrop-filter: blur(18px) saturate(120%);
    transform-origin: bottom right;
  }
  .bag-dialog.is-mobile-popover[open] { animation: bag-popover-in 240ms var(--ease) both; }
  .bag-dialog.is-mobile-popover[open].is-closing { animation: bag-popover-out 180ms ease-in both; }
  .bag-dialog.is-mobile-popover.is-empty {
    height: min(245px, 42dvh);
    min-height: 0;
  }
}

@keyframes mobile-nav-in {
  from { opacity: 0; transform: translate3d(0, 8px, 0) scale(.98); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}
@keyframes mobile-nav-out {
  from { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
  to { opacity: 0; transform: translate3d(0, 6px, 0) scale(.985); }
}
@keyframes bag-popover-in {
  from { opacity: 0; transform: translate3d(0, 10px, 0) scale(.975); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}
@keyframes bag-popover-out {
  from { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
  to { opacity: 0; transform: translate3d(0, 7px, 0) scale(.985); }
}

@media (max-width: 640px) and (max-height: 520px) {
  .mobile-tools .menu-toggle,
  .mobile-tools .bag-button--mobile { width: 46px; height: 46px; }
  .mobile-tools .menu-toggle .icon-image { width: 20px; height: 20px; }
  .bag-dialog.is-mobile-popover {
    bottom: calc(94px + env(safe-area-inset-bottom));
    height: min(300px, 58dvh);
    max-height: calc(100dvh - 142px - env(safe-area-inset-bottom));
  }
}

@media (hover: hover) and (max-width: 640px) {
  .mobile-tools .menu-toggle:hover:not([aria-expanded="true"]),
  .mobile-tools .bag-button--mobile:hover:not([aria-expanded="true"]) {
    transform: translateY(-4px);
    color: var(--wine);
    background: rgb(255 255 255 / 94%);
    box-shadow: 0 7px 15px rgb(20 16 13 / 10%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-tools .menu-toggle,
  .mobile-tools .bag-button--mobile,
  .mobile-tools .menu-toggle .icon-image { transition: none; }
}

/* Workshop information: one editorial image, a clear sequence, then answers. */
.workshop-story {
  align-items: center;
  gap: clamp(28px, 6vw, 78px);
  margin-top: clamp(68px, 8vw, 112px);
}
.workshop-story .detail-story__image { aspect-ratio: 1.08 / 1; }
.workshop-story .detail-story__image img { object-position: center 52%; }
.workshop-points { display: grid; gap: 10px; margin: 20px 0 23px; padding: 0; list-style: none; }
.workshop-points li { display: flex; align-items: baseline; gap: 10px; color: var(--brown); font-size: 13px; line-height: 1.5; }
.workshop-points li::before { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: var(--wine); content: ""; transform: translateY(-2px); }
.workshop-steps,
.workshop-faq {
  width: min(var(--content-width), 100%);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.workshop-steps { margin-block: clamp(72px, 9vw, 116px); }
.workshop-steps__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .62fr);
  align-items: end;
  gap: 28px;
  margin-bottom: 26px;
}
.workshop-steps__heading h2,
.workshop-faq__heading h2 {
  max-width: 13ch;
  margin: 10px 0 0;
  color: var(--brown);
  font-family: var(--display);
  font-size: clamp(36px, 4.6vw, 58px);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1.04;
}
.workshop-steps__intro,
.workshop-faq__heading > p:not(.eyebrow) {
  max-width: 40ch;
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.workshop-steps__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.workshop-steps__list li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; padding: 22px 22px 0 0; }
.workshop-steps__list li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.workshop-steps__number { padding-top: 4px; color: var(--wine); font-size: 11px; font-variant-numeric: tabular-nums; }
.workshop-steps__list h3 { margin: 0 0 8px; color: var(--ink); font-family: var(--display); font-size: 22px; font-weight: 400; line-height: 1.2; }
.workshop-steps__list p { max-width: 33ch; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.workshop-faq {
  display: grid;
  grid-template-columns: minmax(210px, .7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: clamp(28px, 6vw, 76px);
  margin-block: clamp(72px, 9vw, 116px);
}
.workshop-faq__heading h2 { margin-bottom: 14px; }
.workshop-faq__list { width: 100%; }
.workshop-faq__item summary { min-height: 60px; padding-block: 14px; font-size: 13px; }
.workshop-faq__item > p { max-width: 62ch; padding-right: 26px; color: var(--muted); font-size: 13px; }

@media (max-width: 760px) {
  .workshop-steps__heading { grid-template-columns: 1fr; gap: 12px; }
  .workshop-steps__intro { max-width: 48ch; }
  .workshop-steps__list { grid-template-columns: 1fr; border-top: 0; }
  .workshop-steps__list li,
  .workshop-steps__list li + li { grid-template-columns: 38px minmax(0, 1fr); padding: 16px 0; border-top: 1px solid var(--line); border-left: 0; }
  .workshop-steps__list p { max-width: 52ch; }
  .workshop-faq { grid-template-columns: 1fr; gap: 22px; }
  .workshop-faq__heading h2 { max-width: 15ch; }
}
@media (max-width: 640px) {
  .workshop-story { gap: 22px; margin-top: 66px; }
  .workshop-story .detail-story__image { aspect-ratio: .96 / 1; }
  .workshop-points { gap: 9px; }
  .workshop-points li { font-size: 13px; }
  .workshop-steps { margin-block: 68px; }
  .workshop-steps__heading { margin-bottom: 17px; }
  .workshop-steps__heading h2,
  .workshop-faq__heading h2 { max-width: 13ch; font-size: 40px; }
  .workshop-steps__list li,
  .workshop-steps__list li + li { padding-block: 15px; }
  .workshop-steps__list h3 { font-size: 21px; }
  .workshop-faq { gap: 18px; margin-block: 68px; }
  .workshop-faq__item { padding-inline: 14px; }
  .workshop-faq__item summary { min-height: 54px; font-size: 12px; }
  .workshop-faq__item > p { font-size: 12px; }
}
