@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --green: #183a22;
  --green-2: #355c2d;
  --green-3: #7f9a64;
  --cream: #fbf7ef;
  --paper: #fffdf8;
  --muted: #4b584e;
  --gold: #c79b2b;
}

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

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  font-family: "Inter", Arial, sans-serif;
  color: var(--green);
  background:
    radial-gradient(circle at 50% 38%, rgba(255,255,255,.98) 0 35%, rgba(255,253,247,.95) 58%, rgba(235,242,224,.68) 100%),
    linear-gradient(135deg, #faf7ee 0%, #eef3e7 100%);
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image:
    radial-gradient(circle, rgba(46,77,37,.18) 0 2px, transparent 2px),
    radial-gradient(circle, rgba(199,155,43,.13) 0 2px, transparent 2px);
  background-position: 30px 40px, 90px 120px;
  background-size: 140px 140px, 180px 180px;
}

.watercolor {
  position: fixed;
  pointer-events: none;
  width: clamp(220px, 24vw, 360px);
  height: clamp(220px, 24vw, 360px);
  filter: blur(3px);
  opacity: .5;
  background:
    radial-gradient(circle at 35% 30%, rgba(124,151,100,.45), transparent 42%),
    radial-gradient(circle at 62% 45%, rgba(219,193,142,.28), transparent 46%),
    radial-gradient(circle at 30% 70%, rgba(124,151,100,.25), transparent 40%);
  border-radius: 44% 56% 62% 38% / 43% 48% 52% 57%;
  animation: watercolorFloat 10s ease-in-out infinite;
  z-index: 0;
}

.top-left { top: -120px; left: -110px; }
.top-right { top: -130px; right: -120px; animation-delay: -3s; }
.bottom-left { bottom: 50px; left: -140px; animation-delay: -6s; }

.page {
  width: min(1100px, calc(100% - 32px));
  height: calc(100vh - 76px);
  margin: 0 auto;
  padding: clamp(10px, 1.6vh, 18px) 0 clamp(6px, 1vh, 12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.2vh, 16px);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.2vw, 16px);
  text-align: center;
  flex-shrink: 0;
}

.brand-mark {
  width: clamp(48px, 5.4vw, 72px);
  height: clamp(48px, 5.4vw, 72px);
  border: clamp(4px, .45vw, 6px) solid var(--green);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 10px 26px rgba(24,58,34,.12);
  flex-shrink: 0;
}

.drop {
  position: absolute;
  width: 29%;
  height: 43%;
  background: linear-gradient(180deg, #d2a93c, #a77718);
  border-radius: 60% 60% 65% 65% / 85% 85% 35% 35%;
  left: 45%;
  top: 17%;
  transform: rotate(8deg);
}

.leaf-logo {
  position: absolute;
  width: 52%;
  height: 66%;
  left: 20%;
  bottom: 10%;
  border: clamp(3px, .38vw, 5px) solid var(--green-2);
  border-top: none;
  border-right: none;
  border-radius: 0 0 0 90%;
  transform: rotate(-25deg);
}

.brand-text {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 800;
  letter-spacing: clamp(2px, .35vw, 4px);
  line-height: .9;
  color: var(--green);
  text-shadow: 0 5px 16px rgba(24,58,34,.12);
}

.brand sup {
  align-self: flex-start;
  font-weight: 800;
  margin-top: clamp(6px, 1vh, 12px);
  font-size: clamp(10px, 1vw, 15px);
}

.hero {
  text-align: center;
  width: 100%;
  flex-shrink: 1;
}

.illustration {
  width: min(440px, 46vw);
  height: clamp(150px, 24vh, 235px);
  margin: 0 auto;
  position: relative;
  color: var(--green-2);
}

.sun {
  position: absolute;
  width: clamp(150px, 17vw, 220px);
  height: clamp(150px, 17vw, 220px);
  border-radius: 50%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  background: radial-gradient(circle at 50% 50%, rgba(215,226,199,.88), rgba(215,226,199,.24) 70%, transparent 72%);
}

.excavator {
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: min(440px, 100%);
  transform: translateX(-50%);
  filter: drop-shadow(0 8px 8px rgba(24,58,34,.08));
  animation: machineFloat 3.8s ease-in-out infinite;
}

.excavator .arm {
  transform-origin: 145px 74px;
  animation: armMove 3.8s ease-in-out infinite;
}

.excavator .bucket {
  transform-origin: 116px 181px;
  animation: bucketMove 3.8s ease-in-out infinite;
}

.cloud {
  position: absolute;
  left: 58%;
  top: 14px;
  width: 58px;
  height: 20px;
  border-bottom: 5px solid #7b9561;
  animation: cloudDrift 7s ease-in-out infinite;
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  border: 5px solid #7b9561;
  border-bottom: none;
  border-radius: 50% 50% 0 0;
}

.cloud::before {
  width: 25px;
  height: 22px;
  left: 3px;
  bottom: 2px;
}

.cloud::after {
  width: 34px;
  height: 31px;
  left: 22px;
  bottom: 2px;
}

.bird {
  position: absolute;
  width: 22px;
  height: 10px;
  border-top: 4px solid #7b9561;
  border-radius: 50%;
}

.bird::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 10px;
  border-top: 4px solid #7b9561;
  border-radius: 50%;
  left: 14px;
  top: 0;
}

