@font-face {
  font-family: Geist;
  src: url("/assets/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/assets/geist-mono.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --navy: #0e1b30;
  --text: #ece6d9;
  --soft: #bab9b6;
  --muted: #949aa2;
  --rule: #2a3546;
  --pad: clamp(24px, 6.67vw, 100px);
  --mono: "Geist Mono", ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { min-height: 100%; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--text);
  font-family: Geist, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--text); }
::selection { background: #ece6d9; color: var(--navy); }
:focus-visible { outline: 2px solid var(--text); outline-offset: 6px; }
main:focus { outline: none; }
.skip-link {
  position: absolute;
  top: 12px;
  left: var(--pad);
  padding: 12px 18px;
  background: var(--text);
  color: var(--navy);
  transform: translateY(-180%);
  z-index: 2;
}
.skip-link:focus { transform: none; color: var(--navy); }
.page {
  max-width: 1600px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.top { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 112px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); flex-shrink: 0; }
.brand svg { width: 27px; height: 27px; fill: currentColor; }
.brand span { font-size: 20px; font-weight: 600; letter-spacing: -.04em; }
.top nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 44px); }
.top nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--soft); }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--text); text-decoration: underline; text-underline-offset: 6px; }
.home { display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(100px, 16vh, 180px) 0 clamp(72px, 12vh, 140px); }
.hero h1 {
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(38px, 5.3vw, 80px);
  font-weight: 300;
  line-height: 1.19;
  letter-spacing: -.055em;
  color: var(--soft);
}
.hero > p { max-width: 60ch; margin: 30px 0 0; font-size: 18px; line-height: 1.6; }
.announce { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; min-height: 44px; margin-bottom: 26px; font: 14px/1.5 var(--mono); letter-spacing: -.02em; color: var(--soft); }
.announce-tag { padding: 3px 9px; border: 1px solid #465163; border-radius: 2px; font-size: 12px; color: var(--muted); }
.announce:hover .announce-tag { border-color: var(--soft); color: var(--text); }
.announce:hover .announce-title { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.foot { display: flex; justify-content: space-between; gap: 20px; padding: 24px 0 30px; border-top: 1px solid var(--rule); font: 13px/1.6 var(--mono); color: var(--muted); }
.foot a:hover { text-decoration: underline; text-underline-offset: 5px; }

.journal { padding: clamp(72px, 12vh, 140px) 0 100px; }
.journal > h1 { margin: 0 0 64px; color: var(--soft); font: 300 clamp(48px, 6vw, 80px)/1.15 var(--mono); letter-spacing: -.05em; }
.posts { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.posts li { border-bottom: 1px solid var(--rule); }
.post-link { display: block; padding: 32px 0; }
.post-link h2 { margin: 0; max-width: 42ch; font: 400 clamp(22px, 2.5vw, 34px)/1.45 var(--mono); letter-spacing: -.045em; overflow-wrap: anywhere; }
.post-link:hover h2 { text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 1px; }
.article { padding: clamp(64px, 11vh, 120px) 0 100px; }
.back-link { display: inline-flex; align-items: center; min-height: 44px; font: 14px/1.5 var(--mono); color: var(--muted); }
.back-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.article h1 { margin: 40px 0 0; color: var(--soft); font: 300 clamp(32px, 4.6vw, 64px)/1.2 var(--mono); letter-spacing: -.055em; overflow-wrap: anywhere; }
.model-name { display: block; }
.post-body { max-width: 65ch; font-size: 18px; line-height: 1.7; }
.post-body:not(:empty) { margin-top: 56px; }

@media (max-width: 760px) {
  .top { min-height: 88px; }
  .brand { gap: 9px; }
  .brand svg { width: 22px; height: 22px; }
  .brand span { font-size: 17px; }
  .top nav { gap: 20px; }
  .home { padding-top: 100px; }
  .hero h1 { max-width: 19ch; font-size: clamp(36px, 7vw, 52px); }
  .wide-break { display: none; }
  .hero > p { max-width: 36ch; margin-top: 24px; font-size: 16px; }
  .announce { gap: 6px 10px; margin-bottom: 18px; font-size: 13px; }
  .announce-tag { padding: 2px 7px; }
  .journal > h1 { margin-bottom: 48px; }
  .foot { flex-wrap: wrap; row-gap: 8px; }
}
@media (max-width: 370px) {
  .top { gap: 14px; flex-wrap: wrap; padding: 22px 0 12px; }
  .top nav { gap: 24px; }
  .home { padding-top: 72px; }
}
