.stage {
  --contact-native-size: 13.1; --footer-native-size: 11;
  --reference: url("./assets/reference-4.png");
  --source-w: 1905;
  --source-h: 826;
  --scene-ratio: 1905 / 826;
  --screen-x: 39.895013%;
  --screen-y: 6.537530%;
  --screen-width: 20.262467%;
  --screen-height: 88.740920%;
  --screen-radius: 13% / 6.5%;
  --native-width: 386;
  --accent: #b1d968; --secondary: #77ac29; --surface: #0c3838; --ink: #f4fbf9;
}

.card-screen { background: linear-gradient(158deg, #0b3336, var(--surface) 53%, #06252a); }
.hero { height: calc(249 * var(--u)); position: relative; }
.house-photo {
  --crop-x: 760; --crop-y: 54; --crop-w: 386; --crop-h: 370;
  position: absolute; inset: 0 0 auto auto; width: 100%; height: calc(370 * var(--u));
}
.house-photo[data-custom="true"] {
  clip-path: polygon(52% 0,100% 0,100% 99%,85% 94%,71% 88%,55% 78%,40% 72%,47% 64%,49% 53%,46% 40%,39% 29%,43% 15%);
}
.house-photo::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 386 370' preserveAspectRatio='none'%3E%3Cpath d='M227 0H386V368C356 359 331 350 298 331S216 284 168 270C193 242 207 224 204 186C200 144 186 117 158 100C176 48 198 19 227 0Z'/%3E%3C/svg%3E");
  mask-size: 100% 100%;
}
.lime-slice {
  position: absolute; inset: 0 0 auto; height: calc(137 * var(--u));
  background: linear-gradient(120deg, #377c21, var(--secondary) 49%, var(--accent) 82%);
  clip-path: polygon(51% 0,65% 0,59% 15%,54% 31%,50% 47%,47% 61%,44% 76%,40% 67%,35% 59%,39% 40%,43% 25%,47% 12%);
}
.logo-panel {
  position: absolute; inset: calc(63 * var(--u)) auto auto 0;
  width: calc(196 * var(--u)); height: calc(214 * var(--u));
  border-radius: 0 55% 55% 0 / 0 54% 54% 0;
  background: linear-gradient(145deg, #fff 55%, #edf4f0);
  box-shadow: calc(3 * var(--u)) calc(5 * var(--u)) calc(18 * var(--u)) rgb(5 43 38 / .22);
}
.brand-logo {
  --crop-x: 778; --crop-y: 137; --crop-w: 159; --crop-h: 150;
  width: calc(160 * var(--u)); height: calc(150 * var(--u)); margin: calc(18 * var(--u)) 0 0 calc(14 * var(--u));
}
.brand-logo::before { mix-blend-mode: multiply; }
.top-controls { inset: calc(11 * var(--u)) auto auto calc(18 * var(--u)); }
.top-control { width: calc(46 * var(--u)); height: calc(46 * var(--u)); }
.green-information { position: relative; padding: calc(47 * var(--u)) calc(25 * var(--u)) 0; }
.green-wave { position: absolute; width: 100%; height: calc(134 * var(--u)); top: 0; left: 0; pointer-events: none; }
.green-information::before {
  position: absolute; inset: calc(133 * var(--u)) 0 0; content: "";
  background: linear-gradient(110deg, var(--surface), #104345 95%);
}
.identity, .contact-and-qr, .socials { position: relative; }
.identity h1 { font-size: calc(27 * var(--u)); line-height: 1.06; letter-spacing: -.04em; padding-right: calc(49 * var(--u)); }
.industry { font-size: calc(18 * var(--u)); margin-top: calc(6 * var(--u)); }
.identity::after { content: ""; display: block; background: var(--accent); height: calc(4 * var(--u)); width: calc(68 * var(--u)); border-radius: 3px; margin: calc(7 * var(--u)) 0 calc(18 * var(--u)); }
.contact-and-qr { display: grid; grid-template-columns: minmax(0,1fr) calc(102 * var(--u)); align-items: center; gap: calc(12 * var(--u)); margin-right: calc(-11 * var(--u)); }
.contact-row { min-height: calc(35 * var(--u)); gap: calc(10 * var(--u)); grid-template-columns: calc(35 * var(--u)) minmax(0,1fr); font-size: calc(13.1 * var(--u)); padding-block: calc(2 * var(--u)); }
.contact-row i {
  width: calc(35 * var(--u)); height: calc(32 * var(--u)); display: grid; place-items: center; color: white;
  border-radius: calc(10 * var(--u)); font-size: calc(20 * var(--u));
  background: linear-gradient(115deg, var(--accent), #2b7a29 77%, #184e28);
  box-shadow: 0 calc(2 * var(--u)) calc(7 * var(--u)) rgb(5 30 26 / .38);
}
.qr-frame { --qr-size: calc(78 * var(--u)); --qr-corner-inset: 3%; width: calc(102 * var(--u)); min-height: calc(103 * var(--u)); }
.qr-frame::after { content: ""; position: absolute; left: calc(-17 * var(--u)); top: 15%; height: 70%; border-left: 1px solid #a6b8ab; }
.socials { margin-top: calc(16 * var(--u)); gap: calc(14 * var(--u)); }
.socials a { border-radius: calc(12 * var(--u)); background: linear-gradient(rgb(195 236 220 / .24), rgb(180 225 207 / .10)); }
.green-information { padding-bottom: calc(32 * var(--u)); }
.green-footer { position: relative; padding-top: calc(7 * var(--u)); background: #f8faf9; color: #082c2e; }
.footer-wave { position: absolute; top: calc(-79 * var(--u)); left: 0; width: 100%; height: calc(81 * var(--u)); pointer-events: none; }
.actions { position: relative; padding: calc(10 * var(--u)) calc(12 * var(--u)) calc(29 * var(--u)); min-height: calc(105 * var(--u)); }
.footer-action { --accent: var(--footer-accent, #277329); gap: calc(8 * var(--u)); font-size: calc(11 * var(--u)); }
.footer-action i { font-size: calc(27 * var(--u)); }
.footer-action + .footer-action { border-left: 1px solid #adbdb9; }

#leaf-wave stop:last-child { stop-color: var(--accent); }
#footer-leaf stop:first-child { stop-color: var(--secondary); }
.brand-logo::before { content: none; }
.green-wordmark { display: flex; flex-direction: column; align-items: center; color: #0b3939; line-height: 1; }
.leaf-symbol {
  --crop-x: 823; --crop-y: 140; --crop-w: 64; --crop-h: 55;
  width: calc(64 * var(--u)); height: calc(55 * var(--u)); margin-top: calc(1 * var(--u));
}
.leaf-symbol::before { mix-blend-mode: multiply; }
.green-initials { font-size: calc(48 * var(--u)); font-weight: 400; letter-spacing: -.02em; -webkit-text-stroke: calc(.45 * var(--u)) currentColor; }
.green-name { font-size: calc(19.5 * var(--u)); font-weight: 700; margin-top: calc(3 * var(--u)); letter-spacing: .013em; }
.green-services {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: calc(6 * var(--u));
  width: 96%; color: #649519; font-size: calc(13.5 * var(--u)); letter-spacing: .2em; margin-top: calc(7 * var(--u));
}
.green-services::before, .green-services::after { content: ""; height: 1.5px; background: var(--secondary); }
.stage[data-reference-palette="true"] .hero:has(.house-photo:not([data-custom]))::before {
  content: "";
  position: absolute;
  inset: calc(63 * var(--u)) auto auto 0;
  width: calc(198 * var(--u));
  height: calc(214 * var(--u));
  border-radius: 0 55% 55% 0 / 0 54% 54% 0;
  background: linear-gradient(145deg, #fff 55%, #edf4f0);
}
.stage[data-reference-palette="true"] .house-photo:not([data-custom])::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 386 370' preserveAspectRatio='none'%3E%3Cpath fill-rule='evenodd' d='M0 0H386V357C335 352 290 328 244 298 188 263 141 251 86 249 46 249 15 262 0 286Z M23 18H56V45H23Z M62 85H128V144H62Z M39 143H146V187H39Z M16 189H176V213H16Z M15 214H175V231H15Z'/%3E%3C/svg%3E"); }
.stage[data-reference-palette="true"] .hero:has(.house-photo:not([data-custom])) .lime-slice { display: none; }
.stage[data-reference-palette="true"] .hero:has(.house-photo:not([data-custom])) .logo-panel { background: transparent; box-shadow: none; }
