:root {
  --sand: #efe4cf;
  --paper: #f7f1e4;
  --foam: #fbf6ec;
  --path: #cbb89a;
  --moss: #5f7348;
  --moss-deep: #3f4f32;
  --leaf: #6d7a45;
  --fur: #8a6848;
  --bark: #6b4e36;
  --blush: #e3b5a4;
  --ink: #2a2118;
  --mute: #6b5c4b;
  --gold: #d4a85a;
  --sun: #f0c56e;
  --line: rgba(42, 33, 24, 0.12);
  --glass: rgba(247, 241, 228, 0.72);
  --shadow: 0 24px 60px rgba(42, 33, 24, 0.12);
  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(1200px 700px at 12% -10%, rgba(240, 197, 110, 0.28), transparent 55%),
    radial-gradient(900px 600px at 100% 8%, rgba(95, 115, 72, 0.16), transparent 50%),
    linear-gradient(180deg, #f4ead6 0%, var(--sand) 38%, #e7d7b8 100%);
  font-family: var(--sans);
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

#pollen,
.wash,
.sun,
.shafts,
.contours,
.grain,
.lamp,
.meadow {
  pointer-events: none;
}

#pollen,
.wash,
.sun,
.shafts,
.contours,
.grain {
  position: fixed;
  inset: 0;
}

#pollen {
  z-index: 0;
}

.wash {
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(62, 79, 50, 0.12), transparent 45%),
    linear-gradient(180deg, transparent, rgba(42, 33, 24, 0.05));
}

.sun {
  z-index: 1;
  background:
    radial-gradient(circle at 86% 8%, rgba(240, 197, 110, 0.55) 0 8%, transparent 22%),
    radial-gradient(circle at 86% 8%, rgba(227, 181, 164, 0.22) 0 16%, transparent 32%);
  animation: sunbreathe 10s ease-in-out infinite;
}

.shafts {
  z-index: 1;
  background:
    linear-gradient(118deg, transparent 42%, rgba(247, 241, 228, 0.08) 46%, transparent 49%),
    linear-gradient(128deg, transparent 50%, rgba(240, 197, 110, 0.07) 54%, transparent 58%);
  mix-blend-mode: soft-light;
  animation: shafts 16s ease-in-out infinite;
}

.contours {
  z-index: 1;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cpath d='M10 120c40-40 80 40 120 0s80 40 110 0' fill='none' stroke='%236b4e36' stroke-width='1'/%3E%3Cpath d='M0 70c50-20 80 30 140 0s80 20 100 0' fill='none' stroke='%235f7348' stroke-width='0.8'/%3E%3C/svg%3E");
  animation: drift 48s linear infinite;
}

.grain {
  z-index: 8;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.lamp {
  position: fixed;
  width: 280px;
  height: 280px;
  margin: -140px 0 0 -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 197, 110, 0.18), transparent 70%);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.4s ease;
}

body.lit .lamp {
  opacity: 1;
}

.meadow {
  position: fixed;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 120px;
  z-index: 3;
}

.blade {
  transform-origin: 50% 100%;
}

.blade-a {
  fill: rgba(63, 79, 50, 0.22);
  animation: sway 7s ease-in-out infinite;
}

.blade-b {
  fill: rgba(95, 115, 72, 0.28);
  animation: sway 9s ease-in-out infinite reverse;
}

