:root {
  color-scheme: light;
  --bg: oklch(0.982 0 0);
  --surface: oklch(1 0 0);
  --surface-2: oklch(0.94 0 0);
  --ink: oklch(0.13 0 0);
  --ink-soft: oklch(0.28 0 0);
  --muted: oklch(0.38 0 0);
  --hairline: oklch(0.82 0 0);
  --accent: oklch(0.76 0.17 76);
  --accent-dark: oklch(0.36 0.12 68);
  --accent-ink: oklch(0.15 0.02 70);
  --max: 1500px;
  --display: "Playfair Display", Georgia, serif;
  --body: "Work Sans", Helvetica, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-move: cubic-bezier(0.77, 0, 0.175, 1);
  --z-sticky: 20;
  --z-modal: 60;
  --z-toast: 80;
}
* {
  box-sizing: border-box;
}
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
[hidden] {
  display: none !important;
}
.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: var(--z-toast);
  transform: translateY(-150%);
  background: var(--ink);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 999px;
}
.skip-link:focus {
  transform: translateY(0);
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem clamp(1rem, 3vw, 2.5rem);
  background: color-mix(in oklch, var(--bg) 92%, transparent);
  border-bottom: 1px solid var(--hairline);
  backdrop-filter: blur(14px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-width: max-content;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--accent);
}
.brand-mark svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linejoin: miter;
}
.brand-text {
  font-weight: 700;
  letter-spacing: 0.02em;
}
.desktop-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(0.7rem, 2vw, 1.4rem);
  white-space: nowrap;
}
.desktop-nav a,
.desktop-nav button,
.site-footer button,
.text-button {
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  text-decoration: none;
  min-height: 44px;
  padding: 0.55rem 0.35rem;
}
.desktop-nav a:hover,
.desktop-nav button:hover,
.site-footer button:hover,
.text-button:hover {
  color: var(--ink);
}
.underlined {
  text-decoration: underline;
}
.header-actions {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 0.65rem;
}
.cart-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--surface);
  padding: 0.65rem 1rem;
  transition: transform 160ms var(--ease-out);
}
.cart-button:active,
.primary-button:active,
.secondary-button:active,
.primary-link:active,
.secondary-link:active {
  transform: translateY(1px);
}
.cart-count {
  min-width: 1.7rem;
  min-height: 1.7rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
}
#mobileMenuButton {
  display: none;
}
.mobile-nav {
  grid-column: 1/-1;
  border-top: 1px solid var(--hairline);
  padding-top: 0.7rem;
}
.mobile-nav a,
.mobile-nav button {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 0.75rem 0;
  border: 0;
  background: transparent;
  text-align: left;
  color: var(--ink);
  text-decoration: none;
}
main {
  overflow: clip;
}
.editorial-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: clamp(1.2rem, 4vw, 4rem);
  padding: clamp(2rem, 5vw, 4.8rem) clamp(1rem, 3vw, 2.5rem) 2rem;
}
.hero {
  min-height: calc(100dvh - 72px);
  align-items: center;
}
.kicker,
.product-category {
  margin: 0 0 0.7rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.hero h1,
h2,
.confirmation h2 {
  font-family: var(--display);
  letter-spacing: -0.025em;
  line-height: 0.98;
  text-wrap: balance;
}
.hero h1 {
  margin: 0;
  font-size: clamp(4.1rem, 11vw, 6rem);
  max-width: 9ch;
}
.hero-position {
  max-width: 52ch;
  margin: 1.3rem 0 0;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  color: var(--ink-soft);
}
.hero-actions,
.product-actions div,
.checkout-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.primary-link,
.secondary-link,
.primary-button,
.secondary-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.78rem 1.05rem;
  text-decoration: none;
  font-weight: 700;
  transition:
    transform 180ms var(--ease-out),
    opacity 180ms var(--ease-out);
}
.primary-link,
.primary-button {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}
.secondary-link,
.secondary-button {
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
}
.primary-button,
.secondary-button {
  font-size: 0.92rem;
}
.wide {
  width: 100%;
}
.hero-figure {
  margin: 0;
  align-self: stretch;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 0.9rem;
}
.hero-figure img {
  width: 100%;
  height: 100%;
  min-height: 410px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--hairline);
}
.hero-figure figcaption {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 44ch;
}
.hero-index {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--hairline);
}
.hero-index a {
  min-height: 72px;
  display: flex;
  align-items: center;
  padding: 0.9rem;
  text-decoration: none;
  border-right: 1px solid var(--hairline);
  color: var(--ink-soft);
}
.hero-index a:last-child {
  border-right: 0;
}
.hero-index a:hover {
  color: var(--ink);
  background: var(--surface);
}
.editorial-band,
.project-desk,
.about-section,
.fulfillment-section,
.shop-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 3vw, 2.5rem);
}
.editorial-band {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(1rem, 4vw, 4rem);
  align-items: end;
  border-top: 1px solid var(--hairline);
}
h2 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.7rem);
  max-width: 12ch;
}
.band-copy p,
.shop-head p,
.project-copy p,
.about-copy p,
.fulfillment-section p {
  color: var(--ink-soft);
  max-width: 65ch;
}
.band-images {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 1rem;
  align-items: end;
}
.band-images img,
.project-ledger img,
.about-section img,
.fulfillment-section img {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--hairline);
}
.band-images img:first-child {
  aspect-ratio: 3/4;
}
.band-images img:last-child {
  aspect-ratio: 4/3;
}
.shop-shell {
  border-top: 1px solid var(--ink);
}
.shop-head {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 520px);
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.2rem;
}
.shop-head h2 {
  max-width: 10ch;
}
.shop-tools {
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 0.7rem;
  align-items: end;
}
.search-label,
.sort-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
input,
select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  padding: 0.72rem 0.85rem;
}
.filter-row {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin: 0 0 1.5rem;
}
.filter-button {
  min-height: 44px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-soft);
  padding: 0.6rem 0.9rem;
}
.filter-button.active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--surface);
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 1rem;
  align-items: stretch;
}
.catalog-empty {
  border: 1px solid var(--hairline);
  padding: 2rem;
  background: var(--surface);
  border-radius: 8px;
  color: var(--ink-soft);
}
.product-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
}
.product-image-button,
.detail-main-image {
  width: 100%;
  border: 0;
  background: var(--surface-2);
  padding: 0;
  text-align: left;
}
.product-image-frame {
  display: block;
  aspect-ratio: 4/3;
  background: var(--surface-2);
  overflow: hidden;
}
.product-image-frame img,
.detail-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .product-image-button:hover img,
  .detail-main-image:hover img {
    transform: scale(1.025);
  }
  .primary-link:hover,
  .secondary-link:hover,
  .primary-button:hover,
  .secondary-button:hover,
  .cart-button:hover {
    transform: translateY(-1px);
  }
}
.thumb-row,
.detail-thumbs,
.lightbox-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
  padding: 0.45rem;
}
.thumb-button {
  border: 1px solid var(--hairline);
  border-radius: 5px;
  background: var(--surface);
  padding: 0;
  aspect-ratio: 1;
  overflow: hidden;
}
.thumb-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumb-button.active {
  border-color: var(--accent-dark);
}
.thumb-empty {
  aspect-ratio: 1;
  border: 1px solid transparent;
  visibility: hidden;
}
.product-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0.85rem 0.9rem 0;
}
.product-info h3 {
  margin: 0;
  min-height: 3.25rem;
  font-size: 1.04rem;
  line-height: 1.25;
  text-wrap: pretty;
}
.sku-line {
  font-family: var(--mono);
  color: var(--muted);
  font-size: 0.8125rem;
  margin: 0.45rem 0;
}
.product-description {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin: 0;
  min-height: 5.75rem;
}
.mini-specs {
  display: grid;
  gap: 0.38rem;
  margin-top: 0.8rem;
  color: var(--ink-soft);
  font-size: 0.8125rem;
}
.mini-specs span {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.4rem;
}
.mini-specs strong {
  color: var(--ink);
}
.product-actions {
  margin-top: auto;
  display: grid;
  gap: 0.75rem;
  padding: 0.9rem;
  border-top: 1px solid var(--hairline);
}
.price {
  font-size: 1.18rem;
}
.product-actions div {
  justify-content: space-between;
}
.product-actions button {
  flex: 1 1 130px;
}
.project-desk {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  border-top: 1px solid var(--hairline);
}
.project-ledger {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) 1fr;
  gap: 1rem;
  align-items: stretch;
}
.project-ledger img {
  height: 100%;
  min-height: 360px;
}
.project-ledger dl {
  margin: 0;
  display: grid;
  border-top: 1px solid var(--ink);
}
.project-ledger div {
  padding: 1rem 0;
  border-bottom: 1px solid var(--hairline);
}
.project-ledger dt {
  font-weight: 700;
}
.project-ledger dd {
  margin: 0.25rem 0 0;
  color: var(--ink-soft);
}
.about-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  border-top: 1px solid var(--ink);
}
.about-section figure {
  margin: 0;
}
.about-section img {
  aspect-ratio: 4/5;
}
.fulfillment-section {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 520px);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  border-top: 1px solid var(--hairline);
}
.fulfillment-section img {
  aspect-ratio: 4/3;
}
.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 2rem;
  padding: 2rem clamp(1rem, 3vw, 2.5rem);
  border-top: 1px solid var(--ink);
  max-width: var(--max);
  margin: 0 auto;
  color: var(--ink-soft);
}
.site-footer strong {
  color: var(--ink);
}
.site-footer address {
  font-style: normal;
}
.site-footer nav {
  display: grid;
  gap: 0.2rem;
  align-content: start;
}
.site-footer button {
  text-align: left;
}
.modal-shell {
  margin: auto;
  inset: 0;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  max-width: min(1120px, calc(100vw - 2rem));
  max-height: min(840px, calc(100dvh - 2rem));
  width: min(1120px, calc(100vw - 2rem));
  padding: 0;
  overflow: auto;
}
dialog::backdrop {
  background: rgb(0 0 0/0.62);
}
.dialog-close {
  position: sticky;
  top: 14px;
  left: calc(100% - 58px);
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
}
.product-dialog,
.cart-dialog,
.policy-dialog {
  padding: 1rem;
}
.product-detail {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) 1fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: 0 clamp(0.3rem, 2vw, 1.5rem) 1.5rem;
}
.product-detail-gallery {
  display: grid;
  align-content: start;
  gap: 0.7rem;
}
.detail-main-image {
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--hairline);
}
.detail-thumbs {
  padding: 0;
}
.product-detail-copy h2 {
  margin-top: 0;
  max-width: 11ch;
}
.detail-price {
  display: block;
  font-size: 1.7rem;
  margin: 0.4rem 0 0.8rem;
}
.detail-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1.2rem 0;
}
.detail-specs div,
.review-panel,
.wallet-note {
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 0.8rem;
  background: var(--bg);
}
.detail-specs dt {
  font-weight: 700;
  font-size: 0.82rem;
}
.detail-specs dd {
  margin: 0.15rem 0 0;
  color: var(--ink-soft);
}
.detail-buy-row {
  display: grid;
  grid-template-columns: auto 90px auto;
  gap: 0.7rem;
  align-items: end;
}
.detail-buy-row label {
  font-weight: 700;
}
.lightbox {
  width: min(980px, calc(100vw - 2rem));
  background: oklch(0.06 0 0);
  color: white;
  border-color: oklch(0.35 0 0);
}
.lightbox-content {
  padding: 0 clamp(1rem, 3vw, 2rem) 1.5rem;
}
.lightbox h2 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  max-width: 16ch;
}
.lightbox .sku-line {
  color: oklch(0.78 0 0);
}
.lightbox-frame {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(68dvh, 620px);
  background: oklch(0.1 0 0);
  border-radius: 8px;
  border: 1px solid oklch(0.26 0 0);
  overflow: hidden;
}
.lightbox-frame img {
  width: 100%;
  max-height: 68dvh;
  object-fit: contain;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid rgb(255 255 255/0.45);
  border-radius: 999px;
  background: rgb(0 0 0/0.62);
  color: white;
  font-size: 2rem;
  z-index: 1;
}
.lightbox-prev {
  left: 22px;
}
.lightbox-next {
  right: 22px;
}
.lightbox-thumbs {
  max-width: 440px;
  margin: 0.85rem auto 0;
}
.lightbox-thumbs .thumb-button {
  border-color: oklch(0.34 0 0);
  background: oklch(0.12 0 0);
}
.checkout-head {
  padding: 0 clamp(0.3rem, 2vw, 1.5rem) 1rem;
}
.checkout-head h2 {
  max-width: 10ch;
}
.step-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0;
  margin: 1rem 0 0;
}
.step-list li {
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 0.42rem 0.65rem;
  color: var(--muted);
  font-size: 0.84rem;
}
.step-list li.active {
  border-color: var(--ink);
  color: var(--ink);
}
.step-list li.complete {
  background: var(--ink);
  color: var(--surface);
}
.cart-lines {
  display: grid;
  gap: 0.65rem;
  padding: 0 clamp(0.3rem, 2vw, 1.5rem);
}
.cart-line {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto auto auto;
  gap: 0.8rem;
  align-items: center;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 0.65rem;
  background: var(--bg);
}
.cart-line img {
  width: 86px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 5px;
  background: var(--surface-2);
}
.cart-line h3 {
  margin: 0;
  font-size: 0.98rem;
}
.qty-control {
  display: grid;
  grid-template-columns: 44px 60px 44px;
  align-items: center;
}
.qty-control button {
  min-height: 44px;
  border: 1px solid var(--hairline);
  background: var(--surface);
}
.qty-control input {
  min-height: 44px;
  border-radius: 0;
  text-align: center;
  padding: 0.2rem;
}
.remove-button {
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--accent-dark);
  text-decoration: underline;
}
.cart-summary,
.totals {
  margin: 1rem clamp(0.3rem, 2vw, 1.5rem);
  border-top: 1px solid var(--ink);
  padding-top: 1rem;
  display: grid;
  gap: 0.5rem;
}
.cart-summary {
  grid-template-columns: 1fr auto;
  font-size: 1.2rem;
}
.empty-cart {
  padding: 1.5rem;
}
.checkout-form {
  padding: 0 clamp(0.3rem, 2vw, 1.5rem) 1.5rem;
  display: grid;
  gap: 1rem;
}
.form-grid {
  display: grid;
  gap: 0.8rem;
}
.form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.form-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.field {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
}
.field small {
  color: var(--ink-soft);
  font-weight: 400;
}
.privacy-note,
.review-policies {
  color: var(--ink-soft);
}
.privacy-note {
  margin: 0;
}
.privacy-note .text-button {
  display: inline;
  min-height: auto;
  padding: 0;
  color: var(--ink);
}
.form-status {
  min-height: 1.3rem;
  color: var(--accent-dark);
  font-weight: 700;
}
.option-stack,
.payment-grid {
  border: 0;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}
