:root {
  --paper: #fffaf1;
  --ink: #1f2428;
  --muted: #6d7672;
  --line: #d9d3c3;
  --gold: #d8a21d;
  --green: #2f6e58;
  --red: #c64f3f;
  --blue: #315f8d;
  --cream: #f5ead4;
  --shadow: 0 18px 50px rgba(31, 36, 40, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

button,
input {
  font: inherit;
}

.site-header {
  align-items: center;
  background: rgba(255, 250, 241, 0.94);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 64px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  border: 2px solid var(--gold);
  color: var(--gold);
  display: inline-flex;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.site-nav a,
.cart-button {
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding: 9px 10px;
}

.site-nav a:hover,
.cart-button:hover {
  border-color: var(--line);
}

.cart-button span {
  background: var(--red);
  color: #fff;
  display: inline-flex;
  font-size: 0.78rem;
  justify-content: center;
  margin-left: 6px;
  min-width: 22px;
  padding: 1px 6px;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(32px, 6vw, 82px);
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  min-height: calc(100vh - 76px);
  padding: clamp(38px, 6vw, 72px) clamp(18px, 5vw, 64px);
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 6.4rem);
  line-height: 0.95;
  margin-bottom: 22px;
  max-width: 760px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  margin-bottom: 14px;
}

.hero-copy p:not(.eyebrow),
.section-heading p,
.detail-copy p,
.status-panel p {
  color: var(--muted);
  font-size: 1.05rem;
}

.button {
  align-items: center;
  border: 1px solid var(--ink);
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  box-shadow: 6px 6px 0 var(--gold);
  transform: translate(-2px, -2px);
}

.button.primary {
  background: var(--ink);
  color: #fff;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.button.full {
  width: 100%;
}

.hero-stack {
  align-items: center;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  min-height: 560px;
  position: relative;
}

.hero-print {
  aspect-ratio: 8.5 / 11;
  background: #fff;
  border: 8px solid #fff;
  box-shadow: var(--shadow);
  display: block;
  object-fit: cover;
  width: min(34vw, 320px);
}

.hero-print-one {
  grid-column: 1 / 5;
  grid-row: 1;
  transform: rotate(-7deg);
  z-index: 3;
}

.hero-print-two {
  grid-column: 3 / 7;
  grid-row: 1;
  transform: translateY(54px) rotate(5deg);
  z-index: 2;
}

.hero-print-three {
  grid-column: 5 / 9;
  grid-row: 1;
  transform: translateY(-42px) rotate(10deg);
  z-index: 1;
}

.shop-section,
.detail-shell,
.status-page {
  padding: clamp(34px, 6vw, 72px) clamp(18px, 5vw, 64px);
}

.section-heading {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 28px;
}

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

.product-card {
  background: #fffdf8;
  border: 1px solid var(--line);
  display: grid;
  gap: 16px;
  padding: 14px;
}

.product-card img,
.detail-art img {
  aspect-ratio: 8.5 / 11;
  background: #fff;
  display: block;
  object-fit: cover;
  width: 100%;
}

.product-card h3 {
  font-size: 1.35rem;
  line-height: 1.1;
  margin-bottom: 6px;
}

.product-meta {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.95rem;
  gap: 8px;
  justify-content: space-between;
}

.product-actions {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
}

.detail-shell {
  align-items: center;
  display: grid;
  gap: clamp(24px, 5vw, 72px);
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1fr);
  min-height: calc(100vh - 76px);
}

.detail-art {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 14px;
}

.detail-copy {
  max-width: 600px;
}

.detail-copy h1 {
  font-size: clamp(2.4rem, 5vw, 5rem);
}

.detail-facts {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  margin: 24px 0;
  padding: 18px 0;
}

.detail-facts div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.cart-drawer {
  background: #fffdf8;
  border-left: 1px solid var(--line);
  bottom: 0;
  box-shadow: -18px 0 50px rgba(31, 36, 40, 0.18);
  display: grid;
  grid-template-rows: auto 1fr auto;
  max-width: 420px;
  position: fixed;
  right: 0;
  top: 0;
  transform: translateX(105%);
  transition: transform 180ms ease;
  width: min(100vw, 420px);
  z-index: 50;
}

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

.scrim {
  background: rgba(31, 36, 40, 0.38);
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transition: opacity 180ms ease;
  z-index: 40;
}

body.cart-open .scrim {
  opacity: 1;
  pointer-events: auto;
}

.cart-header,
.cart-footer {
  padding: 20px;
}

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

.cart-header h2 {
  font-size: 1.4rem;
  margin: 0;
}

.icon-button {
  align-items: center;
  background: var(--ink);
  border: 0;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.cart-items {
  display: grid;
  gap: 12px;
  overflow: auto;
  padding: 20px;
}

.cart-item {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 12px;
  grid-template-columns: 62px 1fr auto;
  padding-bottom: 12px;
}

.cart-item img {
  aspect-ratio: 8.5 / 11;
  background: #fff;
  object-fit: cover;
  width: 62px;
}

.cart-item h3 {
  font-size: 1rem;
  margin: 0 0 4px;
}

.quantity-controls {
  align-items: center;
  display: flex;
  gap: 8px;
}

.quantity-controls button {
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
  height: 30px;
  width: 30px;
}

.cart-total {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
}

.cart-message {
  color: var(--red);
  min-height: 24px;
}

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

.status-page {
  display: grid;
  min-height: calc(100vh - 76px);
  place-items: center;
}

.status-panel {
  border: 1px solid var(--line);
  max-width: 680px;
  padding: clamp(24px, 5vw, 52px);
}

@media (max-width: 900px) {
  .hero,
  .detail-shell {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-stack {
    min-height: 430px;
  }

  .hero-print {
    width: min(42vw, 260px);
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
    width: 100%;
  }

  .hero-stack {
    min-height: 310px;
  }

  .hero-print {
    width: min(54vw, 210px);
  }

  .product-grid,
  .product-actions,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .section-heading {
    display: grid;
  }

  .cart-item {
    grid-template-columns: 54px 1fr;
  }

  .quantity-controls {
    grid-column: 2;
  }
}
