:root {
  --ink: #1B2428;
  --millet: #4E5C22;
  --millet-press: #3A4719;
  --sheet: #E4E7EA;
  --button-ink: #F3F6EA;
  --serif: "Noticia Text", "Palatino Linotype", Palatino, serif;
  --sans: "Lexend", "Segoe UI", sans-serif;
  --wrap: 52.5rem;
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--sheet);
}

body {
  margin: 0;
  background: var(--sheet);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.7;
  overflow-x: clip;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--ink);
}

.reading a,
.foot-filled a,
.empty-note a {
  overflow-wrap: anywhere;
}

a:focus-visible,
.kernel-button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--sheet);
  color: var(--ink);
  padding: 0.4rem 0.7rem;
}

.skip:focus {
  top: 0.5rem;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

.crease-nav {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin: 1.6rem auto 0;
  padding-top: 0.8rem;
  border-top: 2px solid var(--ink);
}

.mast {
  padding: 1.4rem 0 0.2rem;
}

.bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.25rem 2rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  gap: 0.8rem;
  max-width: 100%;
  color: inherit;
  text-decoration: none;
}

.brand img {
  width: 104px;
  height: auto;
}

.brand-word {
  display: block;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
}

.brand-legal {
  display: block;
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.3;
  overflow-wrap: normal;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0.35rem 0 0;
}

.nav-list a {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
}

.nav-list a[aria-current="page"] {
  box-shadow: inset 0 -3px 0 var(--ink);
  padding-bottom: 0.15rem;
}

.kernel-hero {
  padding: 1.2rem 0 0.4rem;
}

.kernel-hero h1,
.inner h1 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0;
}

.kernel-hero h1 {
  font-size: clamp(2.05rem, 4.4vw, 3.15rem);
  max-width: 16ch;
}

.kernel-mark {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: min(34rem, 100%);
  height: 8.2rem;
  margin: 0.85rem 0 0.4rem;
}

.kernel-mark-page {
  width: min(15rem, 72%);
  height: 4.4rem;
  margin: 0 0 1rem;
}

.kernel-mark-foot {
  width: min(18rem, 80%);
  height: 4.8rem;
  margin: 0 0 0.6rem;
}

.empty-lobe,
.filled-lobe {
  display: block;
  height: 5.5rem;
  width: 46%;
}

.kernel-mark-page .empty-lobe,
.kernel-mark-page .filled-lobe,
.kernel-mark-foot .empty-lobe,
.kernel-mark-foot .filled-lobe {
  height: 2.7rem;
}

.empty-lobe {
  border: 1.6px solid var(--ink);
  border-right-width: 0;
  border-radius: 6rem 0 0 6rem;
  background: transparent;
}

.filled-lobe {
  border-radius: 0 6rem 6rem 0;
  background-color: #4E5C22;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='4' height='4' fill='%231B2428'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 4px 4px;
  background-blend-mode: multiply;
  transform-origin: left center;
  animation: lobe-fill 720ms ease-out both;
}

.kernel-awn {
  position: absolute;
  left: 73%;
  top: 0.35rem;
  width: 2px;
  height: 2.15rem;
  background: var(--millet);
  transform: rotate(36deg);
  transform-origin: bottom left;
}

.kernel-mark-page .kernel-awn,
.kernel-mark-foot .kernel-awn {
  height: 1.25rem;
  top: 0.15rem;
}

.kernel-word {
  position: absolute;
  left: calc(73% + 1.35rem);
  top: 0.2rem;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
}

.kernel-mark-page .kernel-word,
.kernel-mark-foot .kernel-word {
  font-size: 0.62rem;
  top: 0;
}

.lede {
  font-size: 1.15rem;
  max-width: 40rem;
  margin: 0.85rem 0 0;
}

.kernel-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.15rem;
  margin: 1.15rem 0 0.4rem;
}

.kernel-button {
  display: inline-block;
  background: var(--millet);
  color: var(--button-ink);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  border-radius: var(--radius);
  padding: 0.75rem 1.3rem;
}

.kernel-button:hover {
  background: var(--millet-press);
}

.quiet-link {
  font-family: var(--sans);
  font-weight: 600;
}

.empty-note {
  max-width: 34rem;
  margin-top: 1.4rem;
  padding-top: 0.8rem;
  border-top: 1.6px solid var(--ink);
}

.empty-note h2,
.reading h2,
.reading h3 {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.empty-note h2 {
  font-size: 1.15rem;
  margin: 0 0 0.4rem;
}

.kernel-facts {
  padding: 1.6rem 0 0.4rem;
}

.kernel-facts .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.fact {
  border-top: 1.6px solid var(--ink);
  padding: 0.75rem 0.9rem 0.2rem 0;
  margin: 0;
}

.fact-label {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}

.fact-value {
  margin: 0.25rem 0 0;
  font-size: 1.05rem;
}

.kernel-band {
  padding: 1.35rem 0 0.2rem;
}

.kernel-band .reading {
  display: grid;
  grid-template-columns: minmax(9.5rem, 14rem) minmax(0, 1fr);
  column-gap: 1.6rem;
  row-gap: 0.35rem;
  border-top: 1.6px solid var(--ink);
  padding-top: 0.95rem;
}

.kernel-band .reading > h2 {
  grid-column: 1;
  grid-row: 1 / span 12;
  margin: 0;
  font-size: 1.35rem;
}

.kernel-band .reading > :not(h2) {
  grid-column: 2;
  margin-top: 0;
}

.inner {
  padding: 1.2rem 0 2rem;
}

.inner h1 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  max-width: 20ch;
  margin-bottom: 0.8rem;
}

.reading p,
.reading ul,
.reading ol {
  margin: 0.55rem 0;
}

.reading ul,
.reading ol {
  padding-left: 1.2rem;
}

.reading li + li {
  margin-top: 0.3rem;
}

.kernel-foot {
  padding: 2.2rem 0 2.6rem;
}

.foot-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: 1.2rem 2rem;
  border-top: 1.6px solid var(--ink);
  padding-top: 1rem;
}

.foot-empty,
.foot-filled p {
  margin: 0;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
}

.foot-links a,
.foot-filled a {
  font-family: var(--sans);
  font-weight: 600;
}

@keyframes lobe-fill {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .filled-lobe {
    animation: none;
    transform: none;
  }
}

@media (max-width: 760px) {
  .kernel-facts .wrap,
  .kernel-band .reading,
  .foot-split {
    grid-template-columns: 1fr;
  }

  .kernel-band .reading > h2,
  .kernel-band .reading > :not(h2) {
    grid-column: 1;
    grid-row: auto;
  }

  .kernel-facts .wrap {
    grid-template-columns: 1fr 1fr;
  }

  .kernel-hero h1 {
    max-width: none;
  }
}
