:root {
  --green-deep: #173d32;
  --green-mid: #24624e;
  --green-soft: #2f7a61;
  --gold: #d58e27;
  --gold-bright: #e6a53a;
  --cream: #e8eee9;
  --text: #e8efe9;
  --text-muted: rgba(232, 239, 233, 0.72);
  --ink: #18352d;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
}

a {
  color: inherit;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(213, 142, 39, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 60% at 100% 10%, rgba(47, 122, 97, 0.35), transparent 50%),
    linear-gradient(165deg, #0f2922 0%, var(--green-deep) 42%, #1a4a3c 100%);
  opacity: 1;
  pointer-events: none;
}

.atmosphere::after {
  content: "";
  position: absolute;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  opacity: 0.35;
  mix-blend-mode: soft-light;
}

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

.hero__plane {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(15, 41, 34, 0.2) 38%, rgba(15, 41, 34, 0.78) 100%),
    radial-gradient(ellipse 90% 70% at 72% 28%, rgba(213, 142, 39, 0.28), transparent 55%),
    url("/home-assets/icon.png") right 8% center / min(52vw, 28rem) no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath fill='none' stroke='rgba(243,246,241,0.07)' stroke-width='1' d='M0 60h120M60 0v120'/%3E%3C/svg%3E");
  background-size: auto, auto, min(52vw, 28rem), 72px 72px;
  animation: plane-drift 18s ease-in-out infinite alternate;
}

.hero__plane::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 41, 34, 0.55) 0%, transparent 55%);
  pointer-events: none;
}

@keyframes plane-drift {
  from {
    transform: scale(1) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.04) translate3d(-1.5%, -1%, 0);
  }
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 38rem;
  padding-bottom: clamp(2rem, 8vh, 4.5rem);
  opacity: 0;
  transform: translateY(28px);
  animation: rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0 0 1.75rem;
  font-size: 1rem;
}

.brand img {
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.brand span {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.brand strong {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.brand em {
  font-style: normal;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gold-bright);
  letter-spacing: 0.02em;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 6vw, 3.35rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.12;
  max-width: 18ch;
}

.lede {
  margin: 0 0 1.75rem;
  max-width: 34ch;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  color: var(--text-muted);
  font-weight: 400;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--gold {
  background: var(--gold);
  color: #1a2e24;
  box-shadow: 0 10px 28px rgba(213, 142, 39, 0.35);
}

.btn--gold:hover {
  background: var(--gold-bright);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(232, 239, 233, 0.35);
}

.btn--ghost:hover {
  border-color: rgba(232, 239, 233, 0.7);
  background: rgba(255, 255, 255, 0.06);
}

/* —— Sections below the fold —— */
.section {
  padding: clamp(3.5rem, 10vw, 6rem) clamp(1.5rem, 4vw, 3rem);
  max-width: 52rem;
  margin: 0 auto;
  background: var(--cream);
}

.section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--green-deep);
}

.section__lede {
  margin: 0 0 2.5rem;
  max-width: 38ch;
  font-size: 1.1rem;
  color: #4a5852;
}

.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.75rem;
}

.flow li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: start;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.flow__step {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
  padding-top: 0.15rem;
}

.flow h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-deep);
}

.flow p {
  margin: 0;
  color: #5a6862;
  max-width: 36ch;
}

.section--dark {
  max-width: none;
  margin: 0;
  background:
    radial-gradient(ellipse 60% 80% at 0% 50%, rgba(213, 142, 39, 0.12), transparent 50%),
    linear-gradient(135deg, var(--green-deep), #0f2922);
  color: var(--text);
  text-align: left;
}

.section--dark h2 {
  color: var(--text);
}

.section--dark .section__lede {
  color: var(--text-muted);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem clamp(1.5rem, 4vw, 3rem);
  background: #0c1f19;
  color: rgba(232, 239, 233, 0.65);
  font-size: 0.9rem;
}

.footer a {
  color: var(--gold-bright);
  font-weight: 600;
  text-decoration: none;
}

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

.footer strong {
  color: var(--text);
  font-family: var(--font-display);
}

@media (max-width: 560px) {
  .hero {
    align-items: center;
  }

  .hero h1 {
    max-width: none;
  }
}
