/* TOCTOC — eddymax.kr
   Mobile-first. Black · violet light · thin/heavy type contrast. */
:root {
  --bg: #000;
  --ink: #fff;
  --sub: #a59dbd;
  --mute: #8e86a8;
  --dim: #6f6888;
  --line: #2a2540;
  --violet: #8b5cf6;
  --violet-soft: #b9a4ff;
  --violet-link: #c4b5fd;
  --card: #0b0a10;
  --kr: "Noto Sans KR", system-ui, -apple-system, sans-serif;
  --en: "Space Grotesk", var(--kr);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--kr); word-break: keep-all; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet-link); }
a:hover { color: #e9e3ff; }
p, h1, h2, h3 { margin: 0; }
.en { font-family: var(--en); }
.wrap { width: 100%; max-width: 560px; margin: 0 auto; overflow: hidden; }

/* nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; background: linear-gradient(#000c, #0000); transition: background .3s; }
.nav.solid { background: #000000e6; border-bottom: 1px solid #1c1928; }
.nav img { height: 16px; width: auto; }
.nav a.cta { font-size: 13px; font-weight: 700; color: #000; background: #fff; padding: 9px 16px; border-radius: 999px; text-decoration: none; }
.nav .links { display: none; }

/* type */
.eyebrow { font-family: var(--en); font-size: 12px; letter-spacing: .42em; color: var(--mute); }
.h-thin { font-size: 34px; line-height: 1.35; font-weight: 300; letter-spacing: -.02em; }
.h-bold { font-size: 34px; line-height: 1.35; font-weight: 900; letter-spacing: -.02em; }
.body { font-size: 15px; line-height: 1.75; color: var(--sub); }
.center { text-align: center; }
.pad { padding-left: 28px; padding-right: 28px; }

/* reveal animation */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes reveal { 0% { opacity: 0; filter: brightness(0) drop-shadow(0 0 0 #8b5cf600); } 55% { opacity: 1; filter: brightness(.18) drop-shadow(0 0 22px #8b5cf6e6); } 100% { opacity: 1; filter: brightness(1) drop-shadow(0 0 34px #8b5cf673); } }
@keyframes dotPulse { 0%,100% { transform: scale(.7); opacity: .5; } 50% { transform: scale(1.15); opacity: 1; } }
@keyframes ringOut { 0% { transform: scale(.1); opacity: 0; } 25% { opacity: .9; } 100% { transform: scale(1); opacity: 0; } }
@keyframes ringIn { 0% { transform: scale(1); opacity: 0; } 30% { opacity: .8; } 100% { transform: scale(.08); opacity: 0; } }
@keyframes cue { 0%,100% { transform: translateY(0); opacity: .4; } 50% { transform: translateY(8px); opacity: 1; } }
.a { opacity: 0; animation: fadeUp 1.3s ease forwards; animation-play-state: paused; }
.a.rv { animation-name: reveal; animation-duration: 3.2s; }
.on .a { animation-play-state: running; }
.loop { animation-play-state: paused; }
.on .loop { animation-play-state: running; }
.d1{animation-delay:.2s}.d2{animation-delay:.6s}.d3{animation-delay:1s}.d4{animation-delay:1.4s}.d5{animation-delay:1.8s}.d6{animation-delay:2.2s}.d7{animation-delay:2.8s}.d8{animation-delay:3.6s}.d9{animation-delay:4.3s}.d10{animation-delay:5s}
@media (prefers-reduced-motion: reduce) { .a, .a.rv { animation: none; opacity: 1; filter: none; } .loop { animation: none; } }

/* scene 1 */
.s1 { position: relative; height: 100svh; min-height: 640px; }
.s1 .orb { position: absolute; top: 38%; left: 50%; width: 0; height: 0; }
.ring { position: absolute; left: -170px; top: -170px; width: 340px; height: 340px; border-radius: 50%; border: 1px solid #a78bfa8c; animation: ringOut 4.5s ease-out infinite; }
.ring.r2 { animation-delay: 1.5s; border-color: #a78bfa73; }
.ring.r3 { animation-delay: 3s; border-color: #a78bfa59; }
.dot { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--violet-soft); box-shadow: 0 0 18px 6px #8b5cf6cc, 0 0 60px 20px #8b5cf659; animation: dotPulse 2.4s ease-in-out infinite; }
.s1 .copy { position: absolute; top: 60%; left: 0; right: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: 0 28px; }
.s1 h1 { font-size: 40px; line-height: 1.3; letter-spacing: -.02em; }
.scroll-cue { position: absolute; bottom: 32px; left: 0; right: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .3em; color: var(--dim); }
.scroll-cue i { width: 1px; height: 28px; background: var(--violet); animation: cue 1.8s ease-in-out infinite; }

/* scene 2 */
.s2 { padding: 88px 0 72px; display: flex; flex-direction: column; align-items: center; }
.s2 .stage { position: relative; width: 100%; height: 470px; margin-top: 12px; display: flex; align-items: center; justify-content: center; }
.glow { position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, #8b5cf64d 0%, #8b5cf600 62%); }
.s2 .stage img { position: relative; width: 112%; max-width: 560px; margin-left: 6%; -webkit-mask-image: radial-gradient(ellipse 62% 60% at 48% 44%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 62% 60% at 48% 44%, #000 62%, transparent 100%); }
.s2 .logo { height: 26px; width: auto; }
.countdown { margin-top: 36px; width: calc(100% - 48px); max-width: 400px; border: 1px solid var(--line); border-radius: 22px; padding: 20px 18px; }
.countdown .label { font-size: 12px; letter-spacing: .14em; color: var(--mute); text-align: center; margin-bottom: 12px; }
.cd-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 6px; text-align: center; }
.cd-grid b { display: block; font-family: var(--en); font-size: 32px; font-weight: 300; line-height: 1; }
.cd-grid b.sec { color: var(--violet-soft); }
.cd-grid small { display: block; margin-top: 6px; font-size: 10px; letter-spacing: .2em; color: var(--dim); }
.btn-white { display: block; text-align: center; background: #fff; color: #000; text-decoration: none; padding: 16px; border-radius: 999px; font-weight: 700; font-size: 15px; border: 0; width: 100%; font-family: inherit; cursor: pointer; }
.btn-white:hover { color: #000; background: #e9e3ff; }

/* scene 3 */
.s3 { padding: 96px 0 72px; display: flex; flex-direction: column; align-items: center; }
.s3 .converge { position: relative; width: 300px; height: 300px; margin: 56px 0 48px; }
.s3 .converge span { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid #a78bfab3; animation: ringIn 3.6s ease-in infinite; }
.s3 .converge span:nth-child(2) { animation-delay: .9s; border-color: #a78bfa99; }
.s3 .converge span:nth-child(3) { animation-delay: 1.8s; border-color: #a78bfa80; }
.s3 .converge span:nth-child(4) { animation-delay: 2.7s; border-color: #a78bfa66; }
.s3 .converge .dot { left: 144px; top: 144px; background: #fff; }
.stats { display: flex; width: calc(100% - 48px); max-width: 420px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats > div { flex: 1; padding: 18px 0; text-align: center; }
.stats > div + div { border-left: 1px solid var(--line); }
.stats b { display: block; font-family: var(--en); font-size: 22px; font-weight: 300; }
.stats b small { font-size: 12px; }
.stats span { display: block; margin-top: 4px; font-size: 11px; color: var(--mute); }
.link-u { color: var(--violet-link); font-size: 14px; font-weight: 700; text-decoration: none; border-bottom: 1px solid #5b4a9e; padding-bottom: 4px; }

/* scene 4 */
.s4 { padding: 96px 0 80px; }
.s4 .stage { position: relative; height: 620px; margin-top: 24px; }
.s4 .stage .glow { left: 50%; top: 40px; width: 300px; height: 540px; margin-left: -150px; background: radial-gradient(ellipse, #8b5cf638 0%, #8b5cf600 60%); }
.s4 .stage img { position: absolute; left: 50%; top: 10px; height: 600px; width: auto; max-width: none; margin-left: -91px; }
.measure { position: absolute; left: 34px; top: 30px; bottom: 30px; width: 40px; display: flex; flex-direction: column; align-items: center; }
.measure i { width: 12px; height: 1px; background: #5b4a9e; }
.measure em { flex: 1; width: 1px; background: #3a3256; }
.measure span { font-family: var(--en); font-size: 13px; color: var(--violet-soft); writing-mode: vertical-rl; padding: 10px 0; }

/* scene 5 */
.s5 { padding: 96px 24px; }
.s5 .hero-shot { width: 100%; height: 300px; object-fit: cover; border-radius: 26px; margin-top: 36px; }
.s5 .duo { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin-top: 10px; }
.s5 .duo img { width: 100%; height: 170px; object-fit: cover; border-radius: 20px; }
.steps { margin-top: 36px; border-top: 1px solid var(--line); }
.steps div { display: flex; gap: 18px; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.steps span:first-child { font-family: var(--en); font-size: 13px; color: var(--violet-soft); width: 64px; flex: none; }
.steps span:last-child { font-size: 15px; color: #dcd7ea; }

/* scene 6 */
.s6 { padding: 88px 0 96px; }
.rail { display: flex; gap: 12px; overflow-x: auto; padding: 32px 24px 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.card { flex: 0 0 270px; scroll-snap-align: start; height: 380px; border-radius: 26px; background: #14121c; border: 1px solid var(--line); padding: 26px; display: flex; flex-direction: column; justify-content: space-between; }
.card .ph { height: 190px; border-radius: 18px; border: 1px dashed #3a3256; display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--dim); overflow: hidden; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.card .t { font-family: var(--en); font-size: 12px; letter-spacing: .2em; color: var(--violet-soft); }
.card h3 { margin-top: 8px; font-size: 19px; line-height: 1.4; }
.swipe { margin-top: 14px; text-align: center; font-size: 11px; letter-spacing: .3em; color: #4a445e; }

/* scene 7 */
.s7 { padding: 96px 24px; }
.vs { margin-top: 40px; border-top: 1px solid var(--line); }
.vs div { display: flex; align-items: center; padding: 22px 4px; border-bottom: 1px solid var(--line); }
.vs span:nth-child(1) { width: 84px; font-size: 12px; color: var(--mute); flex: none; }
.vs span:nth-child(2) { flex: 1; font-size: 14px; color: var(--dim); text-decoration: line-through; }
.vs span:nth-child(3) { font-size: 17px; font-weight: 700; }
.price { margin-top: 56px; text-align: center; }
.price b { display: block; margin-top: 10px; font-family: var(--en); font-size: 64px; font-weight: 300; line-height: 1; letter-spacing: -.02em; }
.price b small { font-family: var(--kr); font-size: 24px; }

/* scene 8 — founding 70 */
.s8 { padding: 96px 24px 80px; border-top: 1px solid #1c1928; }
.trio { margin-top: 36px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); text-align: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trio div { padding: 20px 0; }
.trio div + div { border-left: 1px solid var(--line); }
.trio b { display: block; font-family: var(--en); font-size: 34px; font-weight: 300; color: var(--violet-soft); }
.trio span { display: block; margin-top: 4px; font-size: 12px; color: #dcd7ea; }
.cd-line { margin: 0; text-align: center; font-family: var(--en); font-size: 40px; font-weight: 300; letter-spacing: .02em; }
.cd-line small { font-size: 14px; color: var(--dim); font-family: var(--kr); }
.cd-line .sec { color: var(--violet-soft); }
.timeline { margin-top: 28px; }
.timeline div { display: flex; gap: 16px; padding: 14px 4px; }
.timeline i { width: 10px; height: 10px; border-radius: 50%; border: 1px solid #5b4a9e; margin-top: 6px; flex: none; }
.timeline i.now { background: var(--violet-soft); border-color: var(--violet-soft); box-shadow: 0 0 10px #8b5cf6cc; }
.timeline b { display: block; font-size: 15px; }
.timeline span { display: block; margin-top: 2px; font-size: 12px; color: var(--mute); }
form.signup { margin-top: 32px; display: flex; flex-direction: column; gap: 10px; }
form.signup label { font-size: 13px; color: #dcd7ea; }
form.signup input[type=text], form.signup input[type=email], form.signup input[type=tel], form.signup select { font-family: inherit; font-size: 16px; padding: 15px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: #fff; width: 100%; }
form.signup select { appearance: none; }
form.signup .agree { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--sub); min-height: 44px; margin-top: 6px; }
form.signup .agree input { width: 20px; height: 20px; accent-color: var(--violet); }
.form-msg { min-height: 22px; font-size: 14px; text-align: center; color: var(--violet-soft); }
.form-msg.err { color: #ff9b9b; }
.hp { position: absolute; left: -9999px; }

/* footer */
footer { padding: 48px 28px 56px; border-top: 1px solid #1c1928; display: flex; flex-direction: column; gap: 18px; }
footer .row { display: flex; justify-content: space-between; align-items: center; }
footer .row img { height: 16px; width: auto; }
footer p { font-size: 12px; line-height: 1.8; color: var(--dim); }
footer p.biz { color: #4a445e; }

/* tech page */
.t-hero { padding: 120px 28px 72px; }
.t-hero h1 { font-size: 38px; line-height: 1.3; letter-spacing: -.02em; }
.t-sec { padding: 72px 24px; border-top: 1px solid #1c1928; }
.t-sec img.full { width: 100%; border-radius: 20px; background: #fff; margin-top: 28px; }
.t-list { margin-top: 28px; border-top: 1px solid var(--line); }
.t-list div { padding: 20px 4px; border-bottom: 1px solid var(--line); }
.t-list b { font-family: var(--en); color: var(--violet-soft); font-size: 13px; letter-spacing: .2em; }
.t-list h3 { margin-top: 8px; font-size: 19px; }
.t-list p { margin-top: 6px; font-size: 14px; line-height: 1.7; color: var(--sub); }
.team div h3 span { font-size: 12px; color: var(--violet-soft); font-weight: 400; margin-left: 8px; }

/* ---------- PC (≥ 960px): same scenes, wider stage ---------- */
@media (min-width: 960px) {
  .wrap { max-width: 1200px; }
  .nav { padding: 20px 48px; }
  .nav img { height: 20px; }
  .nav .links { display: flex; gap: 28px; align-items: center; }
  .nav .mobile-only { display: none; }
  .nav .links a:not(.cta) { color: #dcd7ea; text-decoration: none; font-size: 14px; }
  .h-thin, .h-bold { font-size: 56px; }
  .body { font-size: 17px; }
  .s1 h1 { font-size: 72px; }
  .ring { left: -260px; top: -260px; width: 520px; height: 520px; }
  .s2 .stage { height: 620px; }
  .s2 .stage img { width: auto; height: 620px; max-width: none; margin-left: 0; }
  .glow { width: 620px; height: 620px; }
  .s3 .converge { width: 420px; height: 420px; }
  .s3 .converge .dot { left: 204px; top: 204px; }
  .split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; max-width: 1100px; margin: 0 auto; }
  .s4 .stage { height: 720px; }
  .s4 .stage img { height: 700px; margin-left: -106px; }
  .s5, .s7, .s8 { padding-left: 48px; padding-right: 48px; }
  .s5 .hero-shot { height: 460px; }
  .s5 .duo img { height: 260px; }
  .rail { padding-left: 48px; padding-right: 48px; justify-content: center; }
  .card { flex-basis: 260px; }
  .s7 .split, .s8 .split { align-items: start; }
  .t-hero { padding: 160px 48px 96px; }
  .t-hero h1 { font-size: 64px; }
  .t-sec { padding: 96px 48px; }
}
