:root {
  --paper: #efeae0;
  --paper-2: #e6dfd1;
  --ink: #141210;
  --ink-2: #2a2520;
  --muted: #6b6459;
  --rule: #d6cebd;
  --accent: #d94a1e;
  --accent-ink: #1a0a04;
  --sage: #3e4a34;
  --max: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  font-family: "Figtree", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(217, 74, 30, 0.08), transparent 60%),
    radial-gradient(900px 500px at -10% 40%, rgba(62, 74, 52, 0.07), transparent 60%),
    var(--paper);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  z-index: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.08  0 0 0 0 0.07  0 0 0 0 0.06  0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/></svg>");
  mix-blend-mode: multiply;
}

/* Typography */
.display {
  font-family: "Fraunces", "Times New Roman", serif;
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 1;
  font-weight: 450;
  letter-spacing: -0.035em;
  line-height: 0.95;
}

.mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}

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

::selection {
  background: var(--accent);
  color: var(--paper);
}

/* Layout */
.shell {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Header */
.nav {
  padding: 28px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-mark {
  width: 22px;
  height: 22px;
  position: relative;
  display: inline-block;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--ink);
}

.brand-mark::after {
  background: var(--accent);
  transform: translate(6px, -4px) scale(0.62);
  mix-blend-mode: multiply;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links a {
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

/* Hero */
.hero {
  padding: clamp(60px, 12vw, 140px) 0 clamp(80px, 14vw, 160px);
  position: relative;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  margin-bottom: 28px;
  animation: rise 1.1s 0.1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.section-label::before {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--muted);
}

.hero-title {
  font-size: clamp(56px, 11vw, 168px);
  margin: 0;
  max-width: 14ch;
}

.hero-title .w {
  display: inline-block;
  animation: rise 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-title .w:nth-child(1) { animation-delay: 0.15s; }
.hero-title .w:nth-child(2) { animation-delay: 0.22s; }
.hero-title .w:nth-child(3) { animation-delay: 0.29s; }
.hero-title .w:nth-child(4) { animation-delay: 0.36s; }
.hero-title .w:nth-child(5) { animation-delay: 0.43s; }
.hero-title .w:nth-child(6) { animation-delay: 0.5s; }
.hero-title .w:nth-child(7) { animation-delay: 0.57s; }
.hero-title .w:nth-child(8) { animation-delay: 0.64s; }

.hero-title em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--accent);
  font-weight: 400;
}

.hero-meta {
  margin-top: clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1fr minmax(260px, 420px);
  gap: clamp(32px, 6vw, 80px);
  align-items: end;
  animation: rise 1.1s 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-sub {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 46ch;
  margin: 0;
}

.hero-sub em {
  font-family: "Fraunces", serif;
  font-variation-settings: "opsz" 14, "SOFT" 100, "WONK" 1;
  font-style: italic;
  font-weight: 400;
}

.hero-badge {
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  color: var(--muted);
  text-align: right;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(217, 74, 30, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
  margin-bottom: 10px;
}

/* Section rules */
.section {
  padding: clamp(80px, 12vw, 140px) 0;
  border-top: 1px solid var(--rule);
  position: relative;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(24px, 4vw, 56px);
  margin-bottom: clamp(48px, 8vw, 96px);
}

.section-head h2 {
  font-family: "Fraunces", serif;
  font-variation-settings: "opsz" 72, "SOFT" 50, "WONK" 1;
  font-weight: 450;
  font-size: clamp(36px, 5.2vw, 72px);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0;
}

.section-head p {
  color: var(--muted);
  font-size: clamp(15px, 1.4vw, 17px);
  max-width: 52ch;
  margin: 0;
  align-self: end;
}

/* Products */
.products {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
}

.product {
  grid-column: span 12;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(28px, 3.6vw, 48px);
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s;
}

.product:hover {
  transform: translateY(-3px);
  border-color: var(--ink);
}

.product::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle at 70% 30%, rgba(217, 74, 30, 0.22), transparent 65%);
  pointer-events: none;
}

.product-art {
  aspect-ratio: 5 / 4;
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f2b8a0 0%, #e07a52 45%, #b84822 100%);
}

.product-art .plushy-scene {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.product-art .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.7;
}

.product-art .blob.a {
  width: 60%;
  height: 60%;
  background: #ffd6b8;
  top: -10%;
  left: -10%;
  animation: float 8s ease-in-out infinite;
}

.product-art .blob.b {
  width: 55%;
  height: 55%;
  background: #8a2b0f;
  bottom: -15%;
  right: -10%;
  animation: float 10s ease-in-out infinite reverse;
}

.product-art svg {
  position: relative;
  z-index: 1;
  width: 42%;
  filter: drop-shadow(0 8px 24px rgba(26, 10, 4, 0.35));
}

.product-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: 260px;
}

.product-title {
  font-family: "Fraunces", serif;
  font-variation-settings: "opsz" 72, "SOFT" 50;
  font-weight: 450;
  font-size: clamp(32px, 4vw, 52px);
  margin: 14px 0 16px;
  letter-spacing: -0.02em;
  line-height: 1;
}

.product-desc {
  margin: 0;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.55;
  max-width: 42ch;
}

.product-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  align-self: flex-start;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: transparent;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.product-cta:hover {
  background: var(--ink);
  color: var(--paper);
}

.product-cta .arrow {
  transition: transform 0.25s ease;
}

.product-cta:hover .arrow {
  transform: translateX(3px);
}

.product-upcoming {
  grid-column: span 12;
  padding: clamp(28px, 3.6vw, 48px);
  border: 1px dashed var(--rule);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--muted);
}

