/* Self-hosted fonts (Unbounded, Inter — SIL OFL 1.1) */
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/unbounded-cyrillic-600-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/unbounded-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20B4, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/unbounded-cyrillic-700-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/unbounded-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20B4, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/inter-cyrillic-400-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/inter-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20B4, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/inter-cyrillic-500-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/inter-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20B4, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/inter-cyrillic-600-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/inter-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20B4, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --cream: #F7F6F2;
  --pill: #EAE9E4;
  --ink: #1C1E1B;
  --ink-2: #3A3D38;
  --muted: #6E736B;
  --forest: #253C19;
  --forest-2: #2C451F;
  --forest-line: #355424;
  --on-forest-muted: #C9D1C2;
  --lime: #C6D401;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --display: 'Unbounded', 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); }
a:hover { color: #16240f; }
h1, h2, h3, p { margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
.section { padding-block: 96px; }
.section--tight { padding-top: 0; }

/* ---------- Type ---------- */
.display { font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; }
.h1 { font-size: clamp(38px, 5.4vw, 72px); line-height: 1.04; }
.h2 { font-size: clamp(30px, 3.8vw, 48px); line-height: 1.08; letter-spacing: -0.025em; }
.h3 { font-size: clamp(22px, 2.6vw, 34px); line-height: 1.12; letter-spacing: -0.02em; }
.big { font-size: clamp(32px, 5.6vw, 80px); line-height: 1.08; max-width: 1040px; }
.eyebrow { font-size: 16px; font-weight: 500; color: var(--muted); }
.eyebrow--lime { color: var(--lime); }
.lede { font-size: 20px; line-height: 1.5; color: var(--ink-2); max-width: 520px; }
.lede--sm { font-size: 18px; max-width: none; }

/* split-line words */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.w > span { display: inline-block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 0 28px; border-radius: 999px;
  font-weight: 600; font-size: 18px; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lime { background: var(--lime); color: var(--ink); border: 2px solid var(--ink); box-shadow: 0 3px 0 var(--ink); }
.btn--lime:hover { color: var(--ink); box-shadow: 0 5px 0 var(--ink); }
.btn--dark { background: var(--forest); color: var(--cream); }
.btn--dark:hover { color: var(--cream); background: #1d3013; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; }
.venues .btn:focus-visible, .venues a:focus-visible { outline-color: var(--lime); }
.textlink { font-weight: 500; color: var(--forest); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 20;
  background: rgba(247, 246, 242, 0.9);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: transform .45s var(--ease), border-color .3s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--pill); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.nav__links { display: flex; gap: 32px; font-weight: 500; }
.nav__links a { color: var(--ink); text-decoration: none; }
.nav__links a:hover { color: var(--forest); }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.iconbtn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--pill);
  color: var(--forest); background: #fff; transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.iconbtn:hover { transform: translateY(-2px); color: var(--forest); background: var(--pill); }
.final__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.textlink--icon { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.logo { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; color: var(--forest); text-decoration: none; }
.logo--sm { font-size: inherit; }

/* ---------- Hero ---------- */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 136px; padding-bottom: 96px; }
.hero__copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding-top: 8px; }
.hero__art { flex: 1 1 420px; min-width: 0; display: flex; justify-content: center; padding-block: 32px; }
.plate {
  position: relative; width: 100%; max-width: 480px; aspect-ratio: 1;
  border-radius: 40px; background: var(--pill);
  display: flex; align-items: center; justify-content: center;
}
.plate__crab { width: 84%; }

.sticker {
  position: absolute; border: 2px solid var(--ink); border-radius: 14px;
  transform: rotate(var(--r)); color: var(--ink);
}
.sticker--big { top: 6%; right: -2%; padding: 12px 18px; background: var(--lime); font-family: var(--display); font-weight: 700; font-size: 34px; line-height: 1; }
.sticker--cream { bottom: 10%; left: -4%; padding: 10px 16px; background: var(--cream); display: flex; flex-direction: column; gap: 2px; }
.sticker__label { font-size: 13px; font-weight: 600; color: var(--muted); }
.sticker__price { font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 1; }
.sticker--pill { bottom: -4%; right: 10%; padding: 10px 16px; border: 0; border-radius: 999px; background: var(--forest); color: var(--cream); font-weight: 600; font-size: 15px; }

/* ---------- Cards ---------- */
.section > .h2 { margin-bottom: 40px; }
.cards { display: grid; gap: 24px; }
.cards--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cards--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--pill); border-radius: 28px; padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .35s var(--ease);
}
.card:hover { transform: translateY(-4px); }
.card h3 { font-size: 22px; font-weight: 600; line-height: 1.3; }
.card p { font-size: 16px; line-height: 1.55; color: var(--muted); }
.num {
  align-self: flex-start; padding: 6px 12px; border-radius: 10px;
  background: var(--lime); border: 2px solid var(--ink);
  font-family: var(--display); font-weight: 700; font-size: 18px; transform: rotate(var(--r));
}
.card--dark { background: var(--forest-2); border-color: var(--forest-line); gap: 12px; }
.card--dark h3 { font-size: 20px; color: var(--cream); }
.card--dark p { color: var(--on-forest-muted); }
.card--dark .stat { font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1.1; letter-spacing: -0.03em; color: var(--lime); }

