/* =========================================================
   Gloam & Gable — editorial Halloween storefront
   No frameworks, web fonts, or external assets required.
   ========================================================= */

:root {
  --ink: #28182f;
  --ink-deep: #190e20;
  --ink-soft: #443549;
  --cream: #f6efe3;
  --paper: #fffaf2;
  --white: #ffffff;
  --orange: #ed7148;
  --orange-dark: #a53b22;
  --peach: #f3b18f;
  --pear: #d4dd70;
  --pear-deep: #596019;
  --lilac: #cdbdde;
  --muted: #746a76;
  --line: rgba(40, 24, 47, 0.16);
  --line-light: rgba(255, 250, 242, 0.2);
  --shadow: 0 20px 55px rgba(33, 17, 40, 0.12);
  --shadow-small: 0 8px 24px rgba(33, 17, 40, 0.1);
  --display: Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  --radius: 20px;
  --radius-small: 12px;
  --container: 1240px;
  --header-height: 78px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.dialog-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
select {
  cursor: pointer;
}

button {
  border: 0;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-color: var(--orange);
}

p,
h1,
h2,
h3,
h4,
ul,
ol,
figure,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.04;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3.15rem, 7vw, 6.8rem);
  letter-spacing: -0.055em;
}

h2 {
  font-size: clamp(2.3rem, 4.5vw, 4.35rem);
  letter-spacing: -0.045em;
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  letter-spacing: -0.025em;
}

p:last-child {
  margin-bottom: 0;
}

::selection {
  background: var(--pear);
  color: var(--ink-deep);
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 48px), 830px);
  margin-inline: auto;
}

.section {
  padding-block: clamp(72px, 9vw, 128px);
}

.section-tight {
  padding-block: clamp(48px, 6vw, 80px);
}

.section-dark {
  background: var(--ink);
  color: var(--cream);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--cream);
}

.section-paper {
  background: var(--paper);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--orange-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 22px;
  height: 2px;
  background: currentColor;
  content: "";
}

.section-dark .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow {
  color: var(--pear);
}

.lede {
  max-width: 650px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.7;
}

.section-dark .lede,
.hero .lede,
.page-hero .lede {
  color: rgba(255, 250, 242, 0.77);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 42px;
}

.section-heading h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.section-heading p {
  max-width: 420px;
  margin-bottom: 4px;
  color: var(--muted);
}

.section-dark .section-heading p {
  color: rgba(255, 250, 242, 0.68);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}

.text-link::after {
  content: "↗";
  font-size: 1.15em;
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: translate(3px, -3px);
}

.section-dark .text-link,
.hero .text-link,
.page-hero .text-link {
  color: var(--cream);
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.86rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  background: var(--pear);
  color: var(--ink);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 150ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Buttons */
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--orange);
  color: var(--ink-deep);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  background: #f58a64;
  box-shadow: 0 8px 22px rgba(237, 113, 72, 0.2);
  color: var(--ink-deep);
  text-decoration: none;
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button-dark {
  background: var(--ink);
  color: var(--cream);
}

.button-dark:hover {
  background: var(--ink-soft);
  color: var(--white);
}

.button-pear {
  background: var(--pear);
  color: var(--ink-deep);
}

.button-pear:hover {
  background: #e2e994;
}