.product-upcoming strong {
  font-family: "Fraunces", serif;
  font-variation-settings: "opsz" 48, "SOFT" 100, "WONK" 1;
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  font-size: 26px;
  letter-spacing: -0.02em;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.contact-big {
  font-family: "Fraunces", serif;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(44px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--accent);
}

.contact-big a {
  background: linear-gradient(transparent 65%, rgba(217, 74, 30, 0.18) 65%);
  transition: background 0.3s;
}

.contact-big a:hover {
  background: linear-gradient(transparent 0%, rgba(217, 74, 30, 0.18) 0%);
}

.contact-side p {
  color: var(--ink-2);
  max-width: 42ch;
  margin: 0 0 18px;
}

/* Footer */
.footer {
  padding: 40px 0 56px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--ink);
}

/* Legal pages */
.legal {
  padding-top: 60px;
  padding-bottom: 80px;
  max-width: 760px;
  margin: 0 auto;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}

.legal-back:hover {
  color: var(--ink);
}

.legal-header {
  padding: 20px 0 60px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 60px;
}

.legal-header .mono {
  color: var(--muted);
  display: block;
  margin-bottom: 18px;
}

.legal h1 {
  font-family: "Fraunces", serif;
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 1;
  font-weight: 450;
  font-size: clamp(48px, 7vw, 96px);
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin: 0 0 16px;
}

.legal .updated {
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal h2 {
  font-family: "Fraunces", serif;
  font-variation-settings: "opsz" 48, "SOFT" 50;
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.015em;
  margin: 48px 0 14px;
  line-height: 1.2;
}

.legal h2 .num {
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  display: block;
  margin-bottom: 6px;
}

.legal p,
.legal li {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.65;
}

.legal ul {
  padding-left: 20px;
}

.legal li {
  margin-bottom: 6px;
}

.legal a {
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.legal a:hover {
  border-color: var(--accent);
}

/* Animations */
@keyframes rise {
  0% {
    opacity: 0;
    transform: translateY(28px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 4px rgba(217, 74, 30, 0.18);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(217, 74, 30, 0.05);
  }
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(20px, -15px);
  }
}

/* Responsive */
@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .hero-meta {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .hero-badge {
    justify-self: start;
    align-items: flex-start;
    text-align: left;
  }
  .section-head {
    grid-template-columns: 1fr;
  }
  .product {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

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