@import url("../fonts/fonts.css");

/* ==========================================================================
   PawHaven — design tokens
   ========================================================================== */

:root {
  --ivory: #faf8f3;
  --oat: #eee9df;
  --ink: #262923;
  --forest: #48634f;
  --forest-deep: #3b5342;
  --terracotta: #c98264;
  --sand: #d9d4ca;
  --muted: #64685e;
  --muted-light: #8c8e84;
  --line: rgba(38, 41, 35, 0.14);
  --line-soft: rgba(38, 41, 35, 0.08);
  --ivory-72: rgba(250, 248, 243, 0.72);
  --ivory-52: rgba(250, 248, 243, 0.52);
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --container: 1320px;
  --gutter: clamp(20px, 4.2vw, 56px);
  --section: clamp(64px, 7.2vw, 112px);
  --header-h: 78px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --radius: 2px;
}

/* ==========================================================================
   Base
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body.has-dialog {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

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

button {
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

em {
  font-style: italic;
}

.brand-dot {
  color: var(--terracotta);
}

::selection {
  background: var(--forest);
  color: var(--ivory);
}

:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

[data-reveal] {
  scroll-margin-top: 100px;
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 500;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--ivory);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateY(-180%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: none;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--forest);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.19em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow--rule::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
  flex: none;
}

.eyebrow--light {
  color: rgba(250, 248, 243, 0.66);
}

.divider-dot {
  display: inline-block;
  width: 3px;
  height: 3px;
  margin: 0 3px;
  border-radius: 50%;
  background: var(--terracotta);
  vertical-align: middle;
}

.icon {
  flex: none;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.6;
  text-transform: uppercase;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.link-arrow .icon {
  width: 15px;
  height: 15px;
  transition: transform 0.35s var(--ease);
}

.link-arrow:hover {
  border-color: var(--ink);
}

.link-arrow:hover .icon {
  transform: translateX(4px);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.btn .icon {
  width: 15px;
  height: 15px;
  transition: transform 0.35s var(--ease);
}

.btn:hover .icon {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--forest);
  color: var(--ivory);
}

.btn--primary:hover {
  background: var(--forest-deep);
}

.btn--outline {
  border-color: var(--ink);
  color: var(--ink);
}

.btn--outline:hover {
  background: var(--ink);
  color: var(--ivory);
}

.btn--ivory {
  background: var(--ivory);
  color: var(--ink);
}

.btn--ivory:hover {
  background: var(--oat);
}

.btn--full {
  width: 100%;
}

/* ==========================================================================
   Announcement & header
   ========================================================================== */

.announcement {
  background: var(--forest);
  color: var(--ivory);
}

.announcement__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 36px;
  padding: 6px var(--gutter);
  text-align: center;
}

.announcement p {
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
}

.announcement__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--terracotta);
  flex: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid transparent;
  background: rgba(250, 248, 243, 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(250, 248, 243, 0.97);
}

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
}

.wordmark__mark {
  color: var(--forest);
}

.wordmark--light {
  color: var(--ivory);
}

.wordmark--light .wordmark__mark {
  color: var(--ivory);
}

.primary-nav {
  position: absolute;
  left: 50%;
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.8vw, 44px);
  transform: translateX(-50%);
}

.primary-nav__link {
  position: relative;
  padding: 9px 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.25s var(--ease);
}

.primary-nav__link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.4s var(--ease);
}

.primary-nav__link:hover {
  color: var(--ink);
}