.button-outline {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.button-outline:hover {
  border-color: var(--ink);
  background: rgba(255, 255, 255, 0.4);
  box-shadow: none;
  color: var(--ink);
}

.section-dark .button-outline,
.hero .button-outline,
.page-hero .button-outline {
  border-color: var(--line-light);
  color: var(--cream);
}

.section-dark .button-outline:hover,
.hero .button-outline:hover,
.page-hero .button-outline:hover {
  border-color: var(--cream);
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
}

.button-small {
  min-height: 42px;
  padding: 10px 17px;
  font-size: 0.82rem;
}

.button[disabled],
button[disabled] {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Announcement and navigation */
.announcement {
  position: relative;
  z-index: 60;
  padding: 9px 24px;
  background: var(--pear);
  color: var(--ink-deep);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.4;
  text-align: center;
}

.announcement a {
  margin-left: 6px;
  font-weight: 900;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 239, 227, 0.94);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 39px;
  height: 39px;
}

.brand-name {
  font-family: var(--display);
  font-size: 1.45rem;
  letter-spacing: -0.045em;
  line-height: 1;
  white-space: nowrap;
}

.brand-name em {
  color: var(--orange-dark);
  font-weight: 400;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.primary-nav a {
  position: relative;
  padding-block: 8px;
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.primary-nav a[aria-current="page"] {
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gift-list-trigger {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 800;
  transition: border-color 180ms ease, background 180ms ease;
}

.gift-list-trigger:hover {
  border-color: var(--ink);
  background: var(--paper);
}

.gift-list-trigger svg {
  width: 18px;
  height: 18px;
}

.gift-count {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  padding-inline: 5px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.7rem;
  line-height: 1;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  display: block;
  width: 19px;
  height: 2px;
  background: var(--ink);
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle-lines {
  position: relative;
}

.menu-toggle-lines::before {
  position: absolute;
  top: -6px;
}

.menu-toggle-lines::after {
  position: absolute;
  top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Home hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
}

.hero::before {
  position: absolute;
  top: -300px;
  left: -200px;
  width: 780px;
  height: 780px;
  border: 1px solid rgba(212, 221, 112, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(212, 221, 112, 0.025), 0 0 0 160px rgba(212, 221, 112, 0.02);
  content: "";
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  min-height: 690px;
  grid-template-columns: minmax(0, 1.02fr) minmax(400px, 0.86fr);
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
  padding-block: clamp(64px, 7vw, 96px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 28px;
  color: var(--cream);
}

.hero h1 em {
  display: block;
  color: var(--peach);
  font-weight: 400;
}

.hero .lede {
  max-width: 590px;
  margin-bottom: 32px;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin: 30px 0 0;
  padding: 0;
  color: rgba(255, 250, 242, 0.68);
  font-size: 0.78rem;
  list-style: none;
}

.hero-notes li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-notes li::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pear);
  content: "";
}

.hero-media {
  position: relative;
  margin: 0;
}

.hero-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 4.65;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 180px 180px 24px 24px;
  background: var(--ink-deep);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-sticker {
  position: absolute;
  top: 8%;
  right: -38px;
  display: grid;
  width: 116px;
  height: 116px;
  place-items: center;
  padding: 18px;
  border-radius: 50%;
  background: var(--pear);
  color: var(--ink-deep);
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.45;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(9deg);
}

.hero-sticker::before {
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(25, 14, 32, 0.5);
  border-radius: inherit;
  content: "";
}

.hero-caption {
  position: absolute;
  right: -24px;
  bottom: 30px;
  max-width: 260px;
  padding: 18px 22px;
  border: 1px solid rgba(40, 24, 47, 0.12);
  background: var(--paper);
  box-shadow: var(--shadow-small);
  color: var(--ink);
  transform: rotate(-2deg);
}

.hero-caption span {
  display: block;
  color: var(--orange-dark);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-caption strong {
  display: block;
  margin-top: 4px;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.3;
}

.marquee {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--orange);
  color: var(--ink-deep);
}

.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 30px;
  padding-block: 12px;
  font-size: 0.71rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.marquee-track span::after {
  margin-left: 30px;
  content: "✦";
}

/* Mood cards */
.mood-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.mood-card {
  position: relative;
  min-height: 210px;
  padding: 25px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--paper);
  text-decoration: none;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.mood-card:nth-child(2) {
  background: #eaddec;
}

.mood-card:nth-child(3) {
  background: #ecebc8;
}

.mood-card:nth-child(4) {
  background: #f5d4bf;
}

.mood-card:hover {
  box-shadow: var(--shadow-small);
  text-decoration: none;
  transform: translateY(-5px);
}

.mood-number {
  display: block;
  margin-bottom: 48px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 0.9rem;
  font-style: italic;
}

.mood-card h3 {
  margin-bottom: 8px;
  font-size: 1.55rem;
}

.mood-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.5;
}

.mood-arrow {
  position: absolute;
  right: 20px;
  bottom: 20px;
  font-size: 1.3rem;
  transition: transform 180ms ease;
}

.mood-card:hover .mood-arrow {
  transform: translate(3px, -3px);
}

/* Catalog */
.catalog-section {
  background: var(--paper);
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
  padding-block: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  min-height: 40px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 0.77rem;
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.filter-chip:hover {
  border-color: var(--ink);
}

.filter-chip[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cream);
}

.sort-control {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.sort-control select {
  min-height: 40px;
  padding: 7px 34px 7px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.8rem;
}

.catalog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.catalog-meta p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px 18px;
}

.product-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.product-image-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-small);
  background: #e9ddcf;
  text-align: left;
}

.product-image-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.product-card:hover .product-image-button img {
  transform: scale(1.035);
}

.quick-view-label {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.94);
  color: var(--ink);
  font-size: 0.69rem;
  font-weight: 850;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.product-image-button:hover .quick-view-label,
.product-image-button:focus-visible .quick-view-label {
  opacity: 1;
  transform: translateY(0);
}

.product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding-top: 17px;
}

.product-kicker {
  margin-bottom: 7px;
  color: var(--orange-dark);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.product-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.product-title {
  margin-bottom: 10px;
  font-size: 1.42rem;
  line-height: 1.15;
}

.product-price {
  flex: 0 0 auto;
  padding-top: 2px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 850;
}

.product-description {
  margin-bottom: 17px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.product-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.save-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 850;
  transition: background 180ms ease, border-color 180ms ease;
}

.save-button svg {
  width: 16px;
  height: 16px;
}

.save-button:hover {
  border-color: var(--ink);
  background: var(--cream);
}

.save-button[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--pear);
}

.catalog-note {
  display: flex;
  align-items: start;
  gap: 10px;
  max-width: 800px;
  margin: 42px auto 0;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

.catalog-note svg {
  flex: 0 0 auto;
  width: 17px;
  margin-top: 3px;
}

.empty-catalog {
  grid-column: 1 / -1;
  padding: 60px 20px;
  border: 1px dashed var(--line);
  text-align: center;
}

/* Packing philosophy */
.philosophy-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
}

.philosophy-media {
  position: relative;
}

.philosophy-media img {
  width: 100%;
  aspect-ratio: 4 / 4.3;
  border-radius: 18px 120px 18px 18px;
  object-fit: cover;
}

.philosophy-note {
  position: absolute;
  right: -28px;
  bottom: 40px;
  width: 180px;
  padding: 22px;
  background: var(--pear);
  box-shadow: var(--shadow-small);
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.35;
  transform: rotate(3deg);
}

.philosophy-copy h2 {
  margin-bottom: 24px;
}

.rule-list {
  margin: 32px 0;
  padding: 0;
  list-style: none;
  counter-reset: rules;
}

.rule-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  padding-block: 18px;
  border-top: 1px solid var(--line-light);
  counter-increment: rules;
}

