:root {
  --cream: #F7FBE6;
  --stage: #E4F5A8;
  --ink: #14260A;
  --green: #2F5D1A;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--cream);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
}

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 16px 56px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.brand {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 800;
  font-size: 32px;
  color: var(--green);
}

.copy { max-width: 760px; display: flex; flex-direction: column; gap: 12px; }

h1 {
  margin: 0;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 800;
  font-size: clamp(40px, 7vw, 88px);
  line-height: 1;
}

.copy p { margin: 0; font-size: 20px; font-weight: 500; color: var(--green); }

/* Stage */
.stage {
  position: relative;
  height: 460px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--stage);
}

.shadow {
  position: absolute;
  left: 50%; top: 352px;
  width: 190px; height: 22px;
  margin-left: -95px;
  border-radius: 50%;
  background: rgba(20, 38, 10, .16);
  transition: opacity .4s;
}

.lime {
  position: absolute;
  left: 50%; top: 120px;
  width: 200px; height: 200px;
  margin-left: -100px;
}

.half {
  position: absolute;
  left: 0;
  width: 200px; height: 100px;
  transition: transform 1.6s cubic-bezier(.55, 0, 1, .7);
}
.half svg { display: block; overflow: visible; }
.half.top { top: 0; }
.half.bottom { top: 100px; }

.knife {
  position: absolute;
  left: 50%; top: 192px;
  width: 400px; height: 56px;
  transform: translateX(-1100px);
  transition: transform .45s .15s ease-in-out;
}

/* Phases: idle -> cut -> fall -> gone */
[data-phase="idle"] .lime { animation: bob 2.4s ease-in-out infinite; }
[data-phase="idle"] .half { transition: none; }
@keyframes bob { 50% { transform: translateY(-10px); } }

[data-phase="cut"] .knife { transform: translateX(-300px); transition: transform .22s ease-in; }
[data-phase="cut"] .half.top { transform: translate(6px, -6px) rotate(3deg); transition: transform .2s; }

[data-phase="fall"] .half.top,
[data-phase="gone"] .half.top { transform: translate(330px, 820px) rotate(58deg); }
[data-phase="fall"] .half.bottom,
[data-phase="gone"] .half.bottom { transform: translate(-20px, 820px) rotate(-8deg); transition-delay: .35s; }

[data-phase="fall"] .shadow,
[data-phase="gone"] .shadow { opacity: 0; }

/* Button */
.cta {
  align-self: flex-start;
  font: 700 18px 'DM Sans', sans-serif;
  color: var(--cream);
  background: var(--ink);
  border: 0;
  border-radius: 12px;
  padding: 14px 28px;
  min-height: 48px;
  cursor: pointer;
}
.cta:hover { background: var(--green); }
.cta:focus-visible { outline: 3px solid #7DB814; outline-offset: 3px; }
.cta:disabled { opacity: .5; cursor: default; }

@media (prefers-reduced-motion: reduce) {
  [data-phase="idle"] .lime { animation: none; }
}