.primary-nav__link:hover::after,
.primary-nav__link.is-active::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.primary-nav__link.is-active {
  color: var(--ink);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.icon-btn {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.icon-btn:hover {
  background: rgba(38, 41, 35, 0.055);
}

.bag-link {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  transition: background-color 0.25s var(--ease);
}

.bag-link:hover {
  background: rgba(38, 41, 35, 0.055);
}

.bag-count {
  position: absolute;
  top: 2px;
  right: 0;
  display: grid;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  place-items: center;
  border: 2px solid var(--ivory);
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--ivory);
  font-size: 8px;
  font-weight: 500;
  line-height: 1;
  transition: opacity 0.2s, transform 0.2s var(--ease);
}

.bag-count[data-empty="true"] {
  opacity: 0;
  transform: scale(0.6);
}

.bag-count.is-bumping {
  animation: bagBump 0.45s var(--ease);
}

@keyframes bagBump {
  0% { transform: scale(1); }
  35% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  color: var(--ink);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.menu-toggle span {
  display: none;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding-block: clamp(24px, 3.8vw, 52px) clamp(40px, 4.5vw, 64px);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(34px, 5vw, 80px);
}

.hero__content {
  max-width: 600px;
  padding-block: 16px;
}

.hero__title {
  margin: 22px 0 28px;
  font-size: clamp(3.15rem, 6vw, 5.7rem);
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.hero__title em {
  font-style: italic;
}

.brand-dot {
  color: var(--terracotta);
}

.hero__lede {
  max-width: 44ch;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.14rem);
  line-height: 1.72;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.hero__foot {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 46px;
  color: var(--muted);
  font-size: 9.5px;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero__foot-line {
  width: 38px;
  height: 1px;
  background: var(--line);
  flex: none;
}

.hero__media {
  margin: 0;
}

.hero__image {
  aspect-ratio: 4 / 5;
  max-height: min(78vh, 790px);
  overflow: hidden;
  background: var(--oat);
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__caption {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-top: 14px;
  color: var(--muted);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__caption-index {
  color: var(--terracotta);
}

/* ==========================================================================
   Section structure
   ========================================================================== */

.section {
  padding-block: var(--section);
}

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

.section--products {
  padding-block: clamp(64px, 7vw, 104px);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: clamp(34px, 4vw, 58px);
}

.section-head--split {
  align-items: flex-start;
}

.section-head__title {
  max-width: 720px;
}

.section-head__title h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 3.7vw, 3.5rem);
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.section-head__aside {
  display: flex;
  max-width: 360px;
  padding-top: 6px;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  flex: none;
}

.section-head__lede {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.72;
}

/* ==========================================================================
   Categories
   ========================================================================== */

.section--categories {
  padding-top: clamp(44px, 5vw, 72px);
  padding-bottom: clamp(56px, 6.5vw, 96px);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
}

.category-card {
  display: block;
  min-width: 0;
}

.category-card__media {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--oat);
}

.category-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.category-card:hover .category-card__media img {
  transform: scale(1.035);
}

.category-card__body {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 0 14px;
  border-bottom: 1px solid var(--line);
}

.category-card__name {
  font-family: var(--serif);
  font-size: clamp(1.12rem, 1.45vw, 1.42rem);
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.category-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}

.category-card__link .icon {
  width: 13px;
  height: 13px;
  transition: transform 0.35s var(--ease);
}

.category-card:hover .category-card__link {
  color: var(--ink);
}

.category-card:hover .category-card__link .icon {
  transform: translateX(3px);
}

/* ==========================================================================
   Product cards & grids
   ========================================================================== */

.product-grid {
  display: grid;
  gap: clamp(22px, 2.8vw, 38px) clamp(14px, 2vw, 24px);
}

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

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

.product-card {
  position: relative;
  min-width: 0;
}

.product-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--oat);
}

.product-card__image-link {
  display: block;
  width: 100%;
  height: 100%;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.05s var(--ease);
}

.product-card:hover .product-card__media img,
.product-card:focus-within .product-card__media img {
  transform: scale(1.035);
}

.quick-add {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  height: 38px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 14px 0 11px;
  border: 1px solid rgba(38, 41, 35, 0.1);
  border-radius: 999px;
  background: rgba(250, 248, 243, 0.95);
  color: var(--ink);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background-color 0.25s, color 0.25s;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.quick-add .icon {
  width: 15px;
  height: 15px;
}

.quick-add__text {
  font-size: 8.5px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.product-card:hover .quick-add,
.quick-add:focus-visible {
  opacity: 1;
  transform: none;
}

.quick-add:hover {
  background: var(--ivory);
}

.quick-add.is-added {
  background: var(--forest);
  color: var(--ivory);
}

.product-card__info {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-top: 14px;
}

.product-card__text {
  min-width: 0;
}

.product-card__name {
  font-family: var(--serif);
  font-size: clamp(1.02rem, 1.35vw, 1.24rem);
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.product-card__name a:hover {
  text-decoration: underline;
  text-decoration-thickness: 0.5px;
  text-underline-offset: 4px;
}

.product-card__price {
  flex: none;
  padding-top: 4px;
  font-size: 12px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.swatch-dots {
  display: flex;
  gap: 5px;
  margin-top: 8px;
}

.swatch-dot {
  width: 7px;
  height: 7px;
  border: 1px solid rgba(38, 41, 35, 0.16);
  border-radius: 50%;
  background: var(--swatch);
}

/* ==========================================================================
   Brand story
   ========================================================================== */

.story {
  padding-block: clamp(64px, 7.5vw, 112px);
}

.story__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: clamp(42px, 6.5vw, 104px);
}

.story__media {
  margin: 0;
}

.story__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.story__media figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  color: var(--muted);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.story__caption-mark {
  width: 18px;
  height: 1px;
  background: var(--terracotta);
}

.story__content {
  max-width: 530px;
}

.story__content h2 {
  margin: 14px 0 24px;
  font-size: clamp(2.4rem, 4vw, 3.9rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.story__lede {
  margin-bottom: 16px;
  font-size: clamp(1.08rem, 1.35vw, 1.18rem);
  line-height: 1.62;
}

.story__content > p:not(.story__lede):not(.eyebrow) {
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.78;
}

.principles {
  margin: 0 0 32px;
  border-top: 1px solid var(--line);
}

.principles li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.principles h3 {
  margin-bottom: 4px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.principles p {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.principles__num {
  padding-top: 3px;
  color: var(--terracotta);
  font-size: 9px;
  letter-spacing: 0.1em;
}

/* ==========================================================================
   Journal cards
   ========================================================================== */

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3.2vw, 44px);
}

.journal-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.journal-card__media {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--oat);
}

.journal-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.journal-card:hover .journal-card__media img {
  transform: scale(1.035);
}

.journal-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
}

.journal-card__meta span:first-child {
  color: var(--forest);
}

.journal-card__title {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: clamp(1.28rem, 1.8vw, 1.62rem);
  letter-spacing: -0.018em;
  line-height: 1.22;
}

.journal-card:hover .journal-card__title {
  text-decoration: underline;
  text-decoration-thickness: 0.5px;
  text-underline-offset: 4px;
}

.journal-card__excerpt {
  max-width: 42ch;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.68;
}

.journal-card__link {
  margin-top: 20px;
  align-self: flex-start;
  border-bottom-color: transparent;
}

.journal-card:hover .journal-card__link {
  border-bottom-color: var(--line);
}

/* ==========================================================================
   Newsletter
   ========================================================================== */

.newsletter {
  background: var(--forest);
  color: var(--ivory);
}

.newsletter__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 7vw, 104px);
  padding-block: clamp(64px, 8vw, 106px);
}

.newsletter__copy h2 {
  margin: 14px 0 20px;
  color: var(--ivory);
  font-size: clamp(2.35rem, 4.1vw, 3.85rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.newsletter__copy > p:not(.eyebrow) {
  max-width: 42ch;
  color: var(--ivory-72);
  font-size: 14px;
  line-height: 1.72;
}

.newsletter__signup {
  padding-left: clamp(24px, 4vw, 64px);
  border-left: 1px solid rgba(250, 248, 243, 0.18);
}

.newsletter-form__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(250, 248, 243, 0.45);
}

.newsletter-form input {
  min-width: 0;
  flex: 1;
  padding: 12px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ivory);
  font-size: 14px;
}

.newsletter-form input::placeholder {
  color: rgba(250, 248, 243, 0.5);
}

.newsletter-form .btn {
  min-height: 46px;
  flex: none;
  padding: 0 22px;
}

.newsletter-form__consent {
  max-width: 52ch;
  margin-top: 16px;
  color: rgba(250, 248, 243, 0.7);
  font-size: 10.5px;
  line-height: 1.65;
}

.newsletter-form__consent a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-status {
  min-height: 18px;
  margin-top: 10px;
  font-size: 11.5px;
  line-height: 1.55;
}

.form-status.is-error {
  color: #f3d0c2;
}

.form-status.is-success {
  color: #dce8d9;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding: clamp(56px, 7vw, 88px) 0 28px;
  background: var(--ink);
  color: var(--ivory);
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 0.8fr) minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
}

.footer__brand .wordmark {
  margin-bottom: 20px;
}

.footer__description {
  max-width: 30ch;
  margin-bottom: 26px;
  color: rgba(250, 248, 243, 0.58);
  font-size: 13px;
  line-height: 1.72;
}

.footer__heading {
  margin-bottom: 18px;
  color: rgba(250, 248, 243, 0.56);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
}

.footer__links li + li {
  margin-top: 10px;
}

.footer__links a {
  color: rgba(250, 248, 243, 0.72);
  font-size: 12.5px;
  line-height: 1.6;
  transition: color 0.25s var(--ease);
}

.footer__links a:hover {
  color: var(--ivory);
}

.social-list {
  display: flex;
  gap: 6px;
}

.social-list a {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.social-list a:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.site-footer .social-list a {
  border-color: rgba(250, 248, 243, 0.16);
  color: rgba(250, 248, 243, 0.68);
}

.site-footer .social-list a:hover {
  border-color: rgba(250, 248, 243, 0.4);
  color: var(--ivory);
}

.site-footer :focus-visible,
.newsletter :focus-visible,
.cta-band :focus-visible,
.toast :focus-visible {
  outline-color: var(--ivory);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(48px, 6vw, 70px);
  padding-top: 24px;
  border-top: 1px solid rgba(250, 248, 243, 0.12);
  color: rgba(250, 248, 243, 0.62);
  font-size: 9.5px;
  letter-spacing: 0.03em;
  line-height: 1.6;
}

.footer__demo {
  max-width: 360px;
  text-align: center;
}

.footer__top-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(250, 248, 243, 0.55);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.25s;
}

.footer__top-link:hover {
  color: var(--ivory);
}

.footer__top-link .icon {
  width: 13px;
  height: 13px;
}

/* ==========================================================================
   Page hero / collection
   ========================================================================== */

.page-hero {
  padding-block: clamp(46px, 6.5vw, 88px) clamp(34px, 4vw, 54px);
}

.collection-hero__inner {
  max-width: 900px;
  margin-inline: 0;
}

.collection-hero h1 {
  margin: 18px 0 0;
  font-size: clamp(2.8rem, 5.4vw, 5rem);
  letter-spacing: -0.04em;
  line-height: 0.99;
}

.collection-hero__lede {
  max-width: 52ch;
  margin-top: 24px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
}

.collection {
  padding-bottom: var(--section);
}

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.filter-pills {
  display: flex;
  min-width: 0;
  gap: 3px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.filter-pills::-webkit-scrollbar {
  display: none;
}

.filter-pill {
  padding: 10px 13px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.11em;
  line-height: 1.5;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

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

.filter-pill.is-active {
  border-color: var(--ink);
  color: var(--ink);
}

.filter-controls {
  display: flex;
  flex: none;
  align-items: center;
  gap: 18px;
}

.select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.select-wrap select {
  appearance: none;
  max-width: 100%;
  padding: 8px 22px 8px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 9.5px;
  letter-spacing: 0.09em;
  line-height: 1.5;
  text-transform: uppercase;
  cursor: pointer;
}

.select-wrap > .icon {
  position: absolute;
  right: 0;
  width: 13px;
  height: 13px;
  color: var(--muted);
  pointer-events: none;
}

.collection-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0 26px;
  color: var(--muted);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.filter-clear {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.filter-clear .icon {
  width: 11px;
  height: 11px;
}

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

.product-grid.is-updating {
  opacity: 0.35;
  transition: opacity 0.14s ease;
}

.shop-empty {
  padding: clamp(56px, 8vw, 96px) 0;
  text-align: center;
  border-top: 1px solid var(--line);
}

.shop-empty h2 {
  margin: 14px 0;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
}

.shop-empty > p:not(.eyebrow) {
  max-width: 42ch;
  margin: 0 auto 26px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.shop-empty .eyebrow {
  justify-content: center;
}

.collection-note {
  padding-block: clamp(48px, 6vw, 72px);
  background: var(--oat);
}

.collection-note__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px 48px;
}

.collection-note__inner > .eyebrow {
  grid-column: 1 / -1;
}

.collection-note__text {
  max-width: 54ch;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  letter-spacing: -0.015em;
  line-height: 1.45;
}

.collection-note__text a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   Product detail
   ========================================================================== */

.product-page {
  padding-bottom: clamp(56px, 8vw, 110px);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  padding-block: 20px 28px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.12em;
  line-height: 1.6;
  text-transform: uppercase;
}

.breadcrumbs a {
  transition: color 0.2s;
}

.breadcrumbs a:hover {
  color: var(--ink);
}

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

.product-page__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: start;
  gap: clamp(36px, 5.5vw, 88px);
}

.product-gallery {
  position: sticky;
  top: 108px;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
}

.product-gallery__thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-gallery__thumb {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid transparent;
  background: var(--oat);
  opacity: 0.6;
  transition: opacity 0.25s var(--ease), border-color 0.25s var(--ease);
}

.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery__thumb:hover {
  opacity: 0.9;
}

.product-gallery__thumb.is-active {
  border-color: var(--ink);
  opacity: 1;
}

.product-gallery__main {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--oat);
}

.product-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.22s var(--ease);
}

.product-gallery__main.is-changing img {
  opacity: 0.35;
}

.product-info {
  min-width: 0;
  max-width: 520px;
  padding-top: 4px;
}

.product-info__title {
  margin: 14px 0 16px;
  font-size: clamp(2.55rem, 4.4vw, 4.1rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.product-info__price {
  margin-bottom: 22px;
  font-size: 13.5px;
  letter-spacing: 0.02em;
}

.product-info__short {
  max-width: 44ch;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.72;
}

.option-group {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.option-group__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 13px;
}

.option-group__label {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.option-group__value {
  color: var(--muted);
  font-size: 10.5px;
}

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.swatch {
  display: grid;
  width: 30px;
  height: 30px;
  padding: 3px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.swatch span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--swatch);
}

.swatch:hover {
  border-color: var(--muted);
}

.swatch.is-selected {
  border-color: var(--ink);
}

.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.size-option {
  min-width: 58px;
  height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: border-color 0.25s, color 0.25s, background-color 0.25s;
}

.size-option:hover {
  border-color: var(--muted);
  color: var(--ink);
}

.size-option.is-selected {
  border-color: var(--ink);
  background: rgba(38, 41, 35, 0.03);
  color: var(--ink);
}

.product-buy {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-top: 26px;
}

.qty {
  display: inline-flex;
  height: 54px;
  flex: none;
  align-items: center;
  border: 1px solid var(--line);
}

.qty button {
  display: grid;
  width: 38px;
  height: 100%;
  place-items: center;
  color: var(--muted);
  transition: color 0.2s;
}

.qty button:hover:not(:disabled) {
  color: var(--ink);
}

.qty button:disabled {
  opacity: 0.3;
}

.qty button .icon {
  width: 14px;
  height: 14px;
}

.qty__value {
  min-width: 26px;
  text-align: center;
  font-size: 11.5px;
}

.product-buy__button {
  min-height: 54px;
  flex: 1;
  padding: 0 16px;
}

.product-info__note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.7;
}

.product-info__note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.accordions {
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

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

.accordion summary {
  display: flex;
  cursor: pointer;
  list-style: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 0;
  font-size: 9.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion__icon {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  transition: transform 0.3s var(--ease);
}

.accordion__icon .icon {
  width: 13px;
  height: 13px;
}

.accordion[open] .accordion__icon {
  transform: rotate(45deg);
}

.accordion__body {
  max-width: 46ch;
  padding: 0 0 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.accordion__body p {
  margin-bottom: 8px;
}

.accordion__body a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.detail-list li {
  position: relative;
  padding-left: 16px;
}

.detail-list li + li {
  margin-top: 6px;
}

.detail-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 5px;
  height: 1px;
  background: var(--terracotta);
}

.section--related {
  padding-block: var(--section);
}

/* ==========================================================================
   About
   ========================================================================== */

.about-hero {
  padding-block: clamp(28px, 4vw, 54px) clamp(64px, 8vw, 112px);
}

.about-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 7vw, 104px);
}

.about-hero__content {
  max-width: 600px;
}

.about-hero__content h1 {
  margin: 20px 0 28px;
  font-size: clamp(2.9rem, 5.5vw, 5.35rem);
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.about-hero__lede {
  max-width: 46ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.75;
}

.about-hero__foot {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 44px;
  color: var(--muted);
  font-size: 9.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.about-hero__footline {
  width: 38px;
  height: 1px;
  background: var(--line);
}

.about-hero__media {
  margin: 0;
}

.about-hero__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-hero__media figcaption {
  padding-top: 12px;
  color: var(--muted);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-manifesto {
  padding-block: clamp(72px, 9vw, 120px);
}

.about-manifesto__inner {
  max-width: 960px;
  margin-inline: auto;
  text-align: center;
}

.about-manifesto .eyebrow {
  justify-content: center;
}

.about-manifesto__statement {
  margin-top: 22px;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.35vw, 3rem);
  letter-spacing: -0.025em;
  line-height: 1.24;
  text-wrap: balance;
}

.about-split {
  padding-block: var(--section);
}

.about-split__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: clamp(48px, 7vw, 112px);
}

.about-split__media {
  position: relative;
  min-width: 0;
  padding-bottom: 54px;
}

.about-split__main {
  margin: 0;
}

.about-split__main img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-split__inset {
  position: absolute;
  right: -26px;
  bottom: 0;
  width: 33%;
  margin: 0;
  box-shadow: 10px 10px 0 var(--ivory);
}

.about-split__inset img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-split__content {
  max-width: 530px;
}

.about-split__content h2 {
  margin: 14px 0 24px;
  font-size: clamp(2.25rem, 3.8vw, 3.6rem);
  letter-spacing: -0.035em;
  line-height: 1.03;
}

.about-split__lede {
  margin-bottom: 18px;
  font-size: clamp(1.06rem, 1.3vw, 1.14rem);
  line-height: 1.66;
}

.about-split__content > p:not(.eyebrow):not(.about-split__lede) {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.78;
}

.about-split__content .link-arrow {
  margin-top: 14px;
}

.about-principles {
  padding-block: var(--section);
  border-top: 1px solid var(--line);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
}

.principles-grid li {
  padding-top: 22px;
  border-top: 1px solid var(--ink);
}

.principles-grid__num {
  color: var(--terracotta);
  font-size: 9.5px;
  letter-spacing: 0.11em;
}

.principles-grid h3 {
  max-width: 12ch;
  margin: 18px 0 14px;
  font-size: clamp(1.38rem, 2vw, 1.8rem);
  line-height: 1.18;
}

.principles-grid p {
  max-width: 36ch;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.about-gallery {
  padding-bottom: var(--section);
}

.about-gallery__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  align-items: end;
  gap: clamp(16px, 2.5vw, 32px);
}

.about-gallery figure {
  margin: 0;
}

.about-gallery__wide img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-gallery__tall img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-gallery figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.about-quote {
  padding-block: clamp(64px, 8vw, 110px);
  background: var(--oat);
}

.about-quote__inner {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.about-quote__mark {
  height: 34px;
  color: var(--terracotta);
  font-family: var(--serif);
  font-size: 5.4rem;
  line-height: 0.8;
}

.about-quote blockquote {
  margin: 28px 0 22px;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3.2vw, 2.8rem);
  letter-spacing: -0.025em;
  line-height: 1.26;
  text-wrap: balance;
}

.about-quote__credit {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cta-band {
  padding-block: clamp(56px, 7vw, 96px);
  background: var(--forest);
  color: var(--ivory);
}

.cta-band__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.cta-band h2 {
  margin-top: 16px;
  color: var(--ivory);
  font-size: clamp(2.35rem, 4.4vw, 4.1rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

/* ==========================================================================
   Journal page
   ========================================================================== */

.journal-hero {
  padding-block: clamp(46px, 6.5vw, 92px) clamp(38px, 4.5vw, 56px);
}

.journal-hero__inner {
  max-width: 920px;
  margin-inline: 0;
}

.journal-hero h1 {
  margin: 20px 0 24px;
  font-size: clamp(2.9rem, 5.8vw, 5.6rem);
  letter-spacing: -0.04em;
  line-height: 0.97;
}

.journal-hero__lede {
  max-width: 46ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  line-height: 1.72;
}

.journal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.journal-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.25s;
}

.journal-nav a:hover {
  color: var(--ink);
}

.journal-nav span {
  color: var(--terracotta);
}

.journal-feature {
  padding-bottom: var(--section);
}

.journal-feature__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(40px, 7vw, 104px);
}

.journal-feature__media {
  margin: 0;
}

.journal-feature__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.journal-feature__content {
  max-width: 530px;
}

.journal-feature__content h2 {
  margin: 16px 0 24px;
  font-size: clamp(2.15rem, 3.8vw, 3.55rem);
  letter-spacing: -0.035em;
  line-height: 1.03;
}

.journal-feature__lede {
  margin-bottom: 18px;
  font-size: clamp(1.06rem, 1.3vw, 1.16rem);
  line-height: 1.64;
}

.journal-feature__content > p:not(.eyebrow):not(.journal-feature__lede) {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.78;
}

.section--journal-index {
  padding-block: var(--section);
  background: var(--oat);
}

.journal-articles {
  padding-bottom: var(--section);
}

.journal-article {
  padding-block: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--line);
  scroll-margin-top: 96px;
}

.journal-article__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.journal-article__index {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.journal-article__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: start;
  gap: clamp(40px, 7vw, 104px);
}

.journal-article__aside h2 {
  margin-bottom: 28px;
  font-size: clamp(2rem, 3.4vw, 3.15rem);
  letter-spacing: -0.035em;
  line-height: 1.03;
}

.journal-article__aside figure {
  margin: 0;
}

.journal-article__aside img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.journal-article__body {
  max-width: 600px;
}

.journal-article__lede {
  margin-bottom: 22px;
  font-family: var(--serif);
  font-size: clamp(1.22rem, 1.7vw, 1.45rem);
  letter-spacing: -0.015em;
  line-height: 1.42;
}

.journal-article__body p:not(.journal-article__lede) {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.82;
}

.article-tips {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.article-tips h3 {
  margin-bottom: 14px;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.article-tips ul {
  display: grid;
  gap: 8px;
}

.article-tips li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.article-tips li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 1px;
  background: var(--terracotta);
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-page {
  padding-block: clamp(48px, 6.5vw, 92px) clamp(64px, 8vw, 112px);
}

.contact-page__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: start;
  gap: clamp(48px, 7vw, 124px);
}

.contact-page__intro {
  max-width: 480px;
}

.contact-page h1 {
  margin: 18px 0 24px;
  font-size: clamp(3rem, 5.6vw, 5.35rem);
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.contact-page__lede {
  max-width: 40ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  line-height: 1.74;
}

.contact-details {
  margin-top: 46px;
  border-top: 1px solid var(--line);
}

.contact-detail {
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}

.contact-detail__label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-detail a {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.8vw, 1.5rem);
  letter-spacing: -0.015em;
}

.contact-detail a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-detail p {
  max-width: 40ch;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.72;
}

.contact-links {
  margin-top: 38px;
}

.contact-links ul {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 11.5px;
  transition: color 0.25s;
}

.contact-links a:hover {
  color: var(--ink);
}

.contact-links .icon {
  width: 12px;
  height: 12px;
}

.contact-page__form {
  padding-top: 4px;
}

.contact-form__intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--ink);
}

.contact-form__intro > p:last-child {
  max-width: 30ch;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
  text-align: right;
}

.contact-form {
  padding-top: 26px;
}

.field {
  margin-bottom: 22px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
  transition: border-color 0.2s;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--forest);
  background: #fff;
  box-shadow: 0 0 0 1px var(--forest);
}

.field textarea {
  min-height: 158px;
  resize: vertical;
}

.field.has-error input,
.field.has-error textarea,
.field.has-error select {
  border-color: #a34b3a;
}

.field__error {
  margin-top: 6px;
  color: #a34b3a;
  font-size: 11px;
  line-height: 1.5;
}

.select-wrap--field {
  position: relative;
  display: block;
}

.select-wrap--field select {
  appearance: none;
  padding-right: 40px;
  cursor: pointer;
}

.select-wrap--field > .icon {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 14px;
  height: 14px;
  color: var(--muted);
  pointer-events: none;
  transform: translateY(-50%);
}

.contact-form__footer {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 6px;
}

.contact-form__privacy {
  max-width: 32ch;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.62;
}

.contact-form__privacy a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-success {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  background: var(--oat);
}

.form-success__icon {
  display: grid;
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--forest);
  color: var(--ivory);
}

.form-success h2 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 2.6vw, 2.2rem);
}

