/* 60 / 30 / 10: label cream surfaces / label sage sections / label peach accents.
   These are visual proportions rather than literal pixel quotas. */
main {
  overflow-x: clip;
}
:root {
  --cream: #ebe2d3;
  --paper: #ebe2d3;
  --sage: #c6d9c3;
  --sage-pale: #c6d9c3;
  --forest: #262320;
  --forest-light: #4a443f;
  --gold: #eed2bd;
  --ink: #262320;
  --muted: #605951;
  --burgundy: #783f49;
  --line: #c6bbad;
  --display: "Libre Caslon Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-height: 90px;
  --section-gutter: max(52px, calc((100% - 1400px) / 2));
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 15px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
body.modal-open {
  overflow: hidden;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
summary,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(42px, 4.7vw, 68px);
}
em {
  font-weight: 400;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 5px;
}
button.primary:focus-visible {
  outline-color: var(--gold);
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(1400px, calc(100% - 104px));
  margin-inline: auto;
}
.section-space {
  padding-block: 100px;
}
/* Full-window chapters: keep content readable and allow it to grow on mobile.
   The sticky navigation occupies the remainder of the visible window. */
#main > section {
  width: 100%;
  min-height: calc(100svh - var(--header-height));
  padding-inline: var(--section-gutter);
  margin-block: 0;
  align-content: center;
}
#main > .hero {
  min-height: calc(100svh - var(--header-height));
}
#main > .story-section {
  display: grid;
  padding-inline: 0;
}
#main > .shop-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  min-height: 0;
  padding-block: clamp(48px, 6vw, 80px);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.5;
}
.icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.icon-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  background: var(--forest);
  color: var(--cream);
  padding: 12px 20px;
  z-index: 100;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}
.mobile-only {
  display: none;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 56px;
  padding: 16px 26px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 550;
  letter-spacing: 0.025em;
  line-height: 1.4;
  transition:
    background 0.25s,
    color 0.25s;
  white-space: normal;
}
.button:hover {
  transform: none;
}
.primary {
  background: var(--forest);
  color: var(--cream);
}
.primary:hover {
  background: var(--forest-light);
}
.outline {
  border: 1px solid var(--forest);
  background: transparent;
}
.outline:hover {
  background: var(--forest);
  color: var(--cream);
}
.full-width {
  width: 100%;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 7px;
  font-size: 13px;
}
.text-link .icon {
  transition: transform 0.2s;
}
.text-link:hover .icon {
  transform: translateX(4px);
}
.text-button {
  background: none;
  padding: 10px 0;
  text-decoration: underline;
  text-underline-offset: 5px;
  font-size: 13px;
}
.icon-button {
  background: transparent;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: background 0.2s;
}
.icon-button:hover {
  background: var(--sage-pale);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: transparent;
  border: 0;
}
.nav {
  height: 90px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
}
.nav-links {
  display: flex;
  gap: 30px;
  font-size: 12px;
}
.nav-links a {
  transition: opacity 0.2s;
}
.nav-links a:hover {
  opacity: 0.6;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--display);
  font-size: 31px;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.brand-dog {
  width: 40px;
  height: 43px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}
.wordmark em {
  color: var(--forest-light);
}
.nav-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 30px;
}
.bag-button {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  background: transparent;
  font-size: 12px;
  padding: 0;
}
.bag-count {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sage-pale);
  display: grid;
  place-items: center;
  font-size: 10px;
}
.menu-toggle {
  display: none;
}
.mobile-nav {
  padding: 10px 24px 22px;
  background: var(--cream);
}
.mobile-nav a {
  display: block;
  font-size: 18px;
  padding: 9px;
}
.hero {
  min-height: 640px;
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  align-items: center;
  gap: 12px;
  position: relative;
  padding-block: 54px 62px;
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: clamp(76px, 8.9vw, 134px);
  line-height: 0.92;
  letter-spacing: -0.055em;
  margin: 27px 0 27px;
}
.hero h1 em {
  color: #605951;
}
.hero-description {
  max-width: 355px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}
