/* robshone.com — a drawing sheet: vellum, navy ink, layout-fluid blue */

:root {
  --paper: #edf0f2;
  --ink: #17202b;
  --muted: #56616e;
  --line: #24408f;
  --grid: rgba(36, 64, 143, 0.08);
  --sans: "Archivo", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #131920; --ink: #e4e9ee; --muted: #9aa6b2;
    --line: #93acf2; --grid: rgba(147, 172, 242, 0.1);
  }
}
:root[data-theme="dark"] {
  --paper: #131920; --ink: #e4e9ee; --muted: #9aa6b2;
  --line: #93acf2; --grid: rgba(147, 172, 242, 0.1);
}

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

html, body { height: 100%; }
body {
  margin: 0;
  padding: clamp(12px, 3vw, 32px);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
}

a { color: inherit; }
:focus-visible { outline: 2px solid var(--line); outline-offset: 4px; }

/* The sheet fills the window: border, grid, corner ticks */
.sheet {
  position: relative;
  min-height: 100%;
  border: 1.5px solid var(--line);
  padding: clamp(24px, 6vw, 80px);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: -1px -1px;
  display: flex;
  flex-direction: column;
}
.sheet::before, .sheet::after {
  content: ""; position: absolute; width: 14px; height: 14px;
  border: 0 solid var(--line);
}
.sheet::before { top: 8px; left: 8px; border-width: 1.5px 0 0 1.5px; }
.sheet::after { bottom: 8px; right: 8px; border-width: 0 1.5px 1.5px 0; }

/* ---------- home ---------- */
.home h1 {
  margin: auto 0 0;
  font-size: clamp(4rem, 17vw, 13rem);
  font-weight: 800;
  font-variation-settings: "wdth" 125;
  line-height: 0.86;
  letter-spacing: -0.03em;
}

.links {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin: clamp(28px, 5vw, 48px) 0 auto;
}
.links a {
  min-height: 48px; padding: 0 22px;
  display: inline-flex; align-items: center;
  border: 1.5px solid var(--line);
  color: var(--line);
  background: var(--paper);
  font-size: 1.05rem; font-weight: 600;
  text-decoration: none;
}
.links a:hover { background: var(--line); color: var(--paper); }

.title-block {
  margin: 32px 0 0 auto;
  border-collapse: collapse;
  background: var(--paper);
  font-size: 0.8rem;
}
.title-block th, .title-block td {
  border: 1.5px solid var(--line);
  padding: 5px 9px; text-align: left;
}
.title-block th { font-weight: 500; font-variation-settings: "wdth" 75; color: var(--line); }
.title-block td { font-weight: 600; }

/* ---------- inner pages ---------- */
.back {
  align-self: flex-start;
  font-weight: 800; font-variation-settings: "wdth" 125;
  text-decoration: none; border: 1.5px solid var(--ink); padding: 2px 8px;
  background: var(--paper);
}
.page-title {
  margin: clamp(40px, 8vw, 96px) 0 24px;
  font-size: clamp(2.6rem, 8vw, 5.5rem);
  font-weight: 800; font-variation-settings: "wdth" 125;
  line-height: 0.95; letter-spacing: -0.02em;
}
.project-list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); max-width: 720px; }
.project-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--muted);
  background: var(--paper);
}
.project-list a { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 700; text-decoration: none; }
.project-list a:hover { color: var(--line); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.15em; }
.project-list span { color: var(--muted); font-size: 0.95rem; text-align: right; }

@media (max-width: 480px) {
  .title-block { margin-left: 0; }
  .project-list li { flex-direction: column; gap: 2px; }
  .project-list span { text-align: left; }
}
