:root{
  --bg:#e3f4c4;
  --text:#528f2c;

  --glass: rgba(255,255,255,.28);
  --glass-border: rgba(82,143,44,.18);

  /* JS writes these */
  --p: 0;          /* scroll progress 0..1 */
  --scale: 1;
  --y: 0px;
  --blur: 0px;
  --copyA: 1;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: var(--bg);
  color: var(--text);
}

.hero{
  position: relative;
  min-height: 110vh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  padding: clamp(24px, 5vw, 72px);
  overflow: hidden;
}

.hero::before{
  content:"";
  position:absolute; inset:-40px;
  background:
    radial-gradient(1200px 700px at 50% 25%, rgba(255,255,255,.55), rgba(255,255,255,0) 60%),
    radial-gradient(900px 600px at 50% 70%, rgba(82,143,44,.12), rgba(255,255,255,0) 60%);
  pointer-events:none;
  z-index: 0;
}

.hero__copy{
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: clamp(16px, 2.4vw, 28px);
  border-radius: 24px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  transform: translateY(calc(var(--p) * -8px));
  opacity: var(--copyA);
}

.eyebrow{
  margin: 0 0 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
  opacity: .85;
}

.headline{
  margin: 0 0 12px;
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.subhead{
  margin: 0;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.35;
  opacity: .95;
  max-width: 65ch;
}

.hero__visual{
  position: relative;
  z-index: 1;
  margin-top: 28px;
  display:flex;
  justify-content: center;
  align-items: center;
}

.hero__img{
  width: min(520px, 80vw);
  height: auto;
  transform: translateY(var(--y)) scale(var(--scale));
  filter: blur(var(--blur));
  transform-origin: 50% 65%;
  will-change: transform, filter;
  filter: drop-shadow(0 26px 45px rgba(0,0,0,.12));
}

.chapter{
  min-height: 100vh;
  display:flex;
  align-items:center;
  padding: clamp(24px, 5vw, 72px);
}

.chapter__inner{
  max-width: 820px;
  padding: clamp(18px, 2.6vw, 32px);
  border-radius: 24px;
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(82,143,44,.14);
}

.chapter h2{
  margin:0 0 10px;
  font-size: clamp(28px, 3.2vw, 42px);
  letter-spacing: -0.02em;
}

.chapter p{
  margin:0;
  line-height: 1.55;
  opacity: .95;
}

@media (min-width: 980px){
  .hero{
    grid-template-columns: 1.1fr .9fr;
    column-gap: 40px;
  }
  .hero__visual{
    margin-top: 0;
    justify-content: flex-end;
  }
  .hero__img{
    width: min(520px, 34vw);
  }
}