.canopy,
main,
.colophon {
  position: relative;
  z-index: 4;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.canopy {
  position: sticky;
  top: 0;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 28px;
  backdrop-filter: blur(16px);
  background: rgba(247, 241, 228, 0.62);
  border-bottom: 1px solid var(--line);
  transition: padding 0.35s ease, background 0.35s ease;
}

.canopy.pin {
  padding: 10px 28px;
  background: rgba(247, 241, 228, 0.86);
}

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

.mark-face {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(95, 115, 72, 0.35);
  box-shadow: 0 0 0 4px rgba(240, 197, 110, 0.18);
}

.mark-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mark-type {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.mark-type strong {
  font-family: var(--serif);
  font-size: 15px;
}

.mark-type small {
  color: var(--mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 10px;
}

.boughs {
  display: flex;
  gap: 26px;
}

.boughs a {
  position: relative;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}

.boughs a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--moss);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.boughs a:hover {
  color: var(--ink);
}

.boughs a:hover::after {
  transform: scaleX(1);
}

.canopy-end {
  display: flex;
  align-items: center;
  gap: 12px;
}

.buy-chip,
.btn,
.gather-card,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.buy-chip {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--moss);
  color: var(--foam);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(63, 79, 50, 0.22);
}

.buy-chip img,
.btn img,
.text-link img,
.gather-card img {
  width: 16px;
  height: 16px;
  filter: brightness(1.35) saturate(0.8);
}

.buy-chip img {
  filter: brightness(2.2) saturate(0.2);
}

.twig {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  gap: 6px;
}

.twig span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s ease;
}

.hero {
  padding: 48px 0 0;
}

.hero-grid {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 56px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.specimen {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
}

.halo {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(95, 115, 72, 0.28);
}

.halo-a,
.halo-b,
.halo-c {
  animation: spin 28s linear infinite;
}

.halo-a {
  width: 340px;
  height: 340px;
}

.halo-b {
  width: 410px;
  height: 410px;
  animation-duration: 42s;
  animation-direction: reverse;
  border-style: solid;
  border-color: rgba(212, 168, 90, 0.18);
}

.halo-c {
  width: 480px;
  height: 480px;
  animation-duration: 56s;
}

.lens {
  position: relative;
  width: min(320px, 72vw);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 10px solid rgba(247, 241, 228, 0.85);
  box-shadow:
    var(--shadow),
    0 0 0 1px rgba(107, 78, 54, 0.15),
    0 0 80px rgba(240, 197, 110, 0.28);
  animation: bob 6s ease-in-out infinite;
}

.lens img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.specimen figcaption {
  position: absolute;
  bottom: 18px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}

.kicker {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--moss);
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

h1 {
  font-size: clamp(52px, 8vw, 92px);
}

h1 em {
  display: block;
  font-style: italic;
  font-weight: 460;
  color: var(--bark);
}

h2 {
  font-size: clamp(34px, 5vw, 56px);
  margin-bottom: 18px;
}

.vow {
  margin: 18px 0 14px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 28px);
  color: var(--bark);
}

.lede,
.lead,
.about p,
.stone p,
.colophon p {
  color: var(--mute);
  line-height: 1.7;
}

.lede {
  max-width: 58ch;
}

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

.dossier div {
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.dossier dt {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 6px;
}

.dossier dd {
  font-family: var(--serif);
  font-size: 18px;
}

.ca {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 252, 246, 0.7);
  margin-bottom: 20px;
}

.ca span,
.ca em {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ca span {
  color: var(--moss);
}

.ca code {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink);
}

.ca em {
  color: var(--fur);
}

.hero-acts,
.chart-links,
.gather {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-soil {
  background: var(--moss);
  color: var(--foam);
  border-color: transparent;
}

.btn-soil img {
  filter: brightness(2.2) saturate(0.2);
}

.btn-leaf {
  background: rgba(247, 241, 228, 0.8);
}

.btn:hover,
.buy-chip:hover,
.gather-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(42, 33, 24, 0.12);
}

.ribbon {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(203, 184, 154, 0.28);
}

.ribbon-track {
  display: flex;
  gap: 42px;
  width: max-content;
  padding: 14px 0;
  animation: ribbon 28s linear infinite;
  font-family: var(--serif);
  font-style: italic;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bark);
  font-size: 13px;
}

.about,
.howtobuy,
.chart,
.joinus {
  padding: 108px 0;
}

.about-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
}

.about p + p {
  margin-top: 16px;
}

