/* Bailey — Compressed Trail + 3D depth */
:root {
  --moss-deep: #0f241c;
  --moss: #1c3d30;
  --canopy: #2f5c48;
  --fern: #6a9b78;
  --sunlit: #f0c14a;
  --amber: #d4893a;
  --bark: #4a2f1a;
  --sand: #e8dcc8;
  --mist: #f6f0e6;
  --ink: #12140f;
  --white: #fffdf8;
  --stroke: rgba(240, 193, 74, 0.35);

  --font-display: "Dela Gothic One", system-ui, sans-serif;
  --font-body: "Sora", system-ui, sans-serif;

  --nav-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --mx: 0;
  --my: 0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--mist);
  background: var(--moss-deep);
  line-height: 1.55;
  overflow-x: hidden;
  min-height: 100vh;
  perspective: 1200px;
}

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

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Film grain + trail guide */
.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.055;
  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)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.trail-line {
  pointer-events: none;
  position: fixed;
  top: 0;
  bottom: 0;
  left: clamp(1.25rem, 4vw, 3rem);
  width: 1px;
  z-index: 70;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--sunlit) 12%,
    var(--fern) 50%,
    var(--sunlit) 88%,
    transparent
  );
  opacity: 0.4;
}

.trail-line::before {
  content: "";
  position: absolute;
  top: 18%;
  left: -4px;
  width: 9px;
  height: 9px;
  border: 1.5px solid var(--sunlit);
  border-radius: 50%;
  background: var(--moss-deep);
  animation: pulse-node 3.2s var(--ease) infinite;
}

@keyframes pulse-node {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.35);
    opacity: 0.55;
  }
}

/* Nav */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 clamp(1.5rem, 5vw, 3.5rem);
  background: linear-gradient(to bottom, rgba(15, 36, 28, 0.55), transparent);
  transition: backdrop-filter 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-nav.is-scrolled {
  background: rgba(15, 36, 28, 0.9);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--stroke);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
}

.nav-brand img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px 12px 4px 12px;
  border: 1.5px solid var(--sunlit);
  transition: transform 0.45s var(--ease);
}

.nav-brand:hover img {
  transform: rotateY(18deg) rotateX(6deg) scale(1.06);
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  opacity: 0.72;
  transition: opacity 0.25s var(--ease), color 0.25s var(--ease);
}

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

.nav-links a:hover {
  opacity: 1;
  color: var(--sunlit);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-socials {
  display: flex;
  gap: 0.5rem;
}

.nav-socials a {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border: 1px solid var(--stroke);
  color: var(--sunlit);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.35s var(--ease);
  transform-style: preserve-3d;
}

.nav-socials a:hover {
  background: var(--sunlit);
  color: var(--moss-deep);
  transform: translateZ(12px) rotateX(-8deg);
}

/* ========== HERO — landscape banner ========== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + 1.5rem) clamp(1.5rem, 5vw, 3.5rem) 0;
  overflow: hidden;
  isolation: isolate;
}

.hero-scene {
  position: absolute;
  inset: -4%;
  z-index: 0;
  transform-style: preserve-3d;
  perspective: 1400px;
}

.hero-depth {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.12s linear;
}

/* Full landscape banner background */
.hero-landscape {
  position: absolute;
  inset: 0;
  background-image: var(--banner);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.12);
  filter: saturate(1.08) contrast(1.04);
  animation: landscape-breathe 18s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes landscape-breathe {
  from {
    transform: scale(1.12) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.18) translate3d(-1.2%, -0.8%, 0);
  }
}

.hero-haze {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 72% 42%, rgba(240, 193, 74, 0.18), transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 70%, rgba(106, 155, 120, 0.2), transparent 55%);
  mix-blend-mode: soft-light;
  animation: haze-drift 14s ease-in-out infinite alternate;
}

@keyframes haze-drift {
  from {
    opacity: 0.7;
    transform: translate3d(0, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(2%, -1.5%, 0);
  }
}

.hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.45;
  animation: orb-float 9s ease-in-out infinite;
}

.orb-a {
  width: 14px;
  height: 14px;
  background: var(--sunlit);
  left: 18%;
  top: 28%;
  animation-delay: 0s;
}

.orb-b {
  width: 9px;
  height: 9px;
  background: var(--sand);
  left: 62%;
  top: 22%;
  animation-delay: -3s;
  animation-duration: 11s;
}

.orb-c {
  width: 11px;
  height: 11px;
  background: var(--fern);
  left: 78%;
  top: 55%;
  animation-delay: -5s;
  animation-duration: 13s;
}

