@font-face {
  font-family: Newsreader;
  src: url("../fonts/Newsreader-var.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: Playfair;
  src: url("../fonts/PlayfairDisplay-var.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: JetBrains;
  src: url("../fonts/JetBrainsMono-400.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: JetBrains;
  src: url("../fonts/JetBrainsMono-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
:root {
  --paper: #f4f1e9;
  --panel: #ece8da;
  --ink: #1c1b15;
  --night: #0d0e0c;
  --ash: #6d675a;
  --hair: #d6d0bf;
  --moss: #2f6b38;
  --moss-light: #8fbf8f;
  --serif: Newsreader, Georgia, serif;
  --display: Playfair, Georgia, serif;
  --mono: JetBrains, monospace;
  --gutter: 36px;
  --section: clamp(72px, 10vw, 148px);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 18px/1.5 var(--serif);
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
i {
  font-style: normal;
}
.wrap {
  width: min(1280px, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 99;
  padding: 8px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: none;
}
.moss {
  color: var(--moss);
}
.moss-light {
  color: var(--moss-light);
}

/* Shared small caps: the newspaper's metadata voice */
.lockup small,
.edition,
.folio,
.kicker,
.fine-print,
.ledger,
.plate figcaption,
.invitation-line,
.footer {
  font: 11px/1.5 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.kicker {
  margin: 0 0 18px;
  color: var(--moss);
  font-weight: 500;
}

/* 1 · Masthead */
.masthead {
  min-height: 112px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.lockup {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: var(--ink);
}
.lockup img {
  width: 76px;
  height: 76px;
  object-fit: contain;
}
.lockup b {
  display: block;
  font: 900 clamp(30px, 3vw, 44px)/0.92 var(--display);
  letter-spacing: -0.055em;
}
.lockup small {
  display: block;
  margin-top: 9px;
  color: var(--ash);
  font-size: 10px;
  letter-spacing: 0.22em;
}
.edition {
  margin: 0;
  color: var(--ash);
  white-space: nowrap;
}
.edition i {
  color: var(--moss);
  font-size: 8px;
  margin: 0 8px;
}
.top-rule {
  border-top: 3px solid var(--ink);
}
.folio {
  min-height: 42px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--hair);
  color: var(--ash);
  font-size: 10px;
}
.folio span:nth-child(2) {
  color: var(--ink);
}
.folio span:last-child {
  text-align: right;
}

/* 2 · Hero */
.hero {
  display: flex;
  flex-direction: column;
  padding: clamp(32px, min(7vw, 5.5svh), 104px) 0 0;
}
.hero-kicker i {
  margin: 0 0.7em;
  color: var(--ash);
}
.hero h1 {
  margin: 0;
  max-width: 13.5em;
  font: 800 clamp(44px, min(8.1vw, 14svh), 128px)/0.93 var(--display);
  letter-spacing: -0.06em;
  text-wrap: balance;
}
.hero-deck {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: clamp(32px, 6vw, 112px);
  margin-top: clamp(22px, min(4vw, 4svh), 56px);
}
.intro {
  margin: 0 0 0.7em;
  text-wrap: pretty;
  max-width: 33em;
  color: #3d392f;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.38;
}
.hero-copy .intro:last-child {
  margin-bottom: 0;
}
.hero-actions {
  align-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  text-align: right;
}
.lead-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: 800 clamp(34px, 3.05vw, 46px)/1 var(--display);
  letter-spacing: -0.05em;
}
.lead-link-text {
  padding-bottom: 7px;
  border-bottom: 3px solid var(--moss);
  transition: color 0.18s;
}
.lead-link-arrow {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--moss);
  color: #fff;
  font: 400 22px/1 var(--mono);
  letter-spacing: 0;
  transition:
    transform 0.18s,
    background 0.18s;
}
.lead-link:hover .lead-link-text {
  color: var(--moss);
}
.lead-link:hover .lead-link-arrow {
  background: #204d28;
  transform: translateX(5px);
}
.lead-link:focus-visible {
  outline: 2px solid var(--moss);
  outline-offset: 8px;
}
.scroll-cue {
  align-self: center;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: clamp(14px, 3svh, 56px) 12px 16px;
  color: var(--ash);
  font: 10px/1.5 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.18s;
}
.scroll-cue:hover {
  color: var(--ink);
}
.scroll-cue span {
  color: var(--moss);
  font-size: 15px;
  animation: cue 2.4s ease-in-out infinite;
}
@keyframes cue {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}
@media (min-width: 761px) {
  .hero {
    min-height: min(calc(100svh - 129px), 780px);
  }
}
@media (min-width: 761px) and (max-height: 900px) {
  .masthead {
    min-height: 84px;
  }
  .lockup img {
    width: 60px;
    height: 60px;
  }
}
.fine-print {
  color: var(--ash);
  font-size: 10px;
}
.ledger {
  margin: 0;
  border-top: 1px solid var(--ink);
}
.ledger div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--hair);
}
.ledger dt {
  color: var(--ash);
}
.ledger dd {
  margin: 0;
  font-weight: 500;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  border: 1px solid var(--ink);
  padding: 0 26px;
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition:
    background 0.18s,
    color 0.18s;
}
.button span {
  transition: transform 0.18s;
}
.button:hover span {
  transform: translateX(3px);
}
.button-primary {
  border-color: var(--moss);
  background: var(--moss);
  color: #fff;
}
.button-primary:hover {
  background: #204d28;
}
.button-dark {
  background: var(--ink);
  color: #fff;
}
.button-dark:hover {
  background: #3e3b32;
}
.button:focus-visible,
.close:focus-visible,
a:focus-visible {
  outline: 2px solid var(--moss);
  outline-offset: 3px;
}

/* 3 · At the table */
.table {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  align-items: end;
  gap: clamp(32px, 7vw, 128px);
  border-top: 1px solid var(--ink);
  padding: clamp(28px, 3.4vw, 48px) 0 clamp(56px, 7vw, 104px);
}
.table .kicker {
  margin-bottom: 14px;
}
.table h2 {
  margin: 0 0 0.45em;
  max-width: 15em;
  font: 800 clamp(30px, 4.2vw, 60px)/0.98 var(--display);
  letter-spacing: -0.05em;
  text-wrap: balance;
}
.table-copy p:not(.kicker) {
  margin: 0 0 0.6em;
  max-width: 34em;
  color: #3d392f;
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.4;
}
.table-copy p:last-child {
  margin-bottom: 0;
}

/* 4 · Plate */
.plate {
  margin: 0;
  background: var(--night);
}
.plate img {
  display: block;
  width: 100%;
  height: clamp(300px, 46vw, 720px);
  object-fit: cover;
  object-position: 62% 50%;
}
.plate figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0 16px;
  color: #8f897a;
  font-size: 10px;
}

/* 5 · Manifesto */
.manifesto {
  background: var(--night);
  color: var(--paper);
  padding: clamp(84px, 12vw, 190px) 0;
}
.manifesto-lines {
  margin: 0;
  font: 900 clamp(32px, 9.2vw, 136px)/0.92 var(--display);
  letter-spacing: -0.065em;
  text-transform: uppercase;
}
.manifesto-lines span {
  display: block;
  white-space: nowrap;
}
.manifesto-lines span:nth-child(2) {
  color: #8f897a;
}
.manifesto-foot {
  margin: clamp(32px, 4vw, 60px) 0 0;
  color: #b9b3a3;
  font-size: clamp(19px, 1.8vw, 25px);
}

/* 6 · Invitation */
.invitation {
  padding: var(--section) 0;
  text-align: center;
}
.invitation h2 {
  margin: 0 auto;
  max-width: 11em;
  font: 800 clamp(40px, 6.4vw, 96px)/0.95 var(--display);
  letter-spacing: -0.06em;
  text-wrap: balance;
}
.invitation-line {
  margin: 26px 0 34px;
  color: var(--ash);
}
.invitation-line i {
  margin: 0 0.6em;
  color: var(--moss);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 26px 0 30px;
  border-top: 3px solid var(--ink);
  color: var(--ash);
  font-size: 10px;
  letter-spacing: 0.12em;
}
.footer a {
  color: inherit;
  text-underline-offset: 4px;
}

/* Request dialog */
.application-dialog {
  width: min(620px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  border: 1px solid var(--ink);
  padding: 0;
  background: var(--paper);
  color: var(--ink);
}
.application-dialog::backdrop {
  background: rgba(13, 14, 12, 0.7);
  backdrop-filter: blur(3px);
}
.dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--hair);
}
.dialog-top .kicker {
  margin: 0;
}
.close {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  font: 35px/0.7 var(--serif);
}
.application-dialog > [data-application-panel],
.application-success {
  padding: 30px 42px 34px;
}
.application-dialog h2 {
  margin: 0;
  font: 700 clamp(38px, 4vw, 48px)/0.96 var(--display);
  letter-spacing: -0.055em;
}
.dialog-intro {
  margin: 17px 0 25px;
  color: #4d493e;
  font-size: 20px;
  line-height: 1.3;
}
.application-dialog form {
  display: grid;
  gap: 8px;
}
.application-dialog label {
  margin-top: 8px;
  font: 10px var(--mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.application-dialog input,
.application-dialog textarea {
  width: 100%;
  border: 1px solid #aaa390;
  border-radius: 0;
  background: #faf8f1;
  padding: 13px;
  color: var(--ink);
}
.application-dialog input:focus,
.application-dialog textarea:focus {
  outline: 2px solid var(--moss);
  outline-offset: 2px;
}
.application-dialog textarea {
  resize: vertical;
}
.application-dialog form .button {
  justify-self: start;
}
.privacy-note {
  margin: 9px 0 8px;
  color: var(--ash);
  font-size: 14px;
  line-height: 1.25;
}
.privacy-note a {
  color: var(--moss);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-error {
  color: #8e2c20;
  font-size: 14px;
}
/* Focus lands here only so the confirmation is announced; it is not a control. */
.application-success:focus {
  outline: none;
}
.application-success p:not(.kicker) {
  font-size: 21px;
  line-height: 1.3;
  color: #4d493e;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
[hidden] {
  display: none !important;
}

@media (max-width: 760px) {
  :root {
    --gutter: 20px;
  }
  body {
    font-size: 17px;
  }
  .masthead {
    min-height: 76px;
  }
  .lockup {
    gap: 11px;
  }
  .lockup img {
    width: 44px;
    height: 44px;
  }
  .lockup b {
    font-size: 25px;
  }
  .lockup small {
    margin-top: 6px;
    font-size: 8px;
  }
  .edition {
    display: none;
  }
  .folio {
    grid-template-columns: 1fr auto;
    min-height: 34px;
    font-size: 8px;
    letter-spacing: 0.12em;
  }
  .folio span:first-child {
    display: none;
  }
  .folio span:nth-child(2) {
    text-align: left;
  }
  .hero-kicker {
    font-size: 10px;
  }
  .hero {
    padding: 26px 0 30px;
  }
  .table {
    gap: 22px;
    padding-top: 22px;
  }
  .table h2 {
    font-size: clamp(22px, 6.9vw, 30px);
  }
  .table-copy p:not(.kicker) {
    font-size: 16px;
  }
  .hero h1 {
    font-size: clamp(32px, 10.6vw, 46px);
  }
  .hero-deck {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 18px;
  }
  .hero-actions {
    align-self: start;
    align-items: flex-start;
    gap: 14px;
    margin-top: 6px;
    text-align: left;
  }
  .lead-link {
    gap: 14px;
    font-size: 36px;
  }
  .lead-link-arrow {
    width: 44px;
    height: 44px;
    font-size: 19px;
  }
  .scroll-cue {
    display: none;
  }
  .intro {
    font-size: 17px;
    line-height: 1.36;
  }
  .table {
    grid-template-columns: 1fr;
  }
  .button {
    min-height: 48px;
  }
  .invitation-line {
    line-height: 2;
  }
  .invitation-line i:last-of-type {
    display: none;
  }
  .invitation-line .invitation-read {
    display: block;
  }
  .footer {
    flex-direction: column;
  }
  .application-dialog > [data-application-panel],
  .application-success {
    padding: 28px 24px 32px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .button,
  .button span,
  .lead-link-text,
  .lead-link-arrow,
  .scroll-cue {
    transition: none;
  }
  .scroll-cue span {
    animation: none;
  }
  .application-dialog::backdrop {
    backdrop-filter: none;
  }
}
