:root {
  --paper: #f8f0db;
  --paper-light: #fff9ea;
  --ink: #23452f;
  --muted-ink: #685a48;
  --leaf: #39734a;
  --sage: #87a96b;
  --butter: #f4c95d;
  --tomato: #d76545;
  --sky: #bfdde4;
  --soil: #6d4934;
  --line: rgba(35, 69, 47, 0.22);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Trebuchet MS", Verdana, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12px 12px, rgba(255,255,255,.8) 0 3px, transparent 4px) 0 0 / 34px 34px,
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 4px solid var(--butter);
  outline-offset: 4px;
}

.site-header {
  min-height: 78px;
  padding: 16px clamp(24px, 5vw, 78px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--ink);
  background: rgba(248, 240, 219, .94);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
}

.wordmark-mark,
.footer-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--ink);
  color: var(--paper-light);
  border-radius: 50% 48% 52% 45%;
  font-family: var(--serif);
  font-size: .9rem;
}

nav {
  display: flex;
  gap: clamp(16px, 3vw, 38px);
}

nav a {
  font-weight: 700;
  font-size: .9rem;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

.hero {
  min-height: 690px;
  padding: clamp(54px, 7vw, 108px) clamp(24px, 5vw, 78px) 90px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .95fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  overflow: hidden;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--soil);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
blockquote {
  font-family: var(--serif);
}

h1 {
  margin: 0;
  font-size: clamp(5rem, 9vw, 9.2rem);
  line-height: .78;
  letter-spacing: -.065em;
}

.hero-subtitle {
  margin: 32px 0 18px;
  color: var(--soil);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-style: italic;
  font-weight: 700;
}

.hero-deck {
  max-width: 650px;
  margin: 0;
  color: var(--muted-ink);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.65;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.button {
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 14px 24px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  background: var(--butter);
  box-shadow: 5px 5px 0 var(--ink);
}

.button-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
}

.text-link {
  font-weight: 800;
  text-underline-offset: 6px;
}

.byline {
  margin: 34px 0 0;
  color: var(--muted-ink);
}

.hero-art {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1195 / 896;
  position: relative;
  overflow: hidden;
  background: var(--sky);
  border: 6px solid var(--ink);
  border-radius: 52% 48% 10% 10% / 40% 42% 9% 9%;
  box-shadow: 18px 18px 0 var(--butter);
}

.hero-art > img,
.meet-art > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-art > img {
  object-fit: contain;
  object-position: center;
}

.sun {
  position: absolute;
  right: 10%;
  top: 7%;
  width: 18%;
  aspect-ratio: 1;
  border: 5px solid var(--ink);
  border-radius: 50%;
  background: var(--butter);
}

.hill {
  position: absolute;
  width: 90%;
  height: 55%;
  bottom: 12%;
  border: 5px solid var(--ink);
  border-radius: 50% 50% 0 0;
}

.hill-back {
  left: -28%;
  background: var(--sage);
  transform: rotate(6deg);
}

.hill-front {
  right: -35%;
  background: #6f9c5e;
  transform: rotate(-8deg);
}

.soil {
  position: absolute;
  z-index: 2;
  bottom: 0;
  width: 100%;
  height: 23%;
  background: #8a644b;
  border-top: 5px solid var(--ink);
}

.sprout {
  position: absolute;
  z-index: 4;
  bottom: 11%;
  width: 10px;
  height: 70px;
  background: var(--ink);
  border-radius: 6px;
}

.sprout::before,
.sprout::after {
  content: "";
  position: absolute;
  top: 12px;
  width: 48px;
  height: 23px;
  background: var(--leaf);
  border: 4px solid var(--ink);
}

.sprout::before {
  right: 3px;
  border-radius: 90% 10% 80% 10%;
  transform: rotate(-8deg);
}

.sprout::after {
  left: 3px;
  border-radius: 10% 90% 10% 80%;
  transform: rotate(10deg);
}

.sprout-one { left: 15%; }
.sprout-two { left: 36%; transform: scale(.8); }
.sprout-three { right: 13%; transform: scale(1.15); }

.rake {
  position: absolute;
  z-index: 5;
  left: 32%;
  bottom: 4%;
  width: 44%;
  height: 82%;
  transform: rotate(11deg);
  transform-origin: 50% 100%;
}

.rake-handle {
  position: absolute;
  left: 50%;
  bottom: 18%;
  width: 18px;
  height: 82%;
  border: 5px solid var(--ink);
  border-radius: 10px;
  background: #bd7542;
  transform: translateX(-50%);
}

.rake-head {
  position: absolute;
  z-index: 6;
  left: 5%;
  bottom: 15%;
  width: 90%;
  height: 48px;
  border: 5px solid var(--ink);
  border-radius: 12px;
  background: var(--leaf);
}

.rake-tine {
  position: absolute;
  z-index: 5;
  bottom: 0;
  width: 8px;
  height: 18%;
  background: var(--ink);
}

.tine-one { left: 14%; }
.tine-two { left: 31%; }
.tine-three { left: 48%; }
.tine-four { left: 65%; }
.tine-five { left: 82%; }

.story-section {
  padding: 96px clamp(24px, 5vw, 78px) 120px;
  background: var(--paper-light);
  border-block: 3px solid var(--ink);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 50px;
  align-items: end;
  margin-bottom: 48px;
}

.section-heading h2,
.meet-copy h2,
.legacy-copy h2 {
  margin: 0;
  font-size: clamp(3rem, 5vw, 5.8rem);
  line-height: .95;
  letter-spacing: -.045em;
}

.section-heading > p {
  margin: 0 0 8px;
  color: var(--muted-ink);
  font-size: 1.05rem;
  line-height: 1.6;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.story-card {
  min-height: 520px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  background: #fffaf0;
  border: 4px solid var(--ink);
  border-radius: 36px 30px 42px 28px;
  box-shadow: 8px 9px 0 rgba(35, 69, 47, .12);
  transition: transform .22s ease, box-shadow .22s ease;
}

.story-card:nth-child(3n + 2) {
  transform: rotate(.5deg);
}

.story-card:nth-child(3n + 3) {
  transform: rotate(-.5deg);
}

.story-card:hover,
.story-card:focus-within {
  transform: translateY(-6px) rotate(0);
  box-shadow: 10px 14px 0 rgba(35, 69, 47, .18);
}

.story-number {
  color: var(--muted-ink);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.portrait {
  width: 130px;
  height: 150px;
  margin: 12px auto 4px;
  position: relative;
}

.portrait-approved {
  width: 150px;
  height: 170px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.portrait-approved img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border: 2px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
}

.vegetable-body {
  position: absolute;
  left: 25px;
  top: 34px;
  width: 80px;
  height: 100px;
  background: var(--tomato);
  border: 5px solid var(--ink);
  border-radius: 50% 47% 45% 52%;
}

.leaf {
  position: absolute;
  z-index: 2;
  top: 18px;
  width: 48px;
  height: 28px;
  background: var(--leaf);
  border: 4px solid var(--ink);
}

.leaf-left {
  left: 28px;
  border-radius: 90% 10% 80% 10%;
  transform: rotate(16deg);
}

.leaf-right {
  right: 28px;
  border-radius: 10% 90% 10% 80%;
  transform: rotate(-16deg);
}

.face {
  position: absolute;
  z-index: 3;
  top: 76px;
  width: 7px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
}

.face-left { left: 53px; }
.face-right { right: 53px; }

.smile {
  position: absolute;
  z-index: 3;
  left: 56px;
  top: 94px;
  width: 20px;
  height: 11px;
  border-bottom: 3px solid var(--ink);
  border-radius: 50%;
}

.portrait-candy-tater .vegetable-body { background: #dca05e; border-radius: 55% 45% 48% 52%; transform: rotate(5deg); }
.portrait-jake-zucchini .vegetable-body { background: #4e8b58; height: 118px; width: 57px; left: 37px; top: 24px; border-radius: 48% 46% 45% 52%; transform: rotate(12deg); }
.portrait-charlie-mccool .vegetable-body { background: #78a767; height: 118px; width: 62px; left: 34px; top: 24px; border-radius: 45%; transform: rotate(-8deg); }
.portrait-jerry-redd .vegetable-body { background: var(--tomato); }
.portrait-mini-osteen .vegetable-body { background: #c98a55; border-radius: 60% 58% 45% 45%; }
.portrait-oscar-okra .vegetable-body { background: #658f4b; height: 122px; width: 50px; left: 40px; top: 23px; border-radius: 20% 20% 48% 48%; }
.portrait-priscilla-persimmon .vegetable-body { background: #dc7b3e; border-radius: 54% 54% 45% 45%; }
.portrait-cal-vining .vegetable-body { background: #7d5b8f; border-radius: 50% 50% 55% 55%; }
.portrait-major-sour-kraut .vegetable-body { background: #8eae78; width: 92px; left: 19px; border-radius: 50% 47% 55% 46%; }

.vegetable-label {
  margin: 8px 0 8px;
  color: var(--soil);
  font-size: .77rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
}

.story-card h3 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.15rem);
  line-height: 1;
  text-align: center;
}

.story-title {
  margin: 10px 0 0;
  color: var(--soil);
  font-family: var(--serif);
  font-size: 1.08rem;
  font-style: italic;
  font-weight: 700;
  text-align: center;
}

.story-theme {
  margin: 18px 0 24px;
  color: var(--muted-ink);
  line-height: 1.55;
  text-align: center;
}

.story-button {
  width: 100%;
  min-height: 50px;
  margin-top: auto;
  background: transparent;
  border: 0;
  border-top: 2px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  padding: 18px 4px 0;
}

.story-button:hover span {
  display: inline-block;
  transform: translateX(5px);
}

.meet-section,
.legacy-section {
  padding: 112px clamp(24px, 7vw, 112px);
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr);
  gap: clamp(50px, 8vw, 120px);
  align-items: center;
}

.meet-art {
  width: min(100%, 430px);
  min-height: 0;
  aspect-ratio: 864 / 1230;
  justify-self: center;
  position: relative;
  overflow: hidden;
  background: var(--sky);
  border: 5px solid var(--ink);
  border-radius: 46% 46% 28px 28px;
  box-shadow: -14px 16px 0 var(--sage);
}

.meet-art > img {
  object-fit: contain;
  object-position: center;
}

.church-building {
  position: absolute;
  z-index: 2;
  left: 21%;
  bottom: 25%;
  width: 58%;
  height: 42%;
  background: #f1a055;
  border: 5px solid var(--ink);
}

.church-roof {
  position: absolute;
  z-index: 3;
  left: 14%;
  bottom: 64%;
  width: 72%;
  height: 20%;
  background: var(--tomato);
  border: 5px solid var(--ink);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.church-door {
  position: absolute;
  z-index: 3;
  left: 43%;
  bottom: 25%;
  width: 16%;
  height: 24%;
  background: var(--ink);
  border: 5px solid var(--soil);
}

.garden-row {
  position: absolute;
  left: -10%;
  width: 120%;
  height: 55px;
  background: var(--soil);
  border: 5px solid var(--ink);
  border-radius: 50%;
}

.row-one { bottom: 15%; transform: rotate(4deg); }
.row-two { bottom: 4%; transform: rotate(-2deg); }
.row-three { bottom: -7%; transform: rotate(3deg); }

.meet-copy p,
.legacy-copy p {
  color: var(--muted-ink);
  font-size: 1.05rem;
  line-height: 1.75;
}

.meet-scripture {
  margin: 28px 0 30px;
  padding: 4px 0 4px 22px;
  border-left: 5px solid var(--butter);
  color: var(--soil);
  font-size: 1.14rem;
  font-style: italic;
  line-height: 1.65;
}

.meet-scripture cite {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: .78rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

details {
  margin-top: 20px;
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
  padding: 18px 0;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

.details-copy {
  padding-top: 8px;
}

.intro-credit {
  font-size: .86rem !important;
  font-style: italic;
}

.legacy-section {
  background: var(--ink);
  color: var(--paper-light);
}

.legacy-quote {
  position: relative;
  border: 3px solid var(--butter);
  border-radius: 38px;
  padding: 60px 48px 42px;
}

.quote-mark {
  position: absolute;
  left: 30px;
  top: -24px;
  color: var(--butter);
  font-family: var(--serif);
  font-size: 7rem;
}

blockquote {
  margin: 0;
  font-size: clamp(2.15rem, 4vw, 4.2rem);
  line-height: 1.08;
}

.legacy-copy .eyebrow {
  color: var(--butter);
}

.legacy-copy p {
  color: #e7dec8;
}

.family-credit {
  grid-column: 1 / -1;
  padding-top: 34px;
  border-top: 1px solid rgba(244, 201, 93, .45);
}

.family-credit .eyebrow {
  color: var(--butter);
}

.family-credit p:last-child {
  max-width: 980px;
  margin: 0;
  color: #e7dec8;
  font-size: 1rem;
  line-height: 1.75;
}

footer {
  padding: 36px clamp(24px, 5vw, 78px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  background: var(--paper);
  border-top: 3px solid var(--ink);
}

footer p {
  margin: 5px 0 0;
  color: var(--muted-ink);
  font-size: .86rem;
}

footer > a {
  font-weight: 800;
  text-underline-offset: 6px;
}

.reader-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  padding: clamp(16px, 4vw, 54px);
  overflow-y: auto;
  background: rgba(35, 50, 39, .82);
  backdrop-filter: blur(8px);
}

.reader {
  width: min(820px, 100%);
  margin: 0 auto;
  position: relative;
  background: var(--paper-light);
  border: 5px solid var(--ink);
  border-radius: 32px;
  box-shadow: 16px 18px 0 var(--butter);
  padding: clamp(28px, 6vw, 72px);
}

.reader-close {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 48px;
  height: 48px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--paper-light);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}

.reader-heading {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-right: 46px;
  border-bottom: 3px solid var(--ink);
}

.reader-heading .portrait {
  flex: 0 0 130px;
  margin: 0;
}

.reader-heading .portrait-approved {
  flex-basis: 150px;
  height: 170px;
}

.original-story-label {
  margin: 0 0 6px;
  color: var(--soil);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.reader-heading h2 {
  margin: 0;
  font-size: clamp(2.7rem, 7vw, 5.2rem);
  line-height: .9;
}

.reader-theme {
  color: var(--soil);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 700;
}

.reader-copy {
  padding: 30px 0 6px;
}

.reader-copy > p {
  margin: 0 0 1.25em;
  color: #473d31;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.28rem);
  line-height: 1.8;
}

.reader-copy > p:first-child::first-letter {
  float: left;
  margin: .05em .12em 0 0;
  color: var(--tomato);
  font-size: 4.3em;
  font-weight: 700;
  line-height: .75;
}

.scripture {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: rgba(244, 201, 93, .3);
  padding: 18px 22px;
  font-weight: 700;
}

.scripture span {
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.reader-end {
  padding-top: 24px;
  border-top: 3px solid var(--ink);
  text-align: center;
}

.reader-end > span {
  color: var(--tomato);
  font-size: 2.8rem;
}

.reader-end p {
  color: var(--muted-ink);
  font-size: .85rem;
}

.reader-end .button {
  margin-top: 12px;
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-art {
    height: auto;
  }

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

  .meet-section,
  .legacy-section {
    grid-template-columns: 1fr;
  }

  .meet-art {
    min-height: 0;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: relative;
  }

  nav {
    display: none;
  }

  .hero {
    padding-top: 60px;
  }

  h1 {
    font-size: clamp(4rem, 18vw, 5rem);
  }

  .hero-art {
    min-height: 0;
    height: auto;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  .story-card {
    min-height: 500px;
  }

  .meet-section,
  .legacy-section {
    padding-block: 82px;
  }

  footer {
    grid-template-columns: auto 1fr;
  }

  footer > a {
    grid-column: 1 / -1;
  }

  .reader-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .reader-heading .portrait {
    margin-bottom: -28px;
    transform: scale(.75);
    transform-origin: left center;
  }
}

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

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