/* Boltsmith. Washi paper, sumi ink, one vermilion seal. Ma: the empty space does the work. */

:root {
  --paper: #F6F4EF;
  --ink: #111111;
  --wash: #6B6A66;
  --hanko: #D93829;
  --mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --gothic: "Zen Kaku Gothic New", "Hiragino Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pad: clamp(20px, 4vw, 56px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border-radius: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--gothic); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; background: none; border: 0; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--hanko); outline-offset: 4px; }
canvas, img { display: block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.grain { position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: 0.04; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- nav: the seal and one link ---------- */
.nav { position: absolute; z-index: 10; inset: 0 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 28px var(--pad); }
.brand { display: inline-flex; align-items: center; gap: 12px; font: 600 21px/1 var(--mincho); letter-spacing: 0.01em; }
.brand img { width: 32px; height: 32px; }
.link { font: 500 15px var(--gothic); letter-spacing: 0.08em; padding: 8px 0; border-bottom: 1px solid transparent; transition: border-color .2s var(--ease); }
.link:hover { border-color: var(--ink); }

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; max-height: 1100px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.copy { display: flex; flex-direction: column; justify-content: flex-end; padding: 0 0 14svh var(--pad); position: relative; z-index: 2; }
h1 { font: 500 clamp(3.6rem, 8.4vw, 8.5rem)/0.9 var(--mincho); letter-spacing: -0.02em; margin-left: -0.04em; }
.tag { margin-top: 20px; font: 400 clamp(17px, 1.5vw, 21px) var(--gothic); color: var(--wash); letter-spacing: 0.04em; }
.ask { margin-top: 56px; display: flex; align-items: center; max-width: 440px; border-bottom: 1px solid var(--ink); }
.ask input { flex: 1; min-width: 0; height: 52px; font: 400 20px var(--mincho); outline: none; }
.ask button, .join button { width: 48px; height: 48px; font: 400 22px var(--gothic); cursor: pointer; transition: color .2s var(--ease), transform .25s var(--ease); }
.ask button:hover, .join button:hover { color: var(--hanko); transform: translateX(4px); }
.ask:focus-within, .join form:focus-within { border-color: var(--hanko); }
.note { margin-top: 14px; min-height: 24px; font-size: 14px; color: var(--wash); }
.note a { border-bottom: 1px solid currentColor; }
#stage { width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
#stage:active { cursor: grabbing; }
.nogl { align-self: center; justify-self: center; color: var(--wash); padding: 32px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: 58svh auto; height: auto; max-height: none; min-height: 0; }
  #stage { grid-row: 1; height: 58svh; }
  .copy { grid-row: 2; padding: 8px var(--pad) 72px; }
  .ask { margin-top: 36px; }
  }

/* ---------- builds: the prompt, then the build ---------- */
.works { padding: 16svh var(--pad) 12svh; }
.works h2 { text-align: center; margin-bottom: 10svh; font: 500 clamp(2rem, 3.6vw, 3.2rem)/1 var(--mincho); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 72px 48px; max-width: 1280px; margin: 0 auto; }
.work { cursor: pointer; text-align: center; }
.work img { width: 100%; aspect-ratio: 1; object-fit: contain; transition: transform .6s var(--ease); }
.work:hover img { transform: translateY(-6px); }
.work q { display: block; margin-top: 8px; font: 400 18px var(--mincho); color: var(--wash); quotes: "“" "”"; transition: color .2s var(--ease); }
.work:hover q { color: var(--ink); }
@media (max-width: 860px) { .grid { grid-template-columns: 1fr 1fr; gap: 48px 20px; } .work q { font-size: 15px; } }

/* ---------- waitlist ---------- */
.join { padding: 12svh var(--pad) 22svh; display: flex; flex-direction: column; align-items: center; text-align: center; }
.soon { display: flex; align-items: center; gap: 20px; }
.soon img { width: clamp(64px, 7vw, 96px); height: auto; }
.join h2 { font: 500 clamp(2.6rem, 5vw, 4.5rem)/1 var(--mincho); letter-spacing: -0.01em; }
.join form { margin-top: 48px; display: flex; align-items: center; width: min(440px, 100%); border-bottom: 1px solid var(--ink); }
.join input { flex: 1; min-width: 0; height: 52px; font: 400 18px var(--gothic); outline: none; }
.join input::placeholder, .ask input::placeholder { color: var(--wash); opacity: .7; }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; padding: 24px var(--pad) 32px; font-size: 12px; color: var(--wash); letter-spacing: 0.02em; }
