:root {
  color-scheme: dark;
  --ink: #17100a;
  --ink-2: #231811;
  --panel: #2e2118;
  --panel-2: #39291c;
  --paper: #f5e1bd;
  --paper-soft: #d7b887;
  --orange: #ff8a1c;
  --gold: #f4bf5c;
  --cyan: #72d9dc;
  --green: #9edc7a;
  --line: rgba(245, 225, 189, 0.18);
  --shadow: rgba(0, 0, 0, 0.34);
  --paper-page: #eee2c8;
  --paper-sheet: #faf3df;
  --paper-ink: #1e160b;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--paper);
  font-family: "Avenir Next", "Gill Sans", ui-sans-serif, system-ui, sans-serif;
  background:
    linear-gradient(90deg, rgba(245, 225, 189, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(245, 225, 189, 0.035) 1px, transparent 1px),
    var(--ink);
  background-size: 42px 42px, 42px 42px, auto;
  line-height: 1.5;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 20;
  transform: translateY(-120px);
  padding: 10px 14px;
  color: var(--ink);
  background: var(--cyan);
  border-radius: 6px;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand img {
  border-radius: 8px;
  box-shadow: 4px 4px 0 var(--shadow);
}

.top-nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 18px;
  color: var(--paper-soft);
  font-size: 0.94rem;
}

.top-nav a,
.site-footer a {
  text-decoration: none;
}

.top-nav a:hover,
.site-footer a:hover {
  color: var(--paper);
}

.hero,
.section,
.showcase,
.proof-band {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 54px;
  align-items: center;
  min-height: calc(100svh - 92px);
  padding: 48px 0 72px;
}

.eyebrow,
.kicker {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Iowan Old Style", "Palatino", Georgia, serif;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 9vw, 7.25rem);
  text-wrap: balance;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.35rem, 5.5vw, 4.6rem);
  text-wrap: balance;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
}

.lede {
  max-width: 680px;
  color: var(--paper-soft);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  color: #1a1008;
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.34);
}

.button.secondary {
  color: var(--paper);
  background: rgba(245, 225, 189, 0.06);
}

.button:hover {
  transform: translateY(-1px);
}

.signal-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 620px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(23, 16, 10, 0.62);
  overflow: hidden;
}

.signal-list div {
  padding: 16px;
  border-right: 1px solid var(--line);
}

.signal-list div:last-child {
  border-right: 0;
}

.signal-list dt {
  color: var(--cyan);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 1.36rem;
  font-weight: 800;
}

.signal-list dd {
  margin: 4px 0 0;
  color: var(--paper-soft);
  font-size: 0.9rem;
}

.hero-media {
  position: relative;
  min-height: 590px;
}

.shot {
  width: min(100%, 760px);
  border: 1px solid rgba(245, 225, 189, 0.2);
  border-radius: 8px;
  background: #111;
  box-shadow: 6px 6px 0 var(--shadow);
}

.shot-main {
  margin-left: auto;
}

.shot-overlap {
  position: absolute;
  left: -24px;
  bottom: 0;
  width: 62%;
}

.proof-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(46, 33, 24, 0.82);
}

.proof-band p {
  max-width: 790px;
  margin-bottom: 0;
  color: var(--paper);
}

.proof-band a {
  flex: 0 0 auto;
  color: var(--gold);
  font-weight: 800;
  text-decoration: none;
}

.section {
  padding: 92px 0 24px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(240px, 0.26fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 30px;
}

.pipeline-grid,
.alpha-grid {
  display: grid;
  gap: 14px;
}

.pipeline-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pipeline-grid article,
.alpha-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(46, 33, 24, 0.82);
  padding: 22px;
}

.pipeline-grid span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
  place-items: center;
  color: var(--ink);
  background: var(--gold);
  border-radius: 50%;
  font-weight: 900;
}

.pipeline-grid p,
.alpha-grid li,
.showcase figcaption,
.site-footer {
  color: var(--paper-soft);
}

.showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 42px 0 22px;
}

.showcase figure {
  margin: 0;
}

.showcase img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 5px 5px 0 var(--shadow);
}

.showcase figcaption {
  padding: 12px 4px 0;
  font-size: 0.92rem;
}

.alpha-section {
  padding-bottom: 78px;
}

.theme-section {
  padding-top: 72px;
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.paper-card {
  min-height: 190px;
  padding: 22px;
  color: var(--paper-ink);
  background: var(--paper-page);
  border: 1px solid rgba(30, 22, 11, 0.24);
  border-radius: 8px;
  box-shadow: 5px 5px 0 rgba(30, 22, 11, 0.18);
}

.paper-card span {
  display: block;
  width: 100%;
  height: 46px;
  margin-bottom: 22px;
  background: var(--paper-sheet);
  border: 1px solid rgba(30, 22, 11, 0.20);
  border-radius: 6px;
}

.paper-card h3,
.paper-card p {
  color: inherit;
}

.paper-card p {
  margin-bottom: 0;
}

.paper-light {
  background: #efece4;
}

.paper-blue {
  color: #071923;
  background: #dfecf2;
}

.paper-blue span {
  background: #f3f9fb;
}

.paper-dark {
  color: #f0e7d2;
  background: #151411;
  border-color: rgba(246, 237, 213, 0.18);
}

.paper-dark span {
  background: #1f1d19;
  border-color: rgba(246, 237, 213, 0.14);
}

.alpha-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.alpha-grid ul {
  margin: 0;
  padding-left: 20px;
}

.alpha-grid li + li {
  margin-top: 10px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  max-width: 620px;
  margin-bottom: 0;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-media {
    min-height: 0;
  }

  .shot-overlap {
    position: relative;
    left: 0;
    width: 86%;
    margin-top: -72px;
  }

  .pipeline-grid,
  .showcase,
  .theme-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading,
  .alpha-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header,
  .site-footer,
  .proof-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-nav {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 26px;
  }

  .signal-list,
  .pipeline-grid,
  .showcase,
  .theme-grid {
    grid-template-columns: 1fr;
  }

  .signal-list div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .signal-list div:last-child {
    border-bottom: 0;
  }

  .shot-overlap {
    width: 94%;
    margin-top: -32px;
  }
}
