@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/instrument-serif-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/instrument-serif-latin-400-italic.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/jetbrains-mono-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/jetbrains-mono-latin-500-normal.woff2) format('woff2'); }

:root {
  --ink: #0f100d;
  --ink-2: #191a16;
  --ink-3: #26271f;
  --paper: #efebe2;
  --paper-2: #e4dfd3;
  --mute-d: #8b8a80;
  --mute-l: #6b6a62;
  --line-d: rgba(239, 235, 226, .14);
  --line-l: rgba(15, 16, 13, .14);
  --signal: #ff5a1f;
  --l1: #e0a93b;
  --l2: #3fae7f;
  --l3: #4a82ff;
  --l4: #39b8c4;
  --sans: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--signal); color: var(--ink); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; font-weight: 500; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 200; padding: 12px 18px; background: var(--paper); color: var(--ink); border-radius: 6px; }
.skip-link:focus { top: 12px; }

/* curtain intro: trains racing across before the doors open */
.curtain { position: fixed; inset: 0; z-index: 150; background: var(--ink); pointer-events: none; overflow: hidden; }
.curtain-tracks { position: absolute; inset: 0; }
.track { position: absolute; left: 0; right: 0; top: var(--y); height: 2px; background: rgba(239, 235, 226, .07); }
.track i { position: absolute; top: -1px; left: 0; width: var(--w); height: 4px; border-radius: 4px; background: linear-gradient(90deg, transparent, var(--c) 70%, #fff); box-shadow: 0 0 18px var(--c); transform: translateX(-110%); animation: rush var(--d) cubic-bezier(.55, 0, .45, 1) infinite; }
.track i:nth-child(2) { animation-delay: calc(var(--d) * -.5); opacity: .7; }
.track i:nth-child(3) { animation-delay: calc(var(--d) * -.25); opacity: .5; }
.track-main { height: 2px; background: rgba(255, 90, 31, .25); }
.track-main i { height: 6px; top: -2px; box-shadow: 0 0 28px var(--signal), 0 0 8px var(--signal); }
@keyframes rush { from { transform: translateX(-110%); } to { transform: translateX(calc(100vw + 10%)); } }
.curtain-board { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 14px; padding: 22px 30px; background: var(--ink); border: 1px solid var(--line-d); border-radius: 16px; }
.curtain-mark { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-style: italic; font-size: clamp(30px, 4vw, 44px); line-height: 1; }
.node-ring { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--paper); box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 8px var(--signal); animation: beat .7s ease-in-out infinite alternate; }
@keyframes beat { to { transform: scale(1.15); } }
.curtain-stop { display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--mute-d); }
.curtain-stop-name { min-width: 7.5em; padding: 3px 8px; border-radius: 4px; background: var(--signal); color: var(--ink); font-family: var(--sans); font-weight: 700; font-size: 13px; text-align: center; letter-spacing: 0; }
.curtain-foot { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 40px; display: flex; align-items: center; gap: 16px; color: var(--mute-d); }
.curtain-bar { position: relative; flex: 1; height: 2px; background: rgba(239, 235, 226, .12); }
.curtain-bar-fill { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: var(--signal); }
.curtain-bus { position: absolute; top: -6px; left: 0; width: 14px; height: 14px; margin-left: -7px; border-radius: 4px; background: var(--signal); box-shadow: 0 0 16px var(--signal); }
.curtain-count { min-width: 3ch; color: var(--paper); font-variant-numeric: tabular-nums; }
html:not(.js) .curtain, .no-intro .curtain { display: none; }

/* grain + cursor */
.grain { position: fixed; inset: -50%; z-index: 120; pointer-events: none; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); } 60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }
.cursor { position: fixed; left: 0; top: 0; z-index: 140; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--paper); mix-blend-mode: difference; pointer-events: none; display: none; place-items: center; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease); }
.cursor-label { font-size: 12px; font-weight: 700; color: var(--ink); opacity: 0; transition: opacity .2s; white-space: nowrap; }
.cursor.is-big { width: 74px; height: 74px; margin: -37px 0 0 -37px; mix-blend-mode: normal; background: var(--signal); }
.cursor.is-big .cursor-label { opacity: 1; }
.cursor.is-down { transform: scale(.8); }
@media (hover: hover) and (pointer: fine) { .has-cursor .cursor { display: grid; } }

