@font-face {
  font-family: "Playfair Display";
  src: url("/assets/playfair-display-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}
:root {
  color-scheme: light dark;
  --neutral-primary-soft: #edeade;
  --neutral-secondary-soft: #f5f3ea;
  --neutral-secondary-medium: #e3e0d3;
  --neutral-tertiary-medium: #d2cfbf;
  --heading: #111827;
  --body: #4b5563;
  --body-subtle: #6b7280;
  --brand-softer: #e7eded;
  --brand-soft: #c4d4d4;
  --brand: #072c2c;
  --brand-strong: #051e1e;
  --brand-medium: #97b5b5;
  --link: #072c2c;
  --border-brand-subtle: #97b5b5;
  --border-default: #cecbb8;
  --border-default-strong: #b5b29e;
  --signal: #e05809;
  --signal-text: #7c2d12;
  --white: #fff;
  --focus: #072c2c;
  --shadow-xs: 2px 2px 0 rgb(0 0 0/0.08);
  --spring-snappy: linear(
    0,
    0.009,
    0.035 2.1%,
    0.141 4.4%,
    0.723 12.9%,
    0.938 16.7%,
    1.017 19.4%,
    1.067 22.5%,
    1.089 26%,
    1.079 30.3%,
    1.049 36%,
    1.024 42.6%,
    1.011 50.3%,
    1.004 59.2%,
    1.001 69.3%,
    1
  );
  --ease-snap: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --neutral-primary-soft: #101828;
    --neutral-secondary-soft: #101828;
    --neutral-secondary-medium: #1e2939;
    --neutral-tertiary-medium: #333e4f;
    --heading: #fff;
    --body: #9ca3af;
    --body-subtle: #9ca3af;
    --brand-softer: #0a2020;
    --brand-soft: #0e3333;
    --brand: #0d4a4a;
    --brand-strong: #072c2c;
    --brand-medium: #0e3333;
    --link: #2fa8a8;
    --border-brand-subtle: #0e3333;
    --border-default: #1f2937;
    --border-default-strong: #4b5563;
    --signal-text: #fbbf24;
    --focus: #2fa8a8;
  }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--neutral-primary-soft);
  color: var(--body);
  font:
    16px/1.7 "Playfair Display",
    serif;
}
a {
  color: var(--link);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}