@keyframes orb-float {
  0%,
  100% {
    transform: translate3d(0, 0, 40px);
  }
  50% {
    transform: translate3d(12px, -28px, 80px);
  }
}

/* Soft veil — landscape stays readable */
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      105deg,
      rgba(15, 36, 28, 0.72) 0%,
      rgba(15, 36, 28, 0.38) 38%,
      rgba(15, 36, 28, 0.12) 58%,
      rgba(15, 36, 28, 0.28) 100%
    ),
    linear-gradient(to top, var(--moss-deep) 0%, rgba(15, 36, 28, 0.45) 22%, transparent 52%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 40rem;
  padding-left: 5rem;
  padding-bottom: 5rem;
  transform-style: preserve-3d;
  will-change: transform;
}

.hero-logo-stage {
  position: relative;
  width: fit-content;
  margin-bottom: 1.35rem;
  transform-style: preserve-3d;
  perspective: 800px;
  animation: rise-in 0.9s var(--ease-out) both;
}

.hero-logo-glow {
  position: absolute;
  inset: -18%;
  background: radial-gradient(circle, rgba(240, 193, 74, 0.45), transparent 68%);
  filter: blur(18px);
  z-index: 0;
  animation: glow-pulse 3.5s ease-in-out infinite;
  transform: translateZ(-20px);
}

@keyframes glow-pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: translateZ(-20px) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateZ(-20px) scale(1.12);
  }
}

.hero-logo {
  position: relative;
  z-index: 1;
  width: clamp(110px, 20vw, 168px);
  height: clamp(110px, 20vw, 168px);
  object-fit: cover;
  border-radius: 8px 32px 8px 32px;
  border: 2px solid var(--sunlit);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.45),
    14px 14px 0 rgba(212, 137, 58, 0.32);
  transform: translateZ(40px);
  transition: box-shadow 0.4s var(--ease);
}

.hero-chip {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sunlit);
  margin-bottom: 0.7rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--stroke);
  background: rgba(15, 36, 28, 0.45);
  backdrop-filter: blur(8px);
  animation: rise-in 0.9s var(--ease-out) 0.08s both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(4rem, 15vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--white);
  text-shadow:
    0 2px 0 rgba(74, 47, 26, 0.5),
    0 18px 40px rgba(0, 0, 0, 0.35);
  margin-bottom: 0.9rem;
  transform: translateZ(30px);
  animation: rise-in 1s var(--ease-out) 0.12s both;
}

.hero-brand .char {
  display: inline-block;
  animation: char-pop 0.7s var(--ease-out) both;
}

@keyframes char-pop {
  from {
    opacity: 0;
    transform: translateY(40px) rotateX(-50deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

.hero-tag {
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  font-weight: 400;
  color: var(--sand);
  max-width: 24rem;
  margin-bottom: 1.85rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  animation: rise-in 1s var(--ease-out) 0.22s both;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise-in 1s var(--ease-out) 0.32s both;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(36px) translateZ(0);
  }
  to {
    opacity: 1;
    transform: translateY(0) translateZ(0);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.7rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  cursor: pointer;
  transform-style: preserve-3d;
  transition:
    transform 0.35s var(--ease),
    background 0.3s var(--ease),
    color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    box-shadow 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-4px) translateZ(16px);
}

.btn-primary {
  background: var(--sunlit);
  color: var(--moss-deep);
  border-color: var(--sunlit);
  box-shadow: 0 10px 28px rgba(240, 193, 74, 0.28);
}

.btn-primary:hover {
  background: var(--white);
  border-color: var(--white);
  box-shadow: 0 16px 36px rgba(240, 193, 74, 0.4);
}

.btn-ghost {
  background: rgba(15, 36, 28, 0.35);
  color: var(--sand);
  border-color: rgba(232, 220, 200, 0.45);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  border-color: var(--sunlit);
  color: var(--sunlit);
}

.hero-scroll {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 5.5rem;
  transform: translateX(-50%);
  width: 28px;
  height: 44px;
  border: 1.5px solid rgba(232, 220, 200, 0.45);
  border-radius: 16px;
  display: grid;
  place-items: start center;
  padding-top: 8px;
  opacity: 0.75;
  transition: opacity 0.3s var(--ease);
}

.hero-scroll:hover {
  opacity: 1;
}

.hero-scroll span {
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: var(--sunlit);
  animation: scroll-dot 1.6s var(--ease) infinite;
}

@keyframes scroll-dot {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(16px);
    opacity: 0;
  }
}

.hero-ticker {
  position: relative;
  z-index: 2;
  margin-left: calc(-1 * clamp(1.5rem, 5vw, 3.5rem));
  margin-right: calc(-1 * clamp(1.5rem, 5vw, 3.5rem));
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
  background: rgba(15, 36, 28, 0.82);
  backdrop-filter: blur(10px);
  overflow: hidden;
  padding: 0.75rem 0;
}

.ticker-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sunlit);
}

