:root {
  --ink: #252b22;
  --paper: #f7f0e4;
  --cream: #eee3d0;
  --amber: #efbf8c;
  --gold: #844129;
  --muted: #5b5044;
  --line: #cfc0a9;
}

body {
  background-image: radial-gradient(ellipse at 23% 21%, #fff9ee 0%, transparent 55%);
}

.masthead { background: #20251d; }
.hero-shell { background: #242b22; }
.hero {
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(26px, 4vw, 72px);
  padding-block: clamp(46px, 6.5vw, 105px);
}

.hero h1, .section-intro h2, .closing h2, .subpage h1 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.055em;
}

.hero h1 { font-size: clamp(48px, 6.2vw, 100px); }
.hero em, .closing em { color: var(--amber); letter-spacing: -.062em; }
.hero .eyebrow, .closing .eyebrow { color: var(--amber); }
.button { border-radius: 2px; }
.button:hover { background: #f7d3aa; border-color: #f7d3aa; }

.swarm {
  background: #20251d;
  border-color: #a98c63;
  box-shadow: 0 16px 50px #13160d30;
}

.hero-engraving,
.swarm canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transition: opacity .45s ease;
}

.hero-engraving { object-fit: cover; }
.swarm canvas { opacity: 0; }
.swarm:after { display: none; }
.swarm-active .hero-engraving { opacity: .18; }
.swarm-active canvas { opacity: 1; }
.stage-label, .stage-foot { color: #fcdfbd; text-shadow: 0 1px 4px #171b16; }

.demo-studio {
  background: #fffbf3;
  border-color: var(--line);
  box-shadow: 0 14px 40px #4e392412;
}

.demo-tabs { background: #eee3d0; }
.demo-tabs button[aria-selected=true] { background: #e6b98e; }
.demo-tabs button:hover { background: #edcfad; }
.demo-panel h3 { font-family: var(--serif); font-weight: 400; }
.approach { border-color: var(--line); }
.founder-mark { background: #ebd7b8; border-color: #cdb48e; }
.closing { background: #242b22; }
.prose { border-top: 1px solid var(--line); padding-top: 1.4rem; }

@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; padding-block: 34px; }
  .hero h1 { font-size: clamp(42px, 10.6vw, 74px); }
}
