@font-face {
  font-family: "Caprasimo";
  src: url("/fonts/caprasimo-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --maroon: #6E1B29;
  --maroon-deep: #4A0D18;
  --paper: #F6F0E4;
  --cream: #F7F1E6;
  --ink: #2B1014;
  --rule: rgba(43, 16, 20, 0.3);
  --keyline: rgba(247, 241, 230, 0.5);
  --display: "Caprasimo", Georgia, serif;
  --text: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --pad: 48px;
  --gut: 24px;
  --wrap: 1296px;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 19px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, p, figure, form { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 400; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10;
  background: var(--cream);
  color: var(--maroon);
  font-size: 19px;
  font-weight: 600;
  padding: 14px 20px;
  text-decoration: none;
}

.skip:focus { left: 0; }

/* ---------------------------------------------- opening screen */

.open {
  background: var(--maroon);
  color: var(--cream);
  height: 100vh;
  height: 100svh;
  min-height: 620px;
  padding: 24px;
}

.open-frame {
  height: 100%;
  border: 1px solid var(--keyline);
  padding-block: 40px;
  padding-inline: max(24px, calc(50% - 600px));
  display: grid;
}

.open-type {
  --f: min(calc(100cqw / 6.05), calc(100cqh / 3.86));
  container-type: size;
  width: 100%;
  max-width: 1380px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
}

.name {
  grid-area: 1 / 1 / 2 / 3;
  font-size: var(--f);
  line-height: 0.86;
  letter-spacing: -0.012em;
}

.name span { display: block; white-space: nowrap; }

/* The three facts sit in the notch the short words leave, with the hairline
   on the cap line of the S. */
.open-meta {
  grid-area: 1 / 2 / 2 / 3;
  justify-self: end;
  align-self: start;
  text-align: right;
  font-size: 23px;
  font-weight: 500;
  line-height: 1.45;
  margin-top: calc(var(--f) * 0.055);
  padding-top: 14px;
  border-top: 1px solid var(--keyline);
}

.open-line {
  grid-area: 2 / 1 / 3 / 3;
  font-family: var(--display);
  font-size: calc(var(--f) * 0.416);
  line-height: 0.98;
  letter-spacing: -0.008em;
  margin-top: calc(var(--f) * 0.26);
  padding-top: calc(var(--f) * 0.16);
  border-top: 1px solid var(--keyline);
}

.open-line span { display: block; }

.open--note .open-type { --f: min(calc(100cqw / 6.05), calc(100cqh / 3.1)); }

.note {
  grid-area: 2 / 1 / 3 / 3;
  font-size: 22px;
  line-height: 1.5;
  margin-top: calc(var(--f) * 0.26);
  padding-top: calc(var(--f) * 0.16);
  border-top: 1px solid var(--keyline);
}

.note a {
  display: inline-block;
  margin-left: 6px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  padding-block: 8px;
}

/* ---------------------------------------------- shared shell */

.who, .print, .reach-in, .foot p {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.tv > * {
  max-width: calc(var(--wrap) - (2 * var(--pad)));
  margin-inline: auto;
}

/* ---------------------------------------------- kathy */

.who { padding-block: 76px 78px; }

.who-row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gut);
  align-items: start;
}

.who-h {
  grid-column: 1 / span 8;
  grid-row: 1;
  font-size: clamp(38px, 4.5vw, 62px);
  line-height: 1;
  letter-spacing: -0.01em;
}

.bio {
  grid-column: 1 / span 8;
  grid-row: 2;
  font-size: 26px;
  line-height: 1.42;
  padding-top: 26px;
}

.portrait { grid-column: 10 / -1; grid-row: 1 / span 2; }

.portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 18%;
  border: 1px solid var(--ink);
}

/* Widths tuned to the length of each text, on the same 12 column module as
   the row above, so the four columns end level instead of stepping down.
   3.72 + 3.08 + 2.19 + 3 = 12. The award keeps 3, flush with the portrait. */