.ticker-track span:nth-child(odd) {
  color: var(--fern);
}

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

/* Spine measure */
.spine-measure {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem clamp(1.5rem, 5vw, 3.5rem);
  background: var(--bark);
  border-bottom: 2px solid var(--amber);
}

.measure-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand);
  white-space: nowrap;
}

.measure-bar {
  position: relative;
  height: 10px;
  background: rgba(255, 253, 248, 0.12);
  overflow: hidden;
}

.measure-fill {
  display: block;
  height: 100%;
  width: 22%;
  background: linear-gradient(90deg, var(--amber), var(--sunlit));
  animation: compress-fill 2.4s var(--ease) 0.4s both;
}

@keyframes compress-fill {
  from {
    width: 100%;
  }
  to {
    width: 22%;
  }
}

.measure-end {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sunlit);
  padding-right: 0.35rem;
}

/* About */
.about {
  padding: clamp(4rem, 10vw, 7rem) clamp(1.5rem, 5vw, 3.5rem);
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(106, 155, 120, 0.18), transparent),
    var(--moss-deep);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.section-kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sunlit);
  margin-bottom: 0.85rem;
}

.about h2,
.clips-header h2,
.token-inner h2,
.join-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.about-copy p {
  color: var(--sand);
  margin-bottom: 1rem;
  max-width: 34rem;
  font-weight: 300;
  font-size: 1.05rem;
}

.about-stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--stroke);
}

.about-stats li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.85rem 1.1rem;
  background: rgba(28, 61, 48, 0.55);
  border: 1px solid var(--stroke);
  transform-style: preserve-3d;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.about-stats li:hover {
  border-color: var(--sunlit);
}

.about-stats strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--sunlit);
}

.about-stats span {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fern);
}

.about-photo {
  position: relative;
  margin: 0;
  transform-style: preserve-3d;
  perspective: 900px;
}

.about-photo-frame {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.15s linear;
}

.about-photo-frame::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  background: linear-gradient(145deg, var(--canopy), var(--bark));
  z-index: 0;
  clip-path: polygon(8% 0, 100% 0, 100% 92%, 0 100%, 0 12%);
  transform: translateZ(-24px);
}

.about-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 4%, 96% 100%, 4% 96%);
  border: 1px solid var(--stroke);
  box-shadow: 0 28px 50px rgba(0, 0, 0, 0.4);
  transform: translateZ(28px);
}

.about-photo figcaption {
  position: relative;
  z-index: 1;
  margin-top: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--fern);
}

/* Clips */
.clips {
  padding: clamp(4rem, 10vw, 7rem) clamp(1.5rem, 5vw, 3.5rem);
  background: linear-gradient(180deg, var(--moss) 0%, var(--moss-deep) 100%);
  clip-path: polygon(0 3%, 100% 0, 100% 100%, 0 97%);
  margin-top: -2rem;
}

.clips-header {
  text-align: center;
  max-width: 32rem;
  margin: 0 auto 3rem;
}

.clips-header p:last-child {
  color: var(--sand);
  font-weight: 300;
}

.clips-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  max-width: 980px;
  margin: 0 auto;
  justify-items: center;
  perspective: 1000px;
}

.clip {
  width: 100%;
  max-width: 420px;
  transform-style: preserve-3d;
  transition: transform 0.4s var(--ease);
}

.clip-3d {
  padding: 0.5rem;
  border: 1px solid transparent;
  background: rgba(15, 36, 28, 0.25);
}

.clip .tiktok-embed {
  margin: 0 auto !important;
}

/* Token */
.token {
  position: relative;
  padding: clamp(5rem, 12vw, 8rem) clamp(1.5rem, 5vw, 3.5rem);
  overflow: hidden;
  perspective: 1000px;
}

.token-slash {
  position: absolute;
  inset: 10% -20% -10% -20%;
  background: linear-gradient(
    135deg,
    transparent 40%,
    rgba(240, 193, 74, 0.08) 40%,
    rgba(240, 193, 74, 0.08) 55%,
    transparent 55%
  );
  transform: skewY(-4deg);
  pointer-events: none;
  animation: slash-slide 12s ease-in-out infinite alternate;
}

