:root {
  --ink: #2f241c;
  --muted: #78695c;
  --line: #3b2d221f;
  --paper: #f4eadc;
  --panel: #fffaf1;
  --pink: #9e604a;
  --cyan: #6f8170;
  --yellow: #d4a94c;
  --green: #87996e;
  --clay: #b77a58;
  --shadow: 0 22px 70px rgba(54, 39, 27, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(47,36,28,.04) 1px, transparent 1px),
    linear-gradient(rgba(47,36,28,.04) 1px, transparent 1px),
    var(--paper);
  background-size: 34px 34px;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 2px solid var(--ink);
  background: rgba(244, 234, 220, 0.92);
  backdrop-filter: blur(18px);
}
.brand {
  font-weight: 950;
  letter-spacing: 0;
  font-size: 1.15rem;
}
.brand span { color: var(--pink); }
nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  font-weight: 800;
  font-size: .9rem;
}

main { overflow: hidden; }
.hero {
  min-height: calc(100svh - 68px);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: clamp(26px, 5vw, 72px);
  padding: clamp(32px, 7vw, 92px) clamp(18px, 4vw, 56px);
  border-bottom: 2px solid var(--ink);
}
.hero-copy {
  position: relative;
  z-index: 1;
}
.kicker {
  margin: 0 0 12px;
  font-size: .82rem;
  font-weight: 950;
  text-transform: uppercase;
  color: var(--pink);
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(4rem, 11vw, 9.2rem);
  line-height: .82;
  letter-spacing: 0;
}
h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: .92;
  letter-spacing: 0;
}
.hero p:not(.kicker), .section-heading .small {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.6;
}
.hero-actions, .buy-row, .region-switch {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.button {
  border: 2px solid var(--ink);
  background: var(--panel);
  color: var(--ink);
  min-height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 950;
  border-radius: 8px;
  box-shadow: 5px 5px 0 var(--ink);
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease;
}
.button:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--ink); }
.button.primary { background: var(--yellow); }
.button.ghost { background: #d8dfcf; }
.button.small { min-height: 38px; padding: 0 14px; box-shadow: 3px 3px 0 var(--ink); }
.button.full { width: 100%; }

.hero-art {
  position: relative;
  margin: 0;
  transform: rotate(2deg);
}
.hero-art::before,
.hero-art::after {
  content: "";
  position: absolute;
  inset: auto auto -22px -22px;
  width: 56%;
  aspect-ratio: 1;
  background: #d8dfcf;
  border: 2px solid var(--ink);
  z-index: -1;
}
.hero-art::after {
  inset: -24px -20px auto auto;
  width: 34%;
  background: #c99a78;
}
.hero-art img {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  border: 2px solid var(--ink);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.notice {
  margin: 24px clamp(18px, 4vw, 56px) 0;
  padding: 16px 18px;
  border: 2px solid var(--ink);
  background: #dce3cf;
  font-weight: 900;
}
.section, .updates, .commission {
  padding: clamp(42px, 7vw, 92px) clamp(18px, 4vw, 56px);
  border-bottom: 2px solid var(--ink);
}
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 24px;
  align-items: end;
  margin-bottom: 30px;
}
.shop-shell .section-heading h1 {
  max-width: 760px;
  font-size: clamp(3rem, 8vw, 7rem);
}
.shop-teaser .section-heading {
  align-items: center;
}
.shop-teaser .button {
  justify-self: start;
}
.section-heading .small {
  grid-column: 2;
  font-size: .96rem;
  margin: 0;
}
.work-grid, .product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.work-card, .product-card, .updates article, .commission-list article {
  border: 2px solid var(--ink);
  background: var(--panel);
  box-shadow: 6px 6px 0 var(--ink);
}
.work-card img, .product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-bottom: 2px solid var(--ink);
}
.product-media {
  border-bottom: 2px solid var(--ink);
}
.product-media .product-main-image {
  border-bottom: 0;
}
.product-thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 58px;
  gap: 8px;
  overflow-x: auto;
  padding: 10px;
  border-top: 2px solid var(--ink);
  background: #efe4d3;
}
.product-thumbs button {
  width: 58px;
  height: 58px;
  border: 2px solid var(--ink);
  background: var(--panel);
  padding: 0;
  cursor: pointer;
}
.product-thumbs img {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}
.work-card div, .product-body { padding: 16px; }
.work-card span, .product-body span, .updates span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--pink);
  font-size: .78rem;
  font-weight: 950;
  text-transform: uppercase;
}
.work-card h3, .product-card h3, .updates h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
  line-height: 1.1;
}
.work-card p, .product-card p, .updates p {
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 0;
}
.variant-field {
  margin: 14px 0 0;
  color: var(--muted);
}
.variant-field select {
  margin-top: 6px;
  background: #fbf3e6;
}

