:root {
  --ink: #111820;
  --muted: #65707c;
  --paper: #f3f5f7;
  --cream: #ffffff;
  --linen: #e4e9ee;
  --sage: #2d5f7a;
  --clay: #164467;
  --charcoal: #070b10;
  --steel: #d7dee5;
  --line: rgba(17, 24, 32, 0.14);
  --shadow: 0 22px 60px rgba(5, 12, 20, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 12px clamp(18px, 4vw, 54px);
  background: rgba(243, 245, 247, 0.9);
  border-bottom: 1px solid rgba(17, 24, 32, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(190px, 46vw);
}

.brand img {
  max-height: 54px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.site-nav button {
  text-decoration: none;
}

.nav-cta {
  padding: 10px 16px;
  color: var(--cream);
  background: var(--charcoal);
  border-radius: 999px;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  padding: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.cart-button span {
  min-width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  background: var(--clay);
  border-radius: 999px;
  font-size: 0.78rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  border-radius: 999px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  padding: 160px clamp(20px, 6vw, 76px) 86px;
}

.hero picture,
.hero picture img,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  height: 100%;
}

.hero picture img {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(18, 20, 16, 0.74), rgba(18, 20, 16, 0.28) 48%, rgba(18, 20, 16, 0.08)),
    linear-gradient(0deg, rgba(18, 20, 16, 0.58), rgba(18, 20, 16, 0.08) 55%);
}

.hero-content {
  max-width: 680px;
  color: var(--cream);
}

.eyebrow,
.section-label,
.product-type,
.animal-kicker,
.post-date {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #c9d8e7;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 860px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 13vw, 9.8rem);
  font-weight: 500;
}

h2 {
  max-width: 840px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5.8vw, 5.2rem);
  font-weight: 500;
}

h3 {
  font-size: clamp(1.22rem, 2vw, 1.65rem);
}

.hero-copy {
  max-width: 650px;
  margin: 18px 0 0;
  font-size: clamp(1.35rem, 2.4vw, 2.15rem);
  font-weight: 800;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--cream);
  background: var(--clay);
}

.button.secondary {
  color: var(--cream);
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
}

.button.quiet {
  color: var(--ink);
  background: var(--steel);
}

.section {
  padding: clamp(70px, 10vw, 130px) clamp(20px, 6vw, 76px);
}

.intro {
  background: var(--cream);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.72fr);
  gap: clamp(28px, 8vw, 110px);
  align-items: start;
}

.intro p,
.visit-copy p,
.request-copy p,
.story-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.55vw, 1.22rem);
}

.story-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  background: var(--charcoal);
  color: var(--cream);
}

.story-image img {
  height: 100%;
  min-height: 760px;
  object-fit: cover;
  filter: saturate(0.62) contrast(0.92) brightness(0.86);
}

.story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 6vw, 86px);
}

.story-copy .eyebrow {
  color: #c9d8e7;
}

.story-copy h2 {
  margin-bottom: 28px;
  color: var(--cream);
  font-size: clamp(2.1rem, 4.4vw, 4.35rem);
}

.story-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.story-callout {
  margin-top: 18px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 4px solid #c9d8e7;
  border-radius: 8px;
}

.story-callout h3 {
  margin-bottom: 12px;
  color: var(--cream);
}

.story-callout p {
  margin-bottom: 0;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: clamp(30px, 5vw, 56px);
}

.section-deck {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.55vw, 1.2rem);
}

.text-link {
  flex: 0 0 auto;
  color: var(--sage);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

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

.shop-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -18px 0 30px;
}

.store-note {
  margin: 0 0 28px;
  padding: 18px 20px;
  color: var(--muted);
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 4px solid var(--clay);
  border-radius: 8px;
}

.store-note strong {
  color: var(--ink);
}

.filter-button {
  min-height: 40px;
  border: 1px solid var(--line);
  padding: 9px 15px;
  color: var(--ink);
  background: var(--cream);
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.filter-button.is-active {
  color: var(--cream);
  background: var(--charcoal);
  border-color: var(--charcoal);
}

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

.product-card {
  display: grid;
  min-height: 100%;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(5, 12, 20, 0.08);
}

.product-card.is-hidden {
  display: none;
}

.product-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--linen);
}

.product-copy {
  display: grid;
  gap: 12px;
  grid-template-rows: 1fr auto auto auto;
  padding: 22px;
}

.product-copy p {
  margin: 0;
  color: var(--muted);
}

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

.product-options {
  min-height: 46px;
}

.variant-label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
}

.variant-select,
.checkout-form select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--cream);
  font: inherit;
}

.single-variant {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.product-meta span {
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 900;
}

.product-meta small {
  color: var(--muted);
  font-weight: 800;
  text-align: right;
}

.product-meta small.sold-out {
  color: #7c8793;
}

.add-to-cart {
  min-height: 44px;
  border: 0;
  padding: 11px 16px;
  color: var(--cream);
  background: var(--charcoal);
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.add-to-cart.added {
  background: var(--clay);
}

.add-to-cart:disabled {
  cursor: not-allowed;
  color: #f5f7f8;
  background: #7c8793;
}

.visit-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  min-height: 680px;
  background: var(--charcoal);
  color: var(--cream);
}

.visit-image img {
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.visit-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 6vw, 76px);
}

