:root {
  --bg: #f6f7ea;
  --bg-accent: #e7efd0;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #fffdf3;
  --text: #21321f;
  --muted: #4e684a;
  --line: rgba(52, 103, 52, 0.18);
  --green: #6ea95f;
  --green-deep: #3f6a34;
  --green-soft: #a9d68e;
  --melon: #f2d4a7;
  --banner: #f7f0c8;
  --shadow: 0 18px 45px rgba(68, 97, 48, 0.12);
  --radius: 24px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(169, 214, 142, 0.45), transparent 32%),
    radial-gradient(circle at top right, rgba(242, 212, 167, 0.45), transparent 28%),
    linear-gradient(180deg, #f9faef 0%, var(--bg) 100%);
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--green-deep);
  color: #fff;
  text-decoration: none;
}

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

.page-shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 2.5rem;
}

.hero,
.section,
.site-footer {
  position: relative;
}

.hero {
  display: grid;
  grid-template-columns: 1fr minmax(0, 1.35fr) 1fr;
  gap: 1rem;
  align-items: center;
  padding: 2rem 0 3rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 1rem 0 auto;
  height: calc(100% - 1rem);
  border: 2px dashed rgba(90, 140, 74, 0.2);
  border-radius: calc(var(--radius) + 12px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.18)),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.08) 12px,
      rgba(169, 214, 142, 0.08) 12px,
      rgba(169, 214, 142, 0.08) 24px
    );
  box-shadow: var(--shadow);
  z-index: -1;
}

.hero__content {
  text-align: center;
  padding: 3rem 1.5rem 2.5rem;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.85rem;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-deep);
}

h1,
h2,
h3 {
  line-height: 1.05;
}

h1 {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  color: #274120;
  text-wrap: balance;
}

.hero__subtitle {
  width: min(38rem, 100%);
  margin: 1.25rem auto 0;
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--muted);
}

.hero__button {
  display: inline-block;
  margin-top: 1.75rem;
  padding: 0.95rem 1.45rem;
  border: 2px solid rgba(63, 106, 52, 0.28);
  border-radius: 999px;
  background: linear-gradient(180deg, #fdf7d5, #f4dfab);
  box-shadow: 0 8px 18px rgba(132, 116, 55, 0.15);
  font-family: "Trebuchet MS", "Lucida Sans Unicode", sans-serif;
  font-weight: 700;
  text-decoration: none;
}

.hero__button:hover,
.hero__button:focus-visible {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #fff2bf, #f2d08d);
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.hero__badges span {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 253, 243, 0.9);
  border: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--green-deep);
}

.hero__decoration {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 280px;
}

.hero__decoration--left {
  gap: 1rem;
}

.cuke {
  display: inline-block;
  position: relative;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.35), transparent 25%),
    linear-gradient(180deg, #8bcf69, #5f9e4b);
  border: 2px solid rgba(50, 97, 42, 0.24);
  box-shadow: inset -10px -12px 18px rgba(46, 91, 39, 0.18);
}

.cuke::after {
  content: "";
  position: absolute;
  inset: 10% 30%;
  border-left: 2px dotted rgba(255, 255, 255, 0.25);
  border-right: 2px dotted rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.cuke--tall {
  width: 78px;
  height: 200px;
  border-radius: 44px;
  transform: rotate(-8deg);
}

.cuke--round {
  width: 58px;
  height: 126px;
  border-radius: 38px;
  transform: rotate(12deg) translateY(24px);
}

.leaf {
  position: absolute;
  background: linear-gradient(180deg, #bde198, #7eb85d);
  border: 2px solid rgba(63, 106, 52, 0.18);
  border-radius: 100% 0;
}

.leaf--one {
  width: 48px;
  height: 48px;
  transform: translate(50px, -88px) rotate(18deg);
}

.leaf--two {
  width: 54px;
  height: 54px;
  transform: translate(65px, 82px) rotate(-18deg);
}

.jar {
  position: relative;
  width: 140px;
  height: 180px;
  border: 3px solid rgba(79, 122, 63, 0.2);
  border-radius: 24px 24px 34px 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.2)),
    linear-gradient(180deg, rgba(198, 231, 169, 0.55) 50%, rgba(163, 205, 130, 0.72) 100%);
  box-shadow: var(--shadow);
}

