:root {
  --studio: #1a1a1a;
  --studio-soft: #242424;
  --paper: #ede4dd;
  --bone: #cfc5b9;
  --warm-white: #f5f0eb;
  --ink: #24211f;
  --text: #d8d8d8;
  --muted-dark: #8d8985;
  --muted-light: #675f59;
  --line-dark: rgba(216, 216, 216, .2);
  --line-light: rgba(36, 33, 31, .22);
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--studio);
}

body {
  margin: 0;
  color: var(--text);
  background: var(--studio);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

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

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

a:focus-visible,
summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  color: var(--studio);
  background: var(--warm-white);
  transform: translateY(-160%);
}

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

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 clamp(20px, 4vw, 64px);
  border-bottom: 1px solid var(--line-dark);
}

.wordmark {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .02em;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted-dark);
  font-size: 13px;
}

.site-header nav a:hover {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, .82fr) minmax(440px, 1.18fr);
  grid-template-areas:
    "identity media"
    "title media"
    "copy media"
    "actions media";
  column-gap: clamp(40px, 7vw, 112px);
  min-height: calc(100vh - 64px);
  padding: clamp(44px, 7vw, 100px) clamp(20px, 6vw, 96px) clamp(36px, 6vw, 84px);
}

.hero-identity {
  grid-area: identity;
  align-self: start;
  padding-top: 4px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.45;
}

.hero-identity p {
  margin: 0;
}

.hero-identity .label-name {
  margin-bottom: 3px;
  font-size: 22px;
  font-weight: 500;
}

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

.hero h1 {
  grid-area: title;
  align-self: end;
  max-width: 620px;
  margin: clamp(48px, 10vh, 118px) 0 0;
  color: var(--bone);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 300;
  letter-spacing: -.045em;
  line-height: .98;
}

.hero-copy {
  grid-area: copy;
  max-width: 570px;
  margin: 28px 0 0;
  color: var(--text);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.48;
}

.hero-actions {
  grid-area: actions;
  align-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-actions span {
  flex-basis: 100%;
  color: var(--muted-dark);
  font-size: 12px;
}

.hero-media {
  grid-area: media;
  align-self: stretch;
  min-height: 600px;
  overflow: hidden;
  background: var(--studio-soft);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  font-size: 14px;
  line-height: 1.2;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}

.button-primary {
  color: var(--studio);
  background: var(--warm-white);
}

.button-primary:hover {
  background: var(--bone);
}

.button-secondary {
  border-color: var(--line-dark);
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--text);
}

.section {
  padding: clamp(72px, 10vw, 150px) clamp(20px, 6vw, 96px);
}

.section-index {
  margin: 0 0 26px;
  color: inherit;
  font-size: 13px;
}

.section h2,
.closing h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(34px, 4.5vw, 64px);
  font-weight: 300;
  letter-spacing: -.04em;
  line-height: 1.04;
}

.process {
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(400px, 1.18fr);
  gap: clamp(48px, 8vw, 132px);
  color: var(--ink);
  background: var(--paper);
}

.section-copy {
  align-self: center;
}

.section-copy > p:not(.section-index, .disclosure),
.section-heading > p:not(.section-index),
.faq-intro > p:not(.section-index) {
  max-width: 660px;
  margin: 30px 0 0;
  font-size: 18px;
}

.guidance-list {
  display: grid;
  gap: 10px;
  margin: 30px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--line-light);
  list-style: none;
}

.guidance-list li::before {
  content: "—";
  display: inline-block;
  width: 24px;
}

.disclosure {
  margin: 34px 0 0;
  color: var(--muted-light);
  font-size: 13px;
}

.section-media {
  align-self: center;
}

.section-media img {
  width: 100%;
}

.collection {
  color: var(--text);
  background: var(--studio);
}

.section-heading {
  max-width: 920px;
  margin-bottom: clamp(42px, 7vw, 88px);
}

