* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
:root {
  --soil: #2a2218;
  --bark: #4a3828;
  --moss: #3c5a38;
  --sage: #7a9a6c;
  --parchment: #f3efe7;
  --cream: #ffffff;
  --fog: #e6e2d8;
  --stone: #9a9285;
  --line: rgba(42, 34, 24, 0.09);
}
body {
  background: var(--cream);
  color: var(--soil);
  font-family: "Instrument Sans", sans-serif;
  font-size: 14px;
  line-height: 1.75;
  overflow-x: hidden;
  cursor: none;
}

/* CURSOR */
.cur {
  width: 7px;
  height: 7px;
  background: var(--moss);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: multiply;
}
.cur-ring {
  width: 28px;
  height: 28px;
  border: 1px solid var(--moss);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.3;
  transition: all 0.3s ease;
}

/* GRAIN */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.32;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(249, 247, 241, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--soil);
  text-decoration: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.nav-title:hover {
  color: var(--moss);
}
.nav-title .link-icon {
  font-size: 10px;
  opacity: 0;
  transition: opacity 0.2s;
  color: var(--sage);
  font-family: "Courier Prime", monospace;
}
.nav-title:hover .link-icon {
  opacity: 1;
}
.nav-links {
  display: flex;
  gap: 22px;
}
.nav-links a {
  font-family: "Courier Prime", monospace;
  font-size: 11px;
  color: var(--stone);
  text-decoration: none;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--moss);
}

/* RAIN BUTTON */
.rain-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  background: var(--parchment);
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.2s;
  box-shadow: 0 2px 12px rgba(42, 34, 24, 0.08);
}
.rain-btn:hover {
  background: var(--fog);
  transform: scale(1.05);
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 40px 64px;
  position: relative;
  overflow: hidden;
}

/* TREES SVG */
.trees {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 280px;
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  font-family: "Courier Prime", monospace;
  font-size: 11px;
  color: var(--stone);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
  animation: fadeUp 0.8s ease both;
}
.hero-name {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(64px, 10.5vw, 128px);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--soil);
  animation: fadeUp 0.8s 0.1s ease both;
}
.hero-name em {
  font-style: italic;
  color: var(--moss);
}
.hero-desc {
  margin-top: 26px;
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  font-weight: 300;
  color: var(--bark);
  line-height: 1.65;
  max-width: 460px;
  animation: fadeUp 0.8s 0.2s ease both;
}
.hero-tags {
  margin-top: 22px;
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.3s ease both;
}
.hero-tag {
  font-family: "Courier Prime", monospace;
  font-size: 11px;
  color: var(--moss);
  border: 1px solid rgba(60, 90, 56, 0.25);
  padding: 4px 11px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}
.hero-scroll {
  position: absolute;
  right: 40px;
  bottom: 64px;
  font-family: "Courier Prime", monospace;
  font-size: 10px;
  color: var(--stone);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  z-index: 2;
  animation: fadeUp 0.8s 0.5s ease both;
}

/* SECTIONS */
.section {
  padding: 72px 40px;
  border-top: 1px solid var(--line);
  max-width: 860px;
  margin: 0 auto;
}
.section-label {
  font-family: "Courier Prime", monospace;
  font-size: 10px;
  color: var(--stone);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--fog);
  max-width: 160px;
}
.section-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 26px;
}

/* IDENTITY GRID */
.identity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 6px;
}
.id-block {
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
  background: var(--parchment);
  transition: background 0.3s;
}
.id-block:hover {
  background: var(--fog);
}
.id-block.earth {
  background: rgba(60, 90, 56, 0.06);
}
.id-block.earth:hover {
  background: rgba(60, 90, 56, 0.1);
}
.id-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 52px;
  font-weight: 300;
  color: var(--fog);
  position: absolute;
  top: 12px;
  right: 18px;
  line-height: 1;
}
.id-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 21px;
  font-weight: 400;
  margin-bottom: 5px;
}
.id-name.earth {
  color: var(--moss);
}
.id-handle {
  font-family: "Courier Prime", monospace;
  font-size: 11px;
  color: var(--stone);
  margin-bottom: 13px;
  letter-spacing: 0.04em;
}
.id-desc {
  font-size: 13px;
  color: var(--bark);
  line-height: 1.75;
}
.id-platforms {
  margin-top: 16px;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.plat {
  font-family: "Courier Prime", monospace;
  font-size: 10px;
  padding: 2px 8px;
  border: 1px solid var(--fog);
  border-radius: 3px;
  color: var(--stone);
  letter-spacing: 0.04em;
}

/* MAKE GRID */
.make-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
.make-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 40px;
  font-weight: 300;
  color: var(--fog);
  line-height: 1;
  margin-bottom: 8px;
}
.make-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 5px;
}
.make-desc {
  font-size: 13px;
  color: var(--stone);
  line-height: 1.75;
}

