:root {
  --paper: #f3eee3;
  --paper-deep: #e9e2d2;
  --ink: #161412;
  --ink-soft: #2a2622;
  --muted: #5f5a52;
  --rule: #161412;
  --serif-display: "Playfair Display", Georgia, serif;
  --serif-body: "Old Standard TT", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  min-height: 100vh;
  background: var(--paper);
  background-image: radial-gradient(rgba(0,0,0,.035) 1px, transparent 1px);
  background-size: 3px 3px;
  color: var(--ink);
  font-family: var(--serif-body);
  line-height: 1.6;
}
a { color: inherit; }
img, svg { max-width: 100%; display: block; }

.page { max-width: 980px; margin: 0 auto; padding: 28px 16px 48px; }

/* Masthead */
.masthead { text-align: center; padding-bottom: 14px; border-bottom: 3px double var(--rule); }
.masthead .dateline {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid var(--rule); padding-bottom: 8px; margin-bottom: 14px;
}
.masthead .name {
  font-family: var(--serif-display); font-weight: 900;
  font-size: clamp(38px, 10vw, 84px); line-height: 1; letter-spacing: .01em;
  text-decoration: none; display: inline-block;
}
.masthead .motto { margin-top: 8px; font-style: italic; color: var(--muted); font-size: 15px; }

/* Nav */
.nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 22px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.nav a { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }

/* Headline block */
.lead { text-align: center; padding: 44px 0 34px; border-bottom: 1px solid var(--rule); }
.kicker { font-size: 12px; letter-spacing: .32em; text-transform: uppercase; }
.lead h1 {
  font-family: var(--serif-display); font-weight: 900;
  font-size: clamp(40px, 9vw, 92px); line-height: 1.02; margin: 14px auto 18px; max-width: 12ch;
}
.lead .deck { font-size: clamp(17px, 2.4vw, 21px); color: var(--ink-soft); max-width: 34ch; margin: 0 auto; font-style: italic; }

/* Two doors */
.doors { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 3px double var(--rule); }
.door {
  display: block; text-decoration: none; padding: 30px 26px 34px;
  transition: background .15s ease;
}
.door + .door { border-left: 1px solid var(--rule); }
.door:hover, .door:focus-visible { background: rgba(0,0,0,.035); }
.door .section { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.door h2 { font-family: var(--serif-display); font-weight: 700; font-size: clamp(26px, 4vw, 38px); line-height: 1.1; margin: 10px 0 12px; }
.door p { font-size: 17px; color: var(--ink-soft); }
.door .go {
  display: inline-block; margin-top: 18px; font-family: var(--serif-display); font-style: italic; font-size: 19px;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 5px 14px;
}
.door.machine p, .door.machine .go { font-family: var(--mono); font-style: normal; font-size: 15px; }
.door .status { display: block; margin-top: 10px; font-size: 13px; color: var(--muted); font-style: italic; }

/* Footer */
.foot { text-align: center; padding-top: 26px; font-size: 13px; color: var(--muted); letter-spacing: .04em; line-height: 1.8; }
.foot .soon {
  display: inline-block; margin-bottom: 14px; font-family: var(--serif-display); font-style: italic; font-size: 19px; color: var(--ink);
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 6px 16px;
}

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

@media (max-width: 640px) {
  .doors { grid-template-columns: 1fr; }
  .door + .door { border-left: 0; border-top: 1px solid var(--rule); }
  .door { padding: 26px 4px 30px; }
  .masthead .dateline span:nth-child(2) { display: none; }
}
.go[aria-disabled="true"] { opacity: .45; }
