:root {
  --ink: #2a1f14;
  --muted: #6a5644;
  --bg: #d8c4a0;
  --bg-soft: #cbb28a;
  --paper: #efe0c4;
  --line: rgba(42, 31, 20, 0.16);
  --accent: #8b1e2d;
  --accent-deep: #6a1522;
  --accent-bar: #c9a06a;
  --on-accent: #fff8f0;
  --font: 'Anuphan', sans-serif;
  --heading: 'Prompt', 'Anuphan', sans-serif;
  --mono: 'IBM Plex Mono', 'Anuphan', monospace;
  --max: 1080px;
  --demo-h: 48px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  font-synthesis: none;
  background:
    radial-gradient(ellipse 55% 40% at 100% 0%, rgba(139, 30, 45, 0.1), transparent 55%),
    repeating-linear-gradient(-8deg, transparent, transparent 26px, rgba(42, 31, 20, 0.04) 26px, rgba(42, 31, 20, 0.04) 27px),
    var(--bg);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; font-size: 16px; }
ul { list-style: none; }
.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.demo-bar {
  position: sticky; top: 0; z-index: 60;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap; padding: 0.55rem 1.25rem;
  background: #1a140e; color: #fff; font-size: 0.82rem;
}
.demo-bar strong {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em;
  color: var(--accent-bar); font-weight: 500;
}
.demo-bar__actions { display: flex; gap: 0.45rem; flex-wrap: wrap; }
.demo-bar a {
  padding: 0.35rem 0.7rem; border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius); font-size: 0.78rem; font-weight: 500;
}
.demo-bar a.is-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

.site-header {
  position: sticky; top: var(--demo-h); z-index: 50;
  background: rgba(216, 196, 160, 0.94); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); position: relative;
}
.brand {
  font-family: var(--heading); font-weight: 700; font-size: 1.3rem;
  display: inline-flex; align-items: baseline; gap: 0.45rem;
}
.brand small {
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); font-weight: 500;
}
.menu-toggle {
  display: none; background: none; border: 1px solid var(--line);
  padding: 0.45rem 0.8rem; cursor: pointer; border-radius: var(--radius); color: var(--ink);
}
.nav { display: flex; align-items: center; gap: 1.15rem; }
.nav a { font-size: 0.92rem; font-weight: 500; color: var(--muted); }
.nav-cta {
  background: var(--accent); color: var(--on-accent) !important;
  padding: 0.55rem 1.05rem; border-radius: var(--radius); font-weight: 700;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.9rem 1.4rem; font-weight: 700; border-radius: var(--radius);
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform 0.2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,0.45); background: transparent; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero {
  position: relative; min-height: min(90dvh, 820px);
  display: flex; align-items: flex-end; color: #fff; overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  animation: ken 22s var(--ease) both;
}
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(28, 18, 10, 0.92) 0%, rgba(28, 18, 10, 0.58) 50%, rgba(28, 18, 10, 0.28) 100%);
}
.hero__fx { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.ink-spot {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 30, 45, 0.55), transparent 70%);
  animation: inkPulse 5s ease-in-out infinite;
}
.ink-spot--1 { width: 180px; height: 180px; right: 12%; bottom: 18%; }
.ink-spot--2 { width: 90px; height: 90px; right: 28%; bottom: 38%; animation-delay: 1.2s; opacity: 0.6; }
.ink-spot--3 { width: 60px; height: 60px; left: 18%; top: 28%; animation-delay: 2s; opacity: 0.45; }
.paper-grain {
  position: absolute; inset: 0; opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__inner {
  position: relative; z-index: 2; padding: 5rem 0 3.5rem; max-width: 38rem;
  margin-left: max(calc((100% - var(--max)) / 2), 1.25rem);
  width: min(100% - 2.5rem, 38rem);
  animation: rise 0.9s var(--ease) both;
}
.hero__brand {
  font-family: var(--heading); font-size: 1.25rem; font-weight: 700;
  margin-bottom: 1rem; display: flex; gap: 0.5rem; align-items: baseline;
}
.hero__brand span {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent-bar);
}
.hero h1 {
  font-family: var(--heading); font-size: clamp(2.15rem, 5vw, 3.35rem);
  line-height: 1.18; letter-spacing: -0.02em; margin-bottom: 0.9rem;
}
.hero h1 em {
  display: block; font-style: normal; color: var(--accent-bar);
  font-size: 0.72em; margin-top: 0.25rem;
}
.hero__lead { color: rgba(255,255,255,0.86); margin-bottom: 1.5rem; }

