/* Noon: white paper, black ink, hard offset shadows. No third-party requests, font is self-hosted. */
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("/fonts/AtkinsonHyperlegibleNext-Variable.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --ink: #000;
  --paper: #fff;
  --blue: #0033E6;
  --yellow: #FFD400;
  --shadow: 6px 6px 0 var(--ink);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Atkinson Hyperlegible Next", system-ui, sans-serif;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(circle, #00000026 1.5px, transparent 1.6px);
  background-size: 24px 24px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--yellow);
  border: 4px solid var(--ink);
  padding: 8px 14px;
  z-index: 10;
}
.skip:focus { left: 8px; top: 8px; }

a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { background: var(--yellow); color: var(--ink); }
a:focus-visible, button:focus-visible { outline: 4px solid var(--blue); outline-offset: 3px; }

.wrap { max-width: 46rem; margin: 0 auto; padding: 0 20px; }

.stripe {
  height: 18px;
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
  background-image: repeating-linear-gradient(-45deg, var(--yellow) 0 14px, var(--ink) 14px 28px);
  background-size: 39.6px 100%;
  animation: stripes 1.4s linear infinite;
}
@keyframes stripes { to { background-position: 39.6px 0; } }
@media (prefers-reduced-motion: reduce) {
  .stripe { animation: none; }
}

header.top { padding: 22px 0 10px; }
header.top .wrap { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; justify-content: space-between; }
.brand { font-weight: 800; font-size: 1.5rem; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.brand:hover { background: none; }
.brand span { color: var(--blue); }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; flex-wrap: wrap; }

h1 { font-size: clamp(2.2rem, 7vw, 3.4rem); line-height: 1.05; margin: 28px 0 14px; letter-spacing: -0.02em; font-weight: 800; }
h2 { font-size: 1.6rem; margin: 40px 0 8px; font-weight: 800; }
h3 { font-size: 1.2rem; margin: 24px 0 4px; font-weight: 700; }
p, ul, ol { margin: 0 0 14px; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: 6px; }

.card {
  background: var(--paper);
  border: 4px solid var(--ink);
  box-shadow: var(--shadow);
  padding: 18px 20px;
  margin: 26px 0;
}
.card.yellow { background: var(--yellow); }
.card h2, .card h3 { margin-top: 0; }

.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  border: 4px solid var(--ink);
  box-shadow: var(--shadow);
  padding: 12px 22px;
  min-height: 64px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  line-height: 1.3;
}
.btn:hover { background: var(--blue); color: #fff; }
.btn:active { transform: translate(6px, 6px); box-shadow: 0 0 0 var(--ink); }

.count {
  display: inline-block;
  background: var(--yellow);
  border: 4px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  padding: 6px 14px;
  font-weight: 800;
  margin: 0 0 18px;
}
.count[hidden] { display: none; }

.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 52px; min-height: 40px; }
.steps li::before {
  content: counter(s);
  position: absolute; left: 0; top: -2px;
  width: 38px; height: 38px; border-radius: 50%;
  border: 4px solid var(--ink); background: var(--paper);
  font-weight: 800; text-align: center; line-height: 30px;
}

.meta { font-size: 0.95rem; }
footer { margin-top: 56px; padding-bottom: 40px; }
footer .wrap { border-top: 4px solid var(--ink); padding-top: 16px; font-size: 0.95rem; }
footer ul { list-style: none; padding: 0; display: flex; gap: 16px; flex-wrap: wrap; }

.credit img { display: block; max-width: 100%; height: auto; margin-bottom: 12px; }
.credit p { margin: 0; font-weight: 600; }
.shots { display: flex; align-items: flex-start; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 8px 20px 4px; margin: 16px 0 4px; -webkit-overflow-scrolling: touch; }
.shots figure { flex: 0 0 min(240px, 32vh); margin: 0; scroll-snap-align: start; }
.phone { aspect-ratio: 9 / 19.5; border: 4px solid var(--ink); border-radius: 28px; overflow: hidden; background: var(--paper); box-shadow: var(--shadow); }
.phone img { display: block; width: 100%; height: 100%; object-fit: cover; }
.shots figcaption { margin-top: 14px; font-size: 0.95rem; font-weight: 600; }
.note { font-size: 0.9rem; }
@media (min-width: 640px) {
  .shots { display: grid; grid-template-columns: repeat(2, minmax(0, 280px)); gap: 32px 40px; overflow: visible; padding: 4px 8px 8px 4px; }
  .shots figure { flex: none; width: 100%; }
}

.hero { margin: 8px 0 24px; }
.hero h1 { margin-bottom: 8px; }
.hero .sub { font-size: 1.15rem; font-weight: 600; margin: 0 0 18px; }
.hero-frame { border: 4px solid var(--ink); box-shadow: var(--shadow); background: var(--paper); }
.hero-art { display: block; width: 100%; height: auto; }
.tablewrap { overflow-x: auto; margin: 12px 0; }
.tablewrap table { border-collapse: collapse; min-width: 34rem; width: 100%; font-size: 0.9rem; }
.tablewrap caption { text-align: left; font-weight: 600; padding-bottom: 6px; }
.tablewrap th, .tablewrap td { border: 2px solid var(--ink); padding: 6px 8px; text-align: left; vertical-align: top; }
.tablewrap thead th { background: var(--yellow); }
.tablewrap.fit table { min-width: 0; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0; }
.stats div { border: 4px solid var(--ink); box-shadow: var(--shadow); padding: 12px 10px; background: var(--paper); }
.stats div:last-child { background: var(--yellow); }
.stats b { display: block; font-size: 1.6rem; line-height: 1.1; }
.stats span { display: block; margin-top: 4px; font-size: 0.9rem; }
@media (max-width: 480px) { .stats b { font-size: 1.25rem; } .stats span { font-size: 0.8rem; } }
