:root {
  --ink: #243224;
  --leaf: #8ebf6a;
  --leaf-dark: #5f8b4c;
  --sky: #aee0ff;
  --cloud: #f8fcff;
  --cream: #fff9ed;
  --butter: #ffe9a8;
  --peach: #ffd6bd;
  --mint: #dff2c9;
  --rose: #c86d6b;
  --line: rgba(36, 50, 36, 0.12);
  --shadow: rgba(84, 111, 69, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #e9f8ff 0%, #fff8ea 44%, #f5edd5 100%);
  font-family: "Nunito", "Arial Rounded MT Bold", Arial, Helvetica, sans-serif;
}

img {
  display: block;
  width: 100%;
}

a,
button {
  font: inherit;
}

.topbar {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  width: min(1120px, calc(100% - 28px));
  min-height: 54px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: translateX(-50%);
  backdrop-filter: none;
}

.brand {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  padding: 0 18px;
  color: #9d5351;
  background: rgba(255, 249, 237, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(44, 72, 38, 0.12);
  text-decoration: none;
  font-size: 26px;
  font-weight: 1000;
  backdrop-filter: blur(12px);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.nav-links a,
.copy-ca,
.x-link,
.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.nav-links a {
  padding: 0 16px;
  background: rgba(255, 249, 237, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 26px rgba(44, 72, 38, 0.1);
  backdrop-filter: blur(12px);
}

.nav-links a:hover {
  background: rgba(223, 242, 201, 0.86);
}

.top-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.copy-ca {
  max-width: 210px;
  padding: 0 16px;
  overflow: hidden;
  color: #365336;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: rgba(223, 242, 201, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 26px rgba(44, 72, 38, 0.12);
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.x-link {
  width: 44px;
  color: #8f4f4c;
  background: rgba(255, 214, 189, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 26px rgba(90, 48, 44, 0.12);
  backdrop-filter: blur(12px);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px clamp(18px, 6vw, 92px) 94px;
}

.hero::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 180px;
  background: linear-gradient(180deg, rgba(255, 249, 237, 0), rgba(255, 249, 237, 0.78) 70%, #8ebf6a 100%);
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(21, 53, 26, 0.34), rgba(21, 53, 26, 0.04) 52%, rgba(255, 249, 237, 0.26)),
    url("assets/hero-wide.png") center bottom / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  right: -10vw;
  bottom: -13vw;
  width: 42vw;
  min-width: 420px;
  aspect-ratio: 1;
  background: rgba(255, 224, 138, 0.32);
  border-radius: 50%;
  filter: blur(34px);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.22);
}

.eyebrow {
  margin: 0 0 12px;
  color: #9d5351;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #fff0b8;
}

h1,
h2,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(56px, 10.5vw, 136px);
  line-height: 0.88;
  font-weight: 950;
}

h2 {
  margin: 0;
  font-size: clamp(38px, 6vw, 82px);
  line-height: 0.94;
  font-weight: 920;
}

p {
  font-size: 19px;
  line-height: 1.5;
}

.hero-line {
  max-width: 590px;
  margin: 20px 0 0;
  font-size: clamp(24px, 3.4vw, 46px);
  line-height: 1.06;
  font-weight: 900;
}

.hero-actions {
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  padding: 0 18px;
  box-shadow: 0 12px 30px rgba(18, 29, 12, 0.18);
}

.primary {
  color: var(--ink);
  background: var(--butter);
}

.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.56);
}

.status-row {
  position: absolute;
  right: clamp(18px, 6vw, 92px);
  bottom: 28px;
  left: clamp(18px, 6vw, 92px);
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.status-row span {
  padding: 10px 13px;
  color: var(--ink);
  background: rgba(255, 252, 241, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(32, 49, 25, 0.12);
  font-size: 14px;
  font-weight: 850;
}

.intro-band {
  position: relative;
  padding: 86px clamp(18px, 6vw, 92px) 48px;
  background:
    radial-gradient(70% 42px at 18% 0, #fff9ed 0 55%, transparent 57%),
    radial-gradient(62% 36px at 76% 0, #fff9ed 0 55%, transparent 57%),
    linear-gradient(180deg, #8ebf6a 0%, #7eaa63 100%);
}

.intro-band::before {
  content: "";
  position: absolute;
  top: -34px;
  right: 0;
  left: 0;
  height: 78px;
  background:
    radial-gradient(54px 30px at 8% 55%, #8ebf6a 98%, transparent 100%),
    radial-gradient(72px 38px at 20% 45%, #8ebf6a 98%, transparent 100%),
    radial-gradient(88px 46px at 36% 62%, #8ebf6a 98%, transparent 100%),
    radial-gradient(68px 34px at 53% 50%, #8ebf6a 98%, transparent 100%),
    radial-gradient(94px 48px at 72% 58%, #8ebf6a 98%, transparent 100%),
    radial-gradient(76px 38px at 90% 46%, #8ebf6a 98%, transparent 100%);
  pointer-events: none;
}

.intro-band p {
  width: min(980px, 100%);
  margin: 0 auto;
  color: #fff;
  font-size: clamp(25px, 4vw, 48px);
  line-height: 1.05;
  font-weight: 900;
  text-align: center;
}

.about,
.culture,
.neighbor,
.memes,
.final-note {
  padding: clamp(62px, 8vw, 112px) clamp(18px, 6vw, 92px);
}

.about {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(300px, 0.72fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  background: linear-gradient(180deg, var(--cream), #f7efd9);
}

.section-copy p {
  max-width: 690px;
  margin: 20px 0 0;
  color: #44503f;
  font-size: clamp(18px, 2vw, 23px);
}

.photo-frame,
.meme-grid figure {
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 8px solid #fff;
  border-radius: 8px;
  box-shadow: 0 24px 64px var(--shadow);
}

.photo-frame {
  transform: rotate(1.4deg);
}

.photo-frame img {
  aspect-ratio: 1;
  object-fit: cover;
}

.culture {
  background:
    radial-gradient(circle at 12% 20%, rgba(174, 224, 255, 0.74), transparent 28%),
    linear-gradient(180deg, #e7f8ff, #fff9ed);
}

.section-heading {
  width: min(820px, 100%);
  margin-bottom: 28px;
}

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

.culture-grid p {
  min-height: 118px;
  display: flex;
  align-items: flex-end;
  margin: 0;
  padding: 18px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(53, 89, 43, 0.12);
  color: #5f7f4f;
  font-size: clamp(21px, 2.6vw, 34px);
  line-height: 1;
  font-weight: 900;
}

.neighbor {
  display: flex;
  justify-content: center;
  background: #f7efd9;
}

.neighbor-card {
  width: min(920px, 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 48px);
  background: #fffdf3;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.neighbor-card ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.neighbor-card li {
  padding: 13px 14px;
  background: #edf7df;
  border-radius: 8px;
  color: #5f7f4f;
  font-size: 19px;
  font-weight: 850;
}

.memes {
  background: linear-gradient(180deg, #dff4ff, #fff8ea);
}

.meme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.meme-grid figure:nth-child(2n) {
  transform: translateY(22px);
}

.meme-grid img {
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 220ms ease;
}

.meme-grid figure:hover img {
  transform: scale(1.035);
}

.final-note {
  min-height: 48vh;
  display: grid;
  place-items: center;
  background:
    linear-gradient(180deg, rgba(46, 88, 48, 0.08), rgba(46, 88, 48, 0.34)),
    url("assets/final-field.png") center bottom / cover no-repeat;
}

.final-note p {
  width: min(900px, 100%);
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 6vw, 86px);
  line-height: 0.96;
  font-weight: 950;
  text-align: center;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
}

@media (max-width: 900px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .about,
  .culture-grid,
  .meme-grid {
    grid-template-columns: 1fr;
  }

  .neighbor-card ul {
    grid-template-columns: 1fr;
  }

  .meme-grid figure:nth-child(2n) {
    transform: none;
  }
}

@media (max-width: 620px) {
  .topbar {
    top: 10px;
    width: calc(100% - 20px);
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px;
  }

  .brand {
    text-align: center;
  }

  .top-actions {
    justify-content: center;
  }

  .copy-ca {
    max-width: min(270px, calc(100vw - 86px));
  }

  .hero {
    align-items: flex-end;
    min-height: 92svh;
    padding-top: 132px;
  }

  .hero-bg {
    background-position: 58% bottom;
    background-size: cover;
  }

  .hero-line {
    font-size: 28px;
  }

  .status-row {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    margin-top: 28px;
  }
}
