:root {
  --ink: #141511;
  --dust: #b8a88a;
  --sand: #d4c4a8;
  --olive: #5c6148;
  --olive-deep: #3a3e2e;
  --fog: #f0c14a;
  --bone: #f3efe6;
  --muted: #a39a88;
  --font-display: "Chakra Petch", sans-serif;
  --font-body: "Sora", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--bone);
  background: var(--ink);
  line-height: 1.55;
}

/* —— Hero: one composition, full-bleed —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-content: end;
  padding: clamp(1.5rem, 4vw, 3rem);
  overflow: hidden;
}

.hero__sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 55% at 70% 15%, #6a5a3a 0%, transparent 55%),
    radial-gradient(ellipse 70% 40% at 20% 30%, #3d4230 0%, transparent 50%),
    linear-gradient(180deg, #2a281f 0%, #1c1b16 45%, #12110e 100%);
  animation: sky-shift 18s ease-in-out infinite alternate;
}

.hero__ground {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38%;
  background:
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 14px,
      rgba(184, 168, 138, 0.04) 14px,
      rgba(184, 168, 138, 0.04) 15px
    ),
    linear-gradient(180deg, transparent 0%, #2e2a22 35%, #1a1812 100%);
  pointer-events: none;
}

.hero__rig {
  position: absolute;
  width: min(92vw, 720px);
  right: max(-2vw, calc(50% - 480px));
  bottom: clamp(28%, 32vh, 40%);
  z-index: 1;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.45));
  animation: rig-in 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__body {
  transform-origin: 50% 80%;
  animation: idle-rock 5.5s ease-in-out infinite;
}

.hero__copy {
  position: relative;
  z-index: 2;
  max-width: 34rem;
  animation: copy-in 1s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4.5rem, 14vw, 8.5rem);
  line-height: 0.85;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--bone);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  letter-spacing: 0.01em;
  color: var(--fog);
}

.lede {
  margin: 0 0 1.5rem;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: var(--sand);
  max-width: 28rem;
}

.cta {
  display: inline-block;
  padding: 0.7rem 1.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  background: var(--fog);
  border: 2px solid var(--fog);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.cta:hover,
.cta:focus-visible {
  background: transparent;
  color: var(--fog);
  transform: translateY(-2px);
}

/* —— Sections —— */
.section {
  padding: clamp(3rem, 8vw, 5.5rem) clamp(1.5rem, 4vw, 3rem);
  max-width: 52rem;
  margin: 0 auto;
}

.section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--bone);
}

.section__intro,
.section p {
  margin: 0 0 1.1rem;
  color: var(--dust);
  font-size: 1.02rem;
}

.section--specs {
  background:
    linear-gradient(180deg, #1a1914 0%, #222018 100%);
  max-width: none;
  padding-left: max(1.5rem, calc(50% - 26rem));
  padding-right: max(1.5rem, calc(50% - 26rem));
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 1.25rem 1.5rem;
  margin: 2rem 0 0;
}

.spec-grid > div {
  border-top: 1px solid rgba(240, 193, 74, 0.35);
  padding-top: 0.75rem;
}

.spec-grid dt {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fog);
  margin-bottom: 0.25rem;
}

.spec-grid dd {
  margin: 0;
  font-size: 1.05rem;
  color: var(--bone);
  font-weight: 500;
}

.section--story {
  background: #17160f;
  max-width: none;
  padding-left: max(1.5rem, calc(50% - 26rem));
  padding-right: max(1.5rem, calc(50% - 26rem));
}

.section--story p:last-child {
  margin-bottom: 0;
}

.section--trail {
  background:
    linear-gradient(135deg, rgba(92, 97, 72, 0.25) 0%, transparent 50%),
    #1c1b14;
  max-width: none;
  padding-left: max(1.5rem, calc(50% - 26rem));
  padding-right: max(1.5rem, calc(50% - 26rem));
}

.notes {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.notes li {
  position: relative;
  padding: 0.85rem 0 0.85rem 1.25rem;
  border-bottom: 1px solid rgba(184, 168, 138, 0.18);
  color: var(--dust);
}

.notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.25rem;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--olive);
}

.notes strong {
  color: var(--bone);
  font-weight: 600;
}

.footer {
  padding: 1.5rem clamp(1.5rem, 4vw, 3rem) 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid rgba(184, 168, 138, 0.12);
}

.footer p {
  margin: 0;
}

@keyframes sky-shift {
  from { filter: saturate(1) brightness(1); }
  to { filter: saturate(1.08) brightness(1.06); }
}

@keyframes rig-in {
  from {
    opacity: 0;
    transform: translateX(40px) translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

@keyframes copy-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes idle-rock {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@media (max-width: 720px) {
  .hero {
    align-content: start;
    padding-top: 2rem;
  }

  .hero__rig {
    position: relative;
    right: auto;
    bottom: auto;
    width: 110%;
    margin: 1rem -5% 1.5rem;
    order: -1;
  }

  .hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .brand {
    font-size: clamp(3.5rem, 18vw, 5.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__sky,
  .hero__rig,
  .hero__body,
  .hero__copy {
    animation: none;
  }
}

.will-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.will-in.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .will-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