.visit-copy .eyebrow {
  color: #c9d8e7;
}

.visit-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 8px 0 32px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 11px;
  height: 11px;
  background: var(--clay);
  border-radius: 999px;
}

.animals-section {
  background: var(--cream);
}

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

.animal-card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.animal-card.feature {
  grid-column: span 2;
  grid-row: span 2;
}

.animal-card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.animal-card.feature img {
  aspect-ratio: 4 / 3;
}

.animal-card div {
  padding: 22px;
}

.animal-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.animal-card .animal-kicker {
  margin: 0 0 10px;
  color: var(--sage);
}

.journal-section {
  background: var(--sage);
  color: var(--cream);
}

.journal-section .eyebrow {
  color: #d7e7f4;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.journal-grid article {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.journal-grid img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.journal-grid h3,
.journal-grid p {
  margin-left: 22px;
  margin-right: 22px;
}

.journal-grid h3 {
  margin-bottom: 10px;
}

.journal-grid p:last-child {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.78);
}

.post-date {
  margin-top: 22px;
  color: #d7e7f4;
}

.request-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 0.92fr);
  gap: clamp(32px, 7vw, 90px);
  background: var(--cream);
}

.visit-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.visit-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.visit-form input,
.visit-form textarea {
  width: 100%;
  border: 1px solid rgba(37, 34, 30, 0.22);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fffdf8;
  font: inherit;
}

.visit-form input:focus,
.visit-form textarea:focus {
  outline: 3px solid rgba(22, 68, 103, 0.22);
  border-color: var(--clay);
}

.visit-form button {
  border: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 34px;
  padding: 44px clamp(20px, 6vw, 76px);
  color: rgba(255, 255, 255, 0.78);
  background: var(--charcoal);
}

.site-footer img {
  width: 180px;
  max-width: 46vw;
  filter: brightness(0) invert(1);
}

.site-footer p {
  max-width: 380px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-content: start;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--cream);
  font-weight: 800;
  text-decoration: none;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  justify-items: end;
  background: rgba(7, 11, 16, 0.52);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.cart-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cart-panel {
  width: min(480px, 100vw);
  min-height: 100%;
  max-height: 100vh;
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 20px;
  padding: 28px;
  background: var(--cream);
  box-shadow: -22px 0 60px rgba(5, 12, 20, 0.22);
  transform: translateX(100%);
  transition: transform 220ms ease;
  overflow: auto;
}

.cart-drawer.is-open .cart-panel {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.cart-header h2 {
  font-size: clamp(2rem, 7vw, 3.2rem);
}

.icon-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--paper);
  border-radius: 999px;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.cart-items {
  display: grid;
  align-content: start;
  gap: 14px;
}

.empty-cart {
  margin: 0;
  color: var(--muted);
}

.cart-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line h3 {
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.25;
}

.cart-line p {
  margin: 4px 0 0;
  color: var(--muted);
}

.quantity-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.quantity-controls button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--paper);
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
}

.line-price {
  font-weight: 900;
}

.cart-footer {
  display: grid;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-weight: 800;
}

.cart-total strong {
  font-size: 1.45rem;
}

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

.checkout-form {
  display: grid;
  gap: 12px;
}

.checkout-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 900;
}

.checkout-form input,
.checkout-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fbfcfd;
  font: inherit;
}

.checkout-actions {
  display: grid;
  gap: 10px;
}

.checkout-message {
  min-height: 1.4em;
  color: var(--clay);
  font-weight: 800;
}

.status-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--paper);
}

.status-card {
  width: min(680px, 100%);
  padding: clamp(28px, 6vw, 56px);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.status-card img {
  width: 190px;
  margin-bottom: 34px;
}

.status-card h1 {
  color: var(--ink);
  font-size: clamp(3rem, 10vw, 6rem);
}

.status-card p {
  color: var(--muted);
  font-size: 1.1rem;
}

.status-note {
  padding: 14px 16px;
  color: var(--ink) !important;
  background: var(--paper);
  border-left: 4px solid var(--clay);
  border-radius: 8px;
  font-weight: 900;
}

@media (max-width: 1080px) {
  .product-grid,
  .animal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visit-band,
  .request-section,
  .intro-grid,
  .story-section {
    grid-template-columns: 1fr;
  }

  .visit-band {
    min-height: auto;
  }

  .story-image img {
    min-height: 420px;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 22px;
    background: rgba(243, 245, 247, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 0;
  }

  .site-nav .cart-button {
    justify-content: space-between;
    padding: 13px 0;
  }

  .nav-cta {
    margin-top: 8px;
    padding: 13px 16px;
    text-align: center;
  }

  .hero {
    min-height: 88vh;
    padding-top: 130px;
    padding-bottom: 58px;
  }

  h1 {
    font-size: clamp(3.25rem, 13vw, 4.6rem);
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(18, 20, 16, 0.78), rgba(18, 20, 16, 0.18) 58%),
      linear-gradient(90deg, rgba(18, 20, 16, 0.58), rgba(18, 20, 16, 0.18));
  }

  .hero-actions,
  .section-heading,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

  .animal-card.feature {
    grid-column: span 1;
  }

  .visit-image img {
    min-height: 340px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
