/* ==========================================================================
   Sections
   ========================================================================== */

/* ---------- Wordmark ---------- */
.wordmark { display: inline-flex; align-items: center; gap: 12px; }
.wordmark-mark { display: grid; grid-template-columns: 9px 9px; gap: 2px; }
.wordmark-mark i { width: 9px; height: 9px; border-radius: 3px; display: block; }
.wordmark-mark i:nth-child(1) { background: var(--c-coral); }
.wordmark-mark i:nth-child(2) { background: var(--c-yellow); }
.wordmark-mark i:nth-child(3) { background: var(--c-lavender); }
.wordmark-mark i:nth-child(4) { background: var(--c-mint); }
.wordmark-text { display: flex; align-items: baseline; gap: 10px; }
.wordmark-ko { font-family: var(--font-ko); font-weight: 700; font-size: 19px; letter-spacing: -0.03em; line-height: 1; }
.wordmark-ko b { font-family: var(--font-sans); font-weight: 600; color: var(--accent); margin-left: 1px; }
.wordmark-en { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  transition: background .35s, border-color .35s, height .35s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: color-mix(in oklch, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--line);
  height: 60px;
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 14px; color: var(--ink-2); padding: 8px 14px; border-radius: 999px; transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--ink); background: var(--bg-sunk); }
.nav-links a.active { color: var(--ink); }
.nav-links a.cta { color: var(--ink); border: 1px solid var(--line-strong); margin-left: 8px; }
.nav-links a.cta:hover { border-color: var(--ink); background: transparent; }

/* time progress: yesterday → tomorrow */
.time-progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0));
  background: var(--g-dawn); opacity: 0; transition: opacity .3s; }
.scrolled .time-progress { opacity: 1; }

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; margin-right: -10px; }
.menu-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: transform .3s var(--ease-out), background .2s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease-out); }
.menu-toggle span::before { transform: translateY(-6px); }
.menu-toggle span::after { transform: translateY(6px); }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: rotate(45deg); }
.menu-open .menu-toggle span::after { transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--bg); padding: calc(var(--nav-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu ol { counter-reset: m; }
.mobile-menu li { border-bottom: 1px solid var(--line); }
.mobile-menu a { display: flex; align-items: baseline; justify-content: space-between; padding: 18px 0; font-size: 30px; letter-spacing: -0.03em; font-weight: 500; }
.mobile-menu a::after { counter-increment: m; content: "0" counter(m); font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); letter-spacing: .1em; }
.mobile-menu .mm-foot { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: var(--ink-3); text-transform: uppercase; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { min-height: 100svh; padding: calc(var(--nav-h) + clamp(40px, 7vw, 96px)) 0 0; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.hero::before { /* faint dawn wash on the tomorrow side */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(38% 42% at 92% 22%, color-mix(in oklch, var(--c-coral) 16%, transparent), transparent 70%),
    radial-gradient(34% 40% at 98% 62%, color-mix(in oklch, var(--c-yellow) 26%, transparent), transparent 70%),
    radial-gradient(40% 46% at 78% 88%, color-mix(in oklch, var(--c-mint) 16%, transparent), transparent 70%),
    radial-gradient(40% 50% at 66% 40%, color-mix(in oklch, var(--c-lavender) 12%, transparent), transparent 70%);
}
.hero-container { display: flex; flex-direction: column; flex: 1; }
.hero-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; flex: 1; position: relative; }
/* copy and visualization intentionally share column 7 — pin both to row 1 so
   they sit side by side instead of auto-placement pushing the viz to a new row */
.hero-copy { grid-column: 1 / span 7; grid-row: 1; position: relative; z-index: 2; }
.hero-viz { grid-column: 7 / -1; grid-row: 1; position: relative; aspect-ratio: 1 / 1; margin-right: calc(var(--gutter) * -0.5); }
.hero .label { margin-bottom: 32px; }
.hero-title { font-size: var(--fs-hero); line-height: .98; letter-spacing: -0.045em; font-weight: 600; white-space: pre-line; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease-out); transition-delay: var(--d, 0s); }
.is-loaded .hero-title .line > span { transform: none; }
.hero-sub { font-family: var(--font-ko); font-size: clamp(20px, 2vw, 26px); font-weight: 600; letter-spacing: -0.03em; margin-top: 28px; }
.hero-desc { font-family: var(--font-ko); font-size: var(--fs-body); line-height: 1.8; color: var(--ink-2); max-width: 33em; margin-top: 16px; text-wrap: pretty; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 40px; }
.hero-fade { opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, .5s); }
.is-loaded .hero-fade { opacity: 1; transform: none; }

