:root {
  --font-main: "Avenir Next", "Trebuchet MS", "Gill Sans", system-ui, sans-serif;
  --paper: #f8ecd2;
  --paper-deep: #eed9af;
  --cream: #fff8e7;
  --ink: #27301f;
  --soft-ink: #697159;
  --sage: #91a87a;
  --moss: #526a43;
  --tomato: #bd6248;
  --marigold: #d5a23e;
  --blue: #6d91a2;
  --brown: #815b3f;
  --line: rgba(39, 48, 31, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-main);
  background:
    linear-gradient(rgba(129, 91, 63, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(129, 91, 63, 0.05) 1px, transparent 1px),
    radial-gradient(circle at 14% 16%, rgba(213, 162, 62, 0.22), transparent 24rem),
    radial-gradient(circle at 88% 4%, rgba(145, 168, 122, 0.22), transparent 22rem),
    var(--paper);
  background-size: 34px 34px, 34px 34px, auto, auto, auto;
}

a {
  color: inherit;
}

.site-header {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 18px clamp(16px, 5vw, 32px) 8px;
}

.brand-lockup {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  text-decoration: none;
}

.brand-seal {
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 50% 46% 52% 44%;
  box-shadow: 4px 5px 0 rgba(39, 48, 31, 0.12);
  display: grid;
  font-family: var(--font-main);
  font-size: 18px;
  font-weight: 900;
  height: 48px;
  place-items: center;
  transform: rotate(-4deg);
  width: 48px;
}

.brand-lockup strong {
  display: block;
  font-size: clamp(20px, 2.4vw, 27px);
  line-height: 1.05;
  white-space: nowrap;
}

.brand-lockup small {
  color: var(--soft-ink);
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-top: 4px;
  text-transform: uppercase;
}

.site-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.site-nav a {
  background: rgba(255, 248, 231, 0.58);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--moss);
  font-size: 14px;
  font-weight: 900;
  padding: 9px 13px;
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  background: var(--ink);
  color: var(--cream);
}

main {
  margin: 0 auto;
  max-width: 1180px;
  padding: 28px clamp(16px, 5vw, 32px) 64px;
}

.home-hero {
  align-items: stretch;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(290px, 0.68fr) minmax(0, 1.32fr);
  min-height: 0;
}

.hero-note,
.page-intro,
.ledger,
.field-note,
.about-copy,
.feature-card,
.recipe-slip,
.seed-ledger article,
.goods-board article {
  background: rgba(255, 248, 231, 0.82);
  border: 1px solid var(--line);
  box-shadow: 7px 9px 0 rgba(39, 48, 31, 0.08);
}

.hero-note {
  align-self: center;
  border-radius: 28px 12px 24px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 430px;
  padding: clamp(26px, 4vw, 50px);
  position: relative;
}

.hero-note::before {
  background: repeating-linear-gradient(90deg, rgba(189, 98, 72, 0.7), rgba(189, 98, 72, 0.7) 10px, rgba(255, 248, 231, 0.4) 10px, rgba(255, 248, 231, 0.4) 20px);
  content: "";
  height: 42px;
  left: 38px;
  opacity: 0.5;
  position: absolute;
  top: -16px;
  transform: rotate(-2deg);
  width: 150px;
}

.kicker,
.card-label {
  color: var(--tomato);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--font-main);
  letter-spacing: 0;
}

h1 {
  font-size: clamp(48px, 6.2vw, 84px);
  font-weight: 950;
  line-height: 0.94;
  margin: 0;
}

.hero-note p:last-child,
.page-intro p,
.ledger p,
.field-note p,
.about-copy p,
.feature-card p,
.recipe-slip p,
.seed-ledger p,
.goods-board p {
  color: var(--soft-ink);
  font-size: 18px;
  line-height: 1.55;
}

.hero-image {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 26px 12px 34px 14px;
  box-shadow: 9px 12px 0 rgba(39, 48, 31, 0.1);
  margin: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  padding: 10px;
  position: relative;
  transform: rotate(1deg);
}

.hero-image::before {
  background: rgba(255, 248, 231, 0.72);
  content: "";
  height: 44px;
  position: absolute;
  right: 42px;
  top: -12px;
  transform: rotate(5deg);
  width: 156px;
  z-index: 1;
}

.hero-image img {
  border-radius: 18px 8px 28px 10px;
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.torn-strip {
  align-items: center;
  background: var(--cream);
  border-bottom: 2px dashed rgba(39, 48, 31, 0.25);
  border-top: 2px dashed rgba(39, 48, 31, 0.25);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin: 34px 0;
  padding: 18px;
  transform: rotate(-1deg);
}

.torn-strip span {
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 900;
}

.home-grid,
.recipe-list,
.seed-ledger,
.goods-board {
  display: grid;
  gap: 20px;
}

.home-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card {
  border-radius: 18px 24px 12px 28px;
  color: inherit;
  min-height: 260px;
  padding: 24px;
  text-decoration: none;
  transform: rotate(-1.2deg);
}

.feature-card:nth-child(2) {
  transform: rotate(1deg);
}

.feature-card:nth-child(3) {
  transform: rotate(-0.3deg);
}

.feature-card h2,
.ledger h2,
.field-note h2,
.goods-board h2,
.recipe-slip h2 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
  margin: 0 0 14px;
}