.commission {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(320px, 1.2fr);
  gap: 24px;
  background: var(--ink);
  color: white;
}
.commission .kicker { color: var(--yellow); }
.commission-list { display: grid; gap: 14px; }
.commission-list article {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px;
  color: var(--ink);
}
.commission-list span { color: var(--muted); font-weight: 750; text-align: right; }

.shop-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 22px;
  align-items: start;
}
.shop-shell .product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.shop-choice {
  min-height: calc(100svh - 68px);
  display: grid;
  align-content: center;
  padding: clamp(42px, 7vw, 92px) clamp(18px, 4vw, 56px);
  border-bottom: 2px solid var(--ink);
}
.shop-choice h1 {
  max-width: 920px;
}
.shop-choice p {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.6;
}
.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 360px));
  gap: 18px;
  margin-top: 22px;
}
.choice-card {
  display: grid;
  gap: 10px;
  min-height: 190px;
  padding: 20px;
  border: 2px solid var(--ink);
  background: var(--panel);
  box-shadow: 6px 6px 0 var(--ink);
}
.choice-card:hover {
  background: #fbf3e6;
}
.choice-card span {
  color: var(--pink);
  font-size: .8rem;
  font-weight: 950;
  text-transform: uppercase;
}
.choice-card b {
  font-size: 1.7rem;
  line-height: 1.05;
}
.choice-card small {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.45;
}
.region-switch a {
  min-height: 38px;
  padding: 8px 14px;
  border: 2px solid var(--ink);
  background: var(--panel);
  font-weight: 950;
}
.region-switch a.active { background: var(--cyan); color: white; }
.cart-panel {
  position: sticky;
  top: 88px;
  border: 2px solid var(--ink);
  background: var(--panel);
  padding: 18px;
  box-shadow: 6px 6px 0 var(--ink);
}
.cart-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cart-close,
.mobile-cart-toggle,
.cart-backdrop {
  display: none;
}
.cart-items { display: grid; gap: 12px; margin-bottom: 16px; }
.cart-items.empty {
  color: var(--muted);
  border: 2px dashed var(--line);
  padding: 18px;
}
.cart-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}
.cart-row span { display: block; color: var(--muted); font-size: .9rem; }
.qty { display: flex; align-items: center; gap: 8px; }
.qty button {
  width: 30px;
  height: 30px;
  border: 2px solid var(--ink);
  background: var(--yellow);
  font-weight: 950;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  padding: 12px 0 18px;
  font-size: 1.05rem;
}
.checkout-form { display: grid; gap: 12px; }
.field-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
label { display: grid; gap: 6px; font-size: .88rem; font-weight: 900; }
input, textarea, select {
  width: 100%;
  border: 2px solid var(--ink);
  background: #fffdfa;
  color: var(--ink);
  border-radius: 0;
  padding: 10px 11px;
  font: inherit;
}

.updates {
  display: grid;
  grid-template-columns: minmax(240px, .55fr) repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.updates article { padding: 18px; }
footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 24px clamp(18px, 4vw, 56px);
  background: var(--ink);
  color: white;
  font-weight: 850;
}

@media (max-width: 980px) {
  nav { display: none; }
  .hero, .commission, .section-heading, .shop-layout, .updates {
    grid-template-columns: 1fr;
  }
  .section-heading .small { grid-column: auto; }
  .work-grid, .product-grid, .shop-shell .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mobile-cart-toggle {
    position: fixed;
    top: 82px;
    right: 16px;
    z-index: 45;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid var(--ink);
    border-radius: 999px;
    background: var(--yellow);
    color: var(--ink);
    padding: 0 14px;
    box-shadow: 4px 4px 0 var(--ink);
    font: inherit;
    font-weight: 950;
    cursor: pointer;
  }
  .mobile-cart-toggle span {
    min-width: 24px;
    height: 24px;
    display: inline-grid;
    place-items: center;
    border: 2px solid var(--ink);
    border-radius: 999px;
    background: var(--panel);
    font-size: .78rem;
    line-height: 1;
  }
  .cart-backdrop {
    position: fixed;
    inset: 0;
    z-index: 40;
    border: 0;
    background: rgba(47, 36, 28, .36);
    padding: 0;
  }
  .cart-drawer-open .cart-backdrop {
    display: block;
  }
  .cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    width: min(420px, calc(100vw - 28px));
    overflow-y: auto;
    border-width: 0 0 0 2px;
    padding: 18px;
    transform: translateX(calc(100% + 12px));
    transition: transform .22s ease;
  }
  .cart-panel.open {
    transform: translateX(0);
  }
  .cart-close {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    border: 2px solid var(--ink);
    background: #d8dfcf;
    color: var(--ink);
    padding: 0 10px;
    font: inherit;
    font-weight: 950;
    cursor: pointer;
  }
}

@media (max-width: 620px) {
  h1 { font-size: clamp(3.2rem, 20vw, 5.5rem); }
  .work-grid, .product-grid, .shop-shell .product-grid, .choice-grid, .field-pair { grid-template-columns: 1fr; }
  .commission-list article { display: grid; }
  .commission-list span { text-align: left; }
}
