:root {
  --ink: #262416;
  --ink-soft: #433926;
  --olive: #4c5b26;
  --olive-deep: #263017;
  --gold: #c9902c;
  --gold-light: #f3cf73;
  --paper: #fff6e8;
  --paper-warm: #faedd8;
  --line: rgba(98, 70, 30, 0.18);
  --line-strong: rgba(98, 70, 30, 0.28);
  --shadow: 0 22px 46px rgba(80, 45, 13, 0.14);
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  --script: "Segoe Print", "Bradley Hand ITC", "Brush Script MT", cursive;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: #2d301b;
  font-family: var(--sans);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 18px clamp(24px, 5vw, 92px) 0;
}

.nav-frame {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(24px, 4vw, 58px);
  width: min(100%, 1260px);
  margin: 0 auto;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img,
.footer-brand img,
.footer-paw {
  width: 33px;
  height: 33px;
  border-radius: 0;
  object-fit: contain;
}

.brand span {
  color: #2b2114;
  font-family: var(--serif);
  font-size: clamp(1.18rem, 1.5vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(28px, 4.2vw, 54px);
}

.site-nav a {
  color: #3c3320;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.site-nav a:hover {
  color: var(--gold);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid rgba(48, 42, 24, 0.16);
  border-radius: 8px;
  background: rgba(255, 248, 235, 0.72);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  background: var(--olive-deep);
}

.btn {
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--ink);
  font-size: 0.79rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn img {
  width: 28px;
  height: 28px;
  border-radius: 0;
  object-fit: contain;
}

.btn-join {
  min-height: 46px;
  padding: 0 26px;
  color: #fff8e8;
  background: linear-gradient(180deg, #596830 0%, #39451e 100%);
  box-shadow: 0 10px 24px rgba(42, 54, 22, 0.22);
}

.btn-join img {
  width: 27px;
  height: 27px;
}

.btn-gold {
  min-width: 154px;
  color: #fff8e7;
  background:
    radial-gradient(circle at 28% 16%, rgba(255, 244, 177, 0.95), transparent 23%),
    linear-gradient(180deg, #cfa344 0%, #a76f18 100%);
  border-color: rgba(119, 75, 13, 0.14);
  box-shadow:
    0 12px 24px rgba(121, 75, 15, 0.28),
    inset 0 1px 0 rgba(255, 249, 206, 0.45);
}

.btn-soft {
  min-width: 166px;
  background: rgba(255, 249, 238, 0.72);
  border-color: rgba(126, 96, 48, 0.18);
  box-shadow:
    0 12px 25px rgba(100, 62, 20, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(6px);
}

.x-mark {
  position: relative;
  width: 22px;
  height: 22px;
  display: inline-block;
}

.x-mark::before,
.x-mark::after {
  position: absolute;
  left: 10px;
  top: -1px;
  content: "";
  width: 2.5px;
  height: 25px;
  border-radius: 3px;
  background: #252415;
}

.x-mark::before {
  transform: rotate(42deg);
}

.x-mark::after {
  transform: rotate(-42deg);
}

.telegram-mark {
  position: relative;
  width: 24px;
  height: 20px;
  display: inline-block;
  clip-path: polygon(100% 0, 0 45%, 42% 60%, 58% 100%);
  background: #252415;
  transform: rotate(-8deg);
}

.ca-mark {
  min-width: 26px;
  height: 22px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #252415;
  border-radius: 5px;
  color: #252415;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
}

.copy-ca-btn {
  appearance: none;
}

.hero {
  position: relative;
  min-height: clamp(700px, 62vw, 820px);
  overflow: hidden;
  isolation: isolate;
}

.hero-art,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-art {
  z-index: -3;
  background-image: url("assets/hero-main.png");
  background-size: cover;
  background-position: center top;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 248, 231, 0.82) 0%, rgba(255, 247, 229, 0.62) 25%, rgba(255, 246, 226, 0.16) 48%, rgba(255, 246, 226, 0.02) 75%),
    radial-gradient(circle at 18% 48%, rgba(255, 247, 226, 0.42), transparent 39%),
    linear-gradient(180deg, rgba(255, 247, 230, 0.2) 0%, rgba(255, 247, 230, 0) 35%, rgba(80, 46, 15, 0.06) 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(650px, calc(100% - 44px));
  margin-left: clamp(24px, 6vw, 96px);
  padding-top: clamp(138px, 11vw, 176px);
}

.eyebrow {
  margin: 0;
  color: #98682d;
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.28em;
  line-height: 1.45;
  text-transform: uppercase;
}

.spread {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.spread i {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.86;
}

.hero h1 {
  margin: 22px 0 8px;
  color: #252112;
  font-family: var(--serif);
  font-size: clamp(4.5rem, 8.7vw, 8.55rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.78;
  text-transform: uppercase;
  text-shadow: 0 2px 0 rgba(255, 248, 226, 0.44);
}

.hero-tagline {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 18px 0 26px;
  color: #2e291a;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.15vw, 2.08rem);
  line-height: 1.1;
}

.hero-tagline span,
.short-rule {
  display: inline-block;
  width: 54px;
  height: 2px;
  background: #b57921;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.hero-lowline {
  margin-top: 30px;
}

.script-note {
  position: absolute;
  z-index: 1;
  color: rgba(69, 49, 28, 0.92);
  font-family: var(--script);
  font-size: clamp(1.38rem, 2vw, 2.05rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 0.98;
  text-shadow: 0 1px 0 rgba(255, 247, 228, 0.35);
}

.script-note span {
  display: block;
  width: 92px;
  height: 3px;
  margin-top: 12px;
  background: currentColor;
  transform: rotate(-7deg);
}

.note-right {
  top: 130px;
  right: clamp(30px, 6vw, 92px);
  transform: rotate(-7deg);
}

.savanna-paper {
  position: relative;
  overflow: hidden;
  margin-top: -1px;
  padding: 36px clamp(20px, 5vw, 86px) 30px;
  border-radius: 0;
  background:
    radial-gradient(circle at 50% -20%, rgba(255, 255, 255, 0.92), transparent 38%),
    linear-gradient(180deg, #fffaf0 0%, #fbf0dc 100%);
  box-shadow: 0 -22px 45px rgba(85, 48, 13, 0.16);
}

.paper-bg {
  position: absolute;
  inset: 0;
  opacity: 0.27;
  background:
    linear-gradient(180deg, rgba(255, 249, 236, 0.96) 0%, rgba(255, 249, 236, 0.82) 42%, rgba(255, 249, 236, 0.18) 100%),
    url("assets/landscape-wide.png") center bottom / cover no-repeat;
  pointer-events: none;
}

.story-panel,
.vision,
.cta-content,
.site-footer {
  position: relative;
  z-index: 1;
}

.story-panel {
  display: grid;
  grid-template-columns: minmax(320px, 0.76fr) minmax(420px, 1.24fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  width: min(100%, 1268px);
  margin: 0 auto;
  padding: clamp(26px, 3.4vw, 40px) clamp(28px, 3.4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 249, 238, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.story-copy h2,
.section-title h2,
.cta-content h2 {
  margin: 13px 0 0;
  color: #202618;
  font-family: var(--serif);
  font-weight: 900;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.story-copy h2 {
  font-size: clamp(2.3rem, 4.2vw, 4.05rem);
  line-height: 0.91;
}

.short-rule {
  margin: 20px 0 18px;
}

.story-copy p {
  max-width: 470px;
  margin: 0;
  color: #403826;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(1rem, 1.32vw, 1.17rem);
  line-height: 1.38;
}

.story-copy blockquote {
  margin: 30px 0 0 32px;
  color: #8c5924;
  font-family: var(--serif);
  font-size: clamp(1.38rem, 2.1vw, 2rem);
  font-style: italic;
  line-height: 1.2;
}

.story-image {
  margin: 0;
  overflow: hidden;
  min-height: 286px;
  border-radius: 45px;
  box-shadow: 0 16px 35px rgba(97, 61, 21, 0.12);
}

.story-image img {
  width: 100%;
  height: 100%;
  min-height: 286px;
  object-fit: cover;
  object-position: center;
}

.vision {
  width: min(100%, 1168px);
  margin: 58px auto 0;
}

.section-title {
  position: relative;
  text-align: center;
}

.rule-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

.rule-title span {
  display: inline-block;
  width: 58px;
  height: 1px;
  background: #be842b;
}

.section-title h2,
.cta-content h2 {
  font-size: clamp(2.05rem, 3.15vw, 3.05rem);
  line-height: 0.95;
}

.section-title p:not(.eyebrow),
.cta-content p:not(.eyebrow) {
  margin: 8px auto 0;
  color: #403826;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(1.05rem, 1.7vw, 1.42rem);
  line-height: 1.25;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-top: 30px;
}

.feature-card {
  min-height: 214px;
  padding: 22px 26px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 250, 240, 0.82);
  box-shadow:
    0 18px 34px rgba(92, 55, 16, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.feature-card img {
  width: 92px;
  height: 74px;
  object-fit: contain;
  margin-bottom: 10px;
}

.feature-card h3 {
  margin: 0 0 8px;
  color: #2b2a1b;
  font-size: clamp(1rem, 1.45vw, 1.23rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.12;
  text-transform: uppercase;
}

.feature-card p {
  max-width: 265px;
  margin: 0;
  color: #574c35;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1rem;
  line-height: 1.2;
}

.vision-note {
  right: -18px;
  top: -10px;
  transform: rotate(-10deg);
  font-size: clamp(1.5rem, 2vw, 2.05rem);
}

.cta {
  position: relative;
  min-height: 296px;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 42px clamp(20px, 5vw, 90px) 38px;
  border-top: 5px solid rgba(95, 55, 20, 0.66);
}

.cta-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 235, 190, 0.5) 0%, rgba(255, 228, 168, 0.2) 46%, rgba(59, 44, 18, 0.1) 100%),
    url("assets/landscape-wide.png") center bottom / cover no-repeat;
  transform: scale(1.04);
}

.cta-content {
  width: min(760px, 100%);
  margin: 0 auto;
  text-align: center;
}

.cta-content p:not(.eyebrow) {
  width: min(530px, 100%);
}

.cta-actions {
  justify-content: center;
  margin-top: 27px;
}

.site-footer {
  min-height: 64px;
  padding: 14px clamp(24px, 5vw, 92px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  color: #f6db95;
  background: linear-gradient(180deg, #232a18 0%, #1c2113 100%);
}

.footer-brand {
  color: #f6db95;
}

.footer-brand strong,
.footer-brand small {
  display: block;
  text-transform: uppercase;
}

.footer-brand strong {
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.22em;
}

.footer-brand small {
  margin-top: 2px;
  color: rgba(246, 219, 149, 0.84);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.34em;
}

.site-footer .spread {
  justify-content: flex-end;
  color: rgba(246, 219, 149, 0.78);
  font-size: 0.61rem;
}

.footer-paw {
  width: 25px;
  height: 25px;
}

@media (max-width: 1180px) {
  .nav-frame {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
  }

  .site-nav {
    gap: 22px;
  }

  .hero-copy {
    width: min(560px, calc(100% - 40px));
  }

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

  .story-copy p {
    max-width: 720px;
  }

  .story-image {
    min-height: 320px;
  }

}

@media (max-width: 920px) {
  .site-header {
    position: fixed;
    padding: 12px 16px 0;
  }

  .nav-frame {
    grid-template-columns: auto auto;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid rgba(55, 48, 29, 0.12);
    border-radius: 12px;
    background: rgba(255, 249, 236, 0.78);
    backdrop-filter: blur(14px);
  }

  .brand span {
    font-size: 1rem;
  }

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 74px;
    display: none;
    padding: 18px;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid rgba(55, 48, 29, 0.14);
    border-radius: 12px;
    background: rgba(255, 249, 236, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .btn-join {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
  }

  .hero {
    min-height: 780px;
  }

  .hero-art {
    background-position: 61% top;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(255, 248, 231, 0.88) 0%, rgba(255, 248, 231, 0.68) 42%, rgba(255, 248, 231, 0.14) 72%, rgba(98, 58, 18, 0.1) 100%),
      linear-gradient(90deg, rgba(255, 248, 231, 0.82) 0%, rgba(255, 248, 231, 0.52) 62%, rgba(255, 248, 231, 0.04) 100%);
  }

  .hero-copy {
    margin-left: 22px;
    padding-top: 120px;
  }

  .note-right {
    display: none;
  }

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

}

@media (max-width: 640px) {
  .site-header {
    padding: 8px 10px 0;
  }

  .brand img {
    width: 29px;
    height: 29px;
  }

  .brand span {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero {
    min-height: 760px;
  }

  .hero-copy {
    width: calc(100% - 32px);
    margin-left: 16px;
    padding-top: 104px;
  }

  .hero h1 {
    font-size: clamp(3.78rem, 18vw, 5.1rem);
    line-height: 0.82;
  }

  .hero-tagline {
    align-items: flex-start;
    gap: 12px;
  }

  .hero-tagline span {
    width: 36px;
    margin-top: 0.55em;
    flex: 0 0 auto;
  }

  .action-row {
    width: min(360px, 100%);
    gap: 10px;
  }

  .btn {
    width: 100%;
    min-height: 50px;
  }

  .hero-lowline {
    width: min(330px, 100%);
    margin-top: 22px;
  }

  .savanna-paper {
    padding: 20px 12px 26px;
    border-radius: 0;
  }

  .story-panel {
    padding: 21px 18px;
    border-radius: 16px;
  }

  .story-copy h2 {
    font-size: clamp(2rem, 11vw, 2.8rem);
  }

  .story-copy blockquote {
    margin-left: 0;
  }

  .story-image,
  .story-image img {
    min-height: 230px;
    border-radius: 22px;
  }

  .vision {
    margin-top: 40px;
  }

  .rule-title {
    gap: 10px;
  }

  .rule-title span {
    width: 34px;
  }

  .feature-card {
    min-height: 0;
  }

  .vision-note {
    display: none;
  }

  .cta {
    min-height: 340px;
    padding: 36px 16px;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .site-footer .spread {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}
