

:root {
  --paper: #F7F7F4;
  --midnight: #08152A;
  --deep: #103A78;
  --blue: #1460B8;
  --teal: #00C9B8;
  --yellow: #F2C21A;
  --ice: #E8F2FF;
  --slate: #3A6A9A;          
  --frost: #B8D0E8;
  --rule: #DDE2E0;
  --font: "Google Sans", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: "Outfit", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--midnight);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--blue); color: #fff; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

h1, h2, h3,
.caps, .tag,
nav a,
.lockup-sm,
.signup button,
.ledger .no,
.dispatch-list time,
.dispatch-list .title,
.backlink {
  font-family: var(--font-display);
}

a { color: inherit; }

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

.wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.caps {
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tag {
  display: inline-block;
  background: var(--yellow);
  color: var(--midnight);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 12px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: clamp(1.25rem, 3vw, 2rem);
}

.lockup-sm { display: inline-flex; text-decoration: none; }

.lockup-sm img { height: clamp(2.75rem, 4.5vw, 3.5rem); width: auto; }

nav { display: flex; gap: clamp(1.25rem, 3vw, 2.5rem); }

nav a {
  color: var(--slate);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

nav a:hover, nav a:focus-visible { color: var(--blue); }

body.home {
  min-height: 100vh;
  min-height: 100dvh;
}

.split {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 100vh;
  min-height: 100dvh;
}

@media (min-width: 56rem) {
  .split {
    grid-template-columns: minmax(26rem, 43%) 1fr;
    grid-template-rows: 1fr;
  }
}

.panel {
  display: flex;
  flex-direction: column;
  padding: clamp(1rem, 2.5vh, 2.5rem) clamp(1.25rem, 3vw, 3rem);
  min-height: 0;
  overflow: hidden;
}

.panel-mid { margin: auto 0; padding: clamp(0.75rem, 3vh, 2.5rem) 0; }

.logo-lg {
  width: clamp(9rem, 24vh, 15rem);
  height: auto;
}

.tagline {
  max-width: 24em;
  margin-top: clamp(1.25rem, 3.5vh, 2.5rem);
  font-size: clamp(1.25rem, calc(0.85rem + 1.9vh), 1.8rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.panel-bottom {
  color: var(--slate);
  font-size: 0.72rem;
  text-align: center;
  
  margin-top: 0;
  border-top: 0;
  padding: 0.4rem 0 0;
}

.panel-bottom a {
  color: var(--slate);
  text-decoration: none;
  
  display: inline-block;
  padding: 0.6rem 0.2rem;
  margin: -0.6rem -0.2rem;
}

.panel-bottom a:hover, .panel-bottom a:focus-visible { color: var(--blue); }

.stage {
  position: relative;
  background: var(--paper);
  overflow: hidden;
  min-height: 0;
}

.stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  
  filter: saturate(0.8) contrast(1.04) brightness(1.02);
}

.stage img.active { opacity: 1; }

.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--deep);
  opacity: 0.16;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.signup {
  background: #fff;
  border: 1px solid var(--rule);
  padding: clamp(1rem, 2.4vh, 2rem) clamp(1.1rem, 2.5vw, 2rem);
  margin-top: clamp(1rem, 3vh, 2.25rem);
  max-width: 44rem;
}

.signup h2 { font-size: clamp(1.05rem, calc(0.8rem + 1vh), 1.25rem); font-weight: 700; letter-spacing: -0.01em; }

.signup p { color: var(--slate); margin-top: 0.35rem; font-size: clamp(0.88rem, calc(0.65rem + 1vh), 0.97rem); }

.signup form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: clamp(0.75rem, 1.8vh, 1.25rem);
}

.signup input[type="email"] {
  width: 100%;
  background: var(--paper);
  border: 1px solid #C9CFCC;
  color: var(--midnight);
  font: inherit;
  padding: clamp(0.55rem, 1.4vh, 0.8rem) 1rem;
}

.signup input[type="email"]::placeholder { color: var(--slate); }

.signup input[type="email"]:focus {
  outline: 2px solid var(--blue);
  outline-offset: -1px;
  border-color: transparent;
}

.signup button {
  background: var(--blue);
  color: #fff;
  border: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: clamp(0.55rem, 1.4vh, 0.8rem) 2rem;
  min-height: 44px;
  cursor: pointer;
}

.signup button:hover, .signup button:focus-visible { background: var(--midnight); }

.hp { position: absolute; left: -5000px; }

.signup button .spinner {
  display: none;
  width: 0.85em;
  height: 0.85em;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  margin-right: 0.6em;
  vertical-align: -0.12em;
}

.signup button.busy .spinner { display: inline-block; }

.signup button.busy { opacity: 0.85; cursor: default; }

@media (prefers-reduced-motion: no-preference) {
  .signup button.busy .spinner { animation: spin 0.7s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }
}

.signup-status { margin-top: 0.9rem; font-size: 0.97rem; }

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

.signup-status.success { color: var(--midnight); font-weight: 500; }

.signup-status.error { color: #B3402A; }

section { padding: clamp(3.5rem, 9vh, 6rem) 0 0; }

.section-head { color: var(--slate); margin-bottom: clamp(1.5rem, 3vh, 2.25rem); }

.dispatch-list { list-style: none; }

.dispatch-list > li { border-top: 1px solid var(--rule); }

.dispatch-list a.row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem;
  padding: 1.4rem 0;
  text-decoration: none;
}

@media (min-width: 46rem) {
  .dispatch-list a.row { grid-template-columns: 11rem 1fr; gap: 2rem; align-items: baseline; }
}

.dispatch-list time {
  color: var(--slate);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dispatch-list .title { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }

.dispatch-list a.row:hover .title, .dispatch-list a.row:focus-visible .title { color: var(--blue); }

.empty-state {
  border-top: 1px solid var(--rule);
  padding: 1.4rem 0;
  color: var(--slate);
  margin: 0;
}

.empty-state a { color: var(--blue); }

footer {
  margin-top: clamp(4rem, 10vh, 6.5rem);
  border-top: 1px solid var(--rule);
  padding: 2.25rem 0 3rem;
  color: var(--slate);
  font-size: 0.9rem;
}

footer .cols {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

footer a { color: var(--deep); text-decoration: none; }

footer a:hover, footer a:focus-visible { color: var(--blue); }

footer .credits { margin-top: 1rem; font-size: 0.78rem; }

.article { max-width: 44rem; padding-top: clamp(2.5rem, 6vh, 4rem); }

.article .kicker { color: var(--slate); display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }

.article h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin-top: 1.1rem;
}

.article .standfirst { color: var(--slate); font-size: 1.2rem; line-height: 1.5; margin-top: 1.1rem; }

.article .body { margin-top: 2rem; }

.article .body p { margin-top: 1.1rem; }

.article .body p.meta { color: var(--slate); font-size: 0.95rem; }

.article .body h2 { font-size: 1.25rem; font-weight: 700; margin-top: 2.25rem; letter-spacing: -0.01em; }

.article .body ul { margin: 1.1rem 0 0 1.2rem; }

.article .body li { margin-top: 0.55rem; }

.article .body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

.article .findings {
  background: #fff;
  border: 1px solid var(--rule);
  padding: 1.5rem 1.75rem;
  margin-top: 1.5rem;
}

.article .findings .caps { color: var(--blue); }

.article .findings ul { list-style: none; margin: 0.9rem 0 0 0; }

.article .findings li { padding-left: 1.1rem; position: relative; }

.article .findings li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.45rem;
  height: 2px;
  background: var(--blue);
}

.backlink {
  display: inline-block;
  margin-top: 2.5rem;
  color: var(--slate);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.backlink:hover { color: var(--blue); }

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

@media (prefers-reduced-motion: no-preference) {
  .panel-mid > * { animation: rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; }
  .panel-mid > *:nth-child(2) { animation-delay: 0.08s; }
  .panel-mid > *:nth-child(3) { animation-delay: 0.16s; }
  .panel-mid > *:nth-child(4) { animation-delay: 0.24s; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
  }
}

@media (max-width: 55.9375rem) {
  .split {
    grid-template-columns: 1fr;
    
    grid-template-rows: 1fr auto;
  }

  .panel { grid-row: 1; }

  
  .stage {
    grid-row: 2;
    height: min(42dvh, 100dvh - 29rem);
    min-height: 9rem;
  }

  
  .stage img { object-fit: cover; object-position: center 42%; }

  .panel {
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    padding: clamp(1.1rem, 2.6vh, 2rem) clamp(1.25rem, 5vw, 2.5rem) clamp(0.5rem, 1.2vh, 0.9rem);
    
    overflow: visible;
  }

  
  .panel-mid { margin: auto 0; padding: 0; flex-shrink: 0; }

  
  .panel-bottom { padding-bottom: 0.6rem; }

  .logo-lg { width: clamp(5.25rem, 11vh, 7.25rem); }

  .tagline {
    margin-top: clamp(0.75rem, 1.9vh, 1.25rem);
    font-size: clamp(0.98rem, calc(0.72rem + 1.2vh), 1.22rem);
  }

  
  .signup {
    background: none;
    border: 0;
    border-top: 1px solid var(--rule);
    max-width: none;
    margin-top: clamp(0.85rem, 2.1vh, 1.4rem);
    padding: clamp(0.85rem, 2vh, 1.4rem) 0 0;
  }
}

@media (max-width: 55.9375rem) and (orientation: landscape) and (max-height: 34rem) {
  .split { grid-template-columns: min(26rem, 58%) 1fr; grid-template-rows: 1fr; }

  .panel {
    grid-row: 1;
    grid-column: 1;
    justify-content: center;
    border-bottom: 0;
    border-right: 1px solid var(--rule);
    padding: clamp(0.9rem, 4vh, 2rem) clamp(1.25rem, 3vw, 2rem) clamp(0.4rem, 2vh, 0.9rem);
  }

  .stage { grid-row: 1; grid-column: 2; height: auto; min-height: 0; }

  .logo-lg { width: clamp(4.75rem, 20vh, 6.5rem); }

  .tagline { font-size: clamp(0.95rem, calc(0.7rem + 2.2vh), 1.15rem); }
}

#pr-modal {
  border: 0;
  padding: 0;
  background: none;
  margin: auto;
  max-width: min(31rem, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
}

#pr-modal::backdrop { background: rgba(8, 21, 42, 0.62); }

#pr-modal .card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-top: 2px solid var(--blue);
  padding: clamp(1.25rem, 4vw, 2rem);
}

#pr-modal .kicker {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

#pr-modal h2 {
  font-size: clamp(1.15rem, 3.4vw, 1.5rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-top: 0.7rem;
}

#pr-modal p { color: var(--slate); font-size: 0.95rem; margin-top: 0.8rem; }

#pr-modal .row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.4rem;
  flex-wrap: wrap;
}

#pr-modal .primary {
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.75rem 1.5rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

#pr-modal .primary:hover, #pr-modal .primary:focus-visible { background: var(--midnight); }

#pr-modal .dismiss {
  background: none;
  border: 0;
  color: var(--slate);
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  padding: 0.75rem 0.25rem;
  min-height: 44px;
}

#pr-modal .dismiss:hover { color: var(--midnight); }