/* ---------- Secret box ---------- */
.box {
  border-radius: 40px; background: var(--pill); padding: clamp(28px, 5vw, 64px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 48px; overflow: hidden;
}
.box__art { flex: 1 1 280px; min-width: 0; display: flex; justify-content: center; }
.box__art img { width: 100%; max-width: 360px; }
.box__copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 17px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { flex: none; width: 22px; height: 22px; margin-top: 1px; fill: none; stroke: var(--forest); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Referral ---------- */
.referral { display: flex; flex-direction: column; align-items: center; gap: 40px; text-align: center; padding-bottom: 128px; }
.tag {
  display: inline-block; padding: 0 0.2em; border-radius: 0.24em;
  background: var(--lime); border: 3px solid var(--ink); transform: rotate(-3deg);
}

/* ---------- Venues ---------- */
.venues { background: var(--forest); color: var(--cream); }
.venues .section { padding-block: 112px; display: flex; flex-direction: column; gap: 56px; }
.venues__head { display: flex; flex-direction: column; gap: 20px; }
.h2--venues { font-size: clamp(32px, 4.6vw, 60px); line-height: 1.06; letter-spacing: -0.03em; max-width: 816px; }
.contact {
  border-radius: 32px; background: var(--cream); color: var(--ink); padding: clamp(28px, 4vw, 48px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px;
}
.contact__copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.contact__copy p { font-size: 17px; line-height: 1.55; color: var(--ink-2); }

/* ---------- Final ---------- */
.final { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 40px; padding-top: 128px; padding-bottom: 96px; }
.final__crab { width: 300px; max-width: 70%; }
.final__copy { flex: 0 1 560px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }

.footer { border-top: 1px solid var(--pill); }
.footer__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 28px; font-size: 14px; color: var(--muted); }

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__in { height: 64px; gap: 8px; }
  .logo { font-size: 18px; }
  .btn--sm { padding: 0 14px; font-size: 14px; }
  .section { padding-block: 72px; }
  .section--tight { padding-top: 0; }
  .hero { padding-top: 104px; padding-bottom: 64px; gap: 24px; }
  .lede { font-size: 18px; }
  .sticker--big { font-size: 26px; right: 0; }
  .sticker__price { font-size: 22px; }
  .sticker--cream { left: 0; }
  .venues .section { padding-block: 80px; gap: 40px; }
  .final { padding-top: 88px; }
  .contact .btn { width: 100%; justify-content: center; font-size: 16px; padding: 0 20px; }
}

/* ---------- Initial animation states (only when motion allowed + JS) ---------- */
.anim [data-reveal],
.anim [data-hero-fade],
.anim [data-stagger] > * { opacity: 0; }
.anim [data-hero-plate] { opacity: 0; }
.anim [data-sticker] { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .btn, .card, .nav { transition: none; }
  .btn:hover, .card:hover { transform: none; }
}