/* header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px var(--gutter); color: var(--paper); transition: transform .5s var(--ease), background .3s; }
.site-header.is-hidden { transform: translateY(-110%); }
.site-header.is-solid { background: rgba(15, 16, 13, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 26px; letter-spacing: -.01em; line-height: 1; }
.brand-node { width: 16px; height: 16px; border-radius: 50%; border: 3px solid currentColor; position: relative; transition: transform .6s var(--ease); }
.brand-node::after { content: ''; position: absolute; inset: 2px; border-radius: 50%; background: var(--signal); }
.brand:hover .brand-node { transform: rotate(180deg) scale(1.2); }
.nav { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(239, 235, 226, .06); border: 1px solid var(--line-d); }
.nav a { position: relative; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; transition: background .25s, color .25s; }
.nav a:hover, .nav a.is-active { background: var(--paper); color: var(--ink); }
.nav a:active { transform: scale(.96); }
.header-right { display: flex; align-items: center; gap: 18px; }
.clock { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--mute-d); font-variant-numeric: tabular-nums; }
.clock-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--l2); box-shadow: 0 0 0 0 rgba(63, 174, 127, .6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(63, 174, 127, .55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(63, 174, 127, 0); } }
.header-cta { padding: 10px 18px; border-radius: 999px; background: var(--signal); color: var(--ink); font-size: 14px; font-weight: 700; transition: transform .25s var(--ease), background .25s; }
.header-cta:hover { background: var(--paper); }
.header-cta:active { transform: scale(.95); }
.menu-button { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); position: relative; }
.menu-button span:not(.sr-only) { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); transition: transform .35s var(--ease); }
.menu-button span:nth-child(1) { top: 18px; }
.menu-button span:nth-child(2) { top: 24px; }
.menu-button[aria-expanded='true'] span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.menu-button[aria-expanded='true'] span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }
.menu-button:active { transform: scale(.92); }
.mobile-menu { position: fixed; inset: 0; z-index: 90; background: var(--signal); color: var(--ink); padding: 104px var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; clip-path: circle(0 at calc(100% - 38px) 40px); transition: clip-path .6s var(--ease); }
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 38px) 40px); }
.mobile-menu nav { display: grid; }
.mobile-menu nav a { display: flex; align-items: baseline; gap: 14px; padding: 10px 0; border-bottom: 1px solid rgba(15, 16, 13, .2); font-size: clamp(34px, 10vw, 54px); font-weight: 800; letter-spacing: -.04em; line-height: 1.15; }
.mobile-menu nav a:active { opacity: .6; }
.mobile-menu small { font-family: var(--mono); font-size: 12px; font-weight: 500; }
.mobile-menu > p { font-family: var(--mono); font-size: 13px; }

/* shared */
.section-tag { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--mute-d); margin-bottom: 28px; }
.section-tag .mono { padding: 4px 8px; border: 1px solid currentColor; border-radius: 4px; }
h2 { font-size: clamp(38px, 6.2vw, 96px); line-height: 1.08; font-weight: 800; letter-spacing: -.055em; }
.split .word, .split .char { display: inline-block; }

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 120px var(--gutter) 40px; overflow: hidden; isolation: isolate; }
.route-map { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 70% 60% at 15% 85%, rgba(15, 16, 13, .92), rgba(15, 16, 13, 0) 70%); }
.hero-inner { position: relative; max-width: 1440px; width: 100%; }
.hero-eyebrow { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--mute-d); margin-bottom: 26px; }
.hero-eyebrow .mono { color: var(--signal); }
.hero-title { font-size: clamp(56px, 12.4vw, 210px); line-height: .98; font-weight: 800; letter-spacing: -.065em; }
.line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line-in { display: block; }
.hl { font-style: normal; color: var(--signal); position: relative; }
.hero-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 26px; }
.hero-top .hero-eyebrow { margin-bottom: 0; }
.hero-serif { text-shadow: 0 0 14px #0f100d, 0 0 4px #0f100d; font-family: var(--serif); font-size: clamp(22px, 2.6vw, 40px); color: var(--paper); opacity: .9; }
.hero-serif i { color: var(--signal); }
.hero-foot { display: grid; grid-template-columns: minmax(0, 520px) auto; justify-content: space-between; align-items: end; gap: 32px; margin-top: clamp(28px, 4vw, 56px); padding-top: 24px; border-top: 1px solid var(--line-d); }
.hero-lede { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.75; color: #cfcabd; }
.hero-lines { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-lines a { background: rgba(15, 16, 13, .82); backdrop-filter: blur(6px); display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px 10px 12px; border-radius: 999px; border: 1px solid var(--line-d); font-size: 14px; font-weight: 600; transition: background .25s, color .25s, border-color .25s; }
.hero-lines a::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px var(--ink), 0 0 0 4px var(--c); margin-right: 3px; }
.hero-lines a:hover { background: var(--c); color: var(--ink); border-color: var(--c); }
.hero-lines a:active { transform: scale(.96); }
.hero-lines .is-soon a { border-style: dashed; color: var(--mute-d); }
.scroll-cue { position: absolute; right: var(--gutter); bottom: 150px; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--mute-d); writing-mode: vertical-rl; }
.scroll-cue-bar { width: 1px; height: 64px; background: var(--line-d); position: relative; overflow: hidden; }
.scroll-cue-bar::after { content: ''; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--signal); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

/* manifesto */
.manifesto { background: var(--paper); color: var(--ink); padding: clamp(96px, 14vw, 200px) var(--gutter); }
.manifesto-inner { max-width: 1440px; margin: 0 auto; }
.manifesto .section-tag { color: var(--mute-l); }
.manifesto-text { font-size: clamp(30px, 4.4vw, 72px); line-height: 1.24; font-weight: 700; letter-spacing: -.045em; max-width: 1280px; }
.manifesto-text .word { color: rgba(15, 16, 13, .16); transition: color .2s; }
.manifesto-text .word.is-lit { color: var(--ink); }
.manifesto-text strong { font-weight: 800; }
.manifesto-text strong .word.is-lit { color: var(--signal); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(64px, 9vw, 120px); border-top: 1px solid var(--line-l); }
.facts div { padding: 22px 20px 0 0; }
.facts div + div { padding-left: 20px; border-left: 1px solid var(--line-l); }
.facts dt { font-size: 14px; color: var(--mute-l); margin-bottom: 14px; }
.facts dd { font-size: clamp(28px, 3.4vw, 52px); font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.facts small { font-size: .45em; margin-left: 4px; font-weight: 600; }

/* lines (horizontal products) */
.lines { position: relative; background: var(--ink); }
.lines-pin { position: relative; height: 100svh; overflow: hidden; }
.lines-track { display: flex; height: 100%; width: max-content; will-change: transform; }
.panel { position: relative; flex: 0 0 auto; width: 100vw; height: 100%; padding: 110px var(--gutter) 130px; display: flex; align-items: center; }
.panel-intro { width: min(72vw, 980px); flex-direction: column; align-items: flex-start; justify-content: center; }
.panel-intro h2 { margin-bottom: 28px; }
.panel-intro-text { max-width: 460px; font-size: 18px; color: #cfcabd; line-height: 1.7; }
.panel-hint { margin-top: 48px; color: var(--signal); }
.panel-product { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 80px); align-items: center; }
.panel-product::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--line-d); }
.panel-code { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--c); margin-bottom: 24px; }
.line-chip { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 999px; background: var(--c); color: var(--ink); font-family: var(--mono); font-size: 14px; font-weight: 500; }
.panel-copy h3 { font-size: clamp(48px, 6.4vw, 108px); line-height: 1; font-weight: 800; letter-spacing: -.06em; margin-bottom: 26px; }
.panel-en { display: block; margin-top: 12px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: .36em; letter-spacing: 0; color: var(--c); }
.panel-desc { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.75; color: #cfcabd; max-width: 520px; }
.panel-facts { margin: 26px 0 34px; display: grid; gap: 0; max-width: 520px; border-top: 1px solid var(--line-d); }
.panel-facts li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-d); font-size: 15px; font-weight: 500; }
.panel-facts li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.panel-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn, .btn-ghost { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 24px; border-radius: 999px; font-size: 15px; font-weight: 700; transition: transform .25s var(--ease), background .25s, color .25s; }
.btn { background: var(--c, var(--signal)); color: var(--ink); }
.btn:hover { background: var(--paper); }
.btn-ghost { border: 1px solid var(--line-d); }
.btn-ghost:hover { border-color: var(--paper); background: var(--paper); color: var(--ink); }
.btn:active, .btn-ghost:active { transform: scale(.95); }
.panel-visual { position: relative; height: min(64vh, 640px); }
.device { position: absolute; overflow: hidden; background: var(--ink-3); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(239, 235, 226, .12); }
.device img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.device-desktop { left: 0; top: 4%; width: 86%; aspect-ratio: 16 / 10; border-radius: 12px; padding-top: 26px; }
.device-desktop::before { content: ''; position: absolute; top: 9px; left: 12px; width: 8px; height: 8px; border-radius: 50%; background: #55564c; box-shadow: 14px 0 #55564c, 28px 0 #55564c; }
.device-phone { right: 0; bottom: 0; width: 25%; aspect-ratio: 390 / 844; border-radius: 26px; border: 6px solid #2c2d26; }
.panel-visual-phone .device-phone-solo { left: 50%; right: auto; top: 50%; bottom: auto; width: auto; height: 100%; transform: translate(-50%, -50%) rotate(-4deg); border-radius: 36px; border-width: 9px; }
.panel-visual-phone::before { content: ''; position: absolute; left: 50%; top: 50%; width: 120%; height: 2px; transform: translate(-50%, -50%) rotate(-4deg); background: repeating-linear-gradient(90deg, var(--c) 0 18px, transparent 18px 30px); opacity: .5; }
.panel-visual-browser { display: grid; place-items: center; }
.mock-browser { width: min(100%, 620px); border-radius: 14px; background: var(--paper); color: var(--ink); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--paper-2); font-family: var(--mono); font-size: 12px; color: var(--mute-l); }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #c9c3b4; }
.mock-bar span { margin-left: 12px; padding: 4px 12px; border-radius: 999px; background: var(--paper); }
.mock-body { padding: 28px; display: grid; gap: 10px; }
.mock-step { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 10px; background: #fff; font-size: 15px; font-weight: 600; }
.mock-step::before { content: ''; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #c9c3b4; flex: 0 0 auto; }
.mock-step.is-done::before { border-color: var(--l4); background: var(--l4); box-shadow: inset 0 0 0 3px #fff; }
.mock-step.is-now { outline: 2px solid var(--l4); }
.mock-step.is-now::before { border-color: var(--l4); border-top-color: transparent; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.mock-ask { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; padding: 16px; border-radius: 10px; background: var(--ink); color: var(--paper); font-weight: 700; }
.mock-ask b { padding: 8px 14px; border-radius: 999px; background: var(--l4); color: var(--ink); font-size: 13px; }

.route-progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 40px; }
.route-progress-line { height: 4px; border-radius: 4px; background: var(--line-d); overflow: hidden; }
.route-progress-fill { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--l1), var(--l2) 40%, var(--l3) 70%, var(--l4)); }
.route-progress ol { position: absolute; left: 0; right: 0; top: -6px; height: 0; }
.route-progress li { white-space: nowrap; position: absolute; top: 0; left: var(--at, 0); display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; color: var(--mute-d); transform: translateX(-50%); }
.route-progress li:last-child { transform: translateX(-100%); align-items: flex-end; }
.route-progress li:last-child::before { margin-right: -2px; }
.route-progress li::before { content: ''; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); border: 3px solid var(--c); transition: background .3s, transform .3s var(--ease); }
.route-progress li.is-reached { color: var(--paper); }
.route-progress li.is-reached::before { background: var(--c); transform: scale(1.15); }
.route-bus { position: absolute; top: -9px; left: 0; width: 22px; height: 22px; border-radius: 6px; background: var(--signal); box-shadow: 0 0 24px var(--signal); transform: translateX(-50%); }

/* marquee */
.marquee { overflow: hidden; background: var(--signal); color: var(--ink); padding: 22px 0; border-block: 1px solid var(--ink); }
.marquee-row { display: flex; width: max-content; }
.marquee-set { display: flex; align-items: center; gap: 36px; padding-right: 36px; font-family: var(--serif); font-size: clamp(40px, 6vw, 92px); line-height: 1; white-space: nowrap; }
.marquee-set span:nth-child(4n+1) { font-style: italic; }
.marquee-set i { font-style: normal; font-size: .4em; }

/* work */
.work { background: var(--paper); color: var(--ink); padding: clamp(96px, 12vw, 180px) var(--gutter); }
.work .section-tag { color: var(--mute-l); }
.work-head { display: grid; grid-template-columns: 1fr minmax(0, 420px); gap: 32px 64px; align-items: end; max-width: 1440px; margin: 0 auto clamp(48px, 7vw, 96px); }
.work-head .section-tag { grid-column: 1 / -1; margin-bottom: 0; }
.work-lede { font-size: 17px; line-height: 1.75; color: var(--mute-l); }
.work-list { max-width: 1440px; margin: 0 auto; border-top: 2px solid var(--ink); }
.work-item { border-bottom: 1px solid var(--line-l); position: relative; }
.work-item::before { content: ''; position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); z-index: 0; }
.work-item:hover::before, .work-item.is-open::before { transform: scaleY(1); }
.work-item:hover, .work-item.is-open { color: var(--paper); }
.work-row { position: relative; z-index: 1; width: 100%; display: grid; grid-template-columns: 80px 1fr 56px; align-items: center; gap: 16px; padding: clamp(22px, 3vw, 40px) clamp(0px, 1.5vw, 24px); text-align: left; transition: padding .5s var(--ease); }
.work-row:active .work-name { opacity: .7; }
.work-item:hover .work-row { padding-left: clamp(12px, 3vw, 48px); }
.work-no { color: var(--signal); }
.work-name { font-size: clamp(30px, 5vw, 76px); font-weight: 800; letter-spacing: -.05em; line-height: 1.05; }
.work-plus { width: 48px; height: 48px; border-radius: 50%; border: 1px solid currentColor; position: relative; transition: transform .45s var(--ease), background .3s; }
.work-plus::before, .work-plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; background: currentColor; transform: translate(-50%, -50%); }
.work-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.work-item.is-open .work-plus { transform: rotate(135deg); background: var(--signal); border-color: var(--signal); color: var(--ink); }
.work-detail { position: relative; z-index: 1; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.work-detail > div { overflow: hidden; display: grid; grid-template-columns: 80px minmax(0, 560px) 1fr; gap: 16px; padding: 0 clamp(12px, 3vw, 48px); }
.work-detail p { grid-column: 2; font-size: 17px; line-height: 1.75; color: #cfcabd; padding-bottom: 36px; }
.work-detail ul { grid-column: 3; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px; justify-content: flex-end; padding-bottom: 36px; }
.work-detail li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-d); font-size: 14px; }
.work-item.is-open .work-detail { grid-template-rows: 1fr; }