.b1 { left: 18%; top: 26%; animation: birdFly 8s linear infinite; }
.b2 { right: 18%; top: 34%; animation: birdFly 9s linear infinite reverse; }

.ground {
  position: absolute;
  width: 72%;
  height: 4px;
  background: var(--green-2);
  left: 14%;
  bottom: 12px;
  border-radius: 999px;
}

.sprout {
  position: absolute;
  right: 17%;
  bottom: 12px;
  width: 22px;
  height: 38px;
  border-left: 4px solid #7b9561;
  border-radius: 30px;
  transform-origin: bottom;
  animation: sproutSway 4s ease-in-out infinite;
}

.sprout::before,
.sprout::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 15px;
  background: #8da56f;
  border-radius: 90% 0 90% 0;
}

.sprout::before {
  top: 10px;
  left: 2px;
  transform: rotate(-15deg);
}

.sprout::after {
  top: 20px;
  left: -23px;
  transform: rotate(190deg);
}

h1 {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(34px, 5.2vw, 68px);
  line-height: .95;
  text-transform: uppercase;
  letter-spacing: clamp(1px, .2vw, 2px);
  font-weight: 900;
  color: var(--green);
  text-shadow: 0 8px 18px rgba(24,58,34,.15);
  margin: clamp(6px, 1vh, 10px) auto clamp(8px, 1.3vh, 14px);
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: clamp(8px, 1.4vh, 14px);
}

.divider span {
  width: min(170px, 24vw);
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(127,154,100,.55), transparent);
}

.divider i {
  width: 28px;
  height: 20px;
  position: relative;
}

.divider i::before,
.divider i::after {
  content: "";
  position: absolute;
  width: 17px;
  height: 11px;
  background: #8aa46d;
  border-radius: 90% 0 90% 0;
  top: 4px;
}

.divider i::before { left: 1px; transform: rotate(10deg); }
.divider i::after { right: 1px; transform: rotate(100deg); }

.message {
  font-size: clamp(16px, 1.6vw, 23px);
  line-height: 1.35;
  color: #27362d;
  margin-bottom: clamp(12px, 1.8vh, 18px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 225px;
  padding: clamp(12px, 1.5vh, 15px) clamp(22px, 2.4vw, 28px);
  border-radius: 14px;
  background: linear-gradient(180deg, #86a66b, #5d7f49);
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 1px;
  font-size: clamp(17px, 1.6vw, 21px);
  box-shadow: 0 8px 0 #486339, 0 15px 20px rgba(42,74,31,.18);
  transition: transform .2s ease, box-shadow .2s ease;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 11px 0 #486339, 0 21px 28px rgba(42,74,31,.22);
}

.mail-icon {
  font-size: 21px;
  line-height: 1;
}

.small-note {
  margin-top: clamp(14px, 2vh, 20px);
  font-size: clamp(15px, 1.6vw, 22px);
  color: #26362c;
}

.footer {
  height: 76px;
  width: 100%;
  padding: 10px 24px;
  background: rgba(234,236,219,.76);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  box-shadow: inset 0 12px 40px rgba(89,104,72,.08);
  position: relative;
  z-index: 3;
  flex-shrink: 0;
}

.footer-line {
  height: 2px;
  width: min(300px, 24vw);
  background: linear-gradient(90deg, transparent, rgba(105,132,82,.65), transparent);
}

.email {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--green);
  text-decoration: none;
  font-size: clamp(20px, 2.1vw, 30px);
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 999px;
  transition: transform .2s ease, background .2s ease;
  white-space: nowrap;
}

.email span {
  width: 48px;
  height: 48px;
  border: 4px solid #7d9a61;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.7);
  box-shadow: 0 0 22px rgba(125,154,97,.32);
}

.email:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.45);
}

