/* Hero-only direction: a light garden, sculptural greenery, and tactile controls.
   Variance 4 / motion 5 / density 2. Native CSS, existing Arbor typography.
   Layers: painting -3, sculpture 0, copy 2.
   Navigation remains at the existing global navigation layer. */
.nav-wrap { top: 22px; }
.site-nav {
  /* Keep the smaller navigation centered as it contracts. */
  scale: .9;
  transform-origin: top center;
  max-width: 660px;
  min-height: 54px;
  padding: 6px 12px 6px 20px;
  gap: 30px;
  border: 1px solid #333735;
  background: linear-gradient(180deg, #303331 0%, #1c1e1d 42%, #111312 100%);
  box-shadow: inset 0 1px 1px #ffffff38, inset 0 -1px 1px #00000080,
    0 2px 3px #18332b24, 0 12px 22px -12px #18332b66;
}
.site-nav.is-compact {
  max-width: 570px;
  min-height: 48px;
  padding: 4px 10px 4px 18px;
  box-shadow: inset 0 1px 1px #ffffff30, 0 2px 3px #18332b25,
    0 9px 20px -10px #18332b66;
}
.site-nav .brand { gap: 8px; font-size: 19px; letter-spacing: -.65px; }
.site-nav .brand svg { width: 20px; height: 25px; }
.nav-links { gap: 3px; }
.nav-links a {
  padding: 9px 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  color: #dedfdd;
  transition: background .2s, box-shadow .2s, color .2s, transform .2s;
}
.nav-links a:hover, .nav-links a:focus-visible {
  background: linear-gradient(#ffffff12, #ffffff05);
  border-color: #ffffff12;
  box-shadow: inset 0 1px 0 #ffffff15, 0 1px 2px #00000030;
  color: #fff;
}
.nav-links a:active { transform: translateY(1px); box-shadow: inset 0 2px 4px #00000055; }
.menu-toggle { background: #ffffff08; box-shadow: inset 0 1px 0 #ffffff14; }
.mobile-menu { background: #181b19; border: 1px solid #ffffff20; scale: .95; transform-origin: top center; }

.hero {
  height: 720px;
  min-height: 720px;
  background: #edf7fa;
}
.hero-landscape { z-index: -3; object-position: center 64%; }
.hero::after {
  content: none;
  background: none;
}
.hero-copy {
  z-index: 2;
  max-width: 1100px;
  padding: 151px 24px 0;
  scale: .9;
  transform-origin: top center;
}
.hero .eyebrow {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .15px;
  text-transform: none;
  color: #233e32;
}
.hero h1 {
  margin-top: 19px;
  font-size: clamp(38px, 4.45vw, 60px);
  line-height: 1.15;
  letter-spacing: -2px;
  color: #1c332b;
}
.hero h1 em { color: #355746; }
.hero-description { font-size: 15px; line-height: 1.7; margin-top: 18px; color: #233e32; }
.hero-actions { margin-top: 25px; }
.hero-actions .download-button {
  position: relative;
  min-height: 46px;
  padding: 12px 22px;
  gap: 9px;
  border-radius: 11px;
  border: 1px solid #213e31;
  background: linear-gradient(180deg, #426951 0%, #2e533e 48%, #254732 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  box-shadow: inset 0 1px 1px #ffffff50, inset 0 -2px 1px #102e3055,
    0 1px 1px #19372966, 0 4px 6px #19372915, 0 9px 19px -8px #1937295c;
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.hero-actions .download-button:hover {
  filter: brightness(1.07);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 1px #ffffff55, inset 0 -2px 1px #102e3055,
    0 1px 1px #19372966, 0 6px 8px #19372916, 0 13px 23px -10px #19372970;
}
.hero-actions .download-button:active {
  transform: translateY(1px);
  filter: brightness(.97);
  box-shadow: inset 0 2px 5px #132b3a44, inset 0 1px 0 #ffffff15, 0 1px 2px #19372920;
}
.hero-actions .apple-icon { width: 17px; height: 19px; }
.hero-scene {
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 365px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.1s ease;
  mask-image: linear-gradient(#000 0%, #000 82%, transparent 100%);
}
.hero-scene.is-ready { opacity: 1; }
.hero-scene canvas { width: 100%; height: 100%; display: block; }
@media (min-width: 1600px) {
  .hero { height: 780px; min-height: 780px; }
  .hero-copy { padding-top: 162px; }
  .hero-scene { height: 400px; }
}
@media (max-width: 760px) {
  .nav-wrap { top: 15px; padding-inline: 17px; }
  .site-nav { max-width: 520px; min-height: 52px; padding: 4px 6px 4px 18px; scale: .95; }
  .site-nav.is-compact { max-width: 440px; min-height: 48px; padding: 3px 6px 3px 16px; }
  .menu-toggle { height: 40px; width: 40px; }
  .menu-toggle span { left: 12px; top: 16px; }
  .menu-toggle span + span { top: 23px; }
  .hero { height: 650px; min-height: 650px; }
  .hero-copy { padding: 128px 18px 0; scale: .95; }
  .hero h1 { font-size: clamp(27px, 6.9vw, 48px); letter-spacing: -1.3px; }
  .hero-description { font-size: 14px; }
  .hero-scene { bottom: 30px; height: 290px; }
}
@media (max-width: 430px) {
  .nav-wrap { padding-inline: 14px; }
  .site-nav.is-compact { max-width: calc(100% - 22px); }
  .hero { height: 610px; min-height: 610px; }
  .hero-copy { padding-top: 119px; padding-inline: 12px; }
  .hero .eyebrow { font-size: 12px; }
  .hero h1 { font-size: clamp(25px, 7.3vw, 31px); letter-spacing: -.9px; margin-top: 20px; }
  .hero-description { font-size: 14px; margin-top: 18px; }
  .hero-actions { margin-top: 23px; }
  .hero-scene { height: 245px; bottom: 44px; }
  .hero-landscape { object-position: 51% 65%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-copy { animation: none; }
  .hero-actions .download-button:hover { transform: none; }
  .hero-scene { transition: none; }
}
.hero .eyebrow { font-size: clamp(16px, 1.6vw, 20px); color: #ad4535; }

@property --hero-beam-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
.hero-actions .download-button::after {
  content: '';
  position: absolute;
  inset: -1px;
  padding: 2px;
  border-radius: inherit;
  pointer-events: none;
  background: conic-gradient(from var(--hero-beam-angle), transparent 0deg 260deg, #b9d989 305deg, #fff3bf 340deg, transparent 360deg);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: hero-download-beam 5.6s linear infinite;
}
@keyframes hero-download-beam {
  to { --hero-beam-angle: 360deg; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-actions .download-button::after { animation: none; }
}