.hero .button {
  margin-top: 28px;
  min-width: 226px;
}
.hero-art {
  position: relative;
  min-width: 0;
  height: clamp(510px, 64svh, 640px);
  isolation: isolate;
}
.scene-halo {
  position: absolute;
  inset: 4% -3% 3%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    #dbe1d0 0%,
    #e8eadf 46%,
    rgba(248, 245, 238, 0) 72%
  );
  pointer-events: none;
  z-index: -1;
}
.hero-scene {
  position: absolute;
  inset: -15px -35px 0;
  touch-action: pan-y;
}
.hero-scene canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
  outline-offset: -6px;
}
.hero-scene canvas:active {
  cursor: grabbing;
}
.scene-fallback {
  position: absolute;
  inset: 13% 2% 12%;
  display: flex;
  align-items: center;
  justify-content: center;
  mix-blend-mode: normal;
}
.scene-fallback img {
  width: 33.333%;
  border-radius: 0;
}
.scene-fallback img:first-child {
  transform: translateY(18px);
}
.scene-fallback img:last-child {
  transform: translateY(10px);
}
.webgl-ready .scene-fallback {
  visibility: hidden;
}
.scene-controls {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  background: none;
  border: 0;
  color: #605951;
  white-space: nowrap;
  font-size: 10px;
  z-index: 3;
}
.scene-controls button {
  width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  font-size: 11px;
}
.scene-controls button:hover,
.scene-controls button:focus-visible {
  background: rgba(38, 35, 32, 0.07);
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 33px;
}
.section-heading h2 {
  margin-top: 14px;
}
.section-heading > p {
  color: var(--muted);
  font-size: 13px;
  padding-bottom: 3px;
}
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 14px 0 28px;
}
.filters {
  display: flex;
  gap: clamp(16px, 2vw, 30px);
  flex-wrap: wrap;
}
.filter {
  background: transparent;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  font-size: 12px;
  min-height: 44px;
  color: var(--muted);
  transition:
    border-color 0.25s,
    color 0.25s;
}
.filter:hover {
  color: var(--forest);
  border-color: var(--sage);
}
.filter.active {
  color: var(--forest);
  border-color: var(--forest);
}
.filter span {
  margin-left: 7px;
  font-size: 10px;
}
.result-count {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.product-card {
  min-width: 0;
}
.product-media {
  background: #ebe2d3;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  aspect-ratio: 1;
}
.product-image-link {
  display: block;
  width: 100%;
  height: 100%;
  background: transparent;
  padding: 0;
}
.product-image-link:focus-visible {
  outline-offset: -5px;
}
.product-card-title {
  margin-top: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(25px, 2.2vw, 32px);
  line-height: 1.2;
}
.product-title-button:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}
.product-image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.85s var(--ease);
  transform: scale(1.02);
}
.product-media:hover .product-image-link img {
  transform: scale(1.055);
}
.product-title-button {
  font: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-align: left;
  background: transparent;
  padding: 0;
}
.story-section {
  background: var(--sage);
  color: var(--ink);
  padding-block: 80px;
}
.story-copy .eyebrow {
  color: var(--ink);
}
.story-copy h2 {
  font-size: clamp(40px, 4vw, 60px);
  margin-top: 22px;
}
.story-copy h2 em {
  color: #262320;
}
.story-introduction > p {
  max-width: 410px;
  color: #4a443f;
  font-size: 15px;
  line-height: 1.9;
  margin-top: 28px;
}
.story-copy .text-link {
  margin-top: 32px;
  font-size: 13px;
}
.trio-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}
.trio-art {
  background: #ebe2d3;
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.trio-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.trio-copy h3 {
  margin-top: 0;
  font-size: clamp(42px, 4.2vw, 60px);
}
.trio-copy > p:not(.eyebrow) {
  font-size: 15px;
  color: var(--muted);
  max-width: 360px;
  margin-top: 24px;
}
.trio-price {
  margin-block: 22px;
}
.trio-price > span {
  font: 30px var(--display);
  display: block;
}
.trio-price small {
  font-size: 12px;
  color: var(--muted);
}
.faq-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
}
.faq-section h2 {
  font-size: 50px;
  margin-top: 18px;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list details:first-child {
  border-top: 1px solid var(--line);
}
.faq-list summary {
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary span {
  font-size: 22px;
  font-weight: 400;
  transition: transform 0.2s;
}
.faq-list details[open] summary span {
  transform: rotate(45deg);
}
.faq-list details p {
  padding: 0 28px 25px 0;
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}
.site-footer {
  background: var(--sage-pale);
  padding: 60px 0 24px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-top > div:first-child {
  max-width: 360px;
}
.footer-top p {
  font: 13px/1.7 var(--sans);
  color: var(--muted);
  margin-top: 14px;
}
.footer-links {
  display: flex;
  gap: 85px;
  font-size: 12px;
}
.footer-links > div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-links span {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 8px;
}
.footer-links button {
  padding: 0;
  background: transparent;
  font-size: inherit;
  text-align: left;
}
.footer-links a:hover,
.footer-links button:hover {
  text-decoration: underline;
}
.footer-wordmark {
  display: inline-block;
  font: clamp(34px, 3.3vw, 48px) / 1.2 var(--display);
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.footer-wordmark em {
  color: #605951;
}
.footer-policies {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  padding-bottom: 20px;
  font-size: 12px;
  color: #4a443f;
}
.footer-top .footer-location {
  max-width: 33ch;
  font-size: 12px;
  line-height: 1.7;
}
.footer-policies a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-underline-offset: 4px;
}
.footer-policies a:hover,
.footer-policies a:focus-visible {
  text-decoration: underline;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid #c6bbad;
  padding-top: 20px;
  color: #4a443f;
  font-size: 11px;
}
.footer-bottom button {
  background: none;
  padding: 10px 0;
  min-height: 44px;
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
dialog {
  border: 0;
  color: var(--ink);
  background: var(--cream);
  padding: 0;
  box-shadow: 0 20px 100px #26232030;
}
dialog::backdrop {
  background: #26232070;
  backdrop-filter: blur(5px);
}
dialog[open] {
  animation: dialog-in 0.28s var(--ease);
}
@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  background: var(--cream);
}
.product-dialog {
  width: min(1240px, calc(100% - 48px));
  max-height: 92dvh;
  border-radius: 2px;
}
.product-dialog-toolbar {
  position: sticky;
  top: 0;
  height: 0;
  z-index: 5;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}
.detail-media {
  position: sticky;
  top: 0;
  align-self: start;
  background: var(--paper);
  min-height: 620px;
  height: min(820px, 92dvh);
  overflow: hidden;
}
.detail-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: normal;
  transform-origin: var(--photo-origin, 50% 50%);
  transition: transform 0.45s var(--ease);
}
.detail-info {
  padding: 58px 44px 32px;
}
.detail-info h2 {
  font-size: clamp(38px, 3.6vw, 52px);
  margin-top: 14px;
}
.detail-spec {
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
}
.detail-description {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin-block: 24px;
}
.detail-unit-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 18px;
}
.detail-unit-price strong {
  font: 32px/1 var(--display);
}
.detail-unit-price > span {
  color: var(--muted);
  font-size: 11px;
}
.detail-purchase-row {
  display: grid;
  grid-template-columns: 134px minmax(0, 1fr);
  align-items: end;
  gap: 14px;
  margin-top: 24px;
}
.detail-quantity-field > label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 8px;
}
.detail-quantity-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 2px;
  height: 54px;
}
.detail-quantity-control button {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: transparent;
  border-radius: 50%;
  font-size: 19px;
}
.detail-quantity-control input {
  appearance: textfield;
  -moz-appearance: textfield;
  width: 44px;
  min-width: 0;
  height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: center;
  font-size: 14px;
  color: var(--ink);
}
.detail-quantity-control input::-webkit-inner-spin-button,
.detail-quantity-control input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.purchase-plans {
  border: 0;
  padding: 0;
  margin: 20px 0;
}
.purchase-plans legend {
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 10px;
}
.plan-option {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 16px 14px;
  margin-top: 8px;
  font-size: 13px;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.plan-option:has(input:checked) {
  background: var(--sage-pale);
  border-color: var(--sage);
}
.plan-option input {
  accent-color: var(--forest);
}
.plan-option strong {
  margin-left: auto;
  white-space: nowrap;
  font-weight: 550;
}
.plan-discount {
  font-size: 10px;
  padding: 2px 5px;
  background: var(--gold);
  margin-left: 3px;
  white-space: nowrap;
}
.delivery-frequency {
  margin: 16px 0 0;
  font-size: 12px;
}
.delivery-frequency label {
  display: block;
  margin-bottom: 6px;
}
.delivery-frequency select {
  padding: 8px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 4px;
  width: 100%;
}
.detail-add {
  min-height: 54px;
  justify-content: center;
  padding-inline: 18px;
}
.detail-usage {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 23px;
}
.detail-usage summary {
  font-size: 14px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
  padding-block: 7px;
}
.detail-usage p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 12px;
}
.sample-caption {
  font-size: 9px;
  color: var(--muted);
  margin-top: 14px;
}
.cart-dialog {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  width: min(460px, 100%);
  max-width: 100%;
  height: 100dvh;
  max-height: 100dvh;
}
.cart-dialog[open] {
  display: flex;
  flex-direction: column;
  animation: drawer-in 0.3s var(--ease);
}
@keyframes drawer-in {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}
.drawer-header {
  padding: 26px 26px 23px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.drawer-header h2 {
  font-size: 39px;
  margin-top: 8px;
}
.drawer-header h2 span {
  font: 12px var(--sans);
  vertical-align: middle;
  border: 1px solid var(--line);
  border-radius: 50%;
  padding: 5px 8px;
}
.cart-items {
  overflow: auto;
  flex: 1;
  padding: 0 26px;
  overscroll-behavior: contain;
}
.empty-cart {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  text-align: center;
  min-height: 280px;
}
.empty-cart > .icon {
  width: 50px;
  height: 50px;
  color: var(--sage);
}
.empty-cart h3 {
  font-size: 30px;
  margin-top: 18px;
}
.empty-cart p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
  max-width: 250px;
}
.empty-cart .button {
  margin-top: 22px;
}
.cart-item {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 16px;
  padding-block: 25px;
  border-bottom: 1px solid var(--line);
}
.cart-item > img {
  width: 78px;
  height: 104px;
  object-fit: cover;
  background: var(--paper);
  border-radius: 3px;
}
.cart-item-title {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: flex-start;
}
.cart-item h3 {
  font-size: 22px;
  line-height: 1.15;
}
.cart-item-title > span {
  font-size: 11px;
  white-space: nowrap;
}
.cart-item p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 6px;
}
.quantity-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 11px;
}
.quantity-control {
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  border-radius: 100px;
  overflow: hidden;
}
.quantity-control button {
  width: 31px;
  height: 31px;
  background: transparent;
  font-size: 17px;
}
.quantity-control span {
  min-width: 22px;
  text-align: center;
  font-size: 11px;
}
.remove-button {
  background: none;
  text-decoration: underline;
  font-size: 10px;
  color: var(--muted);
  padding: 5px;
  margin-left: auto;
}
.drawer-footer {
  padding: 23px 26px 20px;
  border-top: 1px solid var(--line);
}
.subtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}
.subtotal strong {
  font: 29px var(--display);
}
.cart-note {
  font-size: 10px;
  color: var(--muted);
  margin: 10px 0 18px;
}
.continue-shopping {
  display: block;
  margin: 8px auto 0;
  font-size: 11px;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 25px);
  opacity: 0;
  pointer-events: none;
  z-index: 100;
  background: var(--forest);
  color: var(--cream);
  box-shadow: 0 8px 40px #26232020;
  font-size: 12px;
  padding: 13px 24px;
  border-radius: 100px;
  max-width: calc(100% - 32px);
  transition:
    opacity 0.25s,
    transform 0.25s;
  text-align: center;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.checkout-dialog {
  border-radius: 8px;
  width: min(540px, calc(100% - 32px));
  max-height: 90dvh;
  padding: 40px;
}
.checkout-dialog h2 {
  font-size: 38px;
  margin: 10px 0;
}
.demo-note {
  background: var(--sage-pale);
  padding: 12px 14px;
  border-radius: 4px;
  font-size: 11px;
  margin: 18px 0;
}
.checkout-summary {
  margin: 20px 0;
  list-style: none;
  padding: 0;
  border-bottom: 1px solid var(--line);
}
.checkout-summary li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  padding: 7px 0;
}
.checkout-summary small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.checkout-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 15px 0 23px;
}
.checkout-total strong {
  font: 27px var(--display);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.field-wide {
  grid-column: 1/-1;
}
.field label {
  font-size: 11px;
  display: block;
  margin-bottom: 5px;
}
.field input {
  width: 100%;
  min-height: 43px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 9px 12px;
  font-size: 13px;
}
.checkout-form .button {
  margin-top: 22px;
}
.checkout-form .text-button {
  font-size: 11px;
}
.order-confirmation {
  text-align: center;
  padding-block: 25px;
}
.confirmation-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--sage-pale);
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  font-size: 25px;
}
.order-confirmation p {
  font-size: 13px;
  color: var(--muted);
  margin: 20px 0;
}
.order-confirmation .button {
  margin-top: 12px;
}
/* A single quiet entrance. Text remains visible without JavaScript or motion. */
.motion-enabled .text-reveal {
  --text-start-opacity: .55;
  --text-lift: 3px;
  --text-duration: 520ms;
  animation: text-reveal-in var(--text-duration) cubic-bezier(.22, .61, .36, 1) both;
}
.motion-enabled :is(h1, h2, h3).text-reveal {
  --text-start-opacity: .2;
  --text-lift: 8px;
  --text-duration: 720ms;
}
@keyframes text-reveal-in {
  from { opacity: var(--text-start-opacity); transform: translateY(var(--text-lift)); }
  to { opacity: 1; transform: none; }
}