.rule-list li::before {
  color: var(--pear);
  font-family: var(--display);
  font-size: 1.05rem;
  font-style: italic;
  content: "0" counter(rules);
}

.rule-list strong {
  display: block;
  margin-bottom: 3px;
  color: var(--cream);
  font-size: 0.93rem;
}

.rule-list span {
  color: rgba(255, 250, 242, 0.65);
  font-size: 0.85rem;
}

/* Benefits */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.benefit-card {
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--paper);
}

.benefit-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 34px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--orange-dark);
}

.benefit-icon svg {
  width: 23px;
  height: 23px;
}

.benefit-card h3 {
  margin-bottom: 12px;
}

.benefit-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Shipping callout */
.shipping-callout {
  position: relative;
  overflow: hidden;
  background: var(--orange);
}

.shipping-callout::after {
  position: absolute;
  right: -100px;
  bottom: -200px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(40, 24, 47, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(40, 24, 47, 0.035), 0 0 0 90px rgba(40, 24, 47, 0.025);
  content: "";
}

.shipping-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
}

.shipping-callout .eyebrow {
  color: var(--ink-deep);
}

.shipping-callout h2 {
  margin-bottom: 0;
}

.shipping-copy p {
  max-width: 540px;
  margin-bottom: 24px;
  color: rgba(25, 14, 32, 0.78);
  font-size: 1rem;
}