/* method */
.method { background: var(--ink); padding: clamp(96px, 12vw, 180px) var(--gutter); overflow: hidden; }
.method-inner { max-width: 1440px; margin: 0 auto; }
.method-title { display: grid; font-size: clamp(44px, 8vw, 132px); line-height: 1.02; letter-spacing: -.06em; font-weight: 300; margin-bottom: clamp(56px, 8vw, 112px); }
.mt-row { display: block; }
.mt-row:nth-child(2) { padding-left: 8vw; }
.mt-row:nth-child(3) { padding-left: 16vw; }
.mt-row b { font-weight: 800; }
.mt-row:nth-child(1) b { color: var(--l1); }
.mt-row:nth-child(2) b { color: var(--l3); }
.mt-row:nth-child(3) b { color: var(--signal); }
.method-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.method-flow { display: grid; gap: 0; position: relative; }
.flow-node { position: relative; display: flex; align-items: center; gap: 16px; padding: 22px 24px; border: 1px solid var(--line-d); border-radius: 14px; font-size: 18px; font-weight: 700; background: var(--ink-2); }
.flow-node + .flow-node { margin-top: 28px; }
.flow-node + .flow-node::before { content: ''; position: absolute; left: 40px; top: -29px; width: 2px; height: 28px; background: repeating-linear-gradient(var(--mute-d) 0 4px, transparent 4px 8px); }
.flow-node .mono { min-width: 36px; color: var(--mute-d); }
.flow-node.is-ai { border-color: var(--l3); background: rgba(74, 130, 255, .12); }
.flow-node.is-ai .mono { color: var(--l3); }
.flow-node.is-out { background: var(--signal); color: var(--ink); border-color: var(--signal); }
.flow-node.is-out .mono { color: var(--ink); }
.flow-pulse { position: absolute; left: 36px; width: 10px; height: 10px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 16px var(--signal); top: 0; opacity: 0; }
.method-copy > p { font-size: clamp(17px, 1.35vw, 21px); line-height: 1.8; color: #cfcabd; margin-bottom: 22px; }
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 44px; background: var(--line-d); border: 1px solid var(--line-d); border-radius: 14px; overflow: hidden; }
.principles li { padding: 24px; background: var(--ink); font-size: 15px; line-height: 1.65; color: var(--mute-d); transition: background .3s; }
.principles li:hover { background: var(--ink-2); }
.principles b { display: block; margin-bottom: 8px; font-size: 17px; color: var(--paper); }