/* Time axis */
.time-axis { position: relative; margin-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--line); }
.time-axis ol { display: grid; grid-template-columns: repeat(3, 1fr); }
.time-axis li { padding: 20px 0 28px; position: relative; display: flex; gap: 14px; align-items: baseline; }
.time-axis li::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--t-yesterday); }
.time-axis li:nth-child(1)::before { background: var(--c-lavender); }
.time-axis li:nth-child(2)::before { background: var(--c-coral); }
.time-axis li:nth-child(3)::before { background: var(--c-mint); box-shadow: 0 0 0 4px var(--c-mint-soft); }
.time-axis .ta-ko { font-family: var(--font-ko); font-weight: 600; font-size: 15px; }
.time-axis .ta-en { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.time-axis .ta-note { font-family: var(--font-ko); font-size: 13px; color: var(--ink-2); margin-left: auto; padding-right: 24px; }
.time-axis li:nth-child(1) .ta-ko { color: var(--ink-3); }
.time-axis li:nth-child(3) .ta-ko { color: var(--c-mint-ink); }
.time-axis .ta-fill { position: absolute; top: -1.5px; left: 0; height: 2px; width: 100%; transform-origin: 0 0; transform: scaleX(0);
  background: var(--g-dawn); transition: transform 2.4s var(--ease-in-out) .6s; }
.is-loaded .time-axis .ta-fill { transform: scaleX(1); }

@media (max-width: 900px) {
  .hero { min-height: auto; }
  /* stacked layout: let the visualization fall into its own row */
  .hero-copy { grid-column: 1 / -1; grid-row: auto; }
  .hero-viz { grid-column: 1 / -1; grid-row: auto; max-width: 520px; width: 100%; margin: 8px auto 0; }
  .time-axis .ta-note { display: none; }
  .time-axis li { flex-direction: column; gap: 2px; }
}
@media (max-width: 520px) {
  .hero-ctas .btn { flex: 1 1 100%; justify-content: space-between; }
}

/* Hero visualization */
.viz-svg { width: 100%; height: 100%; overflow: visible; }
.viz-svg .seed { fill: var(--t-yesterday); opacity: 0; animation: viz-seed 1s var(--ease-out) forwards; }
@keyframes viz-seed { to { opacity: .9; } }
.viz-svg .ring { fill: none; stroke: var(--line-strong); stroke-width: 1; }
.viz-svg .ring-dash { stroke-dasharray: 2 6; }
.viz-svg .core { fill: var(--ink); }
.viz-svg .core-halo { fill: var(--accent); opacity: .08; }
.viz-svg .core-text { fill: #fff; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; text-anchor: middle; }
.viz-svg .core-text-dim { opacity: .6; }
.viz-svg .viz-core { opacity: 0; transform: scale(.6); transform-origin: 250px 300px; transform-box: view-box;
  animation: viz-core 1.2s var(--ease-out) forwards; }
@keyframes viz-core { to { opacity: 1; transform: none; } }
.viz-svg .thread { fill: none; stroke: var(--t-yesterday); stroke-width: 1; stroke-dasharray: 1 5; opacity: 0;
  animation: viz-thread 1s var(--ease-out) forwards; }
@keyframes viz-thread { to { opacity: .6; } }
.viz-svg .branch { fill: none; stroke: var(--ink); stroke-width: 1; opacity: .35;
  stroke-dasharray: 1; stroke-dashoffset: 1; animation: viz-branch 1.4s var(--ease-out) forwards;
  transition: stroke .3s, opacity .3s; }
@keyframes viz-branch { to { stroke-dashoffset: 0; } }
.viz-svg .node { opacity: 0; transform: scale(.6); transform-box: fill-box; transform-origin: center; cursor: default;
  animation: viz-node .8s var(--ease-out) forwards; transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
@keyframes viz-node { to { opacity: 1; transform: none; } }
.viz-svg .node rect { fill: var(--surface); stroke: var(--line-strong); transition: stroke .3s, fill .3s; }
.viz-svg .node .n-dot { transition: r .3s; }
.viz-svg .node .n-title { font-family: var(--font-sans); font-size: 13px; font-weight: 600; fill: var(--ink); letter-spacing: -0.01em; }
.viz-svg .node .n-sub { font-family: var(--font-ko); font-size: 11px; fill: var(--ink-3); }
.viz-svg .viz-time { font-family: var(--font-mono); font-size: 10px; letter-spacing: 1.6; fill: var(--ink-3); }
.viz-svg .viz-time-now { fill: var(--accent); }
.viz-svg .pulse { fill: var(--accent); opacity: 0; pointer-events: none; }
.viz-svg.hovering .branch { opacity: .15; }
.viz-svg .branch.hl { opacity: 1; stroke: var(--accent); }
.viz-svg .node.hl rect { stroke: var(--accent); }

/* ---------- Who we are ---------- */
.who-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.who-grid .label { grid-column: 1 / -1; margin-bottom: 8px; }
.who-grid .h2 { grid-column: 1 / span 8; }
.who-grid .lead { grid-column: 1 / span 6; margin-top: 12px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(64px, 8vw, 112px); border-top: 1px solid var(--ink); }
.value { padding: 28px 32px 8px 0; position: relative; }
.value + .value { padding-left: 32px; border-left: 1px solid var(--line); }
.value-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 72px; }
.value-no { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); letter-spacing: .1em; }
.value h3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.025em; margin-bottom: 10px; }
.value p { font-family: var(--font-ko); color: var(--ink-2); font-size: 15.5px; line-height: 1.75; max-width: 22em; text-wrap: pretty; }
.glyph { width: 56px; height: 56px; position: relative; }
.glyph i { position: absolute; border-radius: 50%; display: block; transition: transform .8s var(--ease-out), background .4s, border-color .4s; }
/* intelligence: concentric focus */
.g-intelligence i:nth-child(1) { inset: 0; background: var(--c-lavender-soft); border: 1px solid transparent; }
.g-intelligence i:nth-child(2) { inset: 14px; border: 1px solid var(--ink-3); }
.g-intelligence i:nth-child(3) { inset: 22px; background: var(--c-lavender); }
.value:hover .g-intelligence i:nth-child(1) { transform: scale(1.12); }
/* creation: dot becomes form */
.g-creation i:nth-child(1) { width: 10px; height: 10px; left: 0; top: 23px; background: var(--c-coral-soft); border: 1px solid var(--c-coral); }
.g-creation i:nth-child(2) { width: 14px; height: 1px; left: 16px; top: 27px; background: var(--ink-3); border-radius: 0; }
.g-creation i:nth-child(3) { width: 22px; height: 22px; left: 34px; top: 17px; background: var(--c-coral); border-radius: 7px; }
.value:hover .g-creation i:nth-child(3) { transform: rotate(45deg); }
/* independence: three apart */
.g-independence i { width: 14px; height: 14px; border-radius: 4px; }
.g-independence i:nth-child(1) { left: 0; top: 34px; background: var(--c-mint); }
.g-independence i:nth-child(2) { left: 21px; top: 8px; background: var(--c-yellow); }
.g-independence i:nth-child(3) { left: 42px; top: 34px; background: var(--c-lavender); }
.value:hover .g-independence i:nth-child(1) { transform: translate(-4px, 4px); }
.value:hover .g-independence i:nth-child(2) { transform: translateY(-5px); }
.value:hover .g-independence i:nth-child(3) { transform: translate(4px, 4px); }