.collection-selector {
  display: flex;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0 0 10px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.collection-selector button,
.carousel-controls button {
  flex: 0 0 auto;
  padding: 10px 14px;
  color: var(--muted-dark);
  background: transparent;
  border: 1px solid var(--line-dark);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.collection-selector button:hover,
.collection-selector button[aria-selected="true"],
.carousel-controls button:hover {
  color: var(--studio);
  background: var(--warm-white);
  border-color: var(--warm-white);
}

.collection-selector button:focus-visible,
.carousel-controls button:focus-visible {
  outline: 2px solid var(--bone);
  outline-offset: 3px;
}

.collection-carousel {
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.carousel-controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-dark);
}

.carousel-controls output {
  justify-self: center;
  color: var(--bone);
  font-size: 13px;
  letter-spacing: .04em;
}

.product-grid {
  display: block;
}

.product-card {
  display: none;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, .9fr);
  gap: clamp(24px, 3vw, 48px);
  padding: clamp(24px, 4vw, 54px);
}

.product-card.is-active {
  display: grid;
  border: 0;
  animation: product-in .24s ease-out;
}

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

.product-gallery {
  align-self: start;
  min-width: 0;
}

.product-gallery-main {
  display: block;
}

.product-gallery-main img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.product-thumbnails {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
}

.product-thumbnails button {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
}

.product-thumbnails button[aria-current="true"] {
  border-color: var(--bone);
}

.product-thumbnails button:focus-visible {
  outline: 2px solid var(--bone);
  outline-offset: 2px;
}

.product-thumbnails img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.product-copy {
  align-self: end;
}

.product-copy h3 {
  margin: 0;
  color: var(--bone);
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 300;
  line-height: 1.1;
}

.price {
  margin: 16px 0 4px;
  font-size: 20px;
}

.shipping {
  margin: 0 0 26px;
  color: var(--muted-dark);
  font-size: 13px;
}

.product-copy ul {
  display: grid;
  gap: 8px;
  margin: 0 0 28px;
  padding: 0;
  color: var(--muted-dark);
  font-size: 14px;
  list-style: none;
}

.button-light {
  width: 100%;
  border-color: var(--line-dark);
}

.button-light:hover {
  color: var(--studio);
  background: var(--warm-white);
}

.product-link-pending {
  color: var(--muted-dark);
  cursor: not-allowed;
  opacity: .56;
}

.special-pet {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
  margin-top: 28px;
  padding: clamp(26px, 4vw, 46px);
  color: var(--ink);
  background: var(--paper);
}

.special-pet .section-index {
  margin-bottom: 14px;
  color: var(--muted-light);
}

.special-pet h3 {
  margin: 0;
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 300;
  letter-spacing: -.03em;
  line-height: 1.05;
}

.special-pet p:last-child {
  max-width: 660px;
  margin: 18px 0 0;
}

.special-pet .button-light {
  width: auto;
  min-width: 180px;
  border-color: var(--line-light);
}

.special-pet .button-light:hover {
  color: var(--warm-white);
  background: var(--studio);
}

.ordering {
  display: grid;
  grid-template-columns: minmax(300px, .85fr) minmax(420px, 1.15fr);
  gap: clamp(60px, 9vw, 150px);
  color: var(--ink);
  background: var(--warm-white);
}

.steps {
  margin: 42px 0 32px;
  padding: 0;
  border-top: 1px solid var(--line-light);
  list-style-position: inside;
}

.steps li {
  padding: 17px 0;
  border-bottom: 1px solid var(--line-light);
}

.steps span {
  font-weight: 500;
}

.rating-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-bottom: 1px solid currentColor;
  font-size: 15px;
}

.rating-link span {
  margin-left: 8px;
}

.construction img {
  width: 100%;
}

.spec-list {
  margin: 0;
  border-top: 1px solid var(--line-light);
}

.spec-list div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-light);
}

.spec-list dt {
  color: var(--muted-light);
}

.spec-list dd {
  margin: 0;
}

.faq {
  display: grid;
  grid-template-columns: minmax(300px, .9fr) minmax(400px, 1.1fr);
  gap: clamp(54px, 9vw, 150px);
  color: var(--text);
  background: var(--studio);
}

