@layer od-layout {
  [hidden]:not([hidden="until-found" i]) { display: none !important; }
  dialog:not([open]) { display: none !important; }
  :where(*, *::before, *::after) { box-sizing: border-box; }
  .od-icon { display: inline-block; inline-size: var(--od-icon-size, 1em); block-size: var(--od-icon-size, 1em); flex: none; }
  .od-touch { min-width: 44px; min-height: 44px; }
}

:root {
  --green-950: #11271f;
  --green-900: #173328;
  --green-800: #214738;
  --green-700: #2f5c49;
  --green-100: #dce7df;
  --green-050: #edf3ef;
  --ink: #1c211e;
  --muted: #66706a;
  --line: #cfd6d1;
  --surface: #f4f6f4;
  --paper: #ffffff;
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --body: "Aptos", "Segoe UI", system-ui, sans-serif;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --page: min(100% - 3rem, 90rem);
  color-scheme: light;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

button, input, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid #7da68f;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: 1rem;
  padding: 0.75rem 1rem;
  background: var(--paper);
  color: var(--green-950);
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header {
  position: sticky;
  z-index: 90;
  top: 0;
  width: 100%;
  min-height: 6.25rem;
  margin-inline: 0;
  padding-inline: max(1.5rem, calc((100vw - 90rem) / 2));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-4);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
  transition: box-shadow 180ms ease-out;
}

.site-header.is-stuck { box-shadow: 0 0.5rem 1.5rem rgb(17 39 31 / 0.12); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  width: fit-content;
  text-decoration: none;
}

.brand-mark {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--green-800);
  color: var(--green-900);
  font-family: var(--display);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
}

.brand-logo {
  width: 3.25rem;
  height: auto;
  flex: none;
}

.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { font-family: var(--display); font-size: 1.2rem; font-weight: 500; letter-spacing: 0.01em; }
.brand-copy small { margin-top: 0.25rem; color: var(--muted); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: var(--space-4); }
.main-nav a, .site-footer a { text-decoration: none; font-size: 0.86rem; letter-spacing: 0.05em; }
.main-nav a { position: relative; padding-block: 0.5rem; }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--green-800);
  transition: right 200ms ease-out;
}

.selection-button {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0;
  border: 0;
  background: transparent;
  color: var(--green-950);
}

.selection-button .od-icon { --od-icon-size: 1.3rem; }
.selection-count { min-width: 1.7rem; height: 1.7rem; display: grid; place-items: center; border-radius: 50%; background: var(--green-900); color: white; font-size: 0.75rem; }

