:root {
  --bg: #fafaf7;
  --ink: #18181b;
  --muted: #71717a;
  --line: rgba(24, 24, 27, 0.22);
  --grid: rgba(24, 24, 27, 0.055);
  --accent: #d9480f;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  font: 14px/1.7 var(--mono);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* drafting grid, fading out toward the edges */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: center;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 72%);
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 72%);
}

/* crop marks in the four corners */
.marks {
  position: fixed;
  inset: 20px;
  pointer-events: none;
  --m: linear-gradient(var(--line), var(--line));
  background:
    var(--m) top left / 18px 1px no-repeat,
    var(--m) top left / 1px 18px no-repeat,
    var(--m) top right / 18px 1px no-repeat,
    var(--m) top right / 1px 18px no-repeat,
    var(--m) bottom left / 18px 1px no-repeat,
    var(--m) bottom left / 1px 18px no-repeat,
    var(--m) bottom right / 18px 1px no-repeat,
    var(--m) bottom right / 1px 18px no-repeat;
}

.wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 28px 32px;
  text-align: center;
}

/* wireframe cube, hidden edges dashed */
.cube { width: 76px; height: auto; margin-bottom: 36px; overflow: visible; }
.cube path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.cube .edges {
  stroke: var(--ink);
  stroke-width: 1.4;
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
  animation: draw 1.6s cubic-bezier(0.65, 0, 0.35, 1) 0.2s forwards;
}
.cube .hidden-edges {
  stroke: var(--accent);
  stroke-width: 1.2;
  stroke-dasharray: 3 4;
  opacity: 0;
  animation: fade 0.8s ease 1.6s forwards;
}

.name {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.title { display: inline-flex; flex-direction: column; }

h1 {
  margin: 0;
  font: 400 clamp(3rem, 9vw, 6rem)/1 var(--serif);
  letter-spacing: -0.015em;
}
h1 em { font-style: italic; }

/* dimension line under the heading */
.dim {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.dim::before, .dim::after {
  content: "";
  position: absolute;
  top: -9px;
  width: 1px;
  height: 18px;
  background: currentColor;
}
.dim::before { left: 0; }
.dim::after { right: 0; }
.dim i { position: relative; flex: 1; height: 1px; background: currentColor; }
.dim i::before {
  content: "";
  position: absolute;
  top: -4px;
  width: 1px;
  height: 9px;
  background: currentColor;
  transform: rotate(45deg);
}
.dim i:first-child::before { left: 0; }
.dim i:last-child::before { right: 0; }
.dim span { white-space: nowrap; }

.note { max-width: 34ch; margin: 28px 0 0; color: var(--muted); }

.note a { color: var(--ink); text-underline-offset: 3px; }
.note a:hover { color: var(--accent); }

footer {
  padding: 0 28px 40px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .cube .edges, .cube .hidden-edges { animation: none; stroke-dashoffset: 0; opacity: 1; }
}
