:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #141414;
  --muted: #575757;
  --line: #e7e7e7;
  --gutter: clamp(20px, 5vw, 72px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.55 Geist, system-ui, sans-serif;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.shell { width: min(100% - 2 * var(--gutter), 1240px); margin-inline: auto; }
.skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { position: absolute; z-index: 1; top: 12px; left: 12px; padding: 10px 14px; background: var(--paper); }
.header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-height: 110px;
  padding-block: 10px;
  border-bottom: 1px solid var(--line);
}
.header-wordmark { grid-column: 1; display: block; width: min(100%, 188px); }
.header-wordmark img { width: 100%; }
.logo { grid-column: 2; justify-self: center; }
.logo img { width: 79px; }
.header-actions { display: flex; justify-self: end; align-items: center; }
.icon-button {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
}
.icon-button:hover { background: #f5f5f5; }
.icon-button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
#cart-open { position: relative; }
.cart-count {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 17px;
  padding: 1px 4px;
  border-radius: 12px;
  color: var(--paper);
  background: var(--ink);
  font: 500 .6875rem/15px Geist, system-ui, sans-serif;
}
.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(100%, 400px);
  max-width: none;
  max-height: none;
  height: 100%;
  margin: 0;
  padding: 24px;
  border: 0;
  border-left: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}
