@font-face { font-family: "Bodoni Moda"; src: url("/app/inkblotter/fonts/bodoni-moda.woff") format("woff"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("/app/inkblotter/fonts/bodoni-moda-italic.woff") format("woff"); font-weight: 400 700; font-style: italic; font-display: swap; }
/* The Blotter identity: blue-black ink on cream paper, azure beside it, Bodoni set light and large.
   Layout: a plain blue-black notebook cover for the hero, like the app's cover, then the paper page:
   the fold in six plates, the ten plates, the story in three parts, the facts, the files. */
:root {
  --paper: #F3EFE4;
  --paper-deep: #E8E2D3;
  --ink: #17233B;
  --ink-soft: #4F5F80;
  --cover: #17233B;
  --cover-deep: #0E172A;
  --stamp: #DFE6EE;
  --print: #8693AD;
  --azure: #C6D2DD;
  --accent: #4F5F80;
  --desk: #212B40;
  --todo: #F3DE9C;
  /* Bodoni Moda comes from this site's own fonts/ folder; the device's Bodoni stands in until it arrives. */
  --display: "Bodoni Moda", "Bodoni 72", Didot, "Bodoni MT", Georgia, serif;
  --text: "Bodoni Moda", "Libre Bodoni", "Bodoni 72", "Bodoni MT", Georgia, serif;
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-decoration-color: var(--print); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
a:focus-visible, video:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.caps {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.todo {
  background: var(--todo);
  border-radius: 3px;
  padding: 0 0.3em;
  font-style: normal;
}

/* The cover: matte blue-black cloth, a groove by the spine, nothing printed on it but the name */

.cover {
  position: relative;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0, rgba(0, 0, 0, 0) 10px, rgba(0, 0, 0, 0) 20px, rgba(0, 0, 0, 0.5) 23px, rgba(255, 255, 255, 0.05) 25px, rgba(0, 0, 0, 0) 30px),
    radial-gradient(ellipse at 50% 30%, #24324F 0%, var(--cover) 55%, var(--cover-deep) 100%);
  padding-inline: 16px;
  isolation: isolate;
}

.cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.35;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.5  0 0 0 0 0.5  0 0 0 0 0.5  0 0 0 1.3 -0.3'/></filter><rect width='240' height='240' filter='url(%23g)'/></svg>");
}

.hero { padding-block: clamp(32px, 6vw, 80px); }

.frame {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 48px) clamp(16px, 4vw, 48px);
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

/* Pressed into the cloth: pale, with the shadow a stamp leaves. */
.stamped {
  color: var(--stamp);
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.7), 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero .caps { color: var(--print); margin: 0; }
.hero p { margin: 0; }

.cta {
  display: inline-block;
  padding: 12px 22px;
  border: 1px solid var(--print);
  border-radius: 999px;
  color: var(--stamp);
  font-size: 17px;
  text-decoration: none;
}
.cta:hover { background: var(--azure); color: var(--cover); }
.cta:focus-visible { outline-color: var(--stamp); }

h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(56px, 12vw, 136px);
  line-height: 0.95;
  letter-spacing: -0.012em;
}

/* The wordmark: the name beside a hairline, and across it the mirror image a blotter keeps. */
.wordmark { display: flex; align-items: center; justify-content: center; gap: 0.11em; font-size: clamp(30px, 7.2vw, 104px); line-height: 1.1; }
.wordmark .ghost { transform: scaleX(-1); opacity: 0.2; }
.wordmark .fold { width: 1px; align-self: stretch; background: currentColor; }

.tagline {
  margin: 0;
  color: var(--stamp);
  font-style: italic;
  font-size: clamp(20px, 3vw, 28px);
}

.film {
  width: 100%;
  max-width: 960px;
  margin-top: 18px;
}

.film video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  background: var(--desk);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.film figcaption {
  margin-top: 12px;
  color: var(--print);
  font-size: 15px;
  font-style: italic;
}

/* The paper */

main {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) 16px 64px;
  display: grid;
  gap: clamp(56px, 8vw, 96px);
}