.notes {
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(247, 241, 228, 0.88), rgba(232, 215, 186, 0.72));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.notes-label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 18px;
}

.notes ul {
  list-style: none;
  display: grid;
  gap: 16px;
  margin-bottom: 22px;
}

.notes li {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--mute);
  line-height: 1.6;
}

.notes strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.text-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--moss-deep);
}

.text-link:hover {
  color: var(--ink);
}

.section-head {
  max-width: 720px;
  margin-bottom: 42px;
}

.stones {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  counter-reset: none;
}

.stone {
  position: relative;
  padding: 26px 22px 24px;
  border-radius: 24px;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  overflow: hidden;
  min-height: 260px;
}

.stone::before {
  content: "";
  position: absolute;
  inset: auto -20px -40px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 197, 110, 0.22), transparent 70%);
}

.stone em {
  display: block;
  margin-bottom: 16px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  color: var(--gold);
}

.stone h3 {
  font-family: var(--serif);
  font-size: 24px;
  margin-bottom: 10px;
}

.stone .text-link {
  margin-top: 16px;
}

.scope {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--paper);
  height: 640px;
}

.scope iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.horizon {
  margin: 0 0 28px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 1;
}

.horizon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: ken 18s ease-in-out infinite alternate;
}

.gather {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gather-card {
  padding: 18px 16px;
  border-radius: 20px;
  background: var(--glass);
  border: 1px solid var(--line);
}

.gather-card span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  color: var(--mute);
}

.gather-card strong {
  color: var(--ink);
  font-size: 15px;
}

.colophon {
  padding: 28px 0 140px;
  border-top: 1px solid var(--line);
}

.colophon .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.rise {
  opacity: 0;
  transform: translateY(22px);
  animation: rise 0.9s ease forwards;
  animation-delay: calc(var(--wait, 0) * 1ms);
}

.canopy.open .boughs {
  transform: translateY(0);
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes ribbon {
  to {
    transform: translateX(-50%);
  }
}

@keyframes ken {
  from {
    transform: scale(1.04) translateX(0);
  }
  to {
    transform: scale(1.12) translateX(-2%);
  }
}

@keyframes sunbreathe {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.78;
    transform: scale(1.04);
  }
}

@keyframes shafts {
  0%,
  100% {
    opacity: 0.55;
    transform: translateX(0);
  }
  50% {
    opacity: 0.9;
    transform: translateX(18px);
  }
}

@keyframes drift {
  to {
    background-position: 240px 240px;
  }
}

@keyframes sway {
  0%,
  100% {
    transform: scaleY(1) translateX(0);
  }
  50% {
    transform: scaleY(1.03) translateX(8px);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .about-split,
  .stones,
  .gather {
    grid-template-columns: 1fr 1fr;
  }

  .stones,
  .gather {
    grid-template-columns: 1fr 1fr;
  }

  .boughs {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 20px;
    background: rgba(247, 241, 228, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .canopy.open .boughs {
    display: flex;
  }

  .boughs a {
    padding: 12px 0;
  }

  .twig {
    display: grid;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .specimen {
    min-height: 380px;
  }

  .about-split,
  .colophon .wrap {
    grid-template-columns: 1fr;
    display: grid;
  }
}

@media (max-width: 680px) {
  .wrap,
  .hero-grid {
    width: min(100% - 28px, 1120px);
  }

  .canopy {
    padding: 12px 16px;
  }

  .buy-chip span {
    display: none;
  }

  .dossier,
  .stones,
  .gather,
  .chart-links {
    grid-template-columns: 1fr;
  }

  .chart-links,
  .hero-acts {
    display: grid;
  }

  .ca {
    grid-template-columns: auto 1fr;
  }

  .ca em {
    display: none;
  }

  .scope {
    height: 480px;
  }

  .horizon {
    aspect-ratio: 3 / 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .rise {
    opacity: 1;
    transform: none;
  }
}