.option-stack legend,
.payment-grid legend {
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.choice,
.pay-choice {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 0.85rem;
  background: var(--bg);
}
.choice.selected,
.pay-choice.selected {
  border-color: var(--ink);
}
.choice small {
  display: block;
  color: var(--ink-soft);
  margin-top: 0.15rem;
}
.payment-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.pay-choice {
  grid-template-columns: auto 1fr;
}
.review-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.7fr;
  gap: 0.8rem;
  padding: 0 clamp(0.3rem, 2vw, 1.5rem);
}
.review-layout h3 {
  margin: 0 0 0.65rem;
}
.compact .cart-line {
  grid-template-columns: 64px 1fr auto;
}
.compact .cart-line img {
  width: 64px;
}
.compact .qty-control,
.compact .remove-button {
  display: none;
}
.totals div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.totals .grand {
  font-size: 1.35rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--hairline);
}
.agree {
  display: flex;
  gap: 0.65rem;
  align-items: start;
  margin: 1rem clamp(0.3rem, 2vw, 1.5rem);
}
.review-policies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.8rem;
  margin: 1rem clamp(0.3rem, 2vw, 1.5rem) 0;
}
.checkout-actions {
  padding: 0 clamp(0.3rem, 2vw, 1.5rem) 1.5rem;
  justify-content: flex-end;
}
.confirmation {
  padding: clamp(1rem, 4vw, 3rem);
  min-height: 360px;
  display: grid;
  align-content: center;
  justify-items: start;
}
.policy-dialog {
  max-width: min(760px, calc(100vw - 2rem));
}
.policy-dialog article {
  padding: 0 clamp(0.3rem, 2vw, 1.5rem) 1.5rem;
}
.policy-dialog h2 {
  max-width: 12ch;
}
.policy-dialog p {
  color: var(--ink-soft);
}
.toast {
  position: fixed;
  z-index: var(--z-toast);
  right: 1rem;
  bottom: 1rem;
  max-width: min(380px, calc(100vw - 2rem));
  background: var(--ink);
  color: white;
  border-radius: 8px;
  padding: 0.85rem 1rem;
}
.js [data-reveal] {
  opacity: 0.82;
  transform: translateY(18px);
  transition:
    opacity 520ms var(--ease-out),
    transform 520ms var(--ease-out);
  transition-delay: var(--stagger, 0ms);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 1080px) {
  .editorial-grid,
  .editorial-band,
  .project-desk,
  .about-section,
  .fulfillment-section {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    max-width: 11ch;
  }
  .hero-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-index a {
    border-bottom: 1px solid var(--hairline);
  }
  .shop-head {
    grid-template-columns: 1fr;
  }
  .review-layout {
    grid-template-columns: 1fr;
  }
  .payment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .form-grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }
  .desktop-nav {
    display: none;
  }
  #mobileMenuButton {
    display: inline-flex;
  }
  .brand-text {
    font-size: 0.88rem;
  }
  .editorial-grid {
    padding-top: 2rem;
  }
  .hero {
    min-height: auto;
  }
  .hero h1 {
    font-size: clamp(3.2rem, 17vw, 4.5rem);
  }
  .hero-figure img {
    min-height: 290px;
  }
  .hero-index {
    grid-template-columns: 1fr;
  }
  .hero-index a {
    min-height: 52px;
    border-right: 0;
  }
  .band-images,
  .project-ledger,
  .product-detail,
  .site-footer,
  .fulfillment-section {
    grid-template-columns: 1fr;
  }
  .shop-tools {
    grid-template-columns: 1fr;
  }
  .product-actions div,
  .hero-actions {
    align-items: stretch;
  }
  .primary-link,
  .secondary-link,
  .primary-button,
  .secondary-button {
    width: 100%;
  }
  .cart-line {
    grid-template-columns: 72px 1fr;
  }
  .cart-line img {
    width: 72px;
  }
  .qty-control,
  .line-total,
  .remove-button {
    grid-column: 2;
    justify-self: start;
  }
  .form-grid.two,
  .form-grid.four,
  .detail-specs,
  .payment-grid {
    grid-template-columns: 1fr;
  }
  .detail-buy-row {
    grid-template-columns: 1fr;
  }
  .checkout-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .dialog-close {
    top: 10px;
    left: calc(100% - 54px);
  }
}
@media (max-width: 460px) {
  .catalog-grid {
    grid-template-columns: 1fr;
  }
  h2 {
    font-size: clamp(2rem, 12vw, 3rem);
  }
  .lightbox-prev {
    left: 18px;
  }
  .lightbox-next {
    right: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