/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.68fr) minmax(0, 1.25fr);
  align-items: start;
  gap: clamp(50px, 8vw, 110px);
}

.faq-intro {
  position: sticky;
  top: calc(var(--header-height) + 35px);
}

.faq-intro h2 {
  margin-bottom: 20px;
}

.faq-intro p {
  color: var(--muted);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr 30px;
  align-items: center;
  gap: 20px;
  padding: 23px 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1.3;
  text-align: left;
}

.faq-question:hover {
  color: var(--orange-dark);
}

.faq-icon {
  position: relative;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.faq-icon::before,
.faq-icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1.5px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-question[aria-expanded="true"] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  max-width: 670px;
  padding: 0 45px 24px 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.faq-answer[hidden] {
  display: none;
}

/* Contact callout */
.contact-callout {
  position: relative;
  overflow: hidden;
  background: var(--ink-deep);
  color: var(--cream);
  text-align: center;
}

.contact-callout::before,
.contact-callout::after {
  position: absolute;
  color: var(--pear);
  font-family: var(--display);
  font-size: 9rem;
  line-height: 1;
  opacity: 0.25;
  content: "✦";
}

.contact-callout::before {
  top: 30px;
  left: 8%;
  transform: rotate(15deg);
}

.contact-callout::after {
  right: 9%;
  bottom: 15px;
  font-size: 6rem;
  transform: rotate(-12deg);
}

.contact-callout-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin-inline: auto;
}

.contact-callout h2 {
  margin-bottom: 22px;
  color: var(--cream);
}

.contact-callout p {
  max-width: 600px;
  margin: 0 auto 30px;
  color: rgba(255, 250, 242, 0.7);
}

.contact-callout .button-row {
  justify-content: center;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 250, 242, 0.7);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 0.7fr);
  gap: 50px;
  padding-block: 68px 55px;
}

.site-footer .brand {
  margin-bottom: 20px;
  color: var(--cream);
}

.site-footer .brand-name em {
  color: var(--peach);
}

.footer-about p {
  max-width: 340px;
  font-size: 0.84rem;
}

.footer-tagline {
  color: var(--cream);
  font-family: var(--display);
  font-size: 1.15rem !important;
  font-style: italic;
}

.footer-column h2 {
  margin-bottom: 18px;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li + li {
  margin-top: 9px;
}

.footer-links a {
  font-size: 0.82rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--cream);
  text-decoration: underline;
}

.footer-contact a {
  display: block;
  overflow-wrap: anywhere;
}

.footer-demo {
  color: var(--peach);
  font-size: 0.69rem !important;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 20px;
  border-top: 1px solid var(--line-light);
  font-size: 0.69rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

/* Inner page heroes */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(68px, 9vw, 120px);
  background: var(--ink);
  color: var(--cream);
}

.page-hero::after {
  position: absolute;
  top: -160px;
  right: -120px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(212, 221, 112, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 50px rgba(212, 221, 112, 0.025), 0 0 0 100px rgba(212, 221, 112, 0.02);
  content: "";
}

.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: clamp(45px, 8vw, 100px);
}

.page-hero h1 {
  max-width: 850px;
  margin-bottom: 24px;
  color: var(--cream);
  font-size: clamp(3rem, 6.4vw, 6rem);
}

.page-hero h1 em {
  color: var(--peach);
  font-weight: 400;
}

.page-hero .lede {
  max-width: 650px;
  margin-bottom: 0;
}

.page-hero-art {
  position: relative;
}

.page-hero-art img {
  width: 100%;
  max-height: 450px;
  border-radius: 140px 140px 16px 16px;
  object-fit: cover;
}