@media (max-width: 900px) {
  .who-grid .h2, .who-grid .lead { grid-column: 1 / -1; }
  .values { grid-template-columns: 1fr; }
  .value, .value + .value { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .value-top { margin-bottom: 28px; }
}

/* ---------- Brands ---------- */
.brands { background: var(--bg-sunk); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; }

.brand-empty { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius-l); overflow: hidden; }
.brand-empty-head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; padding: clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); }
.brand-empty-head h3 { font-family: var(--font-ko); font-size: clamp(20px, 2vw, 26px); font-weight: 600; letter-spacing: -0.03em; }
.brand-empty-head p { font-family: var(--font-ko); color: var(--ink-2); margin-top: 10px; max-width: 40em; text-wrap: pretty; }
.brand-slots { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.brand-slot { padding: clamp(24px, 3vw, 36px); min-height: 300px; display: flex; flex-direction: column; justify-content: space-between; position: relative; }
.brand-slot + .brand-slot { border-left: 1px solid var(--line); }
.slot-preview { height: 132px; border-radius: var(--radius-m); border: 1px dashed var(--line-strong); position: relative; overflow: hidden; display: grid; place-items: center;
  background: repeating-linear-gradient(135deg, transparent 0 9px, color-mix(in oklch, var(--ink) 3.5%, transparent) 9px 10px); transition: border-color .4s, background-color .4s; }
.slot-preview .mono { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--sc); color: var(--sc-ink); font-family: var(--font-mono); font-size: 18px;
  transition: transform .6s var(--ease-out), border-radius .6s var(--ease-out); }