/* process */
.process { background: var(--paper-2); color: var(--ink); padding: clamp(96px, 12vw, 180px) var(--gutter); }
.process .section-tag { color: var(--mute-l); }
.process-head { max-width: 1440px; margin: 0 auto clamp(56px, 8vw, 110px); }
.process-route { position: relative; max-width: 1100px; margin: 0 auto; }
.process-svg { position: absolute; left: 50%; top: 0; width: 10px; height: 100%; transform: translateX(-50%); overflow: visible; }
.process-svg path { stroke: var(--signal); stroke-width: 6; fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.process-route::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 6px; transform: translateX(-50%); border-radius: 6px; background: rgba(15, 16, 13, .1); }
.process-stops { position: relative; display: grid; gap: clamp(56px, 8vw, 110px); padding: 20px 0; }
.process-stops li { position: relative; width: calc(50% - 64px); }
.process-stops li:nth-child(odd) { justify-self: start; text-align: right; }
.process-stops li:nth-child(even) { justify-self: end; }
.stop-dot { position: absolute; top: 4px; width: 30px; height: 30px; border-radius: 50%; background: var(--paper-2); border: 5px solid var(--ink); transition: background .3s, transform .4s var(--ease); }
.process-stops li:nth-child(odd) .stop-dot { right: -79px; }
.process-stops li:nth-child(even) .stop-dot { left: -79px; }
.process-stops li.is-reached .stop-dot { background: var(--signal); transform: scale(1.25); }
.process-stops .mono { color: var(--signal); margin-bottom: 10px; }
.process-stops h3 { font-size: clamp(26px, 3vw, 44px); line-height: 1.15; font-weight: 800; letter-spacing: -.045em; margin-bottom: 12px; }
.process-stops p:last-child { font-size: 16px; line-height: 1.75; color: var(--mute-l); }