.form-success p {
  max-width: 44ch;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.72;
}

.form-success__demo {
  font-size: 10.5px !important;
  opacity: 0.8;
}

.form-success .link-arrow {
  margin-top: 16px;
}

.contact-footnote {
  padding-block: clamp(40px, 5vw, 64px);
  background: var(--oat);
}

.contact-footnote__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.contact-footnote__inner > p:last-child {
  max-width: 52ch;
  font-family: var(--serif);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  letter-spacing: -0.015em;
  line-height: 1.45;
}

/* ==========================================================================
   Bag
   ========================================================================== */

.bag-page {
  padding-block: clamp(46px, 6vw, 80px) clamp(72px, 9vw, 122px);
}

.bag-page__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.bag-page h1 {
  margin-top: 14px;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.bag-page__count {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bag-empty {
  padding-block: clamp(64px, 9vw, 118px);
  text-align: center;
}

.bag-empty__inner {
  max-width: 540px;
  margin-inline: auto;
}

.bag-empty__mark {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 0 auto 28px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--forest);
}

.bag-empty__mark .icon {
  width: 25px;
  height: 25px;
}

.bag-empty h2 {
  margin-bottom: 14px;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
}

.bag-empty p {
  max-width: 42ch;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.bag-empty__categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 24px;
  margin-top: 32px;
}

.bag-empty__categories a {
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.bag-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(310px, 0.75fr);
  align-items: start;
  gap: clamp(40px, 6vw, 88px);
  padding-top: 8px;
}

.bag-items {
  min-width: 0;
}

.bag-item {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.bag-item__media {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--oat);
}

.bag-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bag-item__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.bag-item__name {
  font-family: var(--serif);
  font-size: clamp(1.18rem, 1.5vw, 1.36rem);
  letter-spacing: -0.015em;
  line-height: 1.24;
}

.bag-item__name a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.bag-item__variant {
  margin-top: 7px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.bag-item__price {
  flex: none;
  font-size: 12.5px;
  white-space: nowrap;
}

.bag-item__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
}

.bag-item .qty {
  height: 40px;
}

.bag-item .qty button {
  width: 32px;
}

.bag-item__remove {
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s, border-color 0.2s;
}

.bag-item__remove:hover {
  border-color: #a34b3a;
  color: #a34b3a;
}

.order-summary {
  position: sticky;
  top: 108px;
  padding: clamp(24px, 3vw, 36px);
  background: var(--oat);
}

.order-summary h2 {
  margin-bottom: 24px;
  font-size: clamp(1.5rem, 2vw, 1.7rem);
}

.order-summary__rows > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  color: var(--muted);
  font-size: 12px;
}

