:root {
  --bg: #f7efe2;
  --paper: #fffaf0;
  --ink: #3f3427;
  --muted: #6a5b4a;
  --accent: #8c3b24;
  --accent-deep: #6f2f1d;
  --sage: #839373;
  --line: #dccdb7;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Nunito Sans", sans-serif;
  color: var(--ink);
  line-height: 1.62;
  background:
    linear-gradient(rgba(247, 239, 226, 0.8), rgba(247, 239, 226, 0.8)),
    url("assets/Victory Farms 2026.png") center top / cover fixed no-repeat,
    radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.85), transparent 45%),
    radial-gradient(circle at 90% 85%, rgba(140, 59, 36, 0.1), transparent 42%),
    repeating-linear-gradient(
      -45deg,
      rgba(222, 202, 174, 0.15) 0 4px,
      rgba(247, 239, 226, 0.5) 4px 12px
    ),
    var(--bg);
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(700px 280px at 50% -10%, rgba(131, 147, 115, 0.16), transparent),
    radial-gradient(500px 280px at -10% 60%, rgba(190, 135, 92, 0.15), transparent);
}

.topbar,
main,
footer {
  width: min(1050px, calc(100% - 2.2rem));
  margin-left: auto;
  margin-right: auto;
}

.corner-logo-wrap {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 40;
  display: inline-block;
}

.corner-logo {
  width: clamp(6.5rem, 10vw, 9rem);
  height: clamp(6.5rem, 10vw, 9rem);
  border-radius: 999px;
  object-fit: cover;
  border: 3px solid rgba(255, 248, 234, 0.95);
  box-shadow: 0 6px 24px rgba(63, 52, 39, 0.35);
}

.topbar {
  margin-top: 1.2rem;
  padding: 0.95rem 1rem 0.95rem 8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border: 1px dashed var(--line);
  border-radius: 0.95rem;
  background: rgba(255, 250, 240, 0.97);
  backdrop-filter: blur(2px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0;
  color: inherit;
  text-decoration: none;
}

.brand > span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
}

.brand strong {
  display: block;
  font-size: 1.28rem;
}

.brand small {
  font-size: 0.98rem;
  color: var(--muted);
}

main {
  margin-top: 1rem;
  margin-bottom: 2.8rem;
  display: grid;
  gap: 1.1rem;
}

.hero,
.grid,
.feature,
.community,
.steps,
.contact {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1.05rem;
  padding: clamp(1.1rem, 3.2vw, 2rem);
}

h1,
h2,
h3 {
  font-family: "Alegreya", serif;
  letter-spacing: 0.01em;
  margin-top: 0;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.1rem, 6vw, 4rem);
  margin-bottom: 0.9rem;
  max-width: 15ch;
}

h2 {
  font-size: clamp(1.45rem, 3.2vw, 2.2rem);
}

.kicker {
  margin: 0 0 0.4rem;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-note {
  margin: 0 0 0.2rem;
  font-family: "Caveat", cursive;
  color: #5f4b35;
  font-size: 1.4rem;
}

.hero p,
.feature p,
.card p,
.steps-grid p,
.contact p {
  color: var(--muted);
}

.hero-actions {
  margin-top: 1.15rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 1.05rem;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  background: var(--accent);
  color: #fff8ef;
  transition: background-color 220ms ease, transform 220ms ease;
}

.button:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
}

.button-ghost {
  background: transparent;
  color: var(--ink);
  border-color: #ccb897;
}

.button-ghost:hover {
  background: #f8eedf;
}

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

.card {
  background: #fffdf8;
  border: 1px solid #e6d7c2;
  border-radius: 0.8rem;
  padding: 1rem;
}

.card h2 {
  font-size: 1.3rem;
  margin-bottom: 0.45rem;
}

.feature {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 1rem;
}

.feature-panel {
  border: 1px solid #d8c6a8;
  background: linear-gradient(180deg, #fbf2e4, #f4e5cf);
  border-radius: 0.8rem;
  padding: 1rem;
}

.feature-panel p {
  margin: 0;
  color: #4b3d2c;
}

.feature-panel ul {
  margin: 0.75rem 0 0;
  padding-left: 1rem;
  color: #5f4f3f;
}

.community {
  text-align: center;
  border-style: dashed;
}

.community blockquote {
  margin: 0;
  font-family: "Alegreya", serif;
  font-style: italic;
  font-size: clamp(1.25rem, 2.8vw, 1.7rem);
  color: #564433;
}

.steps h2 {
  margin-bottom: 0.65rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.steps-grid article {
  background: #fff7ea;
  border: 1px solid #e3d0b3;
  border-radius: 0.8rem;
  padding: 1rem;
}

.steps-grid span {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff6ea;
  background: linear-gradient(180deg, #9b4a2e, #7d341f);
}

.steps-grid h3 {
  margin: 0.6rem 0 0.3rem;
}

.contact {
  text-align: center;
  background:
    linear-gradient(180deg, rgba(130, 146, 114, 0.12), transparent 40%),
    var(--paper);
}

.contact p {
  max-width: 62ch;
  margin: 0 auto 1rem;
}

footer {
  margin-bottom: 1.7rem;
  color: #705f4f;
  text-align: center;
  font-size: 0.92rem;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 920px) {
  .grid,
  .steps-grid,
  .feature {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .corner-logo {
    width: 5.25rem;
    height: 5.25rem;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 6.15rem;
  }

  .topbar,
  main,
  footer {
    width: min(1050px, calc(100% - 1.2rem));
  }
}