/* contact */
.contact { background: var(--signal); color: var(--ink); padding: clamp(110px, 14vw, 220px) var(--gutter) clamp(80px, 10vw, 140px); overflow: hidden; }
.contact-inner { max-width: 1440px; margin: 0 auto; }
.contact .section-tag { color: var(--ink); }
.contact-title { font-size: clamp(48px, 9.6vw, 168px); line-height: 1; letter-spacing: -.065em; font-weight: 800; margin-bottom: clamp(48px, 7vw, 96px); }
.contact-title em { font-style: normal; font-weight: 300; letter-spacing: -.06em; }
.contact-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding-bottom: 28px; border-bottom: 2px solid var(--ink); }
.contact-mail { display: inline-flex; align-items: center; gap: 18px; font-size: clamp(28px, 4.6vw, 72px); font-weight: 700; letter-spacing: -.04em; line-height: 1.1; }
.contact-arrow { display: inline-grid; place-items: center; width: 1.1em; height: 1.1em; border-radius: 50%; background: var(--ink); color: var(--signal); font-size: .7em; transition: transform .45s var(--ease); }
.contact-mail:hover .contact-arrow { transform: rotate(45deg) scale(1.08); }
.contact-mail:active { opacity: .7; }
.copy-mail { margin-left: auto; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid var(--ink); font-size: 15px; font-weight: 700; transition: background .25s, color .25s, transform .2s; }
.copy-mail:hover { background: var(--ink); color: var(--signal); }
.copy-mail:active { transform: scale(.94); }
.contact-note { margin-top: 24px; max-width: 620px; font-size: 17px; line-height: 1.75; font-weight: 500; }