.detail-photo-button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  background: transparent;
  cursor: zoom-in;
}
.detail-photo-button:focus-visible {
  outline-offset: -6px;
}
.detail-photo-button[aria-pressed="true"] {
  cursor: zoom-out;
}
.detail-photo-button[aria-pressed="true"] .detail-photo {
  transform: scale(1.85);
}
.photo-zoom-icon {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(38, 35, 32, 0.2);
  background: var(--cream);
  font-size: 24px;
  line-height: 1;
}
.detail-usage summary::-webkit-details-marker {
  display: none;
}
.detail-usage summary::after {
  content: "+";
  font-size: 18px;
  line-height: 1.4;
}
.detail-usage[open] summary::after {
  content: "−";
}
.nav-links a {
  padding-block: 10px;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover {
  opacity: 1;
  border-color: var(--forest);
}
.motion-paused .product-image-link img,
.motion-paused .detail-photo {
  transition: none;
}
.motion-paused .product-media:hover .product-image-link img {
  transform: scale(1.02);
}
.shop-section .section-heading {
  margin-bottom: 14px;
}
.shop-section .section-heading h2 {
  margin-top: 0;
}
.shop-section .shop-toolbar {
  padding-block: 0 18px;
}
.shop-section .product-grid {
  flex: none;
}
@media (min-width: 761px) {
  /* Keep the complete collection comfortable to scan within a desktop screen. */
  .shop-section .section-heading h2 {
    font-size: clamp(42px, 4vw, 58px);
  }
  .product-media {
    height: clamp(340px, 46svh, 560px);
    aspect-ratio: auto;
  }
  .product-image-link img {
    object-fit: cover;
    mix-blend-mode: normal;
  }
}
@media (min-width: 1600px) {
  .hero {
    min-height: 720px;
  }
  .hero-art {
    height: clamp(600px, 66svh, 700px);
  }
  .hero-description {
    font-size: 17px;
    max-width: 410px;
  }
}
@media (max-width: 1150px) {
  :root {
    --header-height: 80px;
    --section-gutter: 32px;
  }
  .wrap {
    width: calc(100% - 64px);
  }
  .nav-links {
    gap: 17px;
  }
  .nav {
    height: 80px;
  }
  .wordmark {
    font-size: 29px;
  }
  .hero {
    min-height: 600px;
  }
  .hero h1 {
    font-size: clamp(76px, 9.5vw, 109px);
  }
  .hero-art {
    height: 500px;
  }
  .hero-scene {
    inset: -10px -25px 0;
  }
  .hero-description {
    font-size: 13px;
    max-width: 315px;
  }
  .story-copy h2 {
    font-size: 46px;
  }
  .trio-section {
    gap: 50px;
  }
  .faq-section {
    gap: 50px;
  }
  .footer-links {
    gap: 50px;
  }
}
@media (max-width: 760px) {
  :root {
    --header-height: 73px;
    --section-gutter: 20px;
  }
  .wrap {
    width: calc(100% - 40px);
  }
  .nav {
    height: 73px;
    grid-template-columns: 44px 1fr auto;
    gap: 5px;
  }
  .nav-links {
    display: none;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 34px;
  }
  .menu-toggle span {
    width: 19px;
    height: 1px;
    background: var(--forest);
    transition: transform 0.2s;
  }
  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }
  .wordmark {
    justify-content: center;
    font-size: 27px;
    gap: 3px;
  }
  .brand-dog {
    width: 29px;
    height: 34px;
  }
  .bag-label {
    display: none;
  }
  .bag-button {
    gap: 5px;
  }
  .bag-button .icon {
    width: 19px;
  }
  .nav-actions {
    gap: 0;
  }
  .bag-count {
    width: 19px;
    height: 19px;
    font-size: 9px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-block: 43px 38px;
    min-height: 0;
  }
  .hero-copy {
    text-align: center;
  }
  .hero h1 {
    font-size: clamp(76px, 16vw, 116px);
    line-height: 0.93;
    margin: 22px 0;
  }
  .hero-description {
    font-size: 13px;
    max-width: 325px;
    margin-inline: auto;
    line-height: 1.8;
  }
  .hero .button {
    margin-top: 23px;
    min-width: 226px;
    font-size: 12px;
    min-height: 50px;
  }
  .hero-art {
    height: 420px;
    max-width: 540px;
    width: 100%;
    margin: auto;
  }
  .hero-scene {
    inset: -15px -20px 0;
  }
  .scene-halo {
    inset: 5% 0 0;
  }
  .section-space {
    padding-block: 60px;
  }
  .section-heading {
    align-items: start;
    gap: 16px;
    margin-bottom: 25px;
  }
  .section-heading > p {
    display: none;
  }
  .section-heading h2 {
    font-size: 47px;
    line-height: 1.06;
    margin-top: 12px;
  }
  .section-heading .eyebrow {
    font-size: 8px;
  }
  .shop-toolbar {
    padding: 0 0 24px;
  }
  .result-count {
    display: none;
  }
  .product-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .product-media {
    aspect-ratio: 1;
  }
  .product-image-link img {
    object-fit: cover;
    mix-blend-mode: normal;
  }
  .story-copy {
    padding-bottom: 8px;
  }
  .story-copy h2 {
    font-size: 48px;
    margin-top: 16px;
  }
  .trio-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .trio-art {
    aspect-ratio: 4 / 3;
  }
  .trio-copy h3 {
    font-size: 52px;
  }
  .trio-copy h3 br {
    display: none;
  }
  .trio-copy > p:not(.eyebrow) {
    max-width: none;
  }
  .trio-copy .button {
    width: 100%;
  }
  .faq-section {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .faq-section h2 {
    font-size: 45px;
  }
  .site-footer {
    padding-top: 37px;
  }
  .footer-top {
    display: block;
  }
  .footer-links {
    margin-top: 30px;
    justify-content: space-between;
    gap: 20px;
    padding-right: 20px;
  }

  .footer-bottom {
    flex-wrap: wrap;
    gap: 12px;
    font-size: 10px;
    padding-top: 17px;
  }
  .footer-bottom > span:nth-child(2) {
    display: none;
  }
  .footer-bottom button {
    font-size: 10px;
  }
  .product-dialog {
    width: calc(100% - 24px);
    max-height: 94dvh;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .detail-photo {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  .detail-info h2 {
    font-size: 38px;
  }
  .detail-info .eyebrow {
    font-size: 9px;
  }
  .detail-usage {
    margin-top: 20px;
  }
  .dialog-close {
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
  }
  .checkout-dialog {
    padding: 35px 23px 25px;
  }
  .checkout-dialog h2 {
    font-size: 35px;
  }
  .cart-items {
    padding-inline: 20px;
  }
  .drawer-header,
  .drawer-footer {
    padding-inline: 20px;
  }
  .filters {
    gap: 6px 19px;
  }
  .filter {
    font-size: 11px;
    padding: 10px 0;
    min-height: 44px;
  }
  .filter span {
    display: none;
  }
  .scene-controls {
    font-size: 10px;
    bottom: 16px;
  }
  .story-introduction > p {
    font-size: 14px;
  }
  .faq-list summary {
    font-size: 14px;
  }
  .footer-top p {
    font-size: 13px;
  }
  .footer-wordmark {
    font-size: 36px;
    padding: 0;
  }
  .detail-media {
    position: relative;
    min-height: 360px;
    height: 360px;
  }
  .detail-description {
    font-size: 14px;
  }
  .detail-info {
    padding: 30px 24px;
  }
  .plan-option {
    font-size: 12px;
    padding: 14px 10px;
    gap: 8px;
  }
  .photo-zoom-icon {
    bottom: 16px;
    right: 16px;
  }
}

@media (max-width: 420px) {
  .detail-purchase-row {
    grid-template-columns: 1fr;
  }
  .detail-quantity-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .detail-quantity-field > label {
    margin-bottom: 0;
  }
}
@media (max-width: 370px) {
  :root {
    --section-gutter: 16px;
  }
  .wrap {
    width: calc(100% - 32px);
  }
  .wordmark {
    font-size: 24px;
  }
  .brand-dog {
    width: 25px;
  }
  .hero-art {
    height: 360px;
  }
  .hero h1 {
    font-size: 76px;
  }
  .filter {
    padding: 10px 0;
    font-size: 11px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .text-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .product-image-link img {
    transform: none !important;
  }
}
html:has(body.motion-paused) {
  scroll-behavior: auto;
}
body.motion-paused *,
body.motion-paused *:before,
body.motion-paused *:after {
  animation: none !important;
  transition: none !important;
}
body.motion-paused .text-reveal {
  opacity: 1 !important;
  transform: none !important;
}
body.motion-paused .product-image-link img {
  transform: none !important;
}

/* Supplied identity: retain the entire dog-and-cat mark without recolouring it. */
.brand-logo { width: 80px; height: 78px; object-fit: contain; }
.footer-wordmark .brand-logo { width: 150px; height: 145px; }
.primary { background: var(--gold); color: var(--ink); border: 1px solid var(--ink); }
.primary:hover { background: var(--ink); color: var(--cream); }
.product-media { aspect-ratio: 4 / 5; background: var(--cream); }
.product-image-link { height: 100%; }
.product-image-link img { width: 100%; height: 100%; object-fit: cover; }
.scene-fallback img { object-fit: contain; }
@media (max-width: 1100px) { .brand-logo { width: 69px; height: 67px; } }
@media (max-width: 760px) { .brand-logo { width: 62px; height: 60px; } }

.scene-fallback { inset: 8% 3%; }
.scene-fallback img { width: 100%; height: 100%; object-fit: contain; transform: none !important; }
.detail-photo { object-fit: contain; }
.product-media { width: 100%; height: auto; aspect-ratio: 4 / 5; }