.recipe-card {
  background: #fff5dc;
}

.deer-card {
  background: #e6eed8;
}

.goods-card {
  background: #f3d4c9;
}

.ledger,
.field-note {
  border-radius: 16px;
  display: grid;
  gap: 24px;
  grid-template-columns: 1.1fr 0.9fr;
  margin-top: 28px;
  padding: 28px;
}

.page-shell {
  padding-top: 48px;
}

.page-intro {
  border-radius: 28px 14px 28px 14px;
  margin-bottom: 28px;
  max-width: 920px;
  padding: clamp(28px, 5vw, 56px);
}

.page-intro h1,
.about-copy h1 {
  font-size: clamp(40px, 6.5vw, 78px);
}

.recipe-intro {
  background: #fff2d4;
}

.deer-intro {
  background: #e3efd7;
}

.goods-intro {
  background: #f5d7ca;
}

.recipe-list {
  grid-template-columns: repeat(2, 1fr);
}

.recipe-slip {
  border-radius: 5px 18px 6px 14px;
  min-height: 240px;
  padding: 32px 26px 24px;
  position: relative;
  transform: rotate(-1deg);
}

.recipe-slip:nth-child(even) {
  transform: rotate(1deg);
}

.tape {
  background: rgba(213, 162, 62, 0.42);
  height: 34px;
  left: 32px;
  position: absolute;
  top: -13px;
  transform: rotate(-4deg);
  width: 116px;
}

.seed-ledger {
  grid-template-columns: repeat(3, 1fr);
}

.seed-ledger article {
  border-radius: 14px;
  padding: 22px;
}

.seed-ledger span {
  display: block;
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 10px;
}

.field-note {
  grid-template-columns: 1fr;
}

.goods-board {
  grid-template-columns: repeat(3, 1fr);
}

.goods-board article {
  border-radius: 18px;
  padding: 24px;
}

.round-sticker {
  align-items: center;
  background: radial-gradient(circle, #f8e4ae, #df9165);
  border: 8px solid var(--cream);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--ink);
  display: flex;
  font-size: 30px;
  font-weight: 900;
  height: 220px;
  justify-content: center;
  line-height: 0.95;
  margin-bottom: 22px;
  text-align: center;
  transform: rotate(-5deg);
  width: 220px;
}

.mason-jar {
  background: rgba(205, 230, 232, 0.56);
  border: 4px solid var(--blue);
  border-radius: 32px 32px 46px 46px;
  display: grid;
  height: 240px;
  margin-bottom: 20px;
  place-items: center;
  width: 150px;
}

.mason-jar span {
  color: var(--moss);
  font-size: 22px;
  font-weight: 900;
  text-align: center;
}

.tee-shape {
  background: #eee1c5;
  clip-path: polygon(26% 0, 40% 10%, 60% 10%, 74% 0, 100% 18%, 84% 42%, 78% 34%, 78% 100%, 22% 100%, 22% 34%, 16% 42%, 0 18%);
  display: grid;
  height: 220px;
  margin-bottom: 26px;
  place-items: center;
  width: 230px;
}

.tee-shape span {
  font-size: 24px;
  font-weight: 900;
  text-align: center;
}

.about-layout {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: 340px minmax(0, 1fr);
}

.portrait-card {
  background: #e4edcf;
  border: 1px solid var(--line);
  border-radius: 28px 12px 28px 12px;
  box-shadow: 7px 9px 0 rgba(39, 48, 31, 0.08);
  padding: 28px;
  transform: rotate(-2deg);
}

.portrait-pot {
  background: var(--tomato);
  border-radius: 12px 12px 40px 40px;
  height: 230px;
  margin: 52px auto 28px;
  position: relative;
  width: 210px;
}

.portrait-pot::before,
.portrait-pot::after {
  background: var(--moss);
  border-radius: 80% 0 80% 0;
  content: "";
  height: 210px;
  position: absolute;
  top: -180px;
  width: 86px;
}

.portrait-pot::before {
  left: 26px;
  transform: rotate(-28deg);
}

.portrait-pot::after {
  right: 26px;
  transform: rotate(28deg) scaleX(-1);
}

.portrait-card p {
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  margin: 0;
  text-align: center;
}

.portrait-card span {
  color: var(--soft-ink);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-copy {
  border-radius: 18px;
  padding: clamp(28px, 5vw, 52px);
}

.contact-box {
  background: #fff3d5;
  border: 1px dashed var(--line);
  border-radius: 12px;
  margin-top: 26px;
  padding: 18px;
}

.contact-box h2 {
  font-size: 30px;
  margin: 0 0 8px;
}

.site-footer {
  border-top: 1px dashed var(--line);
  color: var(--soft-ink);
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 24px clamp(16px, 5vw, 32px) 42px;
}

@media (max-width: 900px) {
  .site-header,
  .home-hero,
  .ledger,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-grid,
  .seed-ledger,
  .goods-board {
    grid-template-columns: 1fr;
  }

  .hero-image {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 640px) {
  main {
    padding-top: 22px;
  }

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

  h1,
  .page-intro h1,
  .about-copy h1 {
    font-size: 42px;
  }

  .recipe-list {
    grid-template-columns: 1fr;
  }

  .hero-image {
    aspect-ratio: 4 / 3;
  }

  .site-footer {
    flex-direction: column;
    gap: 8px;
  }
}