.page-hero-simple .page-hero-grid {
  display: block;
}

.page-hero-simple h1 {
  max-width: 930px;
}

.breadcrumbs {
  margin-bottom: 26px;
  color: rgba(255, 250, 242, 0.55);
  font-size: 0.74rem;
}

.breadcrumbs a {
  text-decoration: none;
}

.breadcrumbs span {
  margin-inline: 8px;
}

/* About */
.story-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(50px, 9vw, 130px);
}

.story-grid h2 {
  position: sticky;
  top: calc(var(--header-height) + 35px);
  margin-bottom: 0;
  font-size: clamp(2.3rem, 4vw, 3.8rem);
}

.story-copy {
  color: var(--ink-soft);
  font-size: 1.03rem;
}

.story-copy p:first-child {
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.65rem;
  line-height: 1.45;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.value-card {
  min-height: 280px;
  padding: 32px;
  border-radius: var(--radius-small);
  background: var(--paper);
  color: var(--ink);
}

.value-card:nth-child(2) {
  background: var(--lilac);
}

.value-card:nth-child(3) {
  background: var(--pear);
}

.value-card .number {
  display: block;
  margin-bottom: 65px;
  font-family: var(--display);
  font-style: italic;
}

.value-card h3 {
  margin-bottom: 12px;
}

.value-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.demo-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--orange);
  border-radius: var(--radius-small);
  background: var(--paper);
}

.demo-panel svg {
  width: 26px;
  color: var(--orange-dark);
}

.demo-panel h2,
.demo-panel h3 {
  margin-bottom: 8px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: 0;
}

.demo-panel p {
  color: var(--muted);
  font-size: 0.87rem;
}

/* Contact page */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.65fr);
  align-items: start;
  gap: clamp(45px, 8vw, 100px);
}

.contact-form-wrap h2 {
  margin-bottom: 12px;
  font-size: clamp(2.1rem, 4vw, 3.5rem);
}

.contact-form-wrap > p {
  margin-bottom: 30px;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  min-width: 0;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 850;
}

.required {
  color: var(--orange-dark);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.field input,
.field select {
  min-height: 50px;
  padding: 11px 13px;
}

.field textarea {
  min-height: 170px;
  padding: 13px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--orange-dark);
  box-shadow: 0 0 0 3px rgba(237, 113, 72, 0.16);
  outline: none;
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #a52727;
  background: #fff7f5;
}

.field-hint,
.field-error {
  margin: 6px 0 0;
  font-size: 0.74rem;
}

.field-hint {
  color: var(--muted);
}

.field-error {
  color: #932b27;
  font-weight: 700;
}

.field-error:empty {
  display: none;
}

.form-footer {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}

.form-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.form-status {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: #ecebc8;
}

.form-status[hidden] {
  display: none;
}

.form-status h3 {
  margin-bottom: 6px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 850;
}

.form-status p {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.form-status .button-row {
  margin-top: 15px;
}

.contact-sidebar {
  display: grid;
  gap: 16px;
}

.contact-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--paper);
}

.contact-card h2,
.contact-card h3 {
  margin-bottom: 10px;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-card p,
.contact-card a {
  font-size: 0.87rem;
}

.contact-card a {
  overflow-wrap: anywhere;
}

.contact-card .big-contact {
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.2rem;
  line-height: 1.4;
}

.demo-label {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--cream);
  color: var(--orange-dark);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Legal and policy pages */
.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  justify-content: center;
  gap: clamp(45px, 8vw, 100px);
}

.legal-toc {
  position: sticky;
  top: calc(var(--header-height) + 35px);
  align-self: start;
  padding-top: 6px;
}

