/* METALLIC GIRAFFE — warm American toy shop */
:root {
  --forest: #244638;
  --forest-deep: #19352a;
  --cream: #fbf8f1;
  --paper: #fffdf8;
  --butter: #f5dea4;
  --butter-deep: #eecb76;
  --ink: #23332b;
  --muted: #657268;
  --line: #d9ddd4;
  --line-dark: #aebaae;
  --blush: #efe4d4;
  --terracotta: #b46b4c;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1280px;
  --radius: 6px;
  --radius-lg: 10px;
  --ease: 180ms ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { color: inherit; font: inherit; }
button, select { cursor: pointer; }
button { border: 0; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }

::selection { background: var(--butter); color: var(--forest-deep); }
:focus-visible {
  outline: 3px solid var(--butter-deep);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 11px 15px;
  transform: translateY(-150%);
  background: var(--butter);
  color: var(--forest-deep);
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform var(--ease);
}
.skip-link:focus { transform: translateY(0); }
.noscript-note {
  margin: 0;
  padding: 11px 5vw;
  background: var(--butter);
  color: var(--forest-deep);
  text-align: center;
  font-size: 14px;
}

.container {
  width: min(var(--container), 100%);
  margin-right: auto;
  margin-left: auto;
  padding-right: 5vw;
  padding-left: 5vw;
}
.section { padding-top: clamp(54px, 7vw, 100px); padding-bottom: clamp(54px, 7vw, 100px); }
.section--tight { padding-top: clamp(36px, 5vw, 70px); padding-bottom: clamp(36px, 5vw, 70px); }
.section--paper { background: var(--paper); }
.section--green { background: var(--forest); color: var(--cream); }

.announcement {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 7px 5vw;
  background: var(--forest);
  color: var(--cream);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .095em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.site-header {
  position: relative;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  align-items: center;
  gap: 24px;
  min-height: 91px;
  padding: 15px 5vw;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  color: var(--forest);
  line-height: 1;
}
.brand-icon { width: 27px; height: 35px; flex: 0 0 auto; }
.wordmark-text { display: grid; gap: 2px; }
.wordmark-text span {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .08em;
}
.wordmark-text span + span { font-size: 9px; letter-spacing: .23em; }
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-height: 44px;
  padding: 0;
  background: transparent;
  color: var(--forest);
}
.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  content: "";
  transition: transform var(--ease), opacity var(--ease);
}
.menu-toggle span { margin: 5px 0; }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-6.5px) rotate(-45deg); }
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(17px, 2.2vw, 36px);
}
.main-nav a,
.header-actions a {
  position: relative;
  padding: 9px 0;
  color: var(--forest);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .045em;
}
.main-nav a::after,
.header-actions a:not(.bag-link)::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--forest);
  content: "";
  transition: transform var(--ease);
}
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after,
.header-actions a:not(.bag-link):hover::after { transform: scaleX(1); }
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}
.bag-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 12px !important;
  border: 1px solid var(--forest);
  border-radius: var(--radius);
  white-space: nowrap;
}
.bag-link [data-bag-count] {
  display: inline-grid;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  place-items: center;
  background: var(--forest);
  color: var(--cream);
  border-radius: 999px;
  font-size: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid var(--forest);
  border-radius: var(--radius);
  background: var(--forest);
  color: var(--cream);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .025em;
  line-height: 1.2;
  text-align: center;
  transition: background var(--ease), border-color var(--ease), color var(--ease), transform var(--ease);
}
.button:hover { transform: translateY(-1px); background: var(--forest-deep); border-color: var(--forest-deep); }
.button.light { background: var(--cream); border-color: var(--cream); color: var(--forest); }
.button.light:hover { background: var(--butter); border-color: var(--butter); }
.button.secondary { background: transparent; color: var(--forest); }
.button.secondary:hover { background: var(--forest); color: var(--cream); }
.button.primary { background: var(--forest); color: var(--cream); }
.button[disabled], .button[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--forest);
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--butter-deep);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.text-link::after { content: "→"; transition: transform var(--ease); }
.text-link:hover::after { transform: translateX(3px); }
.section--green .text-link { color: var(--cream); }

