@font-face{
  font-family:'Pretendard Variable';
  src:url('../fonts/pretendard-subset.woff2') format('woff2-variations'), url('../fonts/pretendard-subset.woff2') format('woff2');
  font-weight:100 900; font-style:normal; font-display:swap;
}

  :root{
    --soil:#1b211c; --stone:#f3f3ef; --ink:#1b211c; --ink-2:#5e665f; --line:#d6d8d0;
    --sun:#f7892f; --leaf:#2e8a57; --pale:#f4f3ee;
  }
  *{box-sizing:border-box;}
  html,body{margin:0;padding:0;}
  body{
    background:var(--stone); color:var(--ink);
    font-family:'Pretendard Variable', Pretendard, -apple-system, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
    font-size:16px; line-height:1.7; -webkit-font-smoothing:antialiased; word-break:keep-all; overflow-wrap:break-word;
  }
  a{color:inherit;}
  :focus-visible{outline:1.5px solid var(--sun); outline-offset:4px;}
  .wrap{max-width:1200px; margin:0 auto; padding:0 clamp(24px,5vw,56px);}

  header{position:fixed; top:0; left:0; right:0; z-index:20; transition:background .3s;}
  header .wrap{display:flex; justify-content:space-between; align-items:center; height:78px;}
  header .logo{height:40px; width:148px; display:block; transition:opacity .35s ease;}
  @media (max-width:640px){ header .logo{height:32px; width:118px;} }
  header .toplink{color:var(--pale); font-size:14px; text-decoration:none; padding-bottom:3px; border-bottom:1px solid rgba(244,243,238,.4);}
  header .toplink:hover{border-color:var(--sun);}
  header.solid{background:rgba(27,33,28,.92); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);}

  .scene{position:relative; height:560vh;}
  .stage{position:sticky; top:0; height:100vh; height:100svh; overflow:hidden; background:#0b1024;}
  #world{position:absolute; inset:0; width:100%; height:100%; display:block;}
  .scrim{position:absolute; left:0; right:0; top:0; height:160px; background:linear-gradient(rgba(6,10,20,.35), rgba(6,10,20,0)); pointer-events:none;}

  .cap{position:absolute; left:clamp(24px,7vw,120px); top:clamp(150px,19vh,200px); max-width:680px; color:#fbfaf5; opacity:0; pointer-events:none; text-shadow:0 1px 24px rgba(8,14,28,.28); will-change:opacity,transform;}
  .cap h2{font-weight:250; font-size:clamp(34px,4.8vw,60px); line-height:1.2; letter-spacing:-.035em; margin:0 0 18px;}
  .cap p{font-size:16.5px; margin:0; max-width:32ch; color:rgba(251,250,245,.9);}
  .cap.intro{left:0; right:0; max-width:none; text-align:center; top:clamp(120px,25vh,250px);}
  .hero-logo-slot{width:min(240px,58vw); aspect-ratio:223.4/196; margin:0 auto 22px;}
  .hero-logo-fly{position:fixed; left:0; top:0; z-index:25; pointer-events:none; transform-origin:0 0; will-change:transform,opacity; opacity:0; transition:opacity .35s ease;}
  .hero-logo-fly svg{display:block; width:100%; height:100%; filter:drop-shadow(0 2px 24px rgba(8,14,28,.25));}
  .hero-logo-slot .logo-hero{display:block; width:100%; height:auto;}
  .cap.intro p{margin:0 auto; max-width:none; font-size:clamp(16px,1.6vw,19px); font-weight:300; letter-spacing:-.01em;}

  .prog{position:absolute; right:clamp(18px,4vw,52px); top:50%; transform:translateY(-50%); list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:20px;}
  .prog li{display:flex; align-items:center; gap:12px; justify-content:flex-end; font-size:12.5px; color:rgba(251,250,245,.5); transition:color .3s;}
  .prog li .d{width:6px; height:6px; border-radius:50%; background:currentColor; transition:transform .3s, background .3s;}
  .prog li.on{color:#fbfaf5;}
  .prog li.on .d{transform:scale(1.7); background:var(--sun);}
  @media (max-width:640px){ .prog li .t{display:none;} }

  .hint{position:absolute; left:50%; bottom:30px; transform:translateX(-50%); white-space:nowrap; color:#fbfaf5; font-size:12.5px; letter-spacing:.04em; display:flex; flex-direction:column; align-items:center; gap:10px; opacity:.8;}
  .hint i{display:block; width:1px; height:36px; background:linear-gradient(#fbfaf5, transparent); animation:drip 2s ease-in-out infinite;}
  @keyframes drip{0%{transform:scaleY(0);transform-origin:top}50%{transform:scaleY(1);transform-origin:top}51%{transform-origin:bottom}100%{transform:scaleY(0);transform-origin:bottom}}

  .pillars{padding:clamp(110px,15vw,180px) 0 clamp(110px,15vw,180px);}
  .pillars .head{display:flex; justify-content:space-between; align-items:flex-end; gap:32px; flex-wrap:wrap;}
  .pillars .head h2{margin:0; font-weight:250; font-size:clamp(30px,3.8vw,48px); letter-spacing:-.035em; line-height:1.25;}
  .pillars .head p{margin:0; color:var(--ink-2); max-width:30em;}
  .pgrid{display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid var(--ink);}
  .pillar{padding:40px 36px 12px 0; border-right:1px solid var(--line);}
  .pillar + .pillar{padding-left:36px;}
  .pillar:last-child{border-right:none; padding-right:0;}
  .pillar svg{width:56px; height:56px; display:block; margin-bottom:40px;}
  .pillar .word{font-weight:250; font-size:clamp(34px,3.4vw,46px); letter-spacing:-.035em; line-height:1; margin:0 0 18px;}
  .pillar .what{font-size:15.5px; color:var(--ink-2); margin:0 0 34px; min-height:5.1em;}
  .pillar dl{margin:0; border-top:1px solid var(--line);}
  .pillar dl div{display:flex; justify-content:space-between; gap:16px; padding:13px 0; border-bottom:1px solid var(--line); font-size:14px;}
  .pillar dt{color:var(--ink-2);}
  .pillar dd{margin:0; font-weight:600; text-align:right;}
  .pillar dd.now{color:var(--leaf);}
  @media (max-width:860px){
    .pgrid{grid-template-columns:1fr;}
    .pillar,.pillar + .pillar{padding:40px 0 28px; border-right:none; border-bottom:1px solid var(--line);}
    .pillar:last-child{border-bottom:none;}
    .pillar .what{min-height:0;}
  }

  footer{background:var(--soil); color:var(--pale);}
  .foot-top{display:flex; justify-content:space-between; align-items:center; gap:32px; flex-wrap:wrap; padding:76px 0 60px;}
  .logo-foot{height:46px; width:auto; display:block;}
  .btns{display:flex; gap:12px; flex-wrap:wrap;}
  .btn{display:inline-flex; align-items:center; gap:12px; text-decoration:none; padding:15px 24px; border-radius:2px; font-weight:600; font-size:15px; transition:background .2s, border-color .2s;}
  .btn svg{width:15px; height:15px;}
  .btn.primary{background:var(--pale); color:var(--soil);}
  .btn.primary:hover{background:#fff;}
  .btn.ghost{border:1px solid rgba(244,243,238,.35); color:var(--pale);}
  .btn.ghost:hover{border-color:var(--pale);}
  .foot-bot{display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; padding:22px 0 34px; border-top:1px solid rgba(244,243,238,.14); font-size:13px; color:rgba(244,243,238,.45);}
  .foot-bot a{text-decoration:none;} .foot-bot a:hover{color:var(--pale);}

  @media (prefers-reduced-motion: reduce){ .scene{height:100vh;} .hint i{animation:none;} }