/* footer */
.site-footer { background: var(--ink); padding: 80px var(--gutter) 28px; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1fr minmax(0, 640px); gap: 48px; max-width: 1440px; margin: 0 auto; }
.footer-links { display: grid; align-content: start; gap: 8px; }
.footer-links .mono { color: var(--mute-d); margin-bottom: 8px; }
.footer-links a { font-size: 20px; font-weight: 600; width: fit-content; transition: color .2s; }
.footer-links a:hover { color: var(--signal); }
.footer-biz { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.footer-biz div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-d); font-size: 14px; }
.footer-biz dt { color: var(--mute-d); }
.footer-biz dd { text-align: right; }
.footer-word { font-family: var(--serif); font-size: clamp(110px, 25vw, 420px); line-height: .8; letter-spacing: -.04em; text-align: center; margin: 72px 0 24px; color: transparent; -webkit-text-stroke: 1px rgba(239, 235, 226, .35); transition: color .6s; user-select: none; }
.footer-word:hover { color: var(--paper); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; max-width: 1440px; margin: 0 auto; font-size: 13px; color: var(--mute-d); }
.footer-bottom a:hover { color: var(--paper); }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 160; padding: 14px 22px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 15px; font-weight: 600; box-shadow: 0 16px 40px rgba(0, 0, 0, .35); transform: translate(-50%, 140%); transition: transform .45s var(--ease); pointer-events: none; visibility: hidden; }
.toast.is-show { transform: translate(-50%, 0); visibility: visible; }

