@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext-500-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/outfit-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/outfit-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #141820;
  --ink-soft: #4a5160;
  --navy: #152238;
  --navy-2: #1c2f4c;
  --navy-deep: #0d1624;
  --paper: #f3efe6;
  --paper-2: #e8e2d4;
  --cream: #faf7f0;
  --wine: #6f2c40;
  --wine-2: #8a3d55;
  --gold: #c4a574;
  --gold-2: #d8bf96;
  --line: rgba(20, 24, 32, 0.1);
  --line-strong: rgba(20, 24, 32, 0.18);
  --shadow: 0 18px 50px rgba(13, 22, 36, 0.12);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Outfit", system-ui, sans-serif;
  --wrap: 1180px;
  --header: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 8px 12px;
  z-index: 80;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: 14px;
}

.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.kicker.light {
  color: var(--gold-2);
}

.lead {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
}

.muted {
  color: var(--ink-soft);
}

.topbar {
  background: var(--navy-deep);
  color: rgba(250, 247, 240, 0.72);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 0;
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar span:last-child {
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 247, 240, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  height: var(--header);
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(13, 22, 36, 0.06);
}

.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img,
.brand svg {
  width: 42px;
  height: 48px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-copy strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand-copy span {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 8px 10px;
  color: var(--ink-soft);
  position: relative;
}

.nav a:hover,
.nav a.is-active {
  color: var(--navy);
}

.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 2px;
  height: 1px;
  background: var(--gold);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  background: transparent;
  border-radius: 2px;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--navy);
  margin: 5px auto;
}

.nav-drawer {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.3s var(--ease);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
}

.btn-gold:hover {
  background: var(--gold-2);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(250, 247, 240, 0.28);
  color: var(--cream);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-line {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn-line:hover {
  background: var(--navy);
  color: var(--cream);
}

.hero {
  position: relative;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(196, 165, 116, 0.16), transparent 55%),
    linear-gradient(165deg, var(--navy-deep) 0%, var(--navy) 58%, #24385a 100%);
  color: var(--cream);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.045'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 88px 0 92px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: end;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 600;
  max-width: 11ch;
  margin: 0 0 22px;
}

.hero .lead {
  color: rgba(250, 247, 240, 0.82);
  max-width: 42ch;
}

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

.hero-aside {
  border-left: 1px solid rgba(196, 165, 116, 0.35);
  padding: 8px 0 8px 32px;
}

.hero-aside p {
  font-size: 15px;
  color: rgba(250, 247, 240, 0.72);
}

.hero-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 36px;
}

.hero-meta b {
  display: block;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--gold);
}

.hero-meta span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250, 247, 240, 0.55);
}

.section {
  padding: 88px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 14px;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.chapters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.chapter {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 28px 26px 24px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  transition: 0.35s var(--ease);
}

.chapter:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(196, 165, 116, 0.55);
}

.chapter em {
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.chapter h3 {
  font-size: 28px;
  margin: 14px 0 12px;
}

.chapter p {
  color: var(--ink-soft);
  font-size: 14.5px;
  flex: 1;
}

.chapter span {
  margin-top: 18px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}

.band {
  background: var(--navy);
  color: var(--cream);
}

.band h2,
.band .lead {
  color: var(--cream);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(250, 247, 240, 0.12);
  border: 1px solid rgba(250, 247, 240, 0.12);
}

.stat {
  background: var(--navy);
  padding: 32px 28px;
}

.stat b {
  display: block;
  font-family: var(--serif);
  font-size: 34px;
  color: var(--gold);
}

.stat span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: rgba(250, 247, 240, 0.7);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  border: 1px solid var(--line-strong);
  padding: 10px 14px;
  font-size: 13px;
  background: var(--cream);
}

.page-hero {
  background:
    linear-gradient(180deg, rgba(13, 22, 36, 0.08), transparent 70%),
    var(--paper);
  padding: 64px 0 28px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  max-width: 16ch;
}

.prose {
  font-size: 17px;
  max-width: 68ch;
}

.prose h2 {
  font-size: 32px;
  margin: 1.4em 0 0.5em;
}

.prose h3 {
  font-size: 24px;
  margin: 1.2em 0 0.45em;
}

.prose a {
  color: var(--wine);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.card {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 28px;
}

.card h3 {
  font-size: 26px;
  margin-bottom: 10px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.list-clean {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list-clean li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.list-clean li::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--gold);
  flex: 0 0 7px;
  transform: rotate(45deg);
  position: relative;
  top: -1px;
}

.decision {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 22px;
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 28px;
}

.decision b {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--wine);
}

.decision small {
  display: block;
  margin-top: 6px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--ink-soft);
}

