/* Distortion Brothers, memorial edition. Design system: C · Broadsheet (after Refero's Miranda),
   in sites/distortionbros/BRIEF.md. Light only, like newsprint (Mickey, 2026-10-10). */

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/playfair-display-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/playfair-display-latin-wght-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/source-serif-4-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/source-serif-4-latin-wght-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Only the pronunciations need these (ˈ ȯ ə). */
@font-face {
  font-family: "Source Serif 4";
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/source-serif-4-latin-ext-wght-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url("../fonts/oswald-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;

  --paper: #e4dfd8;
  --ink: #1d1d1b;
  --rule: #b9b1a6;
  --rust: #9e3410;
  --photo-bg: #ffffff;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-text: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-label: "Oswald", "Arial Narrow", sans-serif;

  --gutter: 32px;
  --section: 40px;
}

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

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

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

img { max-width: 100%; height: auto; display: block; }

a { color: var(--rust); text-underline-offset: 0.15em; }
a:hover { color: var(--ink); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 3px;
}

p, h1, h2, figure, blockquote { margin: 0; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.page {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Labels (kickers) ---------- */

.kicker {
  margin: 0 0 8px;
  font-family: var(--font-label);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rust);
}

/* ---------- Masthead ---------- */

.strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 20px 0 14px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--font-label);
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.strip > :first-child { justify-self: start; }
.strip > :nth-child(2) { justify-self: center; }
.strip > :last-child { justify-self: end; }

.band {
  margin: 18px 0 0;
  padding: 28px 24px;
  background: var(--ink);
  display: flex;
  justify-content: center;
}
.band img { width: 100%; max-width: 420px; }
.band a { display: block; width: 100%; max-width: 280px; }
.band a img { max-width: 280px; }
.band a:focus-visible { outline-color: var(--paper); outline-offset: 6px; }

/* The thin second rule under the band */
.band-rule {
  height: 4px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: var(--section);
}

/* ---------- Three columns ---------- */

.columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr) minmax(0, 1fr);
}
.columns > section { padding: 0 28px var(--section); }
.columns > section:first-child { padding-left: 0; }
.columns > section:last-child { padding-right: 0; }
.columns > section + section { border-left: 1px solid var(--rule); }

.col-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 38px;
  line-height: 1.08;
}

.columns p + p { margin-top: 16px; }

.dropcap::first-letter {
  float: left;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 64px;
  line-height: 0.85;
  padding: 6px 8px 0 0;
}

/* Definitions */
.columns .term {
  margin-top: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.4;
}
.columns .pron {
  margin: 0 0 6px;
  font-style: italic;
  font-size: 15px;
}
.columns .pron + p { margin-top: 0; }
.columns p + .term { margin-top: 22px; }
.columns hr {
  margin: 22px 0 16px;
  border: 0;
  border-top: 1px solid var(--rule);
}
.columns hr + p { margin-top: 0; }

/* Principles */
.principles { margin: 16px 0 0; padding: 0; list-style: none; }
.principles li + li { margin-top: 12px; }
.principles strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
}

/* ---------- Gallery ---------- */

.section {
  border-top: 3px double var(--ink);
  padding: var(--section) 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 44px;
  line-height: 1.15;
}
.section-head p {
  font-family: var(--font-label);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--photo-bg);
  border: 1px solid var(--ink);
}
.gallery figcaption {
  margin-top: 8px;
  font-size: 15px;
  font-style: italic;
  line-height: 1.4;
}

.builders {
  margin-top: 32px;
  border: 1px solid var(--ink);
  padding: 20px 24px;
}
.builders p:last-child {
  font-size: 17px;
  line-height: 1.8;
}

/* ---------- In memoriam ---------- */

.memoriam {
  border-top: 3px double var(--ink);
  border-bottom: 3px double var(--ink);
  padding: 64px 32px 72px;
  text-align: center;
}
.memoriam .kicker { margin-bottom: 12px; }
.memoriam h2 {
  margin: 0 0 36px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 72px;
  line-height: 1;
}
.remembrance {
  margin: 0 auto;
  max-width: 820px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.4;
  text-wrap: pretty;
}
.signature {
  margin-top: 20px;
  font-family: var(--font-label);
  font-size: 15px;
  letter-spacing: 0.04em;
}
.dumble {
  margin: 56px auto 0;
  max-width: 720px;
  border-top: 2px solid var(--rust);
  padding-top: 28px;
}
.dumble blockquote {
  font-style: italic;
  font-size: 22px;
  line-height: 1.5;
}
.dumble figcaption {
  margin-top: 14px;
  font-family: var(--font-label);
  font-size: 13px;
  letter-spacing: 0.04em;
}

/* ---------- Footer ---------- */

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 24px 0 40px;
  font-size: 16px;
}
.site-footer > :first-child { justify-self: start; }
.site-footer > :nth-child(2) { justify-self: center; }
.site-footer > :last-child { justify-self: end; }
.sister-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---------- Single-column pages (contact, sent, error, 404) ---------- */

.notice {
  border-bottom: 3px double var(--ink);
  padding: 8px 0 64px;
}
.notice-inner { max-width: 640px; margin: 0 auto; }
.notice h1 {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 52px;
  line-height: 1.08;
}
.notice p + p { margin-top: 16px; }
.notice .lede { font-size: 20px; }
.notice .links { margin-top: 28px; font-family: var(--font-label); font-size: 16px; letter-spacing: 0.04em; }

/* ---------- Form ---------- */

.form { margin-top: 32px; }
.field + .field { margin-top: 20px; }
.field label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-label);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.field .optional {
  text-transform: none;
  letter-spacing: 0.02em;
  font-family: var(--font-text);
  font-style: italic;
  font-size: 15px;
}
.field input, .field textarea {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--photo-bg);
  color: var(--ink);
  font: inherit;
  font-size: 18px;
  line-height: 1.5;
}
.field textarea { min-height: 200px; resize: vertical; }

/* The honeypot: off screen for people, still in the form for bots. */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.button {
  margin-top: 28px;
  padding: 12px 28px;
  border: 0;
  border-radius: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-label);
  font-size: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.button:hover { background: var(--rust); }

/* ---------- Narrow screens ---------- */

@media (max-width: 1023px) {
  .columns { grid-template-columns: minmax(0, 1fr); }
  .columns > section { padding: 0 0 var(--section); }
  .columns > section + section {
    border-left: 0;
    border-top: 1px solid var(--rule);
    padding-top: var(--section);
  }
}

@media (max-width: 767px) {
  .site-footer {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    text-align: center;
  }
  .site-footer > * { justify-self: center !important; }
  .sister-links { justify-content: center; }
}

@media (max-width: 599px) {
  :root { --gutter: 16px; --section: 32px; }
  body { font-size: 17px; }

  .strip {
    grid-template-columns: 1fr 1fr;
    row-gap: 4px;
    font-size: 13px;
  }
  .strip > :nth-child(2) { grid-column: 1 / -1; grid-row: 1; }

  .band { padding: 20px 16px; }

  .col-title { font-size: 32px; }
  .section-head h2 { font-size: 34px; }

  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .gallery figcaption { font-size: 14px; }

  .builders { padding: 16px; }

  .memoriam { padding: 48px 0 56px; }
  .memoriam h2 { font-size: 56px; margin-bottom: 28px; }
  .remembrance { font-size: 25px; }
  .dumble { margin-top: 44px; }
  .dumble blockquote { font-size: 19px; }

  .notice h1 { font-size: 40px; }
}