.brand-slot:hover .mono { transform: translateY(-4px); border-radius: 26px; }
.brand-slot:hover .slot-preview { border-color: var(--sc); background-color: var(--sc-soft); }
.slot-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; }
.slot-market { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.slot-hint { font-family: var(--font-ko); color: var(--ink-2); font-size: 15px; margin-top: 8px; }
.brand-foundation { border-top: 1px solid var(--line); padding: 14px clamp(24px, 3vw, 36px); display: flex; align-items: center; gap: 14px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); background: var(--bg); }
.brand-foundation::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--ink); }
.brand-foundation .bf-line { flex: 1; height: 2px; border-radius: 2px; background: var(--g-dawn); opacity: .6; }

/* Real brand card */
.brand-card { --bc: var(--accent); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 28px; display: flex; flex-direction: column; min-height: 320px; position: relative; overflow: hidden;
  transition: transform .5s var(--ease-out), border-color .3s, box-shadow .5s var(--ease-out); }
.brand-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--bc); transform: scaleX(.12); transform-origin: 0 0; transition: transform .7s var(--ease-out); }
.brand-card:hover { transform: translateY(-4px); border-color: color-mix(in oklch, var(--bc) 40%, var(--line)); box-shadow: 0 24px 48px -28px color-mix(in oklch, var(--bc) 60%, transparent); }
.brand-card:hover::before { transform: scaleX(1); }
.brand-card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.brand-logo { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in oklch, var(--bc) 14%, white); color: var(--bc); font-weight: 700; font-size: 22px; letter-spacing: -0.04em; overflow: hidden; }
.brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.brand-card h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.03em; margin-top: auto; padding-top: 48px; }
.brand-card p { font-family: var(--font-ko); color: var(--ink-2); margin-top: 6px; text-wrap: pretty; }
.brand-card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }
.brand-card-foot .cat { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.brand-card-foot .visit { display: inline-flex; gap: 6px; align-items: center; color: var(--bc); font-weight: 500; }
.brand-card.is-sample { border-style: dashed; }

@media (max-width: 900px) {
  .brand-slots { grid-template-columns: 1fr; }
  .brand-slot { min-height: 0; }
  .brand-slot + .brand-slot { border-left: 0; border-top: 1px solid var(--line); }
  .slot-preview { height: 112px; }
  .brand-empty-head { grid-template-columns: 1fr; }
}

/* ---------- Technology (dark) ---------- */
.dark { background: var(--dark); color: var(--dark-ink); }
.tech .h2 em { color: var(--c-lavender); }
.tech-layout { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
.stack { grid-column: 1 / span 7; position: relative; display: flex; flex-direction: column; gap: 0; }
.stack-lines { position: absolute; inset: 0; pointer-events: none; overflow: visible; z-index: 0; }
.stack-lines path { fill: none; stroke: var(--dark-line); stroke-width: 1; transition: stroke .3s, opacity .3s; }
.stack-lines path.hl { stroke: color-mix(in oklch, var(--accent) 85%, white); }
.layer { position: relative; z-index: 1; border-radius: var(--radius-m); padding: 18px; text-align: left; width: 100%; cursor: pointer; transition: background .3s, border-color .3s; border: 1px solid var(--dark-line); }
.layer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 12px; }
.layer-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--dark-ink-2); }
.layer-name { font-size: 14px; font-weight: 500; color: var(--dark-ink); }
.layer:hover, .layer.active { border-color: color-mix(in oklch, var(--accent) 60%, var(--dark-line)); }
.layer.active { background: color-mix(in oklch, var(--accent) 8%, var(--dark)); }
.layer-gap { height: 56px; }