.legal-toc h2 {
  margin-bottom: 14px;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.legal-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-toc li + li {
  margin-top: 9px;
}

.legal-toc a {
  color: var(--muted);
  font-size: 0.76rem;
  text-decoration: none;
}

.legal-toc a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.prose {
  min-width: 0;
}

.prose section {
  padding-bottom: 35px;
  margin-bottom: 35px;
  border-bottom: 1px solid var(--line);
}

.prose section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.prose h2 {
  margin-bottom: 16px;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  letter-spacing: -0.03em;
}

.prose h3 {
  margin: 25px 0 10px;
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.4;
}

.prose p,
.prose li {
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.prose ul,
.prose ol {
  padding-left: 22px;
}

.prose li + li {
  margin-top: 8px;
}

.prose a {
  overflow-wrap: anywhere;
}

.effective-date {
  display: inline-block;
  margin-top: 25px;
  padding: 8px 12px;
  border: 1px solid var(--line-light);
  border-radius: 6px;
  color: rgba(255, 250, 242, 0.72);
  font-size: 0.73rem;
}

.status-table-wrap {
  margin-block: 28px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
}

.status-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  font-size: 0.85rem;
}

.status-table th,
.status-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.status-table tr:last-child th,
.status-table tr:last-child td {
  border-bottom: 0;
}

.status-table th {
  width: 42%;
  color: var(--ink);
  font-weight: 800;
}

.status-table td {
  color: var(--muted);
}

.status-pill {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 999px;
  background: #eee5d9;
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 850;
  white-space: nowrap;
}

/* Dialogs and toast */
dialog {
  color: var(--ink);
  font-family: var(--sans);
}

dialog::backdrop {
  background: rgba(15, 8, 19, 0.72);
  backdrop-filter: blur(5px);
}

.product-dialog {
  width: min(calc(100% - 32px), 940px);
  max-height: min(88vh, 780px);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.35);
}

.product-dialog[open] {
  animation: dialog-in 200ms ease both;
}

.dialog-close {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 250, 242, 0.95);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
}

.dialog-close:hover {
  background: var(--pear);
}

.product-dialog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.product-dialog-media {
  min-height: 100%;
  background: var(--ink);
}

.product-dialog-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.product-dialog-copy {
  padding: clamp(34px, 5vw, 58px);
}

.product-dialog-copy h2 {
  margin-bottom: 10px;
  font-size: clamp(2.1rem, 4vw, 3.25rem);
}

.dialog-price {
  display: block;
  margin-bottom: 22px;
  color: var(--orange-dark);
  font-size: 1.05rem;
  font-weight: 850;
}

.product-dialog-copy > p {
  color: var(--muted);
  font-size: 0.9rem;
}