.order-summary__rows dd {
  margin: 0;
  color: var(--ink);
}

.order-summary__total {
  margin-top: 10px;
  padding-top: 17px !important;
  border-top: 1px solid var(--line);
  color: var(--ink) !important;
  font-size: 12.5px !important;
}

.order-summary__total dd {
  font-size: 16px;
}

.order-summary .btn {
  margin-top: 24px;
}

.order-summary__note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.order-summary__note .icon {
  width: 13px;
  height: 13px;
  margin-top: 1px;
  color: var(--forest);
}

.order-summary__continue {
  margin-top: 20px;
  font-size: 9px;
}

.order-summary__help {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10.5px;
}

.order-summary__help a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: var(--ink);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.order-summary__help .icon {
  width: 12px;
  height: 12px;
}

.bag-recommendations {
  margin-top: clamp(64px, 8vw, 112px);
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

/* ==========================================================================
   Policies
   ========================================================================== */

.policies-hero {
  padding-block: clamp(46px, 6.5vw, 88px) clamp(36px, 4vw, 56px);
}

.policies-hero h1 {
  margin: 18px 0 22px;
  font-size: clamp(2.8rem, 5.2vw, 4.8rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.policies-hero__lede {
  max-width: 48ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.policies-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 720px);
  gap: clamp(40px, 8vw, 124px);
  padding-bottom: var(--section);
}

.policies-nav {
  position: sticky;
  top: 108px;
  align-self: start;
}

.policies-nav nav {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.policies-nav a {
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.6;
  transition: color 0.25s;
}

.policies-nav a:hover {
  color: var(--ink);
}

.policies-demo {
  margin-bottom: 44px;
  padding: 20px 22px;
  background: var(--oat);
}

.policies-demo p {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.72;
}

.prose section {
  margin-bottom: 46px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 96px;
}

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

.prose h2 {
  margin-bottom: 18px;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.prose p {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.85;
}

.prose a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   Mobile menu dialog
   ========================================================================== */

.mobile-menu {
  width: 100%;
  max-width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--ivory);
  color: var(--ink);
}

.mobile-menu::backdrop {
  background: rgba(38, 41, 35, 0.35);
}

.mobile-menu__inner {
  display: flex;
  height: 100%;
  padding: 18px var(--gutter) 28px;
  flex-direction: column;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.35s var(--ease);
}

.mobile-menu.is-open .mobile-menu__inner {
  opacity: 1;
  transform: none;
}

.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  padding-top: 8px;
}

.mobile-menu__nav a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(1.75rem, 6vw, 2.4rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.mobile-menu__nav a .icon {
  width: 20px;
  height: 20px;
  margin-left: auto;
  color: var(--muted);
  transition: transform 0.25s var(--ease);
}

.mobile-menu__nav a:hover .icon {
  transform: translateX(4px);
}

.mobile-menu__num {
  width: 26px;
  flex: none;
  color: var(--terracotta);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.mobile-menu__search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--ink);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mobile-menu__search .icon {
  width: 16px;
  height: 16px;
}

.mobile-menu__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 28px;
}

.mobile-menu__email {
  display: inline-block;
  margin-top: 8px;
  font-size: 13.5px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   Search dialog
   ========================================================================== */

.search-dialog {
  width: 100%;
  max-width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--ivory);
  color: var(--ink);
}

.search-dialog::backdrop {
  background: rgba(38, 41, 35, 0.35);
}

.search-dialog__panel {
  display: flex;
  height: 100%;
  max-width: 1080px;
  margin-inline: auto;
  padding: 26px var(--gutter) 32px;
  flex-direction: column;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.28s var(--ease), transform 0.32s var(--ease);
}

.search-dialog.is-open .search-dialog__panel {
  opacity: 1;
  transform: none;
}

.search-dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.search-form {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid var(--ink);
}

.search-form > .icon {
  width: 25px;
  height: 25px;
  color: var(--muted);
}

.search-form input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.search-form input::placeholder {
  color: var(--muted-light);
}

.search-dialog__body {
  flex: 1;
  padding-top: 30px;
  overflow-y: auto;
}

.search-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.search-chips button {
  min-height: 38px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: border-color 0.2s, color 0.2s;
}

.search-chips button:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.search-hint {
  max-width: 42ch;
  margin-top: 24px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}

.search-results__count {
  padding-bottom: 12px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.search-results__list {
  border-top: 1px solid var(--line);
}

.search-result {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.search-result__media {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--oat);
}

.search-result__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-result__name {
  display: block;
  font-family: var(--serif);
  font-size: 1.08rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.search-result:hover .search-result__name {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.search-result__meta {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 8.5px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.search-result__price {
  font-size: 11.5px;
}

.search-empty {
  padding: 28px 0;
}

.search-empty .eyebrow {
  margin-bottom: 8px;
}

.search-empty p:not(.eyebrow) {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

.search-empty a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   Demo dialog
   ========================================================================== */

.demo-dialog {
  width: calc(100% - 32px);
  max-width: 540px;
  margin: auto;
  padding: 0;
  border: 0;
  background: var(--ivory);
  color: var(--ink);
}

.demo-dialog::backdrop {
  background: rgba(38, 41, 35, 0.52);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.demo-dialog__inner {
  padding: clamp(28px, 5vw, 48px);
}

.demo-dialog h2 {
  margin: 13px 0 16px;
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.demo-dialog p:not(.eyebrow) {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
}

.demo-dialog__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 24px;
  margin-top: 28px;
}

/* ==========================================================================
   Toast
   ========================================================================== */

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 300;
  display: flex;
  max-width: min(420px, calc(100vw - 32px));
  align-items: center;
  gap: 11px;
  padding: 13px 16px;
  background: var(--ink);
  color: var(--ivory);
  box-shadow: 0 12px 34px rgba(20, 22, 18, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.toast__icon {
  display: grid;
  width: 22px;
  height: 22px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: rgba(250, 248, 243, 0.14);
  color: #cfe0cc;
}

.toast__icon .icon {
  width: 12px;
  height: 12px;
}

.toast__message {
  font-size: 11.5px;
  line-height: 1.5;
}

.toast__link {
  margin-left: 8px;
  flex: none;
  padding-bottom: 1px;
  border-bottom: 1px solid rgba(250, 248, 243, 0.4);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ==========================================================================
   Motion
   ========================================================================== */

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

html.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1180px) {
  .primary-nav {
    gap: 22px;
  }

  .hero__inner {
    gap: 42px;
  }

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

@media (max-width: 1023px) {
  :root {
    --header-h: 66px;
  }

  .menu-toggle {
    display: flex;
    justify-self: start;
  }

  .header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }

  .site-header .wordmark {
    position: absolute;
    left: 50%;
    justify-self: center;
    transform: translateX(-50%);
  }

  .primary-nav {
    display: none;
  }

  .header__actions {
    grid-column: 3;
    justify-self: end;
    margin-left: 0;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 34px;
  }

  .hero__title {
    font-size: clamp(2.9rem, 5.6vw, 4.4rem);
  }

  .product-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 16px;
  }

  .product-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 16px;
  }

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

  .product-page__layout {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 32px;
  }

  .product-gallery {
    grid-template-columns: 62px minmax(0, 1fr);
    position: static;
  }

  .product-info__title {
    font-size: clamp(2.3rem, 4.2vw, 3.2rem);
  }

  .about-hero__inner,
  .about-split__inner {
    gap: 48px;
  }

  .about-gallery__inner {
    gap: 18px;
  }

  .contact-page__inner {
    gap: 52px;
  }
}

@media (max-width: 900px) {
  :root {
    --section: clamp(64px, 10vw, 96px);
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .section-head__aside {
    max-width: 520px;
    padding-top: 0;
  }

  .section-head--split .section-head__aside {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    max-width: none;
    width: 100%;
    gap: 32px;
  }

  .section-head--split .section-head__aside .link-arrow {
    flex: none;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .hero__content {
    max-width: 640px;
    padding-block: 8px 0;
  }

  .hero__title {
    font-size: clamp(3rem, 9vw, 4.5rem);
    margin: 20px 0 24px;
  }

  .hero__media {
    max-width: 640px;
  }

  .hero__image {
    aspect-ratio: 4 / 5;
    max-height: 620px;
  }

  .hero__actions {
    gap: 22px;
  }

  .hero__foot {
    margin-top: 30px;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 14px;
  }

  .category-card__body {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-top: 12px;
  }

  .category-card__name {
    font-size: 1.08rem;
  }

  .category-card__link {
    font-size: 8.5px;
  }

  .story {
  padding-block: clamp(64px, 7.5vw, 112px);
}

.story__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .story__media {
    max-width: 720px;
  }

  .story__content {
    max-width: 620px;
  }

  .journal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 16px;
  }

  .newsletter__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .newsletter__signup {
    max-width: 600px;
    padding-left: 0;
    border-left: 0;
  }

  .footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 32px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__bottom {
    flex-wrap: wrap;
    gap: 12px 24px;
  }

  .footer__demo {
    order: 3;
    width: 100%;
    max-width: none;
    text-align: left;
  }

  .about-hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .about-hero__content {
    max-width: 640px;
  }

  .about-hero__media {
    max-width: 640px;
  }

  .about-hero__media img {
    aspect-ratio: 4 / 5;
    max-height: 640px;
  }

  .about-split__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .about-split__media {
    max-width: 720px;
  }

  .about-split__content {
    max-width: 620px;
  }

  .principles-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .principles-grid li {
    padding: 24px 0;
    border-top: 1px solid var(--line);
  }

  .principles-grid li:first-child {
    border-top-color: var(--ink);
  }

  .principles-grid h3 {
    max-width: none;
    margin: 12px 0 10px;
  }

  .principles-grid p {
    max-width: 52ch;
  }

  .about-gallery__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .about-gallery__tall {
    max-width: 520px;
  }

  .cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .journal-feature__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .journal-feature__media {
    max-width: 640px;
  }

  .journal-feature__content {
    max-width: 640px;
  }

  .journal-article__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .journal-article__aside {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    align-items: start;
    gap: 28px;
  }

  .journal-article__aside h2 {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  .journal-article__body {
    max-width: 640px;
  }

  .contact-page__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 52px;
  }

  .contact-page__intro {
    max-width: 640px;
  }

  .contact-page__form {
    max-width: 640px;
  }

  .bag-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .order-summary {
    position: static;
    max-width: 520px;
  }

  .policies-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .policies-nav {
    position: static;
  }

  .policies-nav nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
  }

  .collection-note__inner {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 18px;
  }

  .collection-note__inner > .eyebrow {
    grid-column: 1;
  }
}

@media (max-width: 720px) {
  .product-page__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .product-gallery {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .product-gallery__main {
    order: 1;
    aspect-ratio: 4 / 5;
  }

  .product-gallery__thumbs {
    order: 2;
    flex-direction: row;
    gap: 8px;
  }

  .product-gallery__thumb {
    width: 64px;
    flex: none;
  }

  .product-info {
    max-width: none;
  }

  .product-info__title {
    font-size: clamp(2.4rem, 8vw, 3.2rem);
  }

  .product-info__short {
    font-size: 14px;
  }

  .product-buy {
    gap: 10px;
  }

  .qty {
    height: 52px;
  }

  .qty button {
    width: 34px;
  }

  .product-buy__button {
    min-height: 52px;
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  .filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-block: 10px;
  }

  .filter-pills {
    flex-wrap: wrap;
    overflow-x: visible;
    padding-bottom: 2px;
  }

  .filter-pill {
    min-height: 40px;
    padding: 10px 11px;
  }

  .filter-controls {
    justify-content: space-between;
    gap: 12px;
    padding-top: 4px;
  }

  .select-wrap {
    flex: 1;
  }

  .select-wrap select {
    width: 100%;
  }

  .collection-meta {
    padding: 16px 0 22px;
  }

  .journal-article__aside {
    display: block;
  }

  .journal-article__aside h2 {
    margin-bottom: 24px;
  }

  .about-split__inset {
    position: static;
    width: 46%;
    margin-top: -20%;
    margin-left: auto;
    box-shadow: 6px 6px 0 var(--ivory);
  }

  .about-split__media {
    padding-bottom: 0;
  }

  .contact-form__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .contact-form__footer .btn {
    width: 100%;
  }

  .field input,
  .field textarea,
  .field select {
    font-size: 16px;
  }

  .qty button {
    width: 40px;
  }

  .bag-item .qty {
    height: 44px;
  }

  .bag-item .qty button {
    width: 38px;
  }

  .contact-form__intro {
    flex-direction: column;
    gap: 10px;
  }

  .contact-form__intro > p:last-child {
    text-align: left;
  }

  .contact-footnote__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .journal-article__head {
    align-items: flex-start;
  }

  .journal-article__index {
    white-space: nowrap;
  }

  .bag-item {
    grid-template-columns: 98px minmax(0, 1fr);
    gap: 18px;
    padding: 22px 0;
  }

  .bag-item__top {
    flex-direction: column;
    gap: 6px;
  }

  .bag-item__price {
    margin-top: 2px;
  }

  .bag-item__bottom {
    margin-top: 16px;
  }

  .bag-page__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .toast {
    right: 16px;
    bottom: 16px;
    left: 16px;
    max-width: none;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer__demo {
    order: 0;
  }

  .footer__top-link {
    order: 4;
  }
}

@media (max-width: 560px) {
  .announcement__dot {
    display: none;
  }

  .announcement__inner {
    padding-inline: 18px;
  }

  .announcement p {
    font-size: 8.5px;
    letter-spacing: 0.14em;
  }

  .site-header .wordmark {
    font-size: 22px;
  }

  .site-header .wordmark__mark {
    width: 21px;
    height: 21px;
  }

  .header__actions {
    gap: 0;
  }

  .hero__title {
    font-size: clamp(2.75rem, 12vw, 3.5rem);
    letter-spacing: -0.045em;
  }

  .hero__lede {
    font-size: 15px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__actions .link-arrow {
    align-self: flex-start;
  }

  .hero__image {
    aspect-ratio: 4 / 5;
    max-height: 560px;
  }

  .hero__foot {
    font-size: 8.5px;
  }

  .section-head--split .section-head__aside {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .product-card__info {
    flex-direction: column;
    gap: 5px;
    padding-top: 11px;
  }

  .product-card__name {
    font-size: 0.98rem;
  }

  .product-card__price {
    padding-top: 0;
    font-size: 11px;
  }

  .quick-add {
    right: 9px;
    bottom: 9px;
    width: 38px;
    height: 38px;
    padding: 0;
    opacity: 1;
    transform: none;
  }

  .quick-add__text {
    display: none;
  }

  .journal-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .newsletter-form__row {
    flex-wrap: wrap;
    gap: 8px;
    border-bottom: 0;
    padding-bottom: 0;
  }

  .newsletter-form input {
    width: 100%;
    flex-basis: 100%;
    padding: 10px 0;
    border-bottom: 1px solid rgba(250, 248, 243, 0.45);
    font-size: 16px;
  }

  .newsletter-form .btn {
    width: 100%;
    margin-top: 8px;
  }

  .footer__top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 30px 24px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__heading {
    margin-bottom: 14px;
  }

  .footer__links a {
    font-size: 12px;
  }

  .about-hero__content h1 {
    font-size: clamp(2.7rem, 11.5vw, 3.5rem);
  }

  .about-hero__foot {
    margin-top: 30px;
    font-size: 8.5px;
  }

  .about-split__inset {
    width: 52%;
    margin-top: -16%;
  }

  .about-manifesto__statement {
    font-size: 1.65rem;
  }

  .about-quote blockquote {
    font-size: 1.65rem;
  }

  .cta-band__inner .btn {
    width: 100%;
  }

  .journal-hero h1 {
    font-size: clamp(2.7rem, 12vw, 3.5rem);
  }

  .journal-nav {
    gap: 10px 18px;
  }

  .contact-page h1 {
    font-size: clamp(2.8rem, 12vw, 3.6rem);
  }

  .contact-detail a {
    font-size: 1.22rem;
  }

  .bag-page h1 {
    font-size: 2.9rem;
  }

  .bag-empty__mark {
    width: 56px;
    height: 56px;
  }

  .order-summary {
    padding: 24px 20px;
  }

  .bag-item {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 14px;
  }

  .bag-item__bottom {
    flex-wrap: wrap;
    gap: 12px;
  }

  .search-dialog__panel {
    padding-top: 18px;
  }

  .search-form {
    gap: 12px;
    padding: 20px 0;
  }

  .search-form input {
    font-size: 1.45rem;
  }

  .search-form > .icon {
    width: 20px;
    height: 20px;
  }

  .search-result {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 13px;
  }

  .search-result__name {
    font-size: 1rem;
  }

  .search-chips button {
    padding: 9px 12px;
    font-size: 9px;
  }

  .toast {
    flex-wrap: wrap;
  }

  .toast__link {
    margin-left: 33px;
  }

  .demo-dialog__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

@media (max-width: 380px) {
  .site-header .wordmark {
    font-size: 20px;
    gap: 7px;
  }

  .site-header .wordmark__mark {
    width: 19px;
    height: 19px;
  }

  .header__actions .icon-btn,
  .header__actions .bag-link {
    width: 38px;
    height: 38px;
  }

  .hero__title {
    font-size: 2.6rem;
  }

  .product-info__title {
    font-size: 2.2rem;
  }

  .product-buy {
    flex-wrap: wrap;
  }

  .product-buy__button {
    flex-basis: 100%;
  }
}


/* ==========================================================================
   Not found
   ========================================================================== */

.not-found {
  padding-block: clamp(64px, 9vw, 118px) clamp(96px, 13vw, 170px);
}

.not-found__inner {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.not-found .eyebrow {
  justify-content: center;
}

.not-found h1 {
  margin: 18px 0 22px;
  font-size: clamp(2.8rem, 5.4vw, 5rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.not-found__lede {
  max-width: 44ch;
  margin: 0 auto 30px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.not-found__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

@media (max-width: 560px) {
  .not-found__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .not-found__actions .btn {
    width: 100%;
  }

  .not-found__actions .link-arrow {
    align-self: center;
  }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@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;
    scroll-behavior: auto !important;
  }

  html.js [data-reveal] {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .product-card:hover .product-card__media img,
  .category-card:hover .category-card__media img,
  .journal-card:hover .journal-card__media img {
    transform: none;
  }
}

/* ==========================================================================
   Print
   ========================================================================== */

@media print {
  .announcement,
  .site-header,
  .newsletter,
  .site-footer,
  .quick-add,
  .toast {
    display: none !important;
  }

  body {
    background: #fff;
  }
}