.creds {
  display: grid;
  grid-template-columns: 3.72fr 3.08fr 2.19fr 3fr;
  column-gap: var(--gut);
  row-gap: 34px;
  align-items: stretch;
  margin-top: 66px;
}

.cred {
  border-top: 2px solid var(--ink);
  padding-top: 15px;
}

.cred--d {
  background: var(--maroon);
  color: var(--cream);
  padding: 15px 22px 22px;
}

.cred h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 21px;
  line-height: 1.08;
  color: var(--maroon);
  margin-bottom: 10px;
}

.cred--d h3 { color: var(--cream); }

.cred p { font-size: 18px; line-height: 1.5; }

/* The award is the shortest text, so it is set a step larger to fill its block. */
.cred--d p { font-size: 20px; }

.cred cite { font-style: italic; }

/* ---------------------------------------------- print ads */

.print { padding-block: 0 74px; }

.lead {
  font-size: clamp(26px, 4vw, 55px);
  line-height: 1.06;
  letter-spacing: -0.008em;
  margin-bottom: 26px;
  padding-bottom: 26px;
  border-bottom: 2px solid var(--ink);
}

.ads { display: grid; gap: 46px; }

.mat {
  display: block;
  background: #fff;
  border: 1px solid var(--ink);
  padding: 18px;
}

.mat img { width: 100%; height: auto; }

figcaption {
  font-size: 18px;
  line-height: 1.42;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 28px;
  margin-top: 11px;
  padding-top: 9px;
  border-top: 1px solid currentColor;
}

.cap-t { font-weight: 600; }
.cap-m { text-align: right; }

/* ---------------------------------------------- television */

.tv {
  background: #000;
  color: var(--cream);
  padding: 72px var(--pad);
}

.tv h2 {
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1;
  margin-bottom: 30px;
}

.spots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
}

.spot video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid rgba(247, 241, 230, 0.4);
}

/* ---------------------------------------------- contact */

.reach { position: relative; }

.reach::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 46%;
  background: var(--maroon);
}

.reach-in {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gut);
}

.ask {
  grid-column: 1 / span 5;
  color: var(--cream);
  padding-block: 70px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}

.ask h2 {
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 0.96;
  letter-spacing: -0.01em;
}

.ask-foot {
  border-top: 1px solid var(--keyline);
  padding-top: 20px;
}

.ask-sub { font-size: 21px; }

.ask-mail { padding-top: 6px; }

.ask-mail a {
  font-size: clamp(21px, 2.3vw, 30px);
  font-weight: 600;
  line-height: 1.25;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  display: inline-block;
  padding-block: 6px;
}

.write {
  grid-column: 7 / -1;
  padding-block: 70px;
  display: none;
  flex-direction: column;
  justify-content: center;
}

.form[hidden] { display: none; }

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--gut);
  row-gap: 22px;
}

.field--half { grid-column: span 1; }
.field--full, .form-foot, .form-status { grid-column: 1 / -1; }

/* The challenge widget shares the send row. Until someone starts typing, its box
   is empty and takes no room, so there is no blank gap above the button. It then
   appears below the field the visitor is already in. */
.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 24px;
}

.cf-turnstile { flex: 1 1 300px; }
.cf-turnstile:empty { display: none; }
@media (min-width: 600px) {
  .form-foot button { margin-left: auto; }
}

.field label {
  display: block;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 7px;
}

.field input, .field textarea {
  display: block;
  width: 100%;
  font-family: inherit;
  font-size: 19px;
  line-height: 1.4;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 0;
  padding: 12px 14px;
}

.field textarea { resize: vertical; min-height: 118px; }

.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: var(--maroon);
  background: #FFF6F6;
}

.field-error {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--maroon);
  margin-top: 6px;
}

.field-error:empty { display: none; }

.form-foot button {
  font-family: var(--display);
  font-size: 21px;
  line-height: 1.2;
  color: var(--cream);
  background: var(--maroon);
  border: 0;
  border-radius: 0;
  padding: 15px 34px;
  min-height: 46px;
  cursor: pointer;
}