h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.01em;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.08;
  text-wrap: balance;
}

h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
}

/* Lining figures, so "1.0" does not read as "I.o" where the face's own figures are old-style. */
h1, h2, h3 { font-variant-numeric: lining-nums; }

/* Text is set from the sturdy end of Bodoni Moda's optical sizes, so its hairlines hold up on any screen;
   titles take the cut for the size they are set at. */
body { font-variation-settings: "opsz" 12; }
h1, h2, h3, .tagline, .masthead .name { font-variation-settings: normal; }

.lede { display: grid; gap: 20px; max-width: 46rem; }
.lede p { margin: 0; font-size: clamp(19px, 2.2vw, 22px); }

.section-head { display: grid; gap: 14px; margin-bottom: 28px; }
.section-head p { margin: 0; }
.section-head .caps { color: var(--accent); }

.plates {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 36px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plates figure { margin: 0; display: grid; gap: 12px; }

.plates .print {
  aspect-ratio: 1.42;
  max-width: 100%;
  background: var(--desk);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), 0 10px 24px rgba(40, 30, 20, 0.14);
}

.plates img { display: block; width: 100%; height: 100%; object-fit: contain; }

.plates figcaption { display: grid; gap: 2px; font-size: 16px; line-height: 1.5; }
.plates .numeral { color: var(--accent); font-weight: 700; letter-spacing: 0.12em; font-size: 13px; }
.plates strong { font-family: var(--display); font-weight: 500; font-size: 20px; }

.plates.pair { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.lede + .plates { margin-top: 32px; }

.parts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 32px;
}

.parts article { display: grid; gap: 10px; align-content: start; min-width: 0; }
.parts p { margin: 0; }

.crease { width: 1px; height: 72px; margin: 0 auto; border: 0; background: var(--print); }

.facts-and-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 48px;
}

dl {
  margin: 0;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 10px 24px;
}

dt { color: var(--ink-soft); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; padding-top: 4px; }
dd { margin: 0; min-width: 0; }

.contact { display: grid; gap: 14px; align-content: start; }
.contact p { margin: 0; }

.files { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.files li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  padding-block: 14px;
  border-top: 1px solid var(--paper-deep);
}
.files li:last-child { border-bottom: 1px solid var(--paper-deep); }
.files .what { min-width: 0; }
.files .meta { color: var(--ink-soft); font-size: 15px; font-variant-numeric: tabular-nums; }

footer {
  border-top: 1px solid var(--paper-deep);
  padding: 28px 16px 48px;
  color: var(--ink-soft);
  font-size: 14px;
}
footer .inner { max-width: 1080px; margin: 0 auto; display: grid; gap: 8px; }
footer p { margin: 0; max-width: 70ch; }
footer .links { margin-top: 10px; font-size: 16px; }
footer .maker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 14px; }
footer .maker a { display: block; line-height: 0; }
footer .maker img { display: block; width: 134px; height: auto; }

/* Plain pages: privacy and support */

.masthead { padding-block: 22px; }
.masthead .frame { padding: 22px 16px; gap: 4px; }
.masthead a { text-decoration: none; }
.masthead a:focus-visible { outline-color: var(--stamp); }
.masthead .name { font-family: var(--display); font-weight: 400; font-size: 36px; line-height: 1; }

.prose { max-width: 42rem; margin: 0 auto; padding: 56px 16px 72px; display: grid; gap: 18px; }
.prose h1 { font-size: clamp(36px, 6vw, 52px); color: var(--ink); }
.prose h2 { font-size: 26px; margin-top: 18px; }
.prose p, .prose ul { margin: 0; }
.prose li + li { margin-top: 6px; }
.prose .updated { color: var(--ink-soft); font-style: italic; }

@media (max-width: 520px) {
  body { font-size: 17px; }
  dl { grid-template-columns: 1fr; gap: 2px; }
  dd { margin-bottom: 12px; }
  .files li { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}

.parts .caps { color: var(--accent); }