@keyframes ken { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes inkPulse {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.08); }
}

.section { padding: 4.5rem 0; }
.section--kraft { background: var(--bg-soft); }
.section--ink { background: #1f1610; color: #fff; }
.section__head { margin-bottom: 2.25rem; max-width: 38rem; }
.section__head h2 {
  font-family: var(--heading); font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  letter-spacing: -0.02em; line-height: 1.22; margin-bottom: 0.5rem;
}
.section__head p { color: var(--muted); }
.eyebrow {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.5rem;
}
.eyebrow.light { color: var(--accent-bar); }

/* PROOF SHEETS — unique to Plate Proof */
#proofs { padding-bottom: 2rem; }
.proof {
  display: block; margin: 0 0 1.75rem;
  background: var(--paper); border: 1.5px solid var(--ink);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.proof:hover {
  transform: translateY(-3px);
  box-shadow: 6px 6px 0 rgba(42, 31, 20, 0.2);
}
.proof__media {
  aspect-ratio: 21 / 9; overflow: hidden; background: #3a2c1c;
}
.proof__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.proof:hover .proof__media img { transform: scale(1.03); }
.proof__meta {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 0.75rem 1.25rem; align-items: center;
  padding: 0.95rem 1.25rem;
  border-top: 1.5px solid var(--ink);
  background:
    repeating-linear-gradient(90deg, transparent, transparent 8px, rgba(42, 31, 20, 0.04) 8px, rgba(42, 31, 20, 0.04) 9px),
    var(--paper);
}
.proof__job {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent); font-weight: 500;
}
.proof__title { font-family: var(--heading); font-weight: 700; font-size: 1.05rem; }
.proof__spec { font-size: 0.88rem; color: var(--muted); }
.proof__qty {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em;
  padding: 0.3rem 0.55rem; border: 1px solid var(--line); background: rgba(255,255,255,0.35);
}

.press {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; align-items: center;
}
.press__copy h2 {
  font-family: var(--heading); font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -0.02em; line-height: 1.22; margin-bottom: 0.75rem;
}
.press__copy > p { color: var(--muted); margin-bottom: 1.25rem; }
.ticks { display: grid; gap: 0.55rem; }
.ticks li {
  position: relative; padding-left: 1.35rem; font-weight: 500;
}
.ticks li::before {
  content: ''; position: absolute; left: 0; top: 0.55rem;
  width: 0.55rem; height: 0.55rem; background: var(--accent); border-radius: 1px;
}
.press__panel {
  position: relative; border: 1.5px solid var(--ink); overflow: hidden;
}
.press__panel img { width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.press__panel p {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0.65rem 1rem; background: rgba(31, 22, 16, 0.88); color: #fff;
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase;
}

.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: 2.5rem; align-items: start; }
.contact h2 {
  font-family: var(--heading); font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 0.6rem;
}
.contact > .reveal > p { color: rgba(255,255,255,0.75); }
.form {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.18);
  padding: 1.5rem; display: grid; gap: 1rem;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: 0.35rem; }
.field label {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent-bar);
}
.field input, .field select, .field textarea {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.22);
  color: #fff; padding: 0.75rem 0.85rem; border-radius: var(--radius);
}
.field textarea { resize: vertical; min-height: 96px; }
.field option { color: var(--ink); }

.site-footer {
  border-top: 1px solid var(--line); padding: 1.5rem 0; background: var(--bg-soft);
}
.footer {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap; font-size: 0.9rem; color: var(--muted);
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .press, .contact { grid-template-columns: 1fr; }
  .proof__meta {
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem 1rem;
  }
  .proof__title { grid-column: 1 / -1; }
  .proof__spec { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border: 1px solid var(--line); padding: 0.5rem;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.75rem 0.85rem; border-bottom: 1px solid var(--line); }
  .nav-cta { text-align: center; margin-top: 0.35rem; }
  .field-row { grid-template-columns: 1fr; }
  .proof__media { aspect-ratio: 16 / 10; }
  .hero__inner { margin-left: 1.25rem; }
}
