:root {
  --ink: #11151c;
  --muted: #64707d;
  --paper: #f3f5f2;
  --line: #d7dedb;
  --night: #182331;
  --lime: #c7ed68;
  --blue: #9dd9ef;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
}

a { color: inherit; }

a:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }

.shell { width: min(1120px, calc(100% - 3rem)); margin-inline: auto; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 5;
  padding: .6rem .9rem;
  color: var(--ink);
  background: var(--lime);
  font-weight: 700;
}

.skip-link:focus { top: 1rem; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5.5rem;
  border-bottom: 1px solid var(--line);
}

.brand { font-size: .9rem; font-weight: 800; letter-spacing: -.02em; text-decoration: none; }
.brand span { color: #739e2d; padding-inline: .25rem; }

nav { display: flex; gap: 1.5rem; font-size: .9rem; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--ink); }
nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .35rem; }

.hero { position: relative; min-height: 37rem; padding-top: 7.5rem; padding-bottom: 6rem; overflow: hidden; }
.eyebrow { margin: 0 0 1.3rem; color: #52616c; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -.055em; }
h1 { max-width: 820px; margin-bottom: 1.6rem; font-size: clamp(3.7rem, 9vw, 7.4rem); font-weight: 800; }
h1 em, h2 em { color: #648e27; font-family: var(--serif); font-weight: 400; letter-spacing: -.08em; }
.lede { max-width: 31rem; color: var(--muted); font-size: 1.14rem; line-height: 1.55; }

.hero-mark { position: absolute; right: 2%; bottom: 5rem; display: flex; gap: .6rem; align-items: end; transform: rotate(-10deg); }
.hero-mark span { display: block; width: 1.4rem; background: var(--night); }
.hero-mark span:nth-child(1) { height: 4.5rem; background: var(--blue); }
.hero-mark span:nth-child(2) { height: 9rem; }
.hero-mark span:nth-child(3) { height: 6.5rem; background: var(--lime); }
.hero-mark span:nth-child(4) { height: 12rem; background: var(--night); }
.hero-mark span:nth-child(5) { height: 7.5rem; background: #e4a267; }

.notes { padding-top: 5rem; padding-bottom: 7rem; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
h2 { margin-bottom: 0; font-size: clamp(2.5rem, 5vw, 4.5rem); }
.note-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 1rem; }
.note-card { min-height: 18rem; padding: 1.8rem; background: #e7ece8; }
.note-card--wide { display: flex; flex-direction: column; justify-content: space-between; min-height: 23rem; background: var(--blue); }
.note-card--dark { color: #f3f5f2; background: var(--night); }
.note-card--accent { background: var(--lime); }
.card-index { margin-bottom: 4rem; font-size: .72rem; font-weight: 800; letter-spacing: .16em; }
.note-card h3 { margin-bottom: .8rem; font-size: 2rem; }
.note-card p:last-child { max-width: 23rem; margin-bottom: 0; color: inherit; opacity: .78; }
.card-rule { width: 4rem; border-top: 2px solid var(--ink); }

.index-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; padding-top: 4rem; padding-bottom: 6rem; border-top: 1px solid var(--line); }
.link-list { border-top: 1px solid var(--ink); }
.link-list a { display: flex; justify-content: space-between; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); font-weight: 700; text-decoration: none; }
.link-list a:hover { color: #648e27; }

.page { min-height: calc(100vh - 11rem); padding-top: 7rem; padding-bottom: 7rem; }
.page h1 { max-width: 740px; margin-bottom: 3rem; }
.prose { max-width: 38rem; margin-left: 25%; color: var(--muted); font-size: 1.08rem; }
.prose .intro { color: var(--ink); font-size: 1.35rem; line-height: 1.45; }
.back-link, .button-link { display: inline-flex; gap: .7rem; align-items: center; margin-top: 3rem; font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: .35rem; }
.back-link:hover, .button-link:hover { color: #648e27; }
.button-link { padding: .9rem 1.2rem; color: var(--ink); background: var(--lime); text-decoration: none; }
.page--not-found .lede { margin-bottom: 0; }

.site-footer { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.2rem; padding-bottom: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }

@media (max-width: 760px) {
  .shell { width: min(100% - 2rem, 40rem); }
  .hero { min-height: 34rem; padding-top: 5rem; }
  .hero-mark { right: 0; bottom: 3.5rem; transform: scale(.7) rotate(-10deg); transform-origin: right bottom; }
  .section-heading, .index-strip { display: block; }
  .section-heading h2 { margin-top: 2rem; }
  .note-grid { grid-template-columns: 1fr; }
  .note-card, .note-card--wide { min-height: 16rem; }
  .index-strip .link-list { margin-top: 2.5rem; }
  .page { padding-top: 5rem; }
  .prose { margin-left: 0; }
  .site-footer { flex-direction: column; gap: .2rem; }
}