.hero {
  position: relative;
  display: grid;
  min-height: min(690px, calc(100svh - 90px));
  overflow: hidden;
  background: var(--forest);
  color: white;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-copy {
  position: relative;
  z-index: 1;
  align-self: end;
  width: min(620px, 92vw);
  margin: clamp(42px, 8vw, 120px) 5vw;
  padding: clamp(24px, 3vw, 42px);
  background: rgba(25, 53, 42, .88);
  border-left: 5px solid var(--butter);
}
.eyebrow {
  margin-bottom: 10px;
  color: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .115em;
  line-height: 1.3;
  text-transform: uppercase;
}
.hero-copy .eyebrow { color: var(--butter); }
h1, h2, h3 { color: inherit; }
.hero h1 {
  max-width: 540px;
  font-family: var(--serif);
  font-size: clamp(31px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.07;
}
.hero-copy p {
  max-width: 470px;
  margin-top: 15px;
  color: rgba(255,255,255,.92);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.55;
}
.hero-copy .button { margin-top: 23px; }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 31px;
}
.section-heading h2,
.story-copy h2,
.wholesale-banner h2 {
  max-width: 690px;
  font-family: var(--serif);
  font-size: clamp(27px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.15;
}
.section-heading > p { max-width: 500px; color: var(--muted); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 30px);
}
.product-card { min-width: 0; }
.product-card > a { display: block; }
.product-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: #f8f7f2;
  border: 1px solid #ecece6;
}
.product-image-wrap img {
  width: 100%;
  height: 100%;
  padding: clamp(10px, 1.5vw, 18px);
  object-fit: contain;
  transition: transform 350ms ease;
}
.product-card:hover .product-image-wrap img { transform: scale(1.035); }
.product-card .card-info { padding-top: 14px; }
.card-info h3 {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.25;
}
.card-info .price {
  margin-top: 5px;
  color: var(--forest);
  font-size: 15px;
  font-weight: 700;
}
.product-badge {
  position: absolute;
  z-index: 1;
  top: 10px;
  left: 10px;
  padding: 5px 8px;
  background: var(--butter);
  color: var(--forest-deep);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}
.collection-card { display: block; min-width: 0; }
.collection-image {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--blush);
}
.collection-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}
.collection-card:hover .collection-image img { transform: scale(1.045); }
.collection-card h3 {
  margin-top: 15px;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.2;
}
.collection-card p { margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.45; }

.story-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  align-items: stretch;
  background: var(--paper);
}
.story-image { min-height: 460px; }
.story-image picture, .story-image img { width: 100%; height: 100%; }
.story-image img { object-fit: cover; }
.story-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(38px, 7vw, 90px);
}
.story-copy .eyebrow { color: var(--terracotta); }
.story-copy p { max-width: 460px; margin-top: 16px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.story-copy .button { margin-top: 26px; }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-item { padding: 28px clamp(18px, 4vw, 56px); }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item h3 { font-family: var(--serif); font-size: 19px; line-height: 1.2; }
.trust-item p { margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.5; }

.wholesale-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: clamp(32px, 5vw, 60px);
  background: var(--butter);
  color: var(--forest-deep);
}
.wholesale-banner h2 { max-width: 520px; }
.wholesale-banner p { max-width: 540px; margin-top: 10px; font-size: 16px; line-height: 1.55; }
.wholesale-banner .button { flex: 0 0 auto; }

