:root {
  --paper: #f4efe6;
  --ink: #1a1612;
  --ink-soft: #5c554d;
  --accent: #b8341a;
  --rule: 2px solid var(--ink);
  --pad: clamp(16px, 2vw, 28px);
}

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

html, body { margin: 0; background: var(--paper); color: var(--ink); }

body {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--ink); }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; }

.page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  border: var(--rule);
  overflow: hidden;
}

.wordmark {
  margin: 0;
  padding: 0.07em clamp(12px, 1.4vw, 20px) 0.02em;
  font-family: Archivo, sans-serif;
  font-weight: 900;
  font-variation-settings: 'wdth' 125;
  font-size: clamp(48px, min(19.2vw, 22vh), 260px);
  line-height: 0.86;
  letter-spacing: -0.035em;
  border-bottom: var(--rule);
}

.strip {
  margin: 0;
  padding: 14px var(--pad);
  border-bottom: var(--rule);
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.9em;
  row-gap: 6px;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.middle {
  flex: 1 1 auto;
  display: flex;
  flex-wrap: wrap;
  min-height: 300px;
  border-bottom: var(--rule);
}

.art {
  flex: 999 1 560px;
  min-width: 0;
  position: relative;
  min-height: 240px;
  border-right: var(--rule);
}

.art canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: crosshair;
}

.readout {
  position: absolute;
  left: 16px;
  bottom: 14px;
  padding: 4px 6px;
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.slab {
  flex: 1 1 300px;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  padding: clamp(24px, 2.6vw, 40px);
}

.claim {
  margin: 0;
  font-family: Archivo, sans-serif;
  font-weight: 800;
  font-variation-settings: 'wdth' 62;
  font-size: clamp(22px, min(2.2vw, 3.4vh), 34px);
  line-height: 0.95;
  text-transform: uppercase;
}

.tagline {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, min(2.3vw, 3.6vh), 36px);
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.contact {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  background: var(--ink);
}

.contact a {
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 0 var(--pad);
  background: var(--paper);
  text-decoration: none;
}

.contact .mail { flex: 999 1 320px; font-size: 13px; letter-spacing: 0.14em; }
.contact .person { flex: 1 1 300px; justify-content: space-between; font-size: 14px; letter-spacing: 0.06em; }

@media (max-width: 640px) {
  .strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
  .strip .sep { display: none; }
  .art { border-right: 0; border-bottom: var(--rule); min-height: 62vh; min-height: 62svh; }
  .middle { border-bottom: 0; }
  .slab { gap: 32px; }
}

@media (min-width: 900px) and (min-height: 560px) {
  .page { height: 100vh; height: 100svh; }
  .middle { flex: 1 1 0; min-height: 0; }
  .art { min-height: 0; }
}