.chart {
  background: var(--navy-deep);
  color: var(--cream);
  padding: 36px 28px 32px;
}

.chart-label {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.chart-node {
  background: #1e3354;
  border: 1px solid rgba(196, 165, 116, 0.28);
  text-align: center;
  padding: 14px 16px;
  font-size: 14px;
  max-width: 420px;
  margin: 0 auto;
}

.chart-node.soft {
  background: #314a3a;
}

.chart-node.warn {
  background: #3a2740;
  border-color: rgba(196, 90, 116, 0.45);
}

.chart-stem {
  width: 1px;
  height: 22px;
  background: rgba(196, 165, 116, 0.55);
  margin: 0 auto;
}

.chart-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 8px;
}

.chart-box {
  border: 1px dashed rgba(250, 247, 240, 0.18);
  padding: 16px;
}

.chart-box h4 {
  font-size: 16px;
  margin-bottom: 10px;
  font-family: var(--sans);
  letter-spacing: 0.04em;
  font-weight: 500;
}

.mini-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mini-pills span {
  background: rgba(250, 247, 240, 0.08);
  border: 1px solid rgba(250, 247, 240, 0.12);
  padding: 6px 10px;
  font-size: 12px;
}

.cloud {
  margin-top: 18px;
  background: #2a2438;
  border: 1px solid rgba(250, 247, 240, 0.1);
  padding: 18px;
  text-align: center;
}

.money {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.money article {
  background: var(--cream);
  border-top: 2px solid var(--gold);
  padding: 22px 16px;
}

.money b {
  display: block;
  font-family: var(--serif);
  font-size: 26px;
}

.money span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--cream);
}

table.matrix {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
  font-size: 13px;
}

.matrix th,
.matrix td {
  border: 1px solid var(--line);
  padding: 12px 10px;
  vertical-align: top;
  text-align: left;
}

.matrix thead th {
  background: var(--navy);
  color: var(--cream);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.matrix .stub {
  background: var(--paper-2);
  font-weight: 500;
  white-space: nowrap;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.chips i {
  font-style: normal;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 2px 6px;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.timeline {
  display: grid;
  gap: 0;
}

.timeline article {
  display: grid;
  grid-template-columns: 140px 22px 1fr;
  gap: 18px;
}

.timeline .dot {
  width: 11px;
  height: 11px;
  border: 1px solid var(--gold);
  background: var(--paper);
  border-radius: 50%;
  margin: 6px auto 0;
  position: relative;
}

.timeline article:not(:last-child) .dot::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 14px;
  width: 1px;
  height: calc(100% + 28px);
  background: var(--line-strong);
}

.timeline h3 {
  font-size: 24px;
  margin-bottom: 6px;
}

.timeline .when {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wine);
  padding-top: 4px;
}

.portrait {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: grayscale(0.25) contrast(1.05);
  border: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
}

label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 8px;
  color: var(--ink-soft);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: var(--cream);
  padding: 12px 14px;
  color: var(--ink);
  outline: none;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
}

.form-row {
  margin-bottom: 16px;
}

.form-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-status {
  margin-top: 12px;
  font-size: 14px;
}

.form-status.is-error {
  color: var(--wine);
}

.tbm-hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.site-footer {
  background: var(--navy-deep);
  color: rgba(250, 247, 240, 0.72);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(250, 247, 240, 0.1);
}

.site-footer h2,
.site-footer h3 {
  color: var(--cream);
}

.site-footer h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.site-footer a:hover {
  color: var(--gold);
}

.legal {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 18px;
  font-size: 12px;
  color: rgba(250, 247, 240, 0.45);
}

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: 0.8s var(--ease);
}

html.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.doc {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.doc b {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--wine);
}

@media (max-width: 1180px) {
  .hero-inner,
  .split,
  .chapters,
  .stats,
  .grid-2,
  .grid-3,
  .chart-row,
  .money,
  .contact-grid,
  .footer-grid,
  .decision {
    grid-template-columns: 1fr;
  }

  .hero-aside {
    border-left: 0;
    border-top: 1px solid rgba(196, 165, 116, 0.35);
    padding: 28px 0 0;
  }

  .nav {
    display: none;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: var(--header) 0 auto 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 24px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    z-index: 39;
    box-shadow: var(--shadow);
  }

  .nav-drawer.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-drawer a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }

  .brand-copy span {
    display: none;
  }

  .timeline article {
    grid-template-columns: 22px 1fr;
  }

  .timeline .when {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(var(--wrap), calc(100% - 28px));
  }

  .hero-inner,
  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .form-two,
  .hero-meta,
  .doc {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