.jar__lid {
  position: absolute;
  left: 18px;
  right: 18px;
  top: -18px;
  height: 28px;
  border-radius: 12px 12px 8px 8px;
  background: linear-gradient(180deg, #f3d590, #e6b96b);
  border: 2px solid rgba(132, 103, 48, 0.22);
}

.jar__pickle {
  position: absolute;
  left: 28px;
  bottom: 26px;
  width: 38px;
  height: 96px;
  border-radius: 24px;
  background: linear-gradient(180deg, #93c96f, #689e50);
  border: 2px solid rgba(51, 93, 43, 0.2);
  transform: rotate(-6deg);
}

.jar__pickle--small {
  left: auto;
  right: 30px;
  width: 30px;
  height: 74px;
  transform: rotate(8deg);
}

.section {
  margin-top: 2rem;
  padding: 2rem 0 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 1.4rem;
  text-align: center;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: #294523;
  text-wrap: balance;
}

.story-grid,
.facts-grid,
.manifesto {
  display: grid;
  gap: 1rem;
}

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

.card,
.fact-card,
.schedule-item,
.manifesto-rule,
.site-footer {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(4px);
}

.card {
  padding: 1.5rem;
  line-height: 1.75;
}

.card--paper {
  background:
    linear-gradient(180deg, rgba(255, 251, 236, 0.96), rgba(255, 255, 255, 0.78)),
    repeating-linear-gradient(
      0deg,
      rgba(135, 170, 108, 0.04),
      rgba(135, 170, 108, 0.04) 26px,
      rgba(255, 255, 255, 0) 26px,
      rgba(255, 255, 255, 0) 52px
    );
}

.accent-card {
  position: relative;
  overflow: hidden;
}

.accent-card::after {
  content: "Festival Seal";
  position: absolute;
  right: 1rem;
  top: 1rem;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(169, 214, 142, 0.22);
  color: var(--green-deep);
  font-size: 0.78rem;
  font-family: "Trebuchet MS", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

.fact-card {
  padding: 1.3rem;
}

.fact-card h3,
.manifesto-rule h3,
.schedule-item h3,
.accent-card h3 {
  margin-top: 0;
  margin-bottom: 0.65rem;
  font-size: 1.22rem;
  color: var(--green-deep);
}

.fact-card p,
.manifesto-rule p,
.schedule-item p,
.card p {
  margin: 0;
  line-height: 1.7;
}

.schedule {
  display: grid;
  gap: 0.95rem;
}

.schedule-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.2rem 1.3rem;
}

.schedule-time {
  margin: 0;
  font-family: "Trebuchet MS", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green-deep);
}

.section--program .schedule-item:nth-child(odd),
.manifesto-rule:nth-child(odd) {
  background:
    linear-gradient(180deg, rgba(255, 253, 243, 0.88), rgba(255, 255, 255, 0.7)),
    linear-gradient(90deg, rgba(169, 214, 142, 0.08), transparent);
}

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

.manifesto-rule {
  padding: 1.3rem;
}

.site-footer {
  margin-top: 2rem;
  padding: 1.4rem 1.2rem;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 250, 230, 0.95), rgba(255, 255, 255, 0.78)),
    repeating-linear-gradient(
      90deg,
      rgba(169, 214, 142, 0.08),
      rgba(169, 214, 142, 0.08) 14px,
      rgba(255, 255, 255, 0) 14px,
      rgba(255, 255, 255, 0) 28px
    );
}

.site-footer p {
  margin: 0.4rem 0;
  line-height: 1.6;
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding-top: 1rem;
  }

  .hero__decoration {
    min-height: 180px;
  }

  .hero__decoration--left {
    order: 2;
  }

  .hero__content {
    order: 1;
    padding-bottom: 1rem;
  }

  .hero__decoration--right {
    order: 3;
  }

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

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 1rem, 100%);
  }

  .hero::before {
    inset: 0.6rem 0 auto;
    height: calc(100% - 0.6rem);
  }

  .hero__content {
    padding: 2.2rem 1rem 0.75rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

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

  .schedule-item {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .schedule-time {
    font-size: 1rem;
  }

  .hero__badges {
    gap: 0.5rem;
  }

  .hero__badges span {
    font-size: 0.84rem;
  }
}

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

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