/* JS-off & reduced motion: horizontal track becomes a vertical list */
.is-static .lines-pin { height: auto; }
.is-static .lines-track { flex-direction: column; width: 100%; transform: none !important; }
.is-static .panel { width: 100%; height: auto; min-height: 0; padding-top: 96px; padding-bottom: 96px; }
.is-static .panel-product::before { left: var(--gutter); right: var(--gutter); top: 0; bottom: auto; width: auto; height: 1px; }
.is-static .route-progress { display: none; }
.is-static .manifesto-text .word { color: var(--ink); }
html:not(.js) .manifesto-text { color: var(--ink); }

@media (max-width: 1100px) {
  .nav, .clock { display: none; }
  .menu-button { display: block; }
  .header-cta { display: none; }
  .panel-product { grid-template-columns: 1fr; align-content: center; }
  .panel-visual { height: 44vh; }
  .work-head, .method-grid, .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .hero { padding-bottom: 28px; }
  .hero-top { flex-direction: column; gap: 8px; }
  .hero::after { background: linear-gradient(180deg, rgba(15, 16, 13, 0) 30%, rgba(15, 16, 13, .9) 62%); }
  .hero-foot { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts div:nth-child(n+3) { margin-top: 24px; border-top: 1px solid var(--line-l); }
  .panel { padding: 88px var(--gutter) 72px; }
  .panel-copy h3 { margin-bottom: 18px; }
  .panel-visual { height: 340px; margin-top: 8px; }
  .device-desktop { width: 92%; }
  .device-phone { width: 34%; }
  .work-row { grid-template-columns: 1fr 44px; }
  .work-no { display: none; }
  .work-plus { width: 40px; height: 40px; }
  .work-detail > div { grid-template-columns: 1fr; padding: 0 12px; }
  .work-detail p, .work-detail ul { grid-column: 1; justify-content: flex-start; }
  .work-detail p { padding-bottom: 0; }
  .principles { grid-template-columns: 1fr; }
  .mt-row:nth-child(2) { padding-left: 0; }
  .mt-row:nth-child(3) { padding-left: 0; }
  .process-route::before, .process-svg { left: 14px; }
  .process-stops li, .process-stops li:nth-child(odd), .process-stops li:nth-child(even) { width: auto; justify-self: stretch; text-align: left; padding-left: 52px; }
  .process-stops li:nth-child(odd) .stop-dot, .process-stops li:nth-child(even) .stop-dot { left: 0; right: auto; }
  .copy-mail { margin-left: 0; }
  .footer-biz { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .grain, .clock-dot, .scroll-cue-bar::after, .mock-step.is-now::before { animation: none; }
  * { transition-duration: .01ms !important; }
}