.svc-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.svc { height: 64px; border-radius: 10px; border: 1px dashed #3A404C; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 12px; color: var(--dark-ink-2); letter-spacing: .06em; transition: border-color .3s, color .3s; }
.svc:last-child { border-style: dotted; }
.svc.hl { border-color: color-mix(in oklch, var(--accent) 85%, white); color: var(--dark-ink); }

.mod-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.mod { height: 72px; border-radius: 10px; background: var(--dark-2); border: 1px solid var(--dark-line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; transition: background .3s, border-color .3s, transform .3s var(--ease-out); cursor: pointer; }
.mod .m-en { font-size: 13.5px; font-weight: 500; color: var(--dark-ink); }
.mod .m-ko { font-family: var(--font-ko); font-size: 11.5px; color: var(--dark-ink-2); }
.mod:hover { border-color: #4A5160; }
.mod:nth-child(1) { --mc: var(--c-lavender); }
.mod:nth-child(2) { --mc: var(--c-coral); }
.mod:nth-child(3) { --mc: var(--c-yellow); }
.mod:nth-child(4) { --mc: var(--c-mint); }
.mod:nth-child(5) { --mc: #B7B2EA; }
.mod.active { background: var(--mc); border-color: var(--mc); transform: translateY(-2px); }
.mod.active .m-en { color: var(--dark); }
.mod.active .m-ko { color: rgba(20, 23, 29, .65); }

.foundation-bar { height: 64px; border-radius: 10px; background: linear-gradient(90deg, #232833, #2C3240); display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 14px; color: var(--dark-ink); letter-spacing: -0.005em; border: 1px solid #343A47; }
.foundation-bar::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--dark-ink); }

.tech-detail { grid-column: 9 / -1; position: sticky; top: calc(var(--nav-h) + 32px); border-top: 1px solid var(--dark-line); padding-top: 24px; }
.td-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: color-mix(in oklch, var(--accent) 70%, white); }
.td-title { font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; margin-top: 14px; }
.td-ko { font-family: var(--font-ko); color: var(--dark-ink-2); margin-top: 6px; font-size: 15px; }
.td-desc { font-family: var(--font-ko); color: var(--dark-ink); opacity: .86; margin-top: 24px; line-height: 1.8; text-wrap: pretty; min-height: 7.2em; }
.td-swap { transition: opacity .3s, transform .3s var(--ease-out); }
.td-swap.out { opacity: 0; transform: translateY(6px); }
.td-hint { font-family: var(--font-ko); font-size: 13px; color: var(--dark-ink-2); margin-top: 28px; display: flex; gap: 8px; align-items: center; }
.td-note { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--dark-line); font-family: var(--font-ko); font-size: 13px; line-height: 1.7; color: var(--dark-ink-2); display: grid; grid-template-columns: auto 1fr; gap: 12px; }
.td-note .pill { border-color: #3A404C; color: var(--dark-ink-2); }

@media (max-width: 1000px) {
  .stack { grid-column: 1 / -1; }
  .tech-detail { grid-column: 1 / -1; position: static; margin-top: 32px; }
}
@media (max-width: 600px) {
  .mod-row { grid-template-columns: repeat(3, 1fr); }
  .svc-row { grid-template-columns: repeat(2, 1fr); }
  .layer-gap { height: 40px; }
  .td-note { grid-template-columns: 1fr; }
}

/* ---------- Vision ---------- */
.vision-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.vision-grid > .label { grid-column: 1 / -1; }
.vision-grid .h2 { grid-column: 1 / span 8; }
.vision-copy { grid-column: 1 / span 7; display: grid; gap: 14px; margin-top: 12px; }
.vision-copy .lead:first-child { color: var(--ink); }
.steps-outer { position: relative; margin-top: clamp(64px, 8vw, 112px); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.steps-track { position: absolute; top: 9px; left: 0; right: 0; height: 2px; }
.steps-track .solid { position: absolute; left: 0; top: 0; height: 2px; width: 50%; background: linear-gradient(90deg, var(--c-coral), var(--c-mint)); transform-origin: 0 0; transform: scaleX(0); transition: transform 1.6s var(--ease-in-out); }
.steps-track .future { position: absolute; left: 50%; right: 0; top: 0; height: 2px; background-image: linear-gradient(90deg, var(--accent) 0 4px, transparent 4px 10px); background-size: 10px 2px; opacity: 0; transition: opacity 1s .9s; }
.steps-outer.in .steps-track .solid { transform: scaleX(1); }
.steps-outer.in .steps-track .future { opacity: .5; }
.step { position: relative; padding-right: 32px; }
.step-node { width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 2px solid var(--ink); position: relative; z-index: 1; }
.step-1 .step-node { border-color: var(--c-coral); background: var(--c-coral); }
.step-2 .step-node { border-color: var(--c-mint); background: var(--c-mint); }
.step-3 .step-node { border: 2px dashed var(--accent); }
.step-stage { display: flex; gap: 10px; align-items: center; margin-top: 28px; }
.step-word { font-size: clamp(44px, 5.6vw, 76px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; margin-top: 20px; }
.step.future .step-word { color: transparent; -webkit-text-stroke: 1.2px var(--accent); }
.step-ko { font-family: var(--font-ko); font-weight: 600; font-size: 17px; letter-spacing: -0.02em; margin-top: 18px; text-wrap: pretty; max-width: 18em; }
.step-desc { font-family: var(--font-ko); color: var(--ink-2); font-size: 15px; line-height: 1.75; margin-top: 10px; text-wrap: pretty; max-width: 22em; }
.step-futurenote { font-family: var(--font-ko); font-size: 13px; color: var(--accent-ink); margin-top: 16px; display: flex; gap: 8px; align-items: center; }
.step-futurenote::before { content: ""; width: 14px; height: 1px; border-top: 1px dashed var(--accent); }

@media (max-width: 900px) {
  .vision-grid .h2, .vision-copy { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; gap: 48px; padding-left: 40px; }
  .steps-track { top: 0; bottom: 0; left: 9px; right: auto; width: 2px; height: auto; }
  .steps-track .solid { width: 2px; height: 62%; transform: scaleY(0); }
  .steps-outer.in .steps-track .solid { transform: scaleY(1); }
  .steps-track .future { left: 0; top: 62%; right: auto; bottom: 0; width: 2px; height: auto; background-image: linear-gradient(180deg, var(--accent) 0 4px, transparent 4px 10px); background-size: 2px 10px; }
  .step-node { position: absolute; left: -40px; top: 0; }
  .step-stage { margin-top: 0; }
}

/* ---------- Why Naeil (dark → dawn) ---------- */
.why { padding-bottom: 0; overflow: hidden; }
.why-inner { position: relative; z-index: 1; }
.why-seq { margin-top: clamp(40px, 6vw, 72px); }
.why-row { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 24px; border-bottom: 1px solid var(--dark-line); padding: clamp(6px, 1vw, 12px) 0; }
.why-word { font-size: clamp(56px, 12.5vw, 184px); font-weight: 600; letter-spacing: -0.06em; line-height: .96; color: #2A2F39; transition: color .9s var(--ease-out); }
.why-row .why-ko { font-family: var(--font-ko); font-size: clamp(14px, 1.4vw, 18px); color: #3A404C; transition: color .9s var(--ease-out); white-space: nowrap; }
.why-row.lit:nth-child(1) .why-word { color: #5C626D; }
.why-row.lit:nth-child(2) .why-word { color: var(--dark-ink); }
.why-row.lit:nth-child(3) .why-word { color: transparent; background: linear-gradient(90deg, var(--c-coral), var(--c-yellow) 45%, var(--c-mint)); -webkit-background-clip: text; background-clip: text; }
.why-row.lit .why-ko { color: var(--dark-ink-2); }
.why-statement { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; margin-top: clamp(80px, 10vw, 140px); padding-bottom: clamp(120px, 16vw, 220px); }
.why-statement .h2 { grid-column: 1 / span 6; }
.why-statement .h2 em { color: var(--c-yellow); }
.why-body { grid-column: 8 / -1; display: grid; gap: 18px; font-family: var(--font-ko); font-size: var(--fs-lead); line-height: 1.8; color: var(--dark-ink-2); text-wrap: pretty; }
.why-body p:first-child { color: var(--dark-ink); }
.why-dawn { position: relative; height: clamp(160px, 22vw, 280px); margin-top: -1px;
  background: linear-gradient(180deg, var(--dark) 0%, color-mix(in oklch, var(--dark) 55%, var(--c-lavender)) 30%, color-mix(in oklch, var(--c-coral) 55%, var(--bg)) 56%, color-mix(in oklch, var(--c-yellow) 40%, var(--bg)) 78%, var(--bg) 100%); }
.why-dawn::after { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 50%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); }
@media (max-width: 900px) {
  .why-statement .h2, .why-body { grid-column: 1 / -1; }
  .why-row { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
  .why-row .why-ko { white-space: normal; }
}

/* ---------- Contact ---------- */
.contact { padding-top: clamp(40px, 6vw, 80px); }
.contact-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.contact-intro { grid-column: 1 / span 5; }
.contact-intro .h2 { margin-top: 24px; }
.contact-intro .lead { margin-top: 20px; }
.contact-main { grid-column: 7 / -1; }
.contact-cats { border-top: 1px solid var(--ink); }
.ccat { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.ccat h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.ccat h3 small { font-family: var(--font-ko); font-size: 13px; color: var(--ink-3); font-weight: 400; }
.ccat p { font-family: var(--font-ko); color: var(--ink-2); font-size: 14.5px; grid-column: 1; }
.ccat .ccat-action { grid-row: 1 / span 2; grid-column: 2; align-self: center; }
.ccat a.mail { display: inline-flex; gap: 8px; align-items: center; font-weight: 500; color: var(--accent-ink); font-size: 15px; }
.ccat a.mail:hover { text-decoration: underline; text-underline-offset: 4px; }

.cform { margin-top: 40px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius-l); padding: clamp(22px, 3vw, 32px); }
.cform-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; gap: 12px; }
.cform-head h3 { font-family: var(--font-ko); font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.cform fieldset { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cform fieldset:disabled { opacity: .55; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-ko); font-size: 13px; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font: inherit; font-family: var(--font-ko); font-size: 15px; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%; transition: border-color .2s, background .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--surface); }
.cform-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 20px; flex-wrap: wrap; }
.cform-note { font-family: var(--font-ko); font-size: 13px; color: var(--ink-2); flex: 1 1 260px; display: flex; gap: 10px; align-items: flex-start; line-height: 1.6; }
.cform-note::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); margin-top: .55em; }
.cform-status { font-family: var(--font-ko); font-size: 14px; margin-top: 14px; }
.cform-status.ok { color: #2F7A55; }
.cform-status.err { color: #B4443A; }

@media (max-width: 900px) {
  .contact-intro, .contact-main { grid-column: 1 / -1; }
  .contact-main { margin-top: 24px; }
  .cform fieldset { grid-template-columns: 1fr; }
  .ccat { grid-template-columns: 1fr; }
  .ccat .ccat-action { grid-row: auto; grid-column: 1; margin-top: 6px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--dark-ink); padding: clamp(64px, 8vw, 96px) 0 32px; margin-top: var(--section-y); }
.site-footer .wordmark-en { color: var(--dark-ink-2); }

.foot-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px 24px; }
.foot-brand { grid-column: 1 / span 5; }
.foot-brand p { font-family: var(--font-ko); color: var(--dark-ink-2); margin-top: 20px; max-width: 26em; font-size: 15px; text-wrap: pretty; }
.foot-col { grid-column: span 3; }
.foot-col:first-of-type { grid-column: 7 / span 2; }
.foot-col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dark-ink-2); font-weight: 500; margin-bottom: 16px; }
.foot-col li + li { margin-top: 8px; }
.foot-col a { font-size: 14px; color: var(--dark-ink); opacity: .85; transition: opacity .2s; }
.foot-col a:hover { opacity: 1; }
.foot-col dl { margin: 0; display: grid; gap: 8px; font-family: var(--font-ko); font-size: 13.5px; }
.foot-col dt { color: var(--dark-ink-2); }
.foot-col .pending { font-family: var(--font-ko); font-size: 13.5px; color: var(--dark-ink-2); line-height: 1.6; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: clamp(56px, 8vw, 96px); padding-top: 24px; border-top: 1px solid var(--dark-line); font-size: 13px; color: var(--dark-ink-2); }
.foot-legal { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; font-family: var(--font-ko); }
.foot-legal .soon { display: inline-flex; gap: 8px; align-items: center; cursor: default; }
.foot-legal .soon em { font-style: normal; font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; border: 1px solid var(--dark-line); padding: 2px 6px; border-radius: 999px; }
.to-top { display: inline-flex; gap: 8px; align-items: center; color: var(--dark-ink); }
@media (max-width: 900px) {
  .foot-brand { grid-column: 1 / -1; }
  .foot-col, .foot-col:first-of-type { grid-column: span 6; }
}
@media (max-width: 520px) {
  .foot-col, .foot-col:first-of-type { grid-column: 1 / -1; }
}

/* Reduced motion: everything visible in final state */
@media (prefers-reduced-motion: reduce) {
  .viz-svg .seed { opacity: .9; animation: none; }
  .viz-svg .thread { opacity: .6; animation: none; }
  .viz-svg .branch { stroke-dashoffset: 0; animation: none; }
  .viz-svg .viz-core { opacity: 1; transform: none; animation: none; }
  .viz-svg .node { opacity: 1; transform: none; animation: none; }
  .steps-track .solid { transform: scaleX(1); }
  .steps-track .future { opacity: .5; }
  .why-row .why-word { transition: none; }
}