@keyframes slash-slide {
  from {
    transform: skewY(-4deg) translateX(-2%);
  }
  to {
    transform: skewY(-4deg) translateX(2%);
  }
}

.token-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  transform-style: preserve-3d;
  padding: 2rem 1.5rem;
  border: 1px solid var(--stroke);
  background: rgba(28, 61, 48, 0.35);
  backdrop-filter: blur(8px);
}

.token-title {
  background: linear-gradient(120deg, var(--white), var(--sunlit), var(--amber));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 5s linear infinite;
}

@keyframes shimmer {
  to {
    background-position: 200% center;
  }
}

.token-lede {
  color: var(--sand);
  font-weight: 300;
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.token-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--stroke);
  border: 1px solid var(--stroke);
}

.meta-block {
  background: var(--moss);
  padding: 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: left;
  transition: background 0.3s var(--ease);
}

.meta-block:hover {
  background: var(--canopy);
}

.meta-ca {
  grid-column: 1 / -1;
}

.meta-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fern);
}

.meta-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
}

.ca-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  background: transparent;
  border: none;
  color: var(--sand);
  font-family: var(--font-body);
  font-size: 0.95rem;
  cursor: pointer;
  text-align: left;
  padding: 0;
}

.ca-hint {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sunlit);
  flex-shrink: 0;
}

.ca-btn.copied .ca-hint {
  color: var(--fern);
}

/* Join */
.join {
  padding: clamp(4rem, 10vw, 6.5rem) clamp(1.5rem, 5vw, 3.5rem) clamp(5rem, 12vw, 7rem);
  background:
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(212, 137, 58, 0.2), transparent),
    var(--moss-deep);
}

.join-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.join-logo-wrap {
  width: fit-content;
  margin: 0 auto 1.5rem;
  perspective: 700px;
  transform-style: preserve-3d;
}

.join-logo {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50% 40% 50% 40%;
  border: 2px solid var(--amber);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  animation: breathe 4s ease-in-out infinite;
  transform: translateZ(30px);
}

@keyframes breathe {
  0%,
  100% {
    transform: translateZ(30px) scale(1) rotateY(0deg);
  }
  50% {
    transform: translateZ(30px) scale(1.05) rotateY(8deg);
  }
}

.join-inner p {
  color: var(--sand);
  margin-bottom: 2rem;
  font-weight: 300;
}

.join-links {
  display: grid;
  gap: 0.85rem;
}

.social-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  border: 1px solid var(--stroke);
  background: rgba(28, 61, 48, 0.55);
  transform-style: preserve-3d;
  transition:
    border-color 0.3s var(--ease),
    background 0.3s var(--ease),
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.social-link:hover {
  border-color: var(--sunlit);
  background: rgba(47, 92, 72, 0.65);
  transform: translateX(8px) rotateY(-4deg);
  box-shadow: -8px 12px 28px rgba(0, 0, 0, 0.25);
}

.social-name {
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.social-handle {
  font-size: 0.85rem;
  color: var(--fern);
}

.social-x:hover .social-handle,
.social-tg:hover .social-handle {
  color: var(--sunlit);
}

/* Footer */
.site-footer {
  padding: 2rem clamp(1.5rem, 5vw, 3.5rem) 2.5rem;
  border-top: 1px solid var(--stroke);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--fern);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--sand);
  font-weight: 600;
}

.footer-brand img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 4px;
}

.footer-site a {
  color: var(--sunlit);
}

.footer-site a:hover {
  text-decoration: underline;
}

/* Reveal on scroll — 3D lift */
.reveal {
  opacity: 0;
  transform: translateY(48px) rotateX(8deg);
  transform-origin: center top;
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) rotateX(0);
}

.reveal:nth-child(2) {
  transition-delay: 0.08s;
}

/* Responsive */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-photo {
    max-width: 420px;
    margin-inline: auto;
    order: -1;
  }

  .clips-row {
    grid-template-columns: 1fr;
  }

  .trail-line {
    display: none;
  }

  .hero-veil {
    background:
      linear-gradient(
        180deg,
        rgba(15, 36, 28, 0.35) 0%,
        rgba(15, 36, 28, 0.25) 40%,
        rgba(15, 36, 28, 0.75) 100%
      ),
      linear-gradient(to top, var(--moss-deep) 0%, transparent 40%);
  }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }

  .hero-content {
    padding-bottom: 4.25rem;
  }

  .hero-scroll {
    display: none;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (hover: none) {
  .hero-landscape {
    animation: none;
    transform: scale(1.1);
  }
}