.journal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 42px); }
.journal-card { min-width: 0; }
.journal-card > a:first-child { display: block; overflow: hidden; background: var(--blush); }
.journal-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 350ms ease; }
.journal-card:hover img { transform: scale(1.035); }
.journal-card .eyebrow { margin-top: 17px; margin-bottom: 8px; color: var(--terracotta); }
.journal-card h3 { font-family: var(--serif); font-size: 22px; line-height: 1.18; }
.journal-card p { margin-top: 9px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.journal-card .text-link { margin-top: 12px; }

.site-footer { background: var(--forest-deep); color: var(--cream); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: clamp(28px, 5vw, 80px);
  padding-top: clamp(50px, 7vw, 80px);
  padding-bottom: clamp(36px, 5vw, 60px);
}
.footer-brand .wordmark { color: var(--cream); }
.footer-brand > p { max-width: 300px; margin-top: 17px; color: rgba(251,248,241,.78); font-size: 14px; line-height: 1.6; }
.footer-column h2 { margin-bottom: 14px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.footer-column a, .footer-column p { display: block; padding: 4px 0; color: rgba(251,248,241,.78); font-size: 14px; line-height: 1.5; }
.footer-column a:hover { color: var(--butter); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 62px;
  border-top: 1px solid rgba(251,248,241,.22);
  color: rgba(251,248,241,.65);
  font-size: 12px;
}
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }

.page-intro { padding-top: clamp(48px, 7vw, 94px); padding-bottom: clamp(34px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-intro .eyebrow { color: var(--terracotta); }
.page-intro h1 {
  max-width: 800px;
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 36px);
  letter-spacing: -.025em;
  line-height: 1.12;
}
.page-intro p { max-width: 740px; margin-top: 15px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.breadcrumbs { padding-top: 18px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; color: var(--muted); font-size: 13px; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs li:not(:last-child)::after { color: var(--line-dark); content: "/"; }
.breadcrumbs a:hover { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }

.catalog-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 23px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.catalog-search { flex: 1 1 300px; max-width: 470px; }
.catalog-search label, .sort-control label { display: block; margin-bottom: 7px; color: var(--forest); font-size: 12px; font-weight: 800; }
.catalog-search input, .sort-control select,
.form-field input, .form-field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 10px 12px;
  font-size: 15px;
}
.catalog-search input::placeholder, .form-field input::placeholder, .form-field textarea::placeholder { color: #859087; }
.catalog-search input:focus, .sort-control select:focus, .form-field input:focus, .form-field textarea:focus { outline: 2px solid var(--butter-deep); outline-offset: 2px; border-color: var(--forest); }
.sort-control { flex: 0 0 min(230px, 100%); }
.sort-control select { appearance: auto; }
.filter-nav { margin-bottom: 28px; }
.filter-nav ul { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; }
.filter-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--forest);
  font-size: 13px;
  font-weight: 700;
}
.filter-nav a:hover, .filter-nav a.active, .filter-nav a[aria-current="page"] { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.pagination { display: flex; justify-content: center; gap: 7px; margin-top: clamp(35px, 5vw, 60px); }
.pagination a { display: inline-grid; min-width: 42px; min-height: 42px; place-items: center; padding: 5px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--forest); font-size: 13px; font-weight: 800; }
.pagination a:hover, .pagination a.active, .pagination a[aria-current="page"] { background: var(--forest); border-color: var(--forest); color: var(--cream); }

.product-detail { display: grid; grid-template-columns: minmax(0, 55fr) minmax(330px, 45fr); gap: clamp(32px, 6vw, 88px); padding-top: clamp(36px, 5vw, 68px); padding-bottom: clamp(60px, 8vw, 108px); }
.product-gallery { min-width: 0; }
.main-product-image { position: relative; aspect-ratio: 1 / 1; background: #f8f7f2; border: 1px solid #ecece6; }
.main-product-image img { width: 100%; height: 100%; padding: clamp(16px, 3vw, 40px); object-fit: contain; }
.gallery-controls { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 13px; }
.gallery-controls button { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 7px 12px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: transparent; color: var(--forest); font-weight: 800; }
.gallery-controls button:hover { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.gallery-count { color: var(--muted); font-size: 13px; font-weight: 700; }
.gallery-thumbnails { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; margin-top: 14px; }
.gallery-thumbnails a { display: block; overflow: hidden; aspect-ratio: 1; border: 1px solid transparent; background: #f8f7f2; }
.gallery-thumbnails a:hover, .gallery-thumbnails a.active, .gallery-thumbnails a[aria-current="true"] { border: 2px solid var(--forest); }
.gallery-thumbnails img { width: 100%; height: 100%; padding: 5px; object-fit: contain; }
.product-information { align-self: start; min-width: 0; position: sticky; top: 24px; }
.product-information .eyebrow { color: var(--terracotta); }
.product-information h1 { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 40px); letter-spacing: -.025em; line-height: 1.08; }
.product-information > .price { margin-top: 12px; color: var(--forest); font-size: 19px; font-weight: 800; }
.product-information > .intro { margin-top: 15px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.variant-options { margin-top: 27px; }
.variant-options > span, .quantity-row > label { display: block; margin-bottom: 9px; font-size: 13px; font-weight: 800; }
.variant-options > div { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-link { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 13px; border: 1px solid var(--line-dark); border-radius: 999px; color: var(--forest); font-size: 13px; font-weight: 700; }
.variant-link:hover, .variant-link.active, .variant-link[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.quantity-row { display: flex; align-items: end; gap: 15px; margin-top: 23px; }
.quantity-row label { margin: 0 0 7px; }
.quantity-row input { width: 98px; min-height: 46px; padding: 8px 9px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: var(--paper); }
.buy-buttons { display: grid; gap: 10px; margin-top: 21px; }
.buy-buttons .button { width: 100%; }
.availability-note { margin-top: 13px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.product-description { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.product-description p { color: var(--muted); font-size: 15px; line-height: 1.65; }
.product-description p + p { margin-top: 12px; }
details.product-accordion { border-bottom: 1px solid var(--line); }
details.product-accordion:first-of-type { margin-top: 22px; border-top: 1px solid var(--line); }
details.product-accordion summary { position: relative; min-height: 54px; padding: 17px 28px 17px 0; color: var(--forest); cursor: pointer; font-size: 14px; font-weight: 800; list-style: none; }
details.product-accordion summary::-webkit-details-marker { display: none; }
details.product-accordion summary::after { position: absolute; top: 14px; right: 2px; content: "+"; font-size: 22px; font-weight: 400; }
details.product-accordion[open] summary::after { content: "−"; }
details.product-accordion > div { padding: 0 0 20px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td { padding: 9px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table th { width: 42%; color: var(--forest); font-weight: 800; }
.related-products { padding-top: 0; }

.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .34fr); gap: clamp(38px, 8vw, 110px); padding-top: clamp(42px, 6vw, 80px); padding-bottom: clamp(60px, 8vw, 105px); }
.content-grid > aside { min-width: 0; }
.info-card { padding: 25px; background: var(--paper); border-top: 4px solid var(--butter-deep); }
.info-card h2 { font-family: var(--serif); font-size: 22px; line-height: 1.2; }
.info-card p { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.info-card .button { width: 100%; margin-top: 19px; }
.prose { max-width: 780px; }
.prose > * + * { margin-top: 18px; }
.prose h2, .prose h3 { margin-top: 37px; font-family: var(--serif); color: var(--forest); line-height: 1.2; }
.prose h2 { font-size: 26px; }
.prose h3 { font-size: 21px; }
.prose p, .prose li { color: #46534b; font-size: 17px; line-height: 1.75; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: 8px; }
.prose a { color: var(--forest); font-weight: 700; text-decoration: underline; text-decoration-color: var(--butter-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose blockquote { margin-left: 0; padding: 4px 0 4px 21px; border-left: 4px solid var(--butter-deep); color: var(--forest); font-family: var(--serif); font-size: 20px; line-height: 1.45; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 780px; }
.form-field { min-width: 0; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { display: block; margin-bottom: 7px; color: var(--forest); font-size: 13px; font-weight: 800; }
.form-field textarea { min-height: 154px; resize: vertical; }
.form-grid .button { justify-self: start; margin-top: 7px; }
.form-note { max-width: 680px; margin-top: 16px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.status-message { max-width: 780px; margin-bottom: 20px; padding: 13px 15px; border-left: 4px solid var(--forest); background: #eef2ec; color: var(--forest-deep); font-size: 14px; }
.status-message.error { border-color: var(--terracotta); background: #f8eeeb; color: #7c3f2d; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 5vw, 66px); counter-reset: steps; }
.steps article { position: relative; padding-top: 3px; }
.step-number { display: grid; width: 37px; height: 37px; place-items: center; margin-bottom: 14px; background: var(--butter); border-radius: 50%; color: var(--forest-deep); font-family: var(--serif); font-size: 17px; font-weight: 700; }
.step-title { font-family: var(--serif); font-size: 21px; line-height: 1.2; }
.steps p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.contact-cards > * { padding: 24px; background: var(--paper); border: 1px solid var(--line); }
.contact-cards h2, .contact-cards h3 { font-family: var(--serif); font-size: 21px; line-height: 1.2; }
.contact-cards p, .contact-cards a { display: block; margin-top: 9px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.contact-cards a { color: var(--forest); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.address-card { max-width: 560px; padding: clamp(24px, 4vw, 38px); background: var(--blush); }
.address-card h2 { font-family: var(--serif); font-size: 25px; }
.address-card p { margin-top: 11px; color: var(--ink); line-height: 1.7; }

.article-header { max-width: 880px; padding-top: clamp(48px, 7vw, 90px); padding-bottom: clamp(30px, 5vw, 58px); }
.article-header .eyebrow { color: var(--terracotta); }
.article-header h1 { font-family: var(--serif); font-size: clamp(31px, 4vw, 36px); letter-spacing: -.025em; line-height: 1.12; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 18px; color: var(--muted); font-size: 13px; }
.article-keywords { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 19px; list-style: none; }
.article-keywords li { padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--forest); font-size: 11px; font-weight: 700; }
.article-cover { width: min(1050px, 100%); max-width: 1050px; margin-right: auto; margin-left: auto; }
.article-cover img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: minmax(0, 780px) minmax(210px, 280px); justify-content: space-between; gap: clamp(35px, 7vw, 100px); padding-top: clamp(38px, 6vw, 78px); padding-bottom: clamp(60px, 9vw, 112px); }
.article-toc { position: sticky; top: 24px; padding: 21px 0 21px 22px; border-left: 2px solid var(--butter-deep); }
.article-toc h2 { margin-bottom: 10px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.article-toc a { display: block; padding: 6px 0; color: var(--muted); font-size: 14px; line-height: 1.4; }
.article-toc a:hover, .article-toc a[aria-current="true"] { color: var(--forest); font-weight: 700; }
.related-articles { padding-top: 0; }

.search-results { padding-top: clamp(34px, 5vw, 64px); padding-bottom: clamp(60px, 8vw, 100px); }
.search-results > p { margin-bottom: 24px; color: var(--muted); }
.search-results-list { max-width: 840px; list-style: none; }
.search-results-list li { padding: 25px 0; border-top: 1px solid var(--line); }
.search-results-list h2 { font-family: var(--serif); font-size: 23px; line-height: 1.2; }
.search-results-list p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.search-results-list .text-link { margin-top: 11px; }

.bag-layout, .checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .38fr); align-items: start; gap: clamp(34px, 6vw, 90px); padding-top: clamp(36px, 5vw, 70px); padding-bottom: clamp(60px, 9vw, 110px); }
.bag-items { min-width: 0; }
.bag-item { display: grid; grid-template-columns: 100px minmax(0, 1fr) auto; gap: 18px; align-items: start; padding: 0 0 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.bag-item > a:first-child { width: 100px; height: 100px; background: #f8f7f2; }
.bag-item img { width: 100px; height: 100px; padding: 8px; object-fit: contain; }
.bag-item-info h2 { font-family: var(--serif); font-size: 19px; line-height: 1.2; }
.bag-item-info > p { margin-top: 5px; color: var(--muted); font-size: 13px; }
.bag-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 13px; }
.bag-controls button, .bag-controls input { min-width: 36px; height: 36px; border: 1px solid var(--line-dark); background: var(--paper); color: var(--forest); text-align: center; }
.bag-controls button { font-size: 18px; }
.bag-controls input { width: 42px; min-width: 42px; border-radius: 0; }
.bag-controls .remove { min-width: auto; margin-left: 6px; border: 0; background: transparent; color: var(--muted); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.bag-line-price { color: var(--forest); font-size: 15px; font-weight: 800; white-space: nowrap; }
.order-summary { padding: clamp(22px, 3vw, 30px); background: var(--paper); border-top: 4px solid var(--butter-deep); }
.order-summary h2 { font-family: var(--serif); font-size: 24px; }
.order-summary dl { margin: 20px 0; }
.order-summary dl > div { display: flex; justify-content: space-between; gap: 18px; padding: 8px 0; color: var(--muted); font-size: 14px; }
.order-summary dl > div:last-child { padding-top: 16px; border-top: 1px solid var(--line); color: var(--forest); font-size: 16px; font-weight: 800; }
.order-summary .button { width: 100%; }
.order-summary > p { margin-top: 13px; color: var(--muted); font-size: 12px; line-height: 1.5; text-align: center; }
.empty-state { max-width: 650px; padding: clamp(50px, 10vw, 120px) 20px; margin: 0 auto; text-align: center; }
.empty-state h1, .empty-state h2 { font-family: var(--serif); font-size: clamp(29px, 4vw, 36px); }
.empty-state p { max-width: 440px; margin: 12px auto 22px; color: var(--muted); line-height: 1.6; }
.checkout-layout form { min-width: 0; }
.checkout-layout form > h2 { margin-bottom: 18px; font-family: var(--serif); font-size: 27px; }
.checkout-layout fieldset { padding: 0; margin: 0 0 29px; border: 0; }
.checkout-layout legend { margin-bottom: 16px; font-family: var(--serif); font-size: 21px; font-weight: 700; }
.notice { margin: 0 0 22px; padding: 14px 16px; border-left: 4px solid var(--butter-deep); background: #fff8e6; color: #58471d; font-size: 14px; line-height: 1.55; }

.toast {
  position: fixed;
  z-index: 90;
  right: 20px;
  bottom: 20px;
  width: min(390px, calc(100% - 40px));
  padding: 15px 18px;
  background: var(--forest);
  color: var(--cream);
  border-left: 4px solid var(--butter);
  font-size: 14px;
  line-height: 1.45;
  box-shadow: 0 6px 20px rgba(25, 53, 42, .16);
}

@media (max-width: 960px) {
  .site-header { grid-template-columns: auto 1fr auto; gap: 15px; min-height: 76px; }
  .menu-toggle { display: inline-flex; justify-self: start; order: -1; }
  .wordmark { justify-self: center; }
  .main-nav {
    position: fixed;
    z-index: 25;
    top: 108px;
    right: 0;
    left: 0;
    display: grid;
    justify-items: start;
    gap: 0;
    max-height: calc(100svh - 108px);
    padding: 18px 5vw 28px;
    overflow: auto;
    visibility: hidden;
    transform: translateY(-8px);
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
  }
  body.nav-open .main-nav { visibility: visible; transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a { width: 100%; min-height: 44px; padding: 12px 0; font-family: var(--serif); font-size: 22px; letter-spacing: 0; }
  .main-nav a::after { display: none; }
  .header-actions { gap: 9px; }
  .header-actions > a:not(.bag-link) { display: none; }
  .bag-link { min-width: 44px; padding: 8px 9px !important; font-size: 0 !important; }
  .bag-link [data-bag-count] { font-size: 10px; }
  .hero { min-height: 600px; }
  .hero-copy { margin-bottom: 5vw; }
  .product-grid, .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-split { grid-template-columns: 1fr 1fr; }
  .story-image { min-height: 390px; }
  .footer-grid { grid-template-columns: 1.4fr repeat(2, 1fr); }
  .footer-brand { grid-row: span 2; }
  .product-detail { grid-template-columns: minmax(0, 1fr) minmax(290px, .75fr); gap: 35px; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 230px; gap: 37px; }
  .content-grid { gap: 45px; }
}

@media (max-width: 700px) {
  .announcement { min-height: 30px; font-size: 10px; letter-spacing: .075em; }
  .site-header { padding-right: 4vw; padding-left: 4vw; }
  .main-nav { top: 106px; max-height: calc(100svh - 106px); padding-right: 6vw; padding-left: 6vw; }
  .wordmark-text span { font-size: 15px; }
  .brand-icon { width: 23px; height: 31px; }
  .hero { min-height: 560px; }
  .hero-copy { width: calc(100% - 8vw); margin: auto 4vw 4vw; padding: 23px; }
  .hero h1 { font-size: clamp(30px, 8vw, 38px); }
  .hero-copy p { font-size: 16px; }
  .section-heading { display: block; margin-bottom: 24px; }
  .section-heading .text-link { margin-top: 13px; }
  .section-heading > p { margin-top: 10px; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-top: 1px solid var(--line); border-left: 0; }
  .trust-item { padding: 22px 0; }
  .wholesale-banner { display: block; padding: 29px 24px; }
  .wholesale-banner .button { width: 100%; margin-top: 22px; }
  .journal-grid { grid-template-columns: 1fr; gap: 34px; }
  .journal-card h3 { font-size: 21px; }
  .story-split { grid-template-columns: 1fr; }
  .story-image { min-height: 300px; }
  .story-copy { padding: 38px 6vw 44px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; }
  .footer-brand { grid-column: 1 / -1; grid-row: auto; }
  .footer-bottom { display: block; padding: 16px 0; line-height: 1.7; }
  .footer-bottom > * + * { display: block; margin-top: 4px; }
  .catalog-toolbar { display: block; }
  .catalog-search { max-width: none; }
  .sort-control { width: 100%; margin-top: 13px; }
  .filter-nav { overflow-x: auto; margin-right: -5vw; padding-right: 5vw; }
  .filter-nav ul { flex-wrap: nowrap; width: max-content; }
  .product-detail { grid-template-columns: 1fr; gap: 32px; }
  .product-information { position: static; }
  .content-grid { grid-template-columns: 1fr; padding-top: 39px; }
  .content-grid > aside { order: -1; }
  .info-card { padding: 21px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: auto; }
  .steps, .contact-cards { grid-template-columns: 1fr; gap: 28px; }
  .article-cover img { aspect-ratio: 3 / 2; }
  .article-layout { grid-template-columns: 1fr; padding-top: 38px; }
  .article-toc { position: static; order: -1; }
  .article-toc a { display: inline-block; margin-right: 14px; }
  .bag-layout, .checkout-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .prose p, .prose li { font-size: 16px; }
}

@media (max-width: 420px) {
  .container { padding-right: 5vw; padding-left: 5vw; }
  .site-header { gap: 7px; }
  .wordmark { gap: 7px; }
  .wordmark-text span { font-size: 13px; }
  .wordmark-text span + span { font-size: 8px; }
  .brand-icon { width: 20px; height: 28px; }
  .header-actions { gap: 0; }
  .product-grid, .collection-grid { gap: 16px 12px; }
  .card-info h3 { font-size: 16px; }
  .card-info .price { font-size: 14px; }
  .collection-card h3 { font-size: 18px; }
  .product-image-wrap img { padding: 8px; }
  .gallery-thumbnails { gap: 6px; }
  .bag-item { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; }
  .bag-item > a:first-child, .bag-item img { width: 76px; height: 76px; }
  .bag-line-price { grid-column: 2; }
  .bag-item-info h2 { font-size: 17px; }
  .bag-controls .remove { margin-left: 0; }
  .pagination { gap: 5px; }
  .pagination a { min-width: 38px; min-height: 38px; }
  .toast { right: 12px; bottom: 12px; width: calc(100% - 24px); }
}

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

/* Multi-page catalog refinements */
[hidden] { display: none !important; }
.announcement { gap: 8px; }
.wordmark-text span + span { font-size: 15px; letter-spacing: .15em; }
.hero { display: block; min-height: 0; }
.hero picture { display: block; }
.hero-image { position: relative; inset: auto; display: block; width: 100%; height: auto; object-fit: contain; }
.hero-copy { position: absolute; top: 50%; left: 5vw; transform: translateY(-50%); width: min(480px, 41vw); margin: 0; padding: 0; background: transparent; border: 0; }
.hero-copy p { color: #fffdf8; }
.hero-copy .eyebrow { margin-top: 0; font-size: 11px; }
.hero h1 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; }
.main-nav a { white-space: nowrap; }
.menu-toggle { flex-direction: column; gap: 4px; }
.menu-toggle::before, .menu-toggle::after { display: none; }
.menu-toggle span { margin: 0; }
.menu-toggle[aria-expanded="true"] span { opacity: 1; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
.filter-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.pagination { flex-wrap: wrap; }
.gallery-controls a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 4px; font-size: 13px; }
.product-information h1 { font-size: clamp(26px, 2.5vw, 32px); line-height: 1.2; }
.product-price { margin-top: 14px; font-size: 20px; font-weight: 700; }
.product-price span { font-size: 12px; font-weight: 400; color: var(--muted); }
.product-description p { font-size: 16px; }
.variant-options { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-options h2 { flex-basis: 100%; margin-bottom: 3px; font-size: 14px; }
.product-accordion p { padding-bottom: 14px; font-size: 14px; line-height: 1.6; }
.product-accordion > a { display: inline-block; margin-bottom: 14px; text-decoration: underline; }
.spec-table th { width: 35%; padding-right: 15px; }
.content-grid > div > h2, .section > h2 { margin-bottom: 24px; font-family: var(--serif); font-size: 27px; line-height: 1.25; }
.form-field input[type="checkbox"] { width: 18px; min-height: 18px; height: 18px; margin: 0 8px 0 0; vertical-align: middle; accent-color: var(--forest); }
.form-field label:has(input[type="checkbox"]) { font-weight: 400; line-height: 1.6; }
.form-field a, .form-note a, .info-card a { text-decoration: underline; text-underline-offset: 3px; }
.form-note, .footer-column a, address { overflow-wrap: anywhere; }
address { font-style: normal; line-height: 1.8; margin-top: 15px; }
.article-header > p:not(.eyebrow):not(.article-meta):not(.article-keywords) { margin-top: 20px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.article-meta { display: block; font-size: 13px; line-height: 1.65; }
.article-keywords { display: block; font-size: 12px; color: var(--muted); line-height: 1.6; }
.article-toc { align-self: start; }
.article-body section p { margin-top: 18px; }
.article-body figure { margin: 30px 0; padding: 22px; background: var(--paper); }
.article-product-figure img { width: min(360px, 100%); max-height: 360px; object-fit: contain; margin: 0 auto 15px; }
.article-product-figure figcaption { font-size: 13px; line-height: 1.6; color: var(--muted); }
.search-form { display: grid; grid-template-columns: 1fr auto; gap: 12px; max-width: 720px; margin-top: 35px; }
.search-form label { grid-column: 1 / -1; }
.search-form input { min-width: 0; }
#search-count { margin-top: 22px; font-size: 14px; color: var(--muted); }
.summary-line { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding: 15px 0; }
.order-summary .text-link { margin-top: 20px; }
.checkout-item { border-bottom: 1px solid var(--line); padding: 18px 0; }
.checkout-item a { font-family: var(--serif); font-size: 17px; font-weight: 700; }
.checkout-item p { color: var(--muted); font-size: 13px; margin-top: 8px; }
.bag-controls button { min-width: 44px; min-height: 44px; height: 44px; }
.bag-controls .remove-item { width: auto; margin-left: 8px; border: 0; font-size: 13px; text-decoration: underline; background: transparent; }
.notice h2 { font-family: var(--serif); font-size: 23px; margin-bottom: 10px; }
.mail-draft { margin-top: 24px; max-width: 780px; }
.mail-draft textarea { width: 100%; padding: 14px; margin-top: 15px; border: 1px solid var(--line-dark); background: var(--paper); font-size: 14px; }
.draft-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 15px; }
.footer-bottom > div { display: flex; gap: 20px; flex-wrap: wrap; }
@media (max-width: 1150px) and (min-width: 961px) {
  .site-header { grid-template-columns: 180px 1fr auto; gap: 15px; padding-right: 3vw; padding-left: 3vw; }
  .main-nav { gap: 14px; }
  .main-nav a { font-size: 12px; letter-spacing: 0; }
}
@media (max-width: 960px) {
  .header-actions > a:not(.bag-link) { display: inline-flex; min-width: 30px; }
  .bag-link { font-size: 12px !important; }
  .hero-copy { width: 43vw; left: 4vw; }
  .hero-copy p { font-size: 16px; margin-top: 10px; }
  .hero-copy .button { margin-top: 15px; }
}
@media (max-width: 700px) {
  .hero { min-height: 0; }
  .hero-copy { top: 7%; left: 7vw; width: 84vw; transform: none; margin: 0; padding: 0; }
  .hero h1 { font-size: clamp(28px, 7vw, 36px); }
  .hero-copy p { max-width: 320px; font-size: 16px; }
  .wordmark-text span + span { font-size: 12px; }
  .filter-nav { overflow: visible; margin-right: 0; padding-right: 0; }
  .sort-control { display: block; }
  .sort-control select { width: 100%; margin-top: 7px; }
  .content-grid > aside { order: initial; }
  .article-toc { order: initial; }
  .article-body section p { font-size: 17px; }
  .search-form { grid-template-columns: 1fr; }
  .search-form label { grid-column: auto; }
  .footer-bottom { padding-right: 5vw; padding-left: 5vw; }
}
@media (max-width: 420px) {
  .wordmark-text span + span { font-size: 11px; }
  .hero-copy .eyebrow { font-size: 10px; }
  .hero-copy p { font-size: 15px; }
}

.text-link::after { content: none; }

/* Home imagery: edge-to-edge photos without artificial side gutters. */
body[data-page="home"] .product-image-wrap img {
  padding: 0;
  object-fit: cover;
}
body[data-page="home"] .collection-image img {
  padding: 0;
}

/* Compact contact links in the footer. */
.footer-contact-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}
.footer-column .footer-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid rgba(251,248,241,.5);
  border-radius: 6px;
  color: var(--cream);
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}
.footer-icon-link svg {
  width: 22px;
  height: 22px;
}
.footer-column .footer-icon-link:hover {
  background: var(--butter);
  border-color: var(--butter);
  color: var(--forest-deep);
  text-decoration: none;
}
.footer-icon-link:focus-visible {
  outline: 2px solid var(--butter);
  outline-offset: 4px;
}

.footer-connect .footer-contact-detail {
  margin: 0 0 10px;
  padding: 0;
  font-size: 13px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.footer-contact-detail strong {
  color: var(--cream);
  font-weight: 600;
}
.footer-column .footer-contact-detail a {
  display: inline;
  padding: 0;
  font-size: inherit;
  line-height: inherit;
}
.footer-connect .footer-contact-icons {
  margin-top: 16px;
}

@media (max-width: 700px) {
  .footer-grid .footer-connect { grid-column: 1 / -1; }
}

.product-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 24px;
  padding: 0;
  list-style: none;
}
.product-directory li { border-bottom: 1px solid var(--line); }
.product-directory a { display: block; padding: 16px 0; }
.product-directory span { display: block; font-size: 16px; }
.product-directory small { display: block; margin-top: 5px; font-size: 12px; color: var(--muted); }
@media (max-width: 960px) { .product-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .product-directory { grid-template-columns: 1fr; } }
