:root{
  --bg:#080D0B; --green:#101C16; --emerald:#52745C;
  --text:#E6EAE5; --muted:#929D93;
  --serif:"Shippori Mincho","Hiragino Mincho ProN","Yu Mincho","YuMincho","Noto Serif JP","Noto Serif CJK JP",serif;
  --px:0; --py:0;
}
*,*::before,*::after{box-sizing:border-box}
html,body{height:100%;margin:0}
body{
  background:var(--bg);color:var(--text);font-family:var(--serif);
  line-height:2;overflow-x:hidden;min-height:100vh;min-height:100svh;
  display:flex;flex-direction:column;-webkit-font-smoothing:antialiased;
  font-feature-settings:"palt";
}

/* ---- scene ---- */
.scene{position:fixed;inset:0;overflow:hidden;background:var(--bg);z-index:-1}
.forest{
  position:absolute;inset:-4%;
  background:url("../assets/forest-background.webp") center/cover no-repeat;
  transform:translate3d(calc(var(--px)*-14px),calc(var(--py)*-10px),0) scale(1.04);
  transition:transform 1.6s cubic-bezier(.2,.6,.2,1);
  animation:bg-in 3.2s ease-out both, drift 60s ease-in-out infinite alternate;
  will-change:transform;
}
.fog{
  position:absolute;left:-30%;width:160%;height:55%;opacity:.5;pointer-events:none;
  background:
    radial-gradient(40% 50% at 25% 55%,rgba(82,116,92,.20),transparent 70%),
    radial-gradient(35% 45% at 70% 45%,rgba(120,150,130,.12),transparent 70%);
  filter:blur(24px);will-change:transform;
}
.fog--a{bottom:6%;animation:fog 70s linear infinite alternate}
.fog--b{bottom:28%;opacity:.32;animation:fog 110s linear infinite alternate-reverse}
.shade{
  position:absolute;inset:0;
  background:
    radial-gradient(ellipse 60% 55% at 50% 48%,rgba(8,13,11,.62),rgba(8,13,11,.15) 80%),
    linear-gradient(180deg,rgba(8,13,11,.55),rgba(8,13,11,.10) 35%,rgba(8,13,11,.55) 80%,var(--bg));
}

/* ---- content ---- */
.stage{
  flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;padding:12vh 1.5rem 4rem;
  animation:rise 3.4s .3s ease-out both;
}
.brand{
  margin:0 0 clamp(2rem,6vh,3.6rem);
  font-size:clamp(3.2rem,9vw,6.4rem);font-weight:400;line-height:1;
  letter-spacing:.38em;margin-right:-.38em;  /* optical centering for tracking */
  color:var(--text);text-shadow:0 0 40px rgba(82,116,92,.35);
}
.title{
  margin:0;font-size:clamp(1.15rem,2.6vw,1.6rem);font-weight:400;line-height:1.8;
  letter-spacing:.22em;margin-right:-.22em;color:var(--text);
  max-width:22em;text-wrap:balance;
}
.status{
  display:inline-flex;align-items:center;gap:.7em;margin:clamp(1.6rem,4vh,2.4rem) 0;
  font-size:.8rem;letter-spacing:.4em;margin-right:-.4em;color:#7FA88A;line-height:1;
}
.status__dot{
  width:5px;height:5px;border-radius:50%;background:var(--emerald);
  box-shadow:0 0 8px rgba(82,116,92,.7);animation:breathe 5s ease-in-out infinite;
}
.lead{
  margin:0;font-size:clamp(.9rem,1.9vw,1.02rem);line-height:2.3;
  letter-spacing:.14em;color:var(--muted);
}
.foot{padding:1.4rem 1rem calc(1.4rem + env(safe-area-inset-bottom,0px));text-align:center;
  font-size:.72rem;letter-spacing:.2em;color:var(--muted);opacity:.75;animation:rise 3.4s 1s ease-out both}
.foot small{font-size:inherit}

/* ---- motion ---- */
@keyframes bg-in{from{opacity:0}to{opacity:1}}
@keyframes rise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes drift{from{background-position:48% 50%}to{background-position:52% 50%}}
@keyframes fog{from{transform:translate3d(-6%,0,0)}to{transform:translate3d(6%,-3%,0)}}
@keyframes breathe{0%,100%{opacity:.35}50%{opacity:1}}

@media (max-width:480px){
  .brand{letter-spacing:.28em;margin-right:-.28em}
  .title{letter-spacing:.14em;margin-right:-.14em}
  .forest{background-position:62% center}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important}
}