.form-foot button:hover { background: var(--maroon-deep); }

.form-foot button[disabled] { background: var(--maroon-deep); cursor: default; }

.form-status {
  font-size: 18px;
  line-height: 1.45;
  font-weight: 600;
  color: var(--maroon);
}

.form-status:empty { display: none; }

.form-done {
  font-family: var(--display);
  font-size: 28px;
  line-height: 1.2;
  color: var(--maroon);
  border-top: 2px solid var(--maroon);
  padding-top: 20px;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.js .write { display: flex; }
html:not(.js) .ask { grid-column: 1 / span 8; }

/* ---------------------------------------------- footer */

.foot {
  background: var(--maroon-deep);
  color: var(--cream);
  padding-block: 22px;
  font-size: 18px;
}

/* ---------------------------------------------- narrow */

@media (max-width: 1080px) {
  :root { --pad: 32px; --gut: 20px; }

  .bio { font-size: 22px; }
  .creds { grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; }
}

@media (max-width: 980px) {
  .reach::before { display: none; }

  .ask {
    grid-column: 1 / -1;
    background: var(--maroon);
    margin-inline: calc(-1 * var(--pad));
    padding: 46px var(--pad);
  }

  .write { grid-column: 1 / -1; padding-block: 44px 56px; }
}

@media (max-width: 780px) {
  :root { --pad: 20px; --gut: 16px; }
  body { font-size: 18px; }

  .open { height: auto; min-height: 0; padding: 12px; }
  .open-frame { padding-block: 30px; padding-inline: 20px; }
  .open-type {
    --f: calc(100cqw / 6.05);
    container-type: inline-size;
    display: block;
  }
  .open-meta {
    justify-self: stretch;
    text-align: left;
    font-size: 20px;
    margin-top: 26px;
    padding-top: 0;
    border-top: 0;
  }
  .open-line, .note { margin-top: 30px; padding-top: 22px; }
  .open-line span { display: inline; }

  .who { padding-block: 44px 46px; }
  .who-h { grid-column: 1 / -1; font-size: clamp(34px, 9vw, 48px); }
  .bio { grid-column: 1 / -1; grid-row: 3; font-size: 20px; padding-top: 22px; }
  .portrait { grid-column: 1 / span 6; grid-row: 2; padding-top: 22px; }
  .creds { margin-top: 42px; row-gap: 26px; }

  .print { padding-block: 0 46px; }
  .lead { font-size: clamp(24px, 6.4vw, 34px); margin-bottom: 22px; padding-bottom: 22px; }
  .ads { gap: 30px; }
  .mat { padding: 10px; }
  .cap-m { text-align: left; }

  .tv { padding-block: 46px; }
  .spots { grid-template-columns: minmax(0, 1fr); gap: 26px; }

  .ask { padding-block: 40px; }
  .ask h2 { font-size: clamp(30px, 8vw, 40px); }
  .form { grid-template-columns: minmax(0, 1fr); }
  .field--half { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .creds { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------------------------------------------- print */

@media print {
  body { background: #fff; color: #000; font-size: 11pt; }
  .skip, .tv video, .reach::before { display: none; }
  .write, .js .write { display: none; }
  .open { height: auto; min-height: 0; background: #fff; color: #000; padding: 0; }
  .open-frame { border: 0; padding: 0; }
  .open-type { display: block; }
  .name { font-size: 34pt; }
  .open-line { font-size: 16pt; border-top: 1px solid #000; }
  .open-meta { justify-self: stretch; text-align: left; margin-top: 12pt; padding-top: 0; border-top: 0; }
  .ask { color: #000; padding-block: 18pt; }
  .cred--d { background: none; color: #000; padding-inline: 0; }
  .cred--d h3 { color: #000; }
  .cred h3, .ask h2, .ask-mail a, .who-h { color: #000; }
  .tv { background: #fff; color: #000; }
  .foot { background: #fff; color: #000; }
  .ad, .cred, .who-row { break-inside: avoid; }
}