.faq-intro {
  margin-bottom: 0;
}

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

details {
  border-bottom: 1px solid var(--line-dark);
}

summary {
  min-height: 62px;
  padding: 20px 34px 20px 0;
  cursor: pointer;
  font-size: 17px;
  list-style: none;
}

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

summary::after {
  content: "+";
  float: right;
  margin-right: -28px;
  color: var(--muted-dark);
}

details[open] summary::after {
  content: "−";
}

details p {
  max-width: 620px;
  margin: 0;
  padding: 0 42px 24px 0;
  color: var(--muted-dark);
}

.closing {
  display: grid;
  grid-template-columns: minmax(400px, 1.1fr) minmax(320px, .9fr);
  gap: clamp(42px, 8vw, 120px);
  align-items: center;
  padding: clamp(32px, 6vw, 92px);
  color: var(--ink);
  background: var(--paper);
}

.closing-media img {
  width: 100%;
}

.closing-copy > p:not(.section-index) {
  max-width: 520px;
  margin: 28px 0 0;
  font-size: 18px;
}

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.closing .button-primary {
  color: var(--warm-white);
  background: var(--studio);
}

.closing .button-primary:hover {
  background: #34302d;
}

.closing .button-secondary {
  border-color: var(--line-light);
  color: var(--ink);
}

.closing .button-secondary:hover {
  border-color: var(--ink);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(20px, 6vw, 96px);
  color: var(--muted-dark);
  border-top: 1px solid var(--line-dark);
  font-size: 12px;
}

footer p {
  margin: 0;
}

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

@media (max-width: 1120px) {
  .product-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  html {
    scroll-behavior: auto;
  }

  .site-header {
    min-height: 56px;
  }

  .site-header nav {
    gap: 17px;
    font-size: 12px;
  }

  .site-header nav a:nth-child(2) {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "identity"
      "title"
      "media"
      "copy"
      "actions";
    min-height: auto;
    padding: 24px 20px 50px;
  }

  .hero h1 {
    margin-top: 24px;
    font-size: clamp(43px, 13vw, 58px);
  }

  .hero-identity .label-name,
  .desktop-title-break {
    display: none;
  }

  .hero-media {
    min-height: 0;
    height: min(76vw, 320px);
    margin-top: 20px;
    background: var(--studio);
  }

  .hero-media img {
    object-fit: contain;
  }

  .hero-copy {
    margin-top: 18px;
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 16px;
  }

  .hero-actions .button {
    width: 100%;
    padding-inline: 12px;
  }

  .hero-actions span {
    grid-column: 1 / -1;
  }

  .section {
    padding: 76px 20px;
  }

  .process,
  .ordering,
  .faq,
  .closing {
    grid-template-columns: 1fr;
  }

  .process-media {
    grid-row: 1;
  }

  .section-copy > p:not(.section-index, .disclosure),
  .section-heading > p:not(.section-index),
  .faq-intro > p:not(.section-index),
  .closing-copy > p:not(.section-index) {
    font-size: 17px;
  }

  .product-card {
    padding: 28px 0 44px;
  }

  .collection-selector {
    margin-inline: -20px;
    padding-inline: 20px;
  }

  .carousel-controls {
    gap: 8px;
  }

  .carousel-controls button {
    padding-inline: 10px;
    font-size: 12px;
  }

  .carousel-controls output {
    font-size: 11px;
  }

  .special-pet {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .special-pet .button-light {
    width: 100%;
  }

  .product-copy {
    padding: 0 4px;
  }

  .faq-list {
    margin-top: 8px;
  }

  .closing {
    padding: 20px 20px 72px;
  }

  .closing-copy {
    padding-top: 20px;
  }

  .closing-actions {
    display: grid;
  }

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

@media (max-width: 420px) {
  .site-header nav a:first-child {
    display: none;
  }

  .spec-list div {
    grid-template-columns: 92px 1fr;
  }
}

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