:root {
  color-scheme: light;
  --ivory: #f9f8f2;
  --ink: #203c30;
  --muted: #627267;
  --leaf: #536d47;
  --line: #dce1d5;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--ivory);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; }
button { font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:focus-visible { outline: 2px solid #436b37; outline-offset: 5px; }
[hidden] { display: none !important; }
.hero { position: relative; min-height: 100svh; padding: 25px 5vw 27px; overflow: clip; }
.masthead { display: flex; align-items: center; justify-content: space-between; max-width: 1440px; margin: auto; min-height: 48px; }
.brand { position: relative; width: 190px; aspect-ratio: 2664/662; overflow: hidden; }
.brand img { position: absolute; width: 115.32%; height: auto; max-width: none; left: 0; top: -112.54%; mix-blend-mode: multiply; }
.introduction { position: relative; z-index: 2; text-align: center; margin: 24px auto 0; }
.eyebrow { margin: 0 0 19px; font-size: .75rem; line-height: 1.6; font-weight: 500; letter-spacing: .19em; color: #63715c; }
h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(2.5rem, 4.4vw, 4.5rem); line-height: 1.04; letter-spacing: -.048em; margin: 0; }
h1 em { font-weight: 400; color: var(--leaf); letter-spacing: -.055em; }
.description { font-size: 1rem; line-height: 1.65; color: var(--muted); margin: 20px auto 0; max-width: 600px; }
.mobile-break { display: none; }
.garden { position: relative; max-width: 1000px; margin: -22px auto 0; }
.garden::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: min(64vw, 52svh, 600px);
  transform: translateX(-50%);
  pointer-events: none;
  opacity: .58;
  background: url("assets/garden-panorama.png") center 72% / cover no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 24%, #000 79%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 24%, #000 79%, transparent);
}
.artwork { position: relative; width: min(64vw, 52svh, 600px); aspect-ratio: 1; margin: auto; isolation: isolate; -webkit-mask: url("assets/tree-silhouette-mask.png") center / 100% 100% no-repeat; mask: url("assets/tree-silhouette-mask.png") center / 100% 100% no-repeat; mask-mode: luminance; }
.artwork img, .artwork canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.garden-still { z-index: 0; }
.memory-still { z-index: 1; opacity: 0; transition: opacity .8s; }
#garden-canvas { z-index: 2; opacity: 0; transition: opacity .7s; }
.artwork.is-animated #garden-canvas { opacity: 1; }
.tree-legend { display: flex; position: relative; justify-content: center; gap: 41px; margin: 0 auto; z-index: 3; text-align: center; }
.tree-legend > span { display: flex; flex-direction: column; gap: 5px; }
.legend-name { font-family: Georgia,"Times New Roman",serif; font-size: 1.1rem; }
.legend-detail { color: var(--muted); font-size: .875rem; line-height: 1.4; }
.asset-message { margin: 14px auto 0; font-size: .875rem; max-width: 420px; line-height: 1.5; text-align: center; }
.asset-message button { border: 0; padding: 6px; margin-left: 5px; background: transparent; color: var(--ink); text-decoration: underline; }
.no-script { text-align: center; font-size: .875rem; color: var(--muted); }
@media (min-width: 1200px) and (min-height: 950px) {
  .introduction { margin-top: 48px; }
  .garden { margin-top: -5px; }
  .garden::before { height: min(52svh, 620px); }
  .artwork { width: min(52svh, 620px); }
}
@media (max-width: 680px) {
  .hero { padding: 17px 20px 25px; }
  .masthead { min-height: 41px; }
  .brand { width: 151px; }
  .introduction { margin-top: 39px; }
  .eyebrow { font-size: .75rem; letter-spacing: .12em; margin-bottom: 16px; }
  h1 { font-size: clamp(2.5rem, 9.5vw, 3.9rem); line-height: 1.06; }
  .description { margin-top: 18px; font-size: 1rem; line-height: 1.6; }
  .mobile-break { display: initial; }
  .garden { margin-top: -4px; margin-left: -20px; margin-right: -20px; }
  .garden::before { height: min(98vw, 520px); }
  .artwork { width: min(98vw, 520px); max-width: none; left: 50%; transform: translateX(-50%); margin: 0; }
  .tree-legend { gap: 0; margin: 0 22px; }
  .tree-legend > span { flex: 1; gap: 5px; }
  .legend-name { font-size: 1rem; }
  .legend-detail { font-size: .875rem; max-width: 110px; margin: auto; }
}
@media (max-width: 370px) {
  .hero { padding-left: 16px; padding-right: 16px; }
  .brand { width: 139px; }
  .eyebrow { letter-spacing: .08em; }
  .tree-legend { margin-left: 15px; margin-right: 15px; }
  .legend-detail { max-width: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; scroll-behavior: auto !important; }
}
