@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/instrument-serif.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Geist Pixel";
  src: url("/assets/geist-pixel.woff2") format("woff2");
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #faf7ef;
  --ink: #252620;
  --muted: #57544a;
  --rust: #8f3e28;
  --rule: #d7cdbd;
  --serif: "Instrument Serif", Georgia, serif;
  --accent: "Geist Pixel", ui-monospace, monospace;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.6 system-ui, sans-serif;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
figure, p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: .98; }
h1 { font-size: clamp(4rem, 7.5vw, 7.3rem); letter-spacing: -.032em; }
h1 em { color: var(--rust); font-weight: inherit; }
h2 { font-size: clamp(2.8rem, 5vw, 4.15rem); letter-spacing: -.02em; }
h3 { font-size: clamp(1.65rem, 3.1vw, 2.45rem); letter-spacing: -.01em; }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 5px; }
.frame { width: min(calc(100% - 8vw), 1160px); margin-inline: auto; }
.skip-link {
  position: fixed;
  top: .7rem;
  left: .7rem;
  background: var(--paper);
  transform: translateY(-180%);
  padding: .65rem 1rem;
  z-index: 3;
}
.skip-link:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--rule); }
.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.wordmark {
  font: 2.35rem/.95 var(--serif);
  letter-spacing: -.03em;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark-dot { color: var(--rust); }
nav { display: flex; align-items: center; gap: clamp(.95rem, 3.5vw, 2.6rem); }
nav a {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 44px;
  text-decoration: none;
  font-size: .95rem;
}
nav a[aria-current] { color: var(--rust); }
nav a[aria-current]::after {
  content: "";
  position: absolute;
  bottom: .32rem;
  inset-inline: 0;
  border-bottom: 1px solid currentColor;
}
nav a:hover, .text-link:hover, .footer-links a:hover { color: var(--rust); }

.hero {
  background: radial-gradient(ellipse at 78% 65%, #e5dfce60, transparent 65%),
              linear-gradient(116deg, #f8f2e6, #f1ebdc);
  border-bottom: 1px solid var(--rule);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5.5rem);
  padding-block: clamp(2.6rem, 5vw, 4.75rem);
}
.eyebrow {
  color: var(--rust);
  font: .84rem/1.5 var(--accent);
  text-transform: uppercase;
  letter-spacing: .09em;
}
.with-rule { display: flex; align-items: center; gap: .8rem; }
.with-rule::before { content: ""; width: 1.65rem; flex: 0 0 1.65rem; border-top: 1px solid; }
.hero h1 { margin-top: 1.1rem; }
.intro {
  color: var(--muted);
  max-width: 38ch;
  font-size: clamp(1.05rem, 1.55vw, 1.22rem);
  line-height: 1.58;
}
.hero .intro { margin-block: 1.6rem 1.8rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.6rem;
  min-height: 48px;
  border: 1px solid transparent;
  background: var(--rust);
  color: #fffdf7;
  text-decoration: none;
  font-size: .95rem;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .16s;
}
.button:hover { background: #6f2d1c; }
.hero-figure { width: 100%; max-width: 466px; justify-self: end; }
.hero-art {
  display: grid;
  place-items: center;
  background: #dcd0ba;
  padding: clamp(1rem, 2.4vw, 2.15rem);
  border: 1px solid #ccbea8;
  outline-offset: 4px;
}
.hero-art img {
  width: 100%;
  max-width: 350px;
  box-shadow: 0 12px 26px #2d241d28, 0 2px 5px #2d241d2d;
}
figcaption {
  display: flex;
  gap: .3rem .7rem;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  margin-top: .7rem;
  color: var(--muted);
  font-size: .82rem;
}
figcaption i { font: italic 1.45rem/1.2 var(--serif); color: var(--ink); }
figcaption a { text-decoration-color: #a59b89; text-underline-offset: .15rem; }

.section { padding-block: clamp(3.3rem, 6vw, 5.6rem); }
.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .7rem 1.3rem;
  margin-bottom: 1.7rem;
}
.text-link { text-decoration-thickness: 1px; text-underline-offset: .23em; font-weight: 600; }
.print-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 1.5rem; }
.print-card a { display: block; text-decoration: none; }
.art-mat {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1.02;
  padding: 8%;
  background: #e7ded0;
}
.art-mat img {
  max-width: 100%;
  max-height: 100%;
  min-height: 0;
  object-fit: contain;
  width: auto;
  box-shadow: 0 4px 12px #2d241d2c;
}
.mat-hibernation, .mat-coffee { background: #e6d9c4; }
.mat-loon, .mat-morel { background: #e0e3d8; }
.mat-fox { background: #eddfce; }
.mat-inner-growth, .mat-sunflower { background: #e5ddd0; }
.card-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .55rem;
  padding-top: 1rem;
}
.card-line span { white-space: nowrap; font-size: .95rem; color: var(--rust); font-weight: 600; }
.print-card p { margin-top: .25rem; color: var(--muted); font-size: .86rem; }
.print-card a:hover h3 { color: var(--rust); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }

.reviews { background: #f2ebdd; border-top: 1px solid var(--rule); }
.reviews .section { padding-block: 2.8rem 3.4rem; }
.review { max-width: 41rem; margin-top: 1.4rem; border-top: 1px solid #bfb09b; padding-top: 1rem; }
.review-stars { color: var(--rust); letter-spacing: .12em; }
.review blockquote { margin: .55rem 0 .65rem; font: 1.7rem/1.16 var(--serif); }
.review figcaption { justify-content: start; }

.home-about { background: #eae9df; border-top: 1px solid #d9d5c8; }
.home-about-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.7rem, 5vw, 4rem);
  padding-block: 3rem;
}
.home-about img { width: clamp(6rem, 14vw, 10rem); mix-blend-mode: multiply; }
.home-about p, .about-prints p { margin: .8rem 0 1rem; max-width: 46ch; color: var(--muted); }
.site-footer { background: #292a24; color: #fbf5e8; }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: baseline;
  gap: 1.7rem;
  padding-block: 2.4rem;
}
.site-footer .wordmark-dot, .footer-links a:hover { color: #f2a183; }
.site-footer p { color: #ddd4c1; font-size: .88rem; }
.site-footer .wordmark + p { margin-top: .4rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
.footer-links a { text-decoration: none; font-size: .9rem; }
.footer-credit { justify-self: end; text-align: right; }

.about-lead {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: end;
  gap: clamp(1.75rem, 5.5vw, 5rem);
  padding-block: clamp(2.9rem, 7vw, 6rem) 2.9rem;
}
.about-lead h1 { margin-top: .8rem; }
.about-intro { max-width: 47ch; color: var(--muted); font-size: 1.12rem; }
.about-intro p + p { margin-block: 1rem; }
.about-banner img { width: 100%; }
.about-prints {
  display: grid;
  grid-template-columns: .85fr 1fr;
  align-items: center;
  gap: clamp(2rem, 7vw, 6.5rem);
  padding-block: clamp(3rem, 7vw, 6rem);
}
.about-art { max-width: 450px; }
.about-prints .button { margin-top: .6rem; }
.shop-heading { background: #eee8db; border-bottom: 1px solid var(--rule); padding-block: clamp(2.5rem, 5.5vw, 4.4rem); }
.shop-heading h1 { font-size: clamp(4rem, 8vw, 6.25rem); }
.shop-heading .intro { margin-top: .9rem; }
.storefront { padding-block: 1.9rem clamp(3rem, 6vw, 5rem); }
.store-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem 1.4rem;
  margin-bottom: 1.65rem;
}
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-bar button {
  min-height: 44px;
  padding: .43rem .86rem;
  border: 1px solid #b7ab97;
  border-radius: 2rem;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: .9rem;
}
.filter-bar button:hover { border-color: var(--rust); }
.filter-bar button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.result-count { color: var(--muted); white-space: nowrap; }
.store-note { border-top: 1px solid var(--rule); padding-top: 1.2rem; margin-top: 2.5rem; color: var(--muted); font-size: .95rem; }

.product { padding-block: 1.7rem clamp(3rem, 6vw, 5rem); }
.product-back { display: inline-block; padding-block: .45rem; margin-bottom: 1rem; }
.product-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.product-art { aspect-ratio: 1 / 1.12; }
.product h1 { font-size: clamp(3.5rem, 6vw, 6rem); margin-top: .7rem; }
.product-price { font: 2rem/1.25 var(--serif); color: var(--rust); margin: .9rem 0; }
.specs { margin: 1.5rem 0; max-width: 28rem; }
.specs div { display: flex; gap: 1rem; justify-content: space-between; border-top: 1px solid var(--rule); padding-block: .5rem; }
.specs div:last-child { border-bottom: 1px solid var(--rule); }
.specs dt { font-weight: 600; }
.specs dd { margin: 0; color: var(--muted); text-align: right; }
.product-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.purchase-note { color: var(--muted); margin-top: .65rem; font-size: .91rem; }
.bag { max-width: 760px; min-height: 64vh; padding-block: clamp(2.7rem, 6vw, 5.2rem); }
.bag h1 { font-size: clamp(4rem, 8vw, 6.25rem); }
.bag .intro { margin: .8rem 0 1.9rem; }
.bag-list { list-style: none; padding: 0; }
.bag-list:not(:empty) { border-top: 1px solid var(--rule); }
.bag-list li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: .75rem;
  padding-block: .7rem;
  border-bottom: 1px solid var(--rule);
}
.bag-art img { width: 54px; height: 70px; object-fit: contain; background: #e7ded0; }
.bag-title { font: 1.7rem/1.1 var(--serif); text-underline-offset: .15em; }
.bag-unit, .bag-quantity { color: var(--muted); font-size: .9rem; }
.bag-quantity input {
  display: block;
  width: 3.4rem;
  min-height: 44px;
  padding: .25rem;
  border: 1px solid #a69b8a;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}
.bag-remove {
  min-height: 44px;
  padding: 0 .25rem;
  border: 0;
  background: transparent;
  color: var(--rust);
  cursor: pointer;
  font: inherit;
}
.bag-total { display: flex; justify-content: space-between; margin: 1rem 0; }
.bag .button { margin-top: .7rem; }
.missing { padding-block: 5rem; }
.missing p { margin-top: 1.5rem; }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1.1fr 1fr; gap: 2rem; }
  .hero h1 { font-size: clamp(3.8rem, 8.1vw, 5.6rem); }
}
@media (max-width: 700px) {
  .frame { width: calc(100% - 2.25rem); }
  .header-inner { min-height: 66px; gap: .5rem; }
  nav { gap: .75rem; }
  .wordmark { font-size: 2rem; }
  .hero-inner, .about-lead, .about-prints, .product-layout { grid-template-columns: 1fr; }
  .hero-inner { gap: 1.8rem; }
  .hero-figure { justify-self: start; }
  .hero-art img { max-width: min(86%, 330px); }
  .print-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.65rem .8rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.1rem; }
  .footer-credit { justify-self: start; text-align: left; }
}
@media (max-width: 370px) {
  .wordmark { font-size: 1.55rem; }
  nav { gap: .55rem; }
  nav a { font-size: .87rem; }
  .hero h1 { font-size: 3.35rem; }
  .eyebrow { letter-spacing: .03em; }
  .home-about img { width: 4.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}