.leaf-branch {
  position: fixed;
  width: 190px;
  height: 270px;
  pointer-events: none;
  z-index: 1;
  opacity: .88;
}

.branch-left {
  top: 8px;
  left: -28px;
  transform: rotate(-10deg) scale(.84);
  transform-origin: top left;
}

.branch-right {
  right: -30px;
  bottom: 74px;
  transform: rotate(10deg) scale(.84);
  transform-origin: bottom right;
}

.leaf-branch::before {
  content: "";
  position: absolute;
  width: 4px;
  height: 240px;
  background: linear-gradient(var(--green-2), transparent);
  left: 70px;
  top: 10px;
  border-radius: 999px;
  transform: rotate(25deg);
}

.branch-right::before {
  left: 100px;
  transform: rotate(-25deg);
}

.leaf-branch span,
.floating-leaf {
  position: absolute;
  width: 68px;
  height: 34px;
  background:
    radial-gradient(circle at 65% 35%, rgba(255,255,255,.32), transparent 12%),
    linear-gradient(135deg, #234222, #6f8f54);
  border-radius: 90% 0 90% 0;
  box-shadow: inset 0 -8px 14px rgba(0,0,0,.08), 0 10px 20px rgba(24,58,34,.12);
  animation: leafSway 4s ease-in-out infinite;
}

.branch-left span:nth-child(1) { top: 40px; left: 35px; transform: rotate(24deg); }
.branch-left span:nth-child(2) { top: 95px; left: 75px; transform: rotate(-15deg); animation-delay: -.8s; }
.branch-left span:nth-child(3) { top: 145px; left: 16px; transform: rotate(18deg); animation-delay: -1.6s; }
.branch-left span:nth-child(4) { top: 198px; left: 78px; transform: rotate(-20deg); animation-delay: -2.2s; }

.branch-right span:nth-child(1) { top: 8px; right: 60px; transform: rotate(-32deg); }
.branch-right span:nth-child(2) { top: 62px; right: 13px; transform: rotate(18deg); animation-delay: -.7s; }
.branch-right span:nth-child(3) { top: 118px; right: 70px; transform: rotate(-20deg); animation-delay: -1.5s; }
.branch-right span:nth-child(4) { top: 174px; right: 18px; transform: rotate(25deg); animation-delay: -2.3s; }
.branch-right span:nth-child(5) { top: 222px; right: 88px; transform: rotate(-18deg); animation-delay: -3s; }

.floating-leaf {
  width: 44px;
  height: 22px;
  opacity: .58;
  z-index: 2;
  animation: floatLeaf 12s linear infinite;
}

.leaf-one { top: 26%; left: 18%; }
.leaf-two { top: 46%; right: 14%; animation-delay: -5s; }
.leaf-three { top: 16%; right: 32%; animation-delay: -8s; }

@keyframes watercolorFloat {
  0%, 100% { transform: translate(0,0) rotate(0deg) scale(1); }
  50% { transform: translate(14px, -10px) rotate(6deg) scale(1.06); }
}

@keyframes machineFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes armMove {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-3deg); }
}

@keyframes bucketMove {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(7deg); }
}

@keyframes cloudDrift {
  0%, 100% { transform: translateX(0); opacity: .85; }
  50% { transform: translateX(18px); opacity: .65; }
}

@keyframes birdFly {
  0%, 100% { transform: translateX(0) translateY(0); opacity: .75; }
  50% { transform: translateX(24px) translateY(-8px); opacity: .55; }
}

@keyframes sproutSway {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(6deg); }
}

@keyframes leafSway {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.08); transform: translateY(-4px) rotate(var(--r, 0deg)); }
}

@keyframes floatLeaf {
  0% { transform: translate(0,0) rotate(0deg); opacity: 0; }
  15% { opacity: .58; }
  50% { transform: translate(35px, 55px) rotate(70deg); }
  85% { opacity: .48; }
  100% { transform: translate(80px, 120px) rotate(140deg); opacity: 0; }
}