a:hover {
  text-decoration: none;
}
.skip {
  position: fixed;
  top: -5rem;
  left: 16px;
  z-index: 20;
  padding: 8px 16px;
  border: 1px solid var(--border-default);
  border-radius: 2px;
  background: var(--brand);
  box-shadow: var(--shadow-xs);
  color: var(--white);
}
.skip:focus {
  top: 16px;
}
.shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100vh;
}
.rail {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 32px 24px;
  border-right: 1px solid var(--border-default);
  background: var(--neutral-secondary-soft);
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.rail img {
  display: block;
  width: 190px;
  height: auto;
}
.rail nav {
  display: grid;
  gap: 8px;
}
.rail nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: 2px;
  color: var(--heading);
  text-decoration: none;
  font-weight: 500;
}
.rail nav a:hover,
.rail nav a:focus-visible {
  border-color: var(--border-default);
  background: var(--neutral-secondary-medium);
  color: var(--heading);
}
.rail small {
  margin-top: auto;
  color: var(--body);
  font-size: 14px;
  line-height: 1.6;
}
main {
  min-width: 0;
}
.topline {
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    var(--brand) 0 80px,
    var(--neutral-primary-soft) 80px 88px,
    var(--signal) 88px 96px,
    var(--neutral-primary-soft) 96px 104px
  );
}
.hero {
  position: relative;
  min-height: calc(100dvh - 8px);
  padding: clamp(32px, 6vw, 88px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--border-default);
  isolation: isolate;
  background: var(--brand-strong);
  color: var(--white);
}
.hero-visual {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  filter: saturate(0.62) contrast(1.08);
  animation: hero-image-in 0.7s var(--spring-snappy) both;
  will-change: transform, opacity;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      180deg,
      rgb(5 30 30 / 0.08) 10%,
      rgb(5 30 30 / 0.38) 50%,
      rgb(5 30 30 / 0.94) 100%
    ),
    linear-gradient(90deg, rgb(5 30 30 / 0.62), transparent 68%);
  animation: hero-fade-in 0.45s var(--ease-in-out) both;
}
.hero-content {
  width: min(100%, 1120px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 31ch);
  grid-template-areas:
    "kicker kicker"
    "title title"
    "note cta";
  gap: 16px clamp(32px, 7vw, 112px);
  align-items: end;
}
.hero .kicker {
  grid-area: kicker;
  margin: 0;
  color: #f6d2bd;
  animation: hero-enter 0.52s var(--spring-snappy) 0.08s both;
}
.hero h1 {
  grid-area: title;
  margin: 0;
  color: var(--white);
  font-size: clamp(4rem, 10.5vw, 10.5rem);
  font-weight: 600;
  line-height: 0.84;
  letter-spacing: -0.055em;
  max-width: 8.5ch;
  text-wrap: balance;
  animation: hero-enter 0.58s var(--spring-snappy) 0.16s both;
}
.kicker,
.eyebrow {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--signal-text);
}
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading);
  font-weight: 600;
}
h1 {
  position: relative;
  margin: 16px 0 24px;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.8px;
  max-width: 900px;
}
h2 {
  font-size: 28px;
  line-height: 1.15;
}
h3 {
  font-size: 24px;
  line-height: 1.2;
}
.hero-note {
  grid-area: note;
  margin: 12px 0 0;
  border-top: 1px solid rgb(255 255 255 / 0.38);
  padding: 18px 0 0;
  color: rgb(255 255 255 / 0.88);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.55;
  max-width: 45ch;
  animation: hero-enter 0.52s var(--spring-snappy) 0.27s both;
}
.hero-cta {
  grid-area: cta;
  justify-self: start;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 0 8px;
  border-bottom: 1px solid rgb(255 255 255 / 0.7);
  color: var(--white);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  animation: hero-enter 0.48s var(--spring-snappy) 0.36s both;
  transition:
    transform 0.4s var(--ease-snap),
    border-color 0.35s var(--ease-in-out),
    color 0.35s var(--ease-in-out);
}
.hero-cta:hover {
  transform: translateY(-2px);
  border-color: var(--signal);
  color: #f6d2bd;
}
.hero-cta:active {
  transform: translateY(0) scale(0.98);
}
@keyframes hero-image-in {
  from {
    opacity: 0;
    transform: scale(1.035);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes hero-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.signal-grid {
  padding: clamp(32px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 8px;
  background: var(--neutral-secondary-soft);
}
.signal-card {
  grid-column: span 4;
  min-height: 260px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-default);
  border-radius: 2px;
  background: var(--neutral-primary-soft);
  box-shadow: var(--shadow-xs);
}
.signal-card:nth-child(5n + 1) {
  grid-column: span 8;
}
.signal-card img {
  width: calc(100% + 48px);
  aspect-ratio: 16/9;
  object-fit: cover;
  margin: -24px -24px 16px;
  border-radius: 2px 2px 0 0;
  filter: saturate(0.78) contrast(1.04);
}
.signal-card h2,
.signal-card h3 {
  margin: 8px 0;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 500;
}
.signal-card a {
  margin-top: auto;
  color: var(--link);
  font-weight: 500;
}
.route-head {
  padding: 96px clamp(24px, 6vw, 96px);
  border-bottom: 1px solid var(--border-default);
  background: linear-gradient(
    115deg,
    var(--neutral-secondary-soft) 60%,
    var(--brand-softer)
  );
}
.route-head h1 {
  max-width: 1050px;
}
.route-meta {
  max-width: 70ch;
  color: var(--body);
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(0, 768px) minmax(120px, 1fr);
  gap: 32px;
  padding: 64px clamp(24px, 5vw, 80px);
}
.article-layout article {
  grid-column: 2;
}
.article-layout article > p:first-of-type {
  font-size: 20px;
  line-height: 1.7;
  color: var(--body);
  max-width: 70ch;
}
.article-layout article > p {
  max-width: 65ch;
}
.article-layout img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 32px 0;
  border-left: 8px solid var(--signal);
  border-radius: 2px;
}
.article-layout blockquote {
  margin: 32px 0;
  padding: 16px 24px;
  border: 1px solid var(--border-brand-subtle);
  border-left: 4px solid var(--brand);
  border-radius: 2px;
  background: var(--brand-softer);
  box-shadow: var(--shadow-xs);
}
.article-layout h2 {
  margin-top: 48px;
}
.disclosure {
  padding: 16px;
  border: 1px solid var(--border-brand-subtle);
  border-radius: 2px;
  background: var(--brand-softer);
  box-shadow: var(--shadow-xs);
}
.feed-ledger {
  padding: 64px clamp(24px, 5vw, 80px);
  display: grid;
  gap: 16px;
}
.ledger-row {
  display: grid;
  grid-template-columns: 70px 1fr 180px;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--border-default);
  border-radius: 2px;
  background: var(--neutral-primary-soft);
}
.ledger-row strong {
  font-size: 12px;
  font-weight: 500;
  color: var(--signal-text);
}
footer {
  padding: 32px;
  border-top: 1px solid var(--border-default);
  color: var(--body);
}
:focus-visible {
  outline: 4px solid var(--focus);
  outline-offset: 3px;
}
@media (min-width: 768px) {
  h1 {
    font-size: 40px;
  }
  h2 {
    font-size: 36px;
  }
  h3 {
    font-size: 30px;
  }
}
@media (min-width: 1024px) {
  h1 {
    font-size: 60px;
    line-height: 1;
  }
  h2 {
    font-size: 44px;
  }
  h3 {
    font-size: 36px;
  }
  .signal-card h2,
  .signal-card h3 {
    font-size: 20px;
  }
}
@media (max-width: 900px) {
  .shell {
    display: block;
  }
  .rail {
    position: relative;
    height: auto;
    padding: 16px 24px;
  }
  .rail img {
    width: 160px;
  }
  .rail nav {
    display: flex;
    flex-wrap: wrap;
  }
  .rail small {
    display: none;
  }
  .hero {
    min-height: min(760px, calc(100svh - 198px));
    padding: 48px 24px;
  }
  .hero-content {
    grid-template-columns: 1fr;
    grid-template-areas:
      "kicker"
      "title"
      "note"
      "cta";
    gap: 14px;
  }
  .hero h1 {
    font-size: clamp(3.65rem, 15vw, 7rem);
    max-width: 7ch;
  }
  .hero-note {
    max-width: 38ch;
  }
  .hero-scrim {
    background: linear-gradient(
      180deg,
      rgb(5 30 30 / 0.18) 0%,
      rgb(5 30 30 / 0.48) 42%,
      rgb(5 30 30 / 0.96) 100%
    );
  }
  .signal-grid {
    padding: 32px 16px;
  }
  .signal-card,
  .signal-card:nth-child(5n + 1) {
    grid-column: span 6;
  }
  .article-layout {
    display: block;
    padding: 48px 24px;
  }
  .route-head {
    padding: 48px 24px;
  }
  .ledger-row {
    grid-template-columns: 46px 1fr;
  }
  .ledger-row > :last-child {
    grid-column: 2;
  }
}
@media (max-width: 560px) {
  .signal-card,
  .signal-card:nth-child(5n + 1) {
    grid-column: 1/-1;
  }
  .rail nav a {
    padding: 8px;
  }
  .signal-card {
    min-height: 0;
  }
  .signal-card h2,
  .signal-card h3 {
    font-size: 16px;
  }
}
@media (prefers-color-scheme: dark) {
  .rail img {
    filter: grayscale(1) brightness(0) invert(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero-visual,
  .hero-scrim,
  .hero .kicker,
  .hero h1,
  .hero-note,
  .hero-cta {
    animation: hero-fade-in 0.2s var(--ease-in-out) both;
    transform: none !important;
    will-change: auto;
  }
  .hero-cta {
    transition:
      color 0.2s var(--ease-in-out),
      border-color 0.2s var(--ease-in-out);
  }
}