.drawer::backdrop { background: #0005; }
.menu-drawer { width: min(100%, 440px); }
.drawer-navigation { display: grid; margin-top: 16px; }
.drawer-navigation a { display: flex; align-items: center; min-height: 54px; padding-block: 12px; border-bottom: 1px solid var(--line); font-size: 1.125rem; }
.drawer-navigation a:hover { text-decoration: underline; text-underline-offset: 4px; }
@keyframes drawer-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes drawer-backdrop-out {
  from { opacity: 1; }
  to { opacity: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .drawer[open]::backdrop { animation: drawer-backdrop-in 280ms ease both; }
  .drawer[data-closing]::backdrop { animation: drawer-backdrop-out 220ms ease both; }
}
.drawer-header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.drawer-header h2 { font-size: 1.5rem; font-weight: 500; letter-spacing: -.04em; }
.cart p { margin-top: 24px; color: var(--muted); }
.cart-items { margin: 0; padding: 0; max-height: min(44dvh, 340px); overflow-y: auto; list-style: none; }
.cart-item { display: grid; grid-template-columns: 60px 1fr auto; align-items: center; gap: 8px 12px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.cart-item h3 { font-size: .9375rem; font-weight: 500; }
.cart-unit-price { color: var(--muted); font-size: .875rem; }
.cart .cart-duo-discount, .cart .cart-promo-discount { display: flex; justify-content: space-between; gap: 12px; font-size: .875rem; }
.cart .cart-promo-discount { margin-top: 10px; }
.cart .cart-duo-discount:not([hidden]) ~ .cart-total,
.cart .cart-promo-discount:not([hidden]) + .cart-total { margin-top: 10px; }
.cart-promo { margin-top: 10px; }
.cart-promo summary { width: fit-content; padding-block: 6px; font-size: .875rem; cursor: pointer; }
.cart-promo-form { display: flex; gap: 8px; margin-top: 4px; }
.cart-promo-form input { min-width: 0; flex: 1; padding: 7px 10px; border: 1px solid #b8b8b8; border-radius: 2px; font: inherit; }
.cart-promo-form input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.cart-promo-form .button { margin: 0; }
#cart-promo-status:empty, #cart-pickup-status:empty { margin: 0; }
#cart-promo-remove { min-height: 40px; padding: 0; border: 0; background: none; color: inherit; font: inherit; font-size: .8125rem; text-decoration: underline; cursor: pointer; }
.cart .cart-total { display: flex; justify-content: space-between; gap: 12px; color: var(--ink); }
.cart-checkout .cart-order-button { width: 100%; margin-top: 16px; background: var(--ink); color: var(--paper); }
.cart-checkout .cart-order-button:hover { background: var(--paper); color: var(--ink); }
.cart-checkout .cart-order-button:disabled { cursor: wait; opacity: .65; }
#cart-online-payment label { display: block; margin-top: 16px; font-size: .875rem; }
#cart-shipping-zone { width: 100%; min-height: 44px; margin-top: 6px; border: 1px solid var(--line); border-radius: 2px; padding: 6px 10px; background: var(--paper); color: var(--ink); font: inherit; }
#cart-payment-status { margin-block: 12px; font-size: .875rem; }
.cart-checkout p { margin-top: 8px; font-size: .875rem; }
#cart-copy-status:empty { margin: 0; }
.cart-checkout .cart-order-note { font-size: .8125rem; }
.cart-summary { margin-top: 14px; }
.cart-summary summary { padding-block: 4px; font-size: .875rem; cursor: pointer; }
.cart-summary-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.cart-summary-actions .button { margin-top: 0; }
.cart-order-message { width: 100%; margin-block: 8px 4px; padding: 8px; border: 1px solid var(--line); border-radius: 2px; resize: vertical; font: inherit; font-size: 1rem; }
.cart-collection { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; margin-top: 8px; color: var(--muted); font-size: .875rem; text-decoration: underline; text-underline-offset: 3px; }
.cart-actions { display: flex; align-items: center; }
.cart-actions .icon-button { font: inherit; }
.cart-quantity { min-width: 2ch; text-align: center; font-variant-numeric: tabular-nums; }
.cart-remove { min-height: 44px; border: 0; padding: 0 6px; background: transparent; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.hero {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: clamp(52px, 7vw, 94px) 0 36px;
}
h1 {
  max-width: 100%;
  font-size: clamp(2.65rem, 6.5vw, 6.125rem);
  font-weight: 500;
  letter-spacing: -.075em;
  line-height: 1.04;
  text-wrap: balance;
}
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  font-size: .875rem;
  font-weight: 500;
  cursor: pointer;
}
.button:not(:disabled):hover { background: var(--ink); color: var(--paper); }
.button[data-add]:disabled { opacity: .55; cursor: default; }
.cart-stock-notice { font-size: .875rem; }
.release-label { color: var(--muted); font-size: .875rem; margin-bottom: 10px; }
.hero-inspiration { max-width: 40ch; margin: 12px auto 0; color: var(--muted); font-size: .875rem; line-height: 1.5; }
.hero-detail { margin-top: 12px; color: var(--muted); }
.hero-image { width: min(100%, 390px); margin-top: 20px; }
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: start;
  gap: clamp(32px, 7vw, 112px);
  padding-block: clamp(44px, 8vw, 108px);
}
.contact-intro p { max-width: 34ch; margin-top: 18px; color: var(--muted); }
.contact-email { display: inline-block; margin-top: 20px; text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.contact-form, .contact-fields { display: grid; gap: 16px; }
.contact-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contact-form label { display: grid; gap: 6px; font-size: .875rem; font-weight: 500; }
.contact-form input, .contact-form textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #b8b8b8; border-radius: 2px; color: inherit; background: var(--paper); font: 400 1rem/1.45 Geist, system-ui, sans-serif; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.contact-form .button { justify-self: start; margin-top: 0; background: var(--ink); color: var(--paper); }
.contact-form .button:hover { background: var(--paper); color: var(--ink); }
#contact-help { color: var(--muted); font-size: .8125rem; }
@media (max-width: 720px) {
  .contact-section { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .contact-fields { grid-template-columns: 1fr; }
}
.section-title { font-size: clamp(2rem, 4vw, 4rem); line-height: 1.06; font-weight: 500; letter-spacing: -.06em; }
.collection { border-top: 1px solid var(--line); padding: clamp(36px, 5vw, 70px) 0; }
.collection-header { margin-bottom: 24px; }
.product-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: center; gap: clamp(24px, 6vw, 84px); }
.product-poster { position: relative; display: grid; place-items: center; isolation: isolate; aspect-ratio: 1; background: #fff; border: 1px solid var(--line); }
.product-poster::before { position: absolute; inset: 0; z-index: -1; content: ""; background: url("assets/barnetts-paracord.svg?v=2") center 56% / auto 32% no-repeat; opacity: .07; }
.product-poster img { width: 88%; }
.product-detail-photo::before { content: none; }
.product-detail-photo img { width: 100%; height: 100%; object-fit: contain; }
.product-copy h1, .product-copy h3 { font-size: clamp(2.25rem, 5.5vw, 5rem); line-height: 1; font-weight: 500; letter-spacing: -.065em; }
.product-inspiration { margin-top: 12px; max-width: 44ch; color: var(--muted); font-size: .875rem; line-height: 1.5; }
.product-order-note { margin-top: 8px; color: var(--muted); font-size: .8125rem; }
.product-price { margin-top: 14px; font-size: 1.2rem; }
.product-description { margin-top: 14px; max-width: 36ch; color: var(--muted); }
.product-link { color: var(--muted); font-size: .875rem; text-decoration: underline; text-underline-offset: 4px; }
.product-copy .product-link { display: block; width: fit-content; margin-top: 16px; }
.product-page { padding-block: clamp(26px, 5vw, 65px) clamp(44px, 7vw, 96px); }
.product-page .product-layout { margin-top: clamp(18px, 3vw, 34px); }
.product-details { margin-top: 28px; border-bottom: 1px solid var(--line); }
.product-details details { border-top: 1px solid var(--line); }
.product-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
}
.product-details summary::-webkit-details-marker { display: none; }
.product-details summary::after { content: "+" / ""; }
.product-details details[open] summary::after { content: "−" / ""; }
.product-details summary:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.product-details .product-description { margin: 0 0 15px; }
.product-specs { margin: 0 0 8px; font-size: .875rem; }
.product-specs div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; border-top: 1px solid var(--line); padding-block: 11px; }
.product-specs dd { margin: 0; color: var(--muted); }
.product-duos { margin-top: clamp(48px, 8vw, 104px); padding-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line); }
.product-duo-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; }
.product-duo-heading p { margin-top: 12px; color: var(--muted); }
.product-duo-price strong { color: var(--ink); }
.product-duo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px); margin-top: 24px; }
.product-duo-card { display: flex; flex-direction: column; }
.product-duo-card h3 { margin-block: 12px; font-size: 1rem; font-weight: 500; }
.product-duo-link:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.product-duo-card .button { width: 100%; margin-top: auto; padding-inline: 8px; text-align: center; }
.brand-story { background: var(--ink); color: var(--paper); }
.brand-story-inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr); gap: clamp(24px, 7vw, 112px); padding-block: clamp(48px, 9vw, 124px); }
.brand-story-emblem { width: 100%; max-width: 460px; align-self: center; justify-self: start; }
.brand-story-copy { max-width: 45ch; align-self: center; font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.65; }
.brand-story-copy h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); line-height: 1.1; font-weight: 500; letter-spacing: .04em; }
.brand-story-subtitle { margin-top: 8px; color: #dedede; font-size: .875rem; }
.brand-story-text { margin-top: 24px; }
.brand-story-text p + p { margin-top: 14px; color: #dedede; }
.footer { background: var(--ink); color: var(--paper); font-size: .875rem; }
.footer-inner { padding: clamp(28px, 5vw, 62px) 0 20px; }
.footer-main, .footer-bottom, .footer nav { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: baseline; }
.footer-brand { font-size: clamp(1rem, 2vw, 1.5rem); font-weight: 500; letter-spacing: -.035em; }
.footer-main { row-gap: 24px; }
.footer-tagline, .footer-meta { color: #d0d0d0; }
.footer-tagline { margin-top: 6px; }
.footer-meta p + p { margin-top: 6px; }
.footer-bottom { align-items: center; color: #d0d0d0; border-top: 1px solid #424242; margin-top: 32px; padding-top: 16px; }
.footer-credit { display: flex; align-items: center; gap: 4px; }
.footer-social { display: inline-grid; place-items: center; width: 44px; height: 44px; color: var(--paper); }
.footer-social svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.footer-social:hover { background: #ffffff14; }
.footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 720px) {
  .product-layout { grid-template-columns: 1fr; }
  .product-copy { padding-bottom: 8px; }
  .product-duo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-story-inner { grid-template-columns: 1fr; }
  .brand-story-emblem { max-width: 320px; }
}
@media (max-width: 560px) {
  .header { min-height: 94px; gap: 4px; }
  .logo img { width: 62px; }
  .hero { padding-bottom: 30px; }
  .hero-image { margin-top: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.collection-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 4vw, 52px); margin-top: 24px; }
.catalogue-categories { display: grid; gap: clamp(28px, 5vw, 60px); margin-top: 24px; }
.catalogue-category > h4 { font-size: 1.125rem; font-weight: 500; }
.single-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); margin-top: 12px; }
.collection-subtitle { font-size: clamp(1.375rem, 3vw, 2rem); font-weight: 500; }
.collection-packs { margin-top: clamp(36px, 6vw, 80px); padding-top: clamp(24px, 4vw, 44px); border-top: 1px solid var(--line); }
.product-pack-link { margin-top: 14px; font-size: .875rem; }
.product-pack-link a { text-decoration: underline; text-underline-offset: 3px; }
.duo-members { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.duo-member { min-width: 0; display: grid; gap: 10px; padding: 14px; background: var(--paper); font-size: .875rem; }
.duo-member:hover span, .duo-member > a:hover { text-decoration: underline; text-underline-offset: 3px; }
.duo-member > img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.duo-member .product-poster { border: 0; }
.collection-card-heading { display: grid; grid-template-columns: minmax(0, 1fr) max-content; align-items: baseline; column-gap: 8px; row-gap: 3px; margin-block: 10px 9px; }
.single-card h5 { margin: 0; font-size: clamp(1rem, 1.55vw, 1.25rem); line-height: 1.2; font-weight: 500; }
.collection-card-price { grid-column: 2; grid-row: 1; font-size: .9375rem; white-space: nowrap; }
.collection-card-color { grid-column: 1 / -1; color: var(--muted); font-size: .8125rem; }
@media (max-width: 560px) {
  .collection-card-heading h5 { grid-column: 1 / -1; }
  .collection-card-price { grid-row: 2; }
  .collection-card-color { grid-column: 1; grid-row: 2; }
}
@media (max-width: 360px) {
  .collection-card-heading { column-gap: 5px; }
  .collection-card-color, .collection-card-price { font-size: .75rem; }
}
.duo-card p { color: var(--muted); font-size: .875rem; margin-top: 4px; }
.single-card { display: flex; flex-direction: column; }
.single-card .button { width: 100%; margin-top: auto; }
.duo-card .button { width: 100%; margin-top: 14px; }
.cart-item-images { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
.cart-item-images:has(img:only-child) { grid-template-columns: 1fr; }
.cart-item-images img { width: 100%; aspect-ratio: 1; object-fit: contain; }
@media (max-width: 720px) {
  .collection-grid { grid-template-columns: 1fr; }
  .single-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .single-card .button { padding-inline: 8px; }
}

.pack-pricing { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.pack-pricing strong { font-size: 1.125rem; }
.pack-discount { display: inline-block; padding: 3px 7px; background: var(--ink); color: var(--paper); font-size: .8125rem; font-weight: 600; white-space: nowrap; vertical-align: middle; }
.duo-card .pack-savings strong { color: var(--ink); }
.duo-card .button { background: var(--ink); color: var(--paper); }
.duo-card .button:not(:disabled):hover { background: var(--paper); color: var(--ink); }
.collection-option-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; }
.collection-option-heading a { font-size: .875rem; text-decoration: underline; text-underline-offset: 3px; }

.cutout-poster::before {
  content: "";
  background-position: center var(--mark-position, 53%);
  opacity: .09;
}
.cutout-rose, .cutout-vert-olive { --mark-position: 57%; }
.cutout-brun-creme { --mark-position: 51%; }
.cutout-poster img { width: 88%; height: 88%; object-fit: contain; }
.duo-card { display: flex; flex-direction: column; }
.duo-heading { margin-bottom: 16px; }
.duo-heading h4 { font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.1; }
.duo-heading .duo-collection { color: var(--ink); font-size: .75rem; letter-spacing: .12em; margin-top: 8px; }
.duo-heading .duo-reference { font-size: .8125rem; }
.duo-heading .duo-type { margin-top: 14px; color: var(--ink); }
.duo-member small { display: block; color: var(--muted); font-size: .8125rem; }
.duo-card .duo-inspiration { margin-block: 12px 16px; }
.duo-card .pack-pricing { margin-top: auto; }
@media (min-width: 960px) {
  .catalogue-categories { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
  .catalogue-category { display: grid; grid-template-columns: subgrid; grid-template-rows: auto 1fr; grid-column: span 2; row-gap: 0; }
  .catalogue-category[aria-labelledby="bracelets-motifs"] { grid-column: span 3; }
  .catalogue-category > h4, .catalogue-category > .single-grid { grid-column: 1 / -1; }
  .catalogue-category > .single-grid { grid-template-columns: subgrid; }
}