/* Laptop height optimization */
@media (max-height: 800px) and (min-width: 761px) {
  .page {
    height: calc(100vh - 64px);
    gap: 6px;
    padding-top: 8px;
    padding-bottom: 5px;
  }

  .brand-mark {
    width: 54px;
    height: 54px;
  }

  .brand-text {
    font-size: clamp(42px, 5vw, 64px);
  }

  .illustration {
    width: min(360px, 38vw);
    height: 170px;
  }

  .sun {
    width: 150px;
    height: 150px;
  }

  h1 {
    font-size: clamp(38px, 4.7vw, 62px);
    margin: 4px auto 8px;
  }

  .divider {
    margin-bottom: 8px;
  }

  .message {
    font-size: clamp(15px, 1.45vw, 20px);
    margin-bottom: 10px;
  }

  .button {
    padding: 11px 24px;
    font-size: 17px;
    box-shadow: 0 6px 0 #486339, 0 12px 18px rgba(42,74,31,.18);
  }

  .small-note {
    margin-top: 10px;
    font-size: 17px;
  }

  .footer {
    height: 64px;
    padding: 7px 20px;
  }

  .email {
    font-size: 23px;
  }

  .email span {
    width: 42px;
    height: 42px;
  }

  .branch-left,
  .branch-right {
    transform: scale(.68);
  }
}

/* Mobile */
@media (max-width: 760px) {
  html,
  body {
    overflow: hidden;
  }

  .page {
    width: min(100% - 24px, 520px);
    height: calc(100vh - 78px);
    padding: 12px 0 8px;
    gap: 8px;
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    border-width: 4px;
  }

  .brand-text {
    font-size: clamp(30px, 11vw, 44px);
    letter-spacing: 1px;
  }

  .brand sup {
    font-size: 8px;
    margin-top: 4px;
  }

  .illustration {
    width: min(310px, 86vw);
    height: clamp(135px, 27vh, 190px);
  }

  .sun {
    width: 145px;
    height: 145px;
  }

  .cloud {
    transform: scale(.72);
    top: 8px;
  }

  h1 {
    font-size: clamp(31px, 10vw, 46px);
    line-height: .96;
    letter-spacing: .5px;
    margin: 3px auto 7px;
  }

  .divider {
    gap: 10px;
    margin-bottom: 8px;
  }

  .divider span {
    width: 82px;
  }

  .message {
    font-size: clamp(14px, 4.2vw, 17px);
    line-height: 1.35;
    margin-bottom: 10px;
  }

  .button {
    min-width: auto;
    width: min(290px, 90%);
    font-size: 15px;
    padding: 11px 16px;
    border-radius: 12px;
    box-shadow: 0 6px 0 #486339, 0 12px 18px rgba(42,74,31,.18);
  }

  .small-note {
    margin-top: 10px;
    font-size: clamp(14px, 4vw, 17px);
  }

  .footer {
    height: 78px;
    padding: 10px 12px;
    gap: 0;
  }

  .footer-line {
    display: none;
  }

  .email {
    font-size: clamp(18px, 5.4vw, 24px);
    gap: 10px;
    padding: 6px 10px;
  }

  .email span {
    width: 42px;
    height: 42px;
    border-width: 3px;
  }

  .leaf-branch {
    opacity: .24;
  }

  .branch-left {
    left: -80px;
    top: -30px;
    transform: scale(.58) rotate(-10deg);
  }

  .branch-right {
    right: -85px;
    bottom: 56px;
    transform: scale(.58) rotate(10deg);
  }

  .floating-leaf {
    display: none;
  }
}

/* Very short phones */
@media (max-height: 680px) and (max-width: 760px) {
  .page {
    height: calc(100vh - 66px);
    gap: 4px;
  }

  .illustration {
    height: 125px;
    width: min(255px, 76vw);
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-text {
    font-size: 30px;
  }

  h1 {
    font-size: 30px;
  }

  .divider {
    display: none;
  }

  .message {
    font-size: 13px;
  }

  .button {
    padding: 9px 14px;
    font-size: 14px;
  }

  .small-note {
    font-size: 13px;
    margin-top: 6px;
  }

  .footer {
    height: 66px;
  }

  .email {
    font-size: 17px;
  }

  .email span {
    width: 36px;
    height: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