.hero {
  width: var(--page);
  min-height: 42rem;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(22rem, 0.92fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: center;
  padding-block: var(--space-7);
}

.hero-copy { max-width: 45rem; }
.eyebrow { margin: 0 0 1.2rem; color: var(--green-700); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }

h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { margin-top: 0; font-family: var(--display); font-weight: 400; line-height: 1.04; }

h1 { margin-bottom: 1.6rem; font-size: clamp(3.4rem, 7vw, 7.2rem); letter-spacing: -0.055em; }
h2 { font-size: clamp(2.5rem, 4.5vw, 5rem); letter-spacing: -0.045em; }
h3 { font-size: 1.45rem; }

.hero-lead { max-width: 39rem; margin: 0 0 2.2rem; color: #465049; font-size: clamp(1rem, 1.3vw, 1.18rem); line-height: 1.75; }

.primary-link {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  border-bottom: 1px solid var(--green-800);
  color: var(--green-900);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.03em;
}

.hero-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); margin: 4.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.hero-notes div { display: grid; gap: 0.35rem; }
.hero-notes dt { color: var(--green-700); font-size: 0.72rem; letter-spacing: 0.14em; }
.hero-notes dd { margin: 0; font-size: 0.82rem; color: var(--muted); }

.hero-media { position: relative; margin: 0; min-height: 38rem; align-self: stretch; overflow: hidden; background: var(--green-100); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 54%; }
.hero-media::after { content: ""; position: absolute; inset: 0; border: 1px solid rgb(17 39 31 / 0.08); pointer-events: none; }
.hero-media figcaption { position: absolute; left: 0; bottom: 0; max-width: 17rem; padding: 1.1rem 1.3rem; background: var(--paper); color: var(--green-950); font-family: var(--display); font-size: 1rem; }

.manifesto {
  padding: var(--space-7) max(1.5rem, calc((100vw - 90rem) / 2));
  background: var(--green-950);
  color: white;
  display: grid;
  grid-template-columns: 0.52fr 1.48fr;
  gap: var(--space-5);
}

.manifesto .eyebrow { color: #9fc4af; }
.manifesto h2 { margin-bottom: var(--space-3); max-width: 14ch; }
.manifesto > div > p { max-width: 40rem; margin: 0; color: #c9d6ce; font-size: 1.05rem; }

.catalog-section { width: var(--page); margin-inline: auto; padding: var(--space-5) 0 var(--space-7); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-5); }
.section-heading h2 { margin-bottom: 0; font-size: clamp(2.8rem, 5vw, 5.4rem); }
.section-heading > p { flex: none; margin: 0 0 0.8rem; color: var(--muted); font-size: 0.86rem; }

.catalog-tools {
  display: grid;
  grid-template-columns: minmax(13rem, 0.8fr) minmax(20rem, 1.5fr) minmax(11rem, 0.55fr);
  gap: var(--space-3);
  align-items: end;
  padding-block: 1.3rem;
  border-block: 1px solid var(--line);
  margin-bottom: var(--space-5);
}

.search-field {
  min-height: 3rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border-bottom: 1px solid #8c9690;
}

.search-field .od-icon { --od-icon-size: 1.1rem; color: var(--green-800); }
.search-field input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); }
.search-field input::placeholder { color: #777f7a; }

.category-nav {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.4rem;
}
.category-filter {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-padding-inline: 0.25rem;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.category-filter::-webkit-scrollbar { display: none; }
.category-arrow {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--green-900);
}
.category-arrow .od-icon { --od-icon-size: 1rem; }
.category-arrow:disabled { opacity: 0.35; cursor: default; }
.filter-chip {
  min-height: 2.75rem;
  flex: none;
  padding: 0.55rem 1rem;
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: transparent;
  color: var(--ink);
  font-size: 0.82rem;
  scroll-snap-align: start;
  transition: background 180ms ease-out, border-color 180ms ease-out, color 180ms ease-out;
}

.filter-chip.is-active { background: var(--green-900); border-color: var(--green-900); color: white; }

.sort-field { display: grid; gap: 0.35rem; }
.sort-label { color: var(--muted); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.sort-menu { position: relative; }
.sort-trigger {
  min-height: 3rem;
  width: 100%;
  padding: 0 0.5rem 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 0;
  border-bottom: 1px solid #8c9690;
  background: transparent;
  color: var(--ink);
  text-align: left;
}
.sort-trigger .od-icon { --od-icon-size: 1rem; color: var(--green-800); transition: transform 180ms ease-out; }
.sort-trigger[aria-expanded="true"] .od-icon { transform: rotate(180deg); }
.sort-options {
  position: absolute;
  z-index: 40;
  top: calc(100% + 0.35rem);
  right: 0;
  left: 0;
  padding: 0.35rem;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 1rem 2.5rem rgb(17 39 31 / 0.16);
}
.sort-option {
  min-height: 2.75rem;
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
}
.sort-option.is-selected {
  background: var(--green-900);
  color: white;
}

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5) var(--space-3); }
.load-more {
  width: 3rem;
  min-height: 3rem;
  margin: 3rem auto 0;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
}