/* INTERESTS */
.interests-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.int-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.int-item:nth-child(odd) {
  padding-right: 32px;
  border-right: 1px solid var(--line);
}
.int-item:nth-child(even) {
  padding-left: 32px;
}
.int-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sage);
  flex-shrink: 0;
  margin-top: 7px;
}
.int-text {
  font-size: 13px;
  color: var(--bark);
  line-height: 1.65;
}
.int-text b {
  font-weight: 500;
  color: var(--soil);
  display: block;
  margin-bottom: 1px;
}

/* FIND */
.links-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.link-card {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  border: 1px solid var(--fog);
  border-radius: 4px;
  text-decoration: none;
  color: var(--soil);
  background: var(--parchment);
  transition: all 0.2s;
  font-size: 13px;
}
.link-card:hover {
  border-color: var(--sage);
  background: rgba(60, 90, 56, 0.06);
  color: var(--moss);
}
.link-card span {
  font-family: "Courier Prime", monospace;
  font-size: 10px;
  color: var(--stone);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* FOOTER */
footer {
  padding: 32px 40px;
  text-align: center;
  border-top: 1px solid var(--line);
}
footer p {
  font-family: "Cormorant Garamond", serif;
  font-size: 15px;
  font-weight: 300;
  color: var(--stone);
  font-style: italic;
}

/* ANIMATIONS */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* TREE SWAY */
@keyframes sway1 {
  0%,
  100% {
    transform: rotate(-1.2deg) translateX(0);
  }
  50% {
    transform: rotate(1.2deg) translateX(2px);
  }
}
@keyframes sway2 {
  0%,
  100% {
    transform: rotate(1deg) translateX(0);
  }
  50% {
    transform: rotate(-1.4deg) translateX(-2px);
  }
}
@keyframes sway3 {
  0%,
  100% {
    transform: rotate(-0.8deg);
  }
  50% {
    transform: rotate(1.6deg);
  }
}
@keyframes leaffall {
  0% {
    opacity: 0;
    transform: translateY(-8px) rotate(0deg);
  }
  20% {
    opacity: 0.7;
  }
  80% {
    opacity: 0.4;
  }
  100% {
    opacity: 0;
    transform: translateY(40px) rotate(180deg);
  }
}

.tree-g1 {
  transform-origin: 50% 100%;
  animation: sway1 6s ease-in-out infinite;
}
.tree-g2 {
  transform-origin: 50% 100%;
  animation: sway2 7.5s ease-in-out infinite;
}
.tree-g3 {
  transform-origin: 50% 100%;
  animation: sway3 5.5s ease-in-out infinite;
}
.leaf {
  animation: leaffall 4s ease-in-out infinite;
  opacity: 0;
}
.leaf:nth-child(2) {
  animation-delay: 1.3s;
}
.leaf:nth-child(3) {
  animation-delay: 2.6s;
}
.leaf:nth-child(4) {
  animation-delay: 0.8s;
}
.leaf:nth-child(5) {
  animation-delay: 3.1s;
}

@media (max-width: 640px) {
  nav {
    padding: 14px 20px;
  }
  .hero {
    padding: 0 20px 52px;
  }
  .section {
    padding: 52px 20px;
  }
  .identity-grid,
  .make-grid,
  .interests-list {
    grid-template-columns: 1fr;
  }
  .int-item:nth-child(odd) {
    padding-right: 0;
    border-right: none;
  }
  .int-item:nth-child(even) {
    padding-left: 0;
  }
  .hero-scroll {
    display: none;
  }
  .nav-links {
    gap: 14px;
  }
}