.contents-title {
  margin: 25px 0 10px;
  font-family: var(--sans);
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contents-list {
  margin: 0 0 25px;
  padding: 0;
  list-style: none;
}

.contents-list li {
  position: relative;
  padding: 8px 0 8px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.contents-list li::before {
  position: absolute;
  left: 1px;
  color: var(--orange-dark);
  content: "✦";
}

.dialog-demo-note {
  margin-top: 15px;
  color: var(--muted);
  font-size: 0.7rem !important;
}

.gift-dialog {
  width: min(100%, 440px);
  max-width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  padding: 0;
  margin: 0 0 0 auto;
  overflow: hidden;
  border: 0;
  background: var(--paper);
  box-shadow: -20px 0 70px rgba(0, 0, 0, 0.25);
}

.gift-dialog[open] {
  display: flex;
  flex-direction: column;
  animation: drawer-in 220ms ease both;
}

.gift-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.gift-dialog-header h2 {
  margin: 0;
  font-size: 2rem;
}

.gift-dialog-header .dialog-close {
  position: static;
  flex: 0 0 auto;
}

.gift-dialog-body {
  flex: 1;
  padding: 20px 24px;
  overflow-y: auto;
}

.gift-empty {
  padding-block: 55px;
  color: var(--muted);
  text-align: center;
}

.gift-empty svg {
  width: 48px;
  margin: 0 auto 18px;
  color: var(--orange-dark);
}

.gift-empty h3 {
  margin-bottom: 8px;
}

.gift-empty p {
  font-size: 0.85rem;
}

.saved-item {
  display: grid;
  grid-template-columns: 82px 1fr auto;
  gap: 13px;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
}

.saved-item img {
  width: 82px;
  height: 76px;
  border-radius: 8px;
  object-fit: cover;
}

.saved-item h3 {
  margin: 3px 0 5px;
  font-size: 1.04rem;
  line-height: 1.25;
}

.saved-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.remove-saved {
  align-self: start;
  padding: 5px;
  background: transparent;
  color: var(--muted);
  font-size: 1.15rem;
}

.remove-saved:hover {
  color: var(--orange-dark);
}

.gift-dialog-footer {
  padding: 20px 24px 24px;
  border-top: 1px solid var(--line);
  background: var(--cream);
}

.gift-dialog-footer p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.72rem;
}

.gift-dialog-footer .button {
  width: 100%;
}

.gift-dialog-footer .button + .button {
  margin-top: 8px;
}

.copy-status {
  min-height: 20px;
  margin: 10px 0 0 !important;
  color: var(--pear-deep) !important;
  font-weight: 750;
  text-align: center;
}

.toast {
  position: fixed;
  z-index: 1000;
  right: 22px;
  bottom: 22px;
  max-width: min(390px, calc(100% - 44px));
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: var(--ink-deep);
  box-shadow: var(--shadow);
  color: var(--cream);
  font-size: 0.8rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes dialog-in {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes drawer-in {
  from { opacity: 0; transform: translateX(35px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Reveal enhancement; content stays visible without JavaScript. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1120px) {
  .primary-nav {
    gap: 19px;
  }

  .primary-nav a {
    font-size: 0.79rem;
  }

  .gift-list-trigger .gift-label {
    display: none;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.8fr);
    gap: 55px;
  }

  .hero-sticker {
    right: -15px;
  }

  .mood-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mood-card {
    min-height: 180px;
  }

  .mood-number {
    margin-bottom: 30px;
  }

  .footer-main {
    grid-template-columns: 1.2fr repeat(3, 0.65fr);
    gap: 30px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 70px;
  }

  .container,
  .narrow {
    width: min(calc(100% - 36px), var(--container));
  }

  .menu-toggle {
    display: grid;
  }

  .nav-actions {
    margin-left: auto;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 12px 18px 20px;
    border-bottom: 1px solid var(--line);
    background: var(--cream);
    box-shadow: var(--shadow-small);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav a {
    padding: 13px 8px;
    border-bottom: 1px solid var(--line);
    font-size: 0.93rem;
  }

  .primary-nav a:last-child {
    border-bottom: 0;
  }

  .primary-nav a::after {
    display: none;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr 0.8fr;
    gap: 40px;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 8vw, 5rem);
  }

  .hero-caption {
    right: -10px;
    bottom: 18px;
    max-width: 220px;
  }

  .hero-sticker {
    top: 2%;
    width: 94px;
    height: 94px;
    font-size: 0.58rem;
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 18px;
  }

  .philosophy-grid,
  .shipping-grid,
  .page-hero-grid,
  .contact-layout {
    gap: 45px;
  }

  .benefit-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    display: grid;
    grid-template-columns: 55px 1fr;
    gap: 0 20px;
  }

  .benefit-icon {
    grid-row: 1 / 3;
    margin: 0;
  }

  .benefit-card h3 {
    margin-bottom: 8px;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .faq-intro,
  .story-grid h2,
  .legal-toc {
    position: static;
  }

  .footer-main {
    grid-template-columns: 1.3fr 1fr 1fr;
  }

  .footer-about {
    grid-column: 1 / -1;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .legal-toc ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
  }

  .legal-toc li + li {
    margin-top: 0;
  }
}

@media (max-width: 720px) {
  .section {
    padding-block: 70px;
  }

  .hero-grid,
  .philosophy-grid,
  .shipping-grid,
  .page-hero-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 48px;
    padding-block: 58px 70px;
  }

  .hero-copy {
    max-width: 620px;
  }

  .hero-media {
    width: min(90%, 480px);
    margin-inline: auto;
  }

  .hero-image-wrap {
    aspect-ratio: 4 / 4.2;
    border-radius: 150px 150px 20px 20px;
  }

  .hero-sticker {
    right: -25px;
  }

  .catalog-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .sort-control {
    justify-content: space-between;
  }

  .sort-control select {
    flex: 1;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .philosophy-media {
    width: calc(100% - 20px);
  }

  .philosophy-media img {
    aspect-ratio: 4 / 3.7;
  }

  .philosophy-note {
    right: -20px;
  }

  .page-hero-art {
    display: none;
  }

  .page-hero h1 {
    font-size: clamp(3rem, 12vw, 5rem);
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field-full {
    grid-column: auto;
  }

  .product-dialog-grid {
    grid-template-columns: 1fr;
  }

  .product-dialog-media img {
    min-height: 0;
    aspect-ratio: 4 / 2.8;
  }

  .product-dialog-copy {
    padding: 30px 24px;
  }

  .footer-bottom {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .container,
  .narrow {
    width: min(calc(100% - 28px), var(--container));
  }

  .announcement {
    padding-inline: 14px;
    font-size: 0.69rem;
  }

  .announcement a {
    display: none;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-name {
    font-size: 1.2rem;
  }

  .gift-list-trigger {
    width: 42px;
    height: 42px;
    min-height: 42px;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
  }

  .gift-list-trigger .gift-count {
    position: absolute;
    top: 11px;
    right: 55px;
    min-width: 17px;
    height: 17px;
    border: 2px solid var(--cream);
    font-size: 0.58rem;
  }

  .nav-wrap {
    gap: 9px;
  }

  .nav-actions {
    gap: 7px;
  }

  .hero h1 {
    font-size: clamp(3.05rem, 15vw, 4.5rem);
  }

  .hero .button-row .button {
    width: 100%;
  }

  .hero-notes {
    display: grid;
    gap: 8px;
  }

  .hero-media {
    width: calc(100% - 12px);
  }

  .hero-sticker {
    right: -8px;
    width: 84px;
    height: 84px;
  }

  .hero-caption {
    right: -5px;
    max-width: 205px;
    padding: 14px 16px;
  }

  .mood-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .mood-card {
    min-height: 160px;
  }

  .product-grid {
    gap: 38px;
  }

  .product-image-button {
    aspect-ratio: 4 / 3;
  }

  .product-title {
    font-size: 1.55rem;
  }

  .filter-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .filter-chip:first-child {
    grid-column: 1 / -1;
  }

  .catalog-meta {
    align-items: start;
    flex-direction: column;
    gap: 6px;
  }

  .philosophy-note {
    bottom: 20px;
    width: 155px;
    padding: 17px;
    font-size: 1rem;
  }

  .benefit-card {
    display: block;
  }

  .benefit-icon {
    margin-bottom: 24px;
  }

  .faq-question {
    font-size: 1.12rem;
  }

  .contact-callout::before,
  .contact-callout::after {
    display: none;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 35px 24px;
  }

  .footer-about {
    grid-column: 1 / -1;
  }

  .footer-column:last-child {
    grid-column: 1 / -1;
  }

  .form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .form-footer .button {
    width: 100%;
  }

  .demo-panel {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .status-table th,
  .status-table td {
    display: block;
    width: 100%;
  }

  .status-table th {
    padding-bottom: 4px;
    border-bottom: 0;
  }

  .status-table td {
    padding-top: 4px;
  }

  .status-table tr {
    display: block;
    padding-block: 10px;
    border-bottom: 1px solid var(--line);
  }

  .status-table tr:last-child {
    border-bottom: 0;
  }

  .status-table tr:last-child th,
  .status-table tr:last-child td {
    border-bottom: 0;
  }

  .gift-dialog {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .announcement,
  .site-header,
  .site-footer,
  .button,
  .legal-toc,
  dialog,
  .toast {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .page-hero {
    padding: 25px 0;
    background: white;
    color: black;
  }

  .page-hero h1,
  .page-hero .lede {
    color: black;
  }

  .section {
    padding-block: 25px;
  }
}