.loading-spinner {
  width: 1.75rem;
  height: 1.75rem;
  display: block;
  border: 2px solid var(--green-100);
  border-top-color: var(--green-800);
  border-radius: 50%;
  animation: spinner-turn 700ms linear infinite;
}

@keyframes spinner-turn { to { transform: rotate(360deg); } }
.product-card { min-width: 0; }
.product-figure { position: relative; margin: 0 0 1.25rem; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: #e7ebe8; }
.product-media-link { width: 100%; height: 100%; display: grid; place-items: center; color: inherit; text-decoration: none; }
.product-figure img { width: 100%; height: 100%; object-fit: contain; transition: transform 300ms ease-out; }
.sale-badge { position: absolute; left: 0.8rem; top: 0.8rem; padding: 0.35rem 0.6rem; background: rgb(255 255 255 / 0.94); color: var(--green-950); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.product-card__category { margin: 0 0 0.45rem; color: var(--green-700); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.product-card__name-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.product-card h3 { margin: 0; font-size: 1.35rem; line-height: 1.18; }
.product-card__price { flex: none; min-width: 5.5rem; min-height: 2.25rem; margin: 0; display: grid; justify-items: end; align-content: start; color: var(--ink); line-height: 1.15; white-space: nowrap; }
.old-price { min-height: 0.9rem; color: var(--muted); font-size: 0.72rem; font-weight: 500; text-decoration: line-through; }
.old-price--placeholder { visibility: hidden; }
.current-price { font-size: 0.86rem; font-weight: 700; }
.current-price--sale { color: var(--green-700); }
.product-card__desc {
  min-height: 3.1em;
  max-height: 3.1em;
  margin: 0.65rem 0 0;
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.product-card__actions { display: flex; align-items: center; justify-content: space-between; margin-top: 1rem; padding-top: 0.8rem; border-top: 1px solid var(--line); }
.detail-button, .remove-button, .text-button { border: 0; padding: 0.35rem 0; background: transparent; color: var(--green-900); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.3rem; }
.quick-add {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--green-800);
  border-radius: 50%;
  background: transparent;
  color: var(--green-900);
}
.quick-add.is-selected { background: var(--green-900); color: white; }
.quick-add .od-icon { --od-icon-size: 1rem; }

.empty-state { min-height: 20rem; display: grid; place-items: center; align-content: center; text-align: center; }
.empty-line { width: 3rem; height: 1px; margin-bottom: 1.5rem; background: var(--green-700); }
.empty-state h3 { margin-bottom: 0.5rem; font-size: 2rem; }
.empty-state p { margin: 0 0 1rem; color: var(--muted); }

.story {
  width: var(--page);
  margin: 0 auto;
  padding: var(--space-6) 0;
  display: grid;
  grid-template-columns: 0.32fr 1.18fr 0.7fr;
  gap: var(--space-5);
  align-items: start;
  border-block: 1px solid var(--line);
}
.story-number { font-family: var(--display); color: var(--green-100); font-size: clamp(6rem, 13vw, 12rem); line-height: 0.72; }
.story h2 { margin: 0; font-size: clamp(2.4rem, 4vw, 4.8rem); }
.story > p { margin: 2.3rem 0 0; color: var(--muted); }

.site-footer {
  min-height: 0;
  padding: 2.5rem max(1.5rem, calc((100vw - 90rem) / 2));
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--space-4);
  background: var(--green-950);
  color: white;
}
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-logo { width: 4.5rem; height: auto; flex: none; }
.brand-mark--light { border-color: #9fc4af; color: white; }
.footer-brand p { margin: 0; font-family: var(--display); font-size: 1.25rem; line-height: 1.2; }
.footer-brand small, .footer-note { color: #aebeb4; font-family: var(--body); font-size: 0.78rem; }
.footer-note { margin: 0; }
.footer-meta { display: grid; justify-items: end; gap: 0.65rem; }
.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: white;
  font-weight: 700;
}
.instagram-link .od-icon { --od-icon-size: 1.2rem; }

dialog {
  padding: 0;
  border: 0;
  color: var(--ink);
  box-shadow: 0 1.5rem 5rem rgb(17 39 31 / 0.25);
}
dialog::backdrop { background: rgb(17 28 23 / 0.72); backdrop-filter: blur(3px); }
.product-dialog { width: min(72rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); background: var(--paper); }
.dialog-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.8fr); }
.dialog-media { margin: 0; display: grid; place-items: center; background: #edf0ee; overflow: auto; }
.dialog-media img { width: 100%; height: auto; max-height: 80dvh; object-fit: contain; }
.dialog-content { padding: clamp(2rem, 5vw, 5rem); align-self: center; }
.dialog-content h2 { margin-bottom: 1rem; font-size: clamp(2.6rem, 4vw, 4.8rem); }
.dialog-content > p:not(.eyebrow, .dialog-price) { color: var(--muted); }
.dialog-price { margin: 0 0 1.5rem; color: var(--green-800); font-size: 1.2rem; font-weight: 700; }
.product-details { margin: 2rem 0; border-block: 1px solid var(--line); }
.product-details div { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding-block: 0.8rem; }
.product-details div + div { border-top: 1px solid var(--line); }
.product-details dt { color: var(--muted); font-size: 0.8rem; }
.product-details dd { margin: 0; font-weight: 600; }
.dialog-content > small { display: block; margin-top: 1rem; color: var(--muted); }
.dialog-actions { display: grid; gap: 0.75rem; }
.dialog-close { position: absolute; z-index: 2; top: 1rem; right: 1rem; width: 3rem; height: 3rem; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--green-950); }
.dialog-close .od-icon { --od-icon-size: 1.2rem; }
.primary-button {
  min-height: 3.25rem;
  width: 100%;
  padding: 0.8rem 1.25rem;
  border: 1px solid var(--green-900);
  background: var(--green-900);
  color: white;
  font-weight: 700;
}
.primary-button:disabled { border-color: #aeb7b1; background: #d9dedb; color: #6a726d; cursor: not-allowed; }
.secondary-button {
  min-height: 3.25rem;
  width: 100%;
  padding: 0.8rem 1.25rem;
  border: 1px solid var(--green-900);
  background: var(--paper);
  color: var(--green-900);
  font-weight: 700;
}

.selection-dialog { width: min(40rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); padding: clamp(1.5rem, 4vw, 3rem); background: var(--paper); }
.selection-header { display: flex; justify-content: space-between; gap: 2rem; padding-right: 3.5rem; }
.selection-header h2 { margin-bottom: 1.5rem; font-size: clamp(2.4rem, 5vw, 3.8rem); }
.selection-list { max-height: 45dvh; overflow-y: auto; border-top: 1px solid var(--line); }
.selection-item { display: grid; grid-template-columns: 4.5rem 1fr auto; gap: 1rem; align-items: center; padding-block: 1rem; border-bottom: 1px solid var(--line); }
.selection-item figure { margin: 0; width: 4.5rem; aspect-ratio: var(--ratio); background: #edf0ee; overflow: hidden; }
.selection-item img { width: 100%; height: 100%; object-fit: contain; }
.selection-item h3 { margin: 0 0 0.25rem; font-size: 1.05rem; }
.selection-item p { margin: 0; color: var(--muted); font-size: 0.8rem; }
.remove-button { font-size: 0.78rem; }
.selection-empty { padding: 2.5rem 0; border-block: 1px solid var(--line); }
.selection-empty p { margin: 0 0 0.25rem; font-family: var(--display); font-size: 1.4rem; }
.selection-empty small { color: var(--muted); }
.selection-footer { padding-top: 1.5rem; }
.selection-footer p { color: var(--muted); font-size: 0.85rem; }

.toast {
  position: fixed;
  z-index: 200;
  right: 1.5rem;
  bottom: 5.5rem;
  max-width: min(26rem, calc(100% - 3rem));
  padding: 0.9rem 1.1rem;
  background: var(--green-950);
  color: white;
  box-shadow: 0 1rem 3rem rgb(17 39 31 / 0.22);
}

.product-page {
  width: var(--page);
  min-height: 70vh;
  margin-inline: auto;
  padding: 2rem 0 var(--space-7);
}

.back-to-catalog {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--green-900);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}
.back-to-catalog .od-icon { --od-icon-size: 1rem; }

.product-detail {
  display: grid;
  grid-template-columns: minmax(20rem, 0.8fr) minmax(22rem, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
  padding-top: 2rem;
}

.product-detail__media {
  width: min(100%, 28rem);
  margin: 0;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  justify-self: center;
  overflow: hidden;
  background: #e7ebe8;
}
.product-detail__media img { width: 100%; height: 100%; object-fit: contain; }
.product-detail__content { max-width: 36rem; }
.product-detail__heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.product-detail__heading .eyebrow { margin-bottom: 0; }
.product-sale-label { padding: 0.35rem 0.6rem; background: var(--green-900); color: white; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.product-detail h1 { margin: 1.2rem 0 0.5rem; font-size: clamp(3rem, 5.5vw, 5.8rem); }
.product-reference { margin: 0; color: var(--muted); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.product-page-price { min-height: 4rem; margin: 2rem 0 1.5rem; display: grid; align-content: center; justify-items: start; }
.product-page-price strong { color: var(--green-900); font-family: var(--display); font-size: 2rem; font-weight: 500; }
.product-description { max-width: 56ch; color: var(--muted); font-size: 1.05rem; }
.product-page-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.product-disclaimer { display: block; margin-top: 1rem; color: var(--muted); }
.product-description-section {
  margin-top: var(--space-5);
  padding: var(--space-6) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.8fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
  border-top: 1px solid var(--line);
}
.product-description-section h2 { margin-bottom: 1.25rem; font-size: clamp(2.5rem, 4vw, 4.5rem); }
.product-description-section .product-details { margin: 0; }
.product-not-found { max-width: 50rem; padding: var(--space-7) 0; }
.product-not-found h1 { margin-bottom: 2rem; }

.back-to-top {
  position: fixed;
  z-index: 190;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  width: 3.25rem;
  height: 3.25rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--green-800);
  border-radius: 50%;
  background: var(--green-950);
  color: white;
  box-shadow: 0 0.75rem 2rem rgb(17 39 31 / 0.2);
  transition: background 180ms ease-out, transform 180ms ease-out;
}
.back-to-top .od-icon { --od-icon-size: 1.2rem; }

@media (hover: hover) {
  .main-nav a:hover::after { right: 0; }
  .filter-chip:hover { border-color: var(--green-700); }
  .category-arrow:not(:disabled):hover { border-color: var(--green-700); background: var(--green-050); }
  .sort-option:not(.is-selected):hover { background: var(--green-050); color: var(--green-950); }
  .product-card:hover .product-figure img { transform: scale(1.025); }
  .selection-button:hover, .detail-button:hover, .text-button:hover, .remove-button:hover { color: var(--green-700); }
  .quick-add:hover { background: var(--green-050); }
  .quick-add.is-selected:hover { background: var(--green-800); }
  .primary-button:not(:disabled):hover { background: var(--green-800); border-color: var(--green-800); }
  .secondary-button:hover { background: var(--green-050); }
  .back-to-top:hover { background: var(--green-700); transform: translateY(-2px); }
  .site-footer a:hover { color: #b9d6c4; }
}

@media (max-width: 64rem) {
  :root { --page: min(100% - 2rem, 90rem); }
  .site-header {
    position: sticky;
    z-index: 90;
    top: 0;
    width: 100%;
    grid-template-columns: 1fr auto;
    padding-inline: max(1rem, env(safe-area-inset-left));
    background: var(--surface);
  }
  .main-nav { display: none; }
  .hero { grid-template-columns: 1fr 0.8fr; gap: 3rem; }
  .hero-notes { grid-template-columns: 1fr; }
  .hero-notes div { grid-template-columns: 2rem 1fr; align-items: baseline; }
  .catalog-tools { grid-template-columns: 1fr 1fr; }
  .category-nav { grid-column: 1 / -1; grid-row: 2; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .story { grid-template-columns: 0.25fr 1fr; }
  .story > p { grid-column: 2; margin-top: 0; }
}

@media (max-width: 48rem) {
  .site-header {
    min-height: 5rem;
    padding-inline: max(0.75rem, env(safe-area-inset-left));
  }
  .brand-logo { width: 2.8rem; }
  .brand-copy small, .selection-button > span:not(.selection-count) { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 2.5rem; padding-block: 4rem; }
  .hero-copy { order: 1; }
  .hero-media { min-height: 28rem; max-height: 65dvh; }
  .hero-notes { margin-top: 3rem; }
  .manifesto { grid-template-columns: 1fr; padding-block: 5rem; }
  .catalog-section { padding: 3rem 0 5rem; }
  .section-heading { align-items: start; flex-direction: column; gap: 1rem; }
  .catalog-tools { grid-template-columns: 1fr; }
  .category-nav {
    grid-column: auto;
    grid-row: auto;
    width: calc(100% + 1rem);
    margin-right: -1rem;
  }
  .category-filter { padding-right: 1rem; }
  .category-arrow { display: none !important; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 1rem; }
  .story { grid-template-columns: 1fr; gap: 1.5rem; }
  .story-number { font-size: 7rem; }
  .story > p { grid-column: auto; }
  .site-footer {
    min-height: 0;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 1.25rem;
    padding-block: 2rem;
  }
  .footer-meta { justify-items: start; gap: 0.4rem; }
  .footer-logo { width: 3.75rem; }
  .dialog-layout { grid-template-columns: 1fr; }
  .dialog-media { max-height: 42dvh; }
  .dialog-content { padding: 2rem 1.5rem; }
  .product-page { padding-top: 1rem; }
  .product-detail { grid-template-columns: 1fr; gap: 2rem; padding-top: 1rem; }
  .product-detail__media { width: min(100%, 24rem); }
  .product-detail__content { max-width: none; }
  .product-detail h1 { font-size: clamp(2.8rem, 13vw, 4.5rem); }
  .product-page-actions { grid-template-columns: 1fr; }
  .product-description-section { margin-top: 2.5rem; padding: 2.5rem 0; grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 30rem) {
  :root { --page: calc(100% - 1.5rem); }
  h1 { font-size: clamp(3rem, 15vw, 4.4rem); }
  .brand-mark { width: 2.5rem; height: 2.5rem; }
  .hero { padding-block: 3rem; }
  .hero-media { min-height: 24rem; }
  .hero-media figcaption { max-width: 14rem; font-size: 0.9rem; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem 0.75rem; }
  .product-card h3 { font-size: 1.08rem; }
  .product-card__category { font-size: 0.62rem; }
  .product-card__name-row { display: grid; gap: 0.4rem; }
  .product-card__price { min-width: 0; min-height: 2.1rem; justify-items: start; }
  .product-card__desc { min-height: 2.9em; max-height: 2.9em; font-size: 0.78rem; line-height: 1.45; }
  .product-card__actions { margin-top: 0.75rem; }
  .detail-button { font-size: 0.78rem; }
  .quick-add { width: 2.6rem; height: 2.6rem; }
  .selection-item { grid-template-columns: 3.8rem 1fr; }
  .selection-item figure { width: 3.8rem; }
  .selection-item .remove-button { grid-column: 2; justify-self: start; }
}

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