/* ================================================================
   TA · UI Motion · VFX Portfolio — screen styles
   ================================================================ */
:root {
  --bg: #0a0c12;
  --bg-2: #10131c;
  --bg-3: #161a26;
  --line: #232838;
  --txt: #e8eaf2;
  --txt-2: #9aa1b5;
  --txt-3: #646b80;
  --crimson: #e23b4e;
  --violet: #8b5cf6;
  --gold: #f5b83d;
  --cyan: #38bdf8;
  --green: #4ade80;
  --radius: 14px;
  --font: "Pretendard Variable", "Pretendard", "Noto Sans KR", "Malgun Gothic", -apple-system, sans-serif;
  --mono: "Cascadia Code", "JetBrains Mono", Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--txt);
  font-family: var(--font);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
}
::selection { background: rgba(226, 59, 78, .45); color: #fff; }
a:focus-visible, .btn:focus-visible, button:focus-visible, canvas:focus-visible {
  outline: 2px solid var(--crimson); outline-offset: 2px;
}
html { scrollbar-color: var(--bg-3) var(--bg); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-thumb { background: var(--bg-3); border-radius: 6px; border: 3px solid var(--bg); }
::-webkit-scrollbar-track { background: var(--bg); }

a { color: var(--txt); text-decoration: underline; text-decoration-color: rgba(226, 59, 78, .45); text-underline-offset: 3px; }
a:hover { color: var(--crimson); text-decoration-color: var(--crimson); }
.nav a, .btn, .txt-link, .fx-card, .demo-card a { text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .live-dot { animation: none; }
  .fx-card, .demo-card, .btn { transition: none; }
}
img, canvas, video { max-width: 100%; display: block; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 4px;
  padding: 12px 28px;
  background: rgba(10, 12, 18, .82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .logo { font-weight: 800; letter-spacing: .04em; margin-right: auto; font-size: 15px; }
.nav .logo b { color: var(--crimson); }
.nav a {
  color: var(--txt-2); font-size: 13.5px; font-weight: 600;
  padding: 7px 13px; border-radius: 8px; transition: all .18s;
}
.nav a:hover { color: var(--txt); background: var(--bg-3); text-decoration: none; }
.nav a.active { color: var(--txt); background: var(--bg-3); }
.nav a.demo-link { color: var(--gold); border: 1px solid rgba(245, 184, 61, .35); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px 8vw 70px;
  overflow: hidden;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(139, 92, 246, .16), transparent 60%),
    radial-gradient(900px 480px at 10% 110%, rgba(226, 59, 78, .14), transparent 60%),
    var(--bg);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: .26;
  -webkit-mask-image: radial-gradient(900px 560px at 60% 40%, #000, transparent 78%);
  mask-image: radial-gradient(900px 560px at 60% 40%, #000, transparent 78%);
}
#hero-fx {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
  mask-image: linear-gradient(100deg, transparent 0%, rgba(0,0,0,.25) 40%, #000 68%);
  -webkit-mask-image: linear-gradient(100deg, transparent 0%, rgba(0,0,0,.25) 40%, #000 68%);
}
.hero-inner { position: relative; z-index: 1; }
.hero-note {
  margin-top: 30px; font-size: 13px; color: var(--txt-3); max-width: 620px;
}
.hero-note b { color: var(--txt-2); }
.txt-link {
  align-self: center; color: var(--txt-2); font-size: 14px; font-weight: 700;
  padding: 13px 8px;
}
.txt-link:hover { color: var(--txt); }
.btn.ghost-gold {
  background: transparent; border: 1px solid rgba(245, 184, 61, .45); color: var(--gold);
}
.btn.ghost-gold:hover { background: rgba(245, 184, 61, .08); border-color: var(--gold); }
.hero .eyebrow {
  color: var(--crimson); font-weight: 700; letter-spacing: .22em;
  font-size: 13px; margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(40px, 6.2vw, 84px);
  line-height: 1.08; font-weight: 900; letter-spacing: -.02em;
  margin-bottom: 22px;
  text-wrap: balance;
}
.hero h1 .grad {
  background: linear-gradient(100deg, var(--crimson), var(--violet) 55%, var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead {
  max-width: 760px; color: var(--txt-2); font-size: 17.5px; margin-bottom: 38px;
}
.hero .lead b { color: var(--txt); }

.stat-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 42px; }
.stat {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  border-top: 2px solid var(--crimson);
  padding: 16px 24px; min-width: 150px;
}
.stat .num { font-size: 30px; font-weight: 800; color: var(--txt); }
.stat .num span:first-child { color: var(--txt); }
.stat .num span + span { font-size: 17px; color: var(--txt-3); font-weight: 600; }
.stat .lbl { font-size: 12.5px; color: var(--txt-3); margin-top: 2px; letter-spacing: .02em; }

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 10px; font-weight: 700; font-size: 14.5px;
  border: 1px solid var(--line); color: var(--txt); background: var(--bg-3);
  cursor: pointer; transition: all .18s;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; border-color: var(--txt-3); }
.btn.primary { background: linear-gradient(95deg, var(--crimson), #b32a48); border: 1px solid transparent; }
.btn.primary:hover { box-shadow: 0 8px 28px rgba(226, 59, 78, .35); }
.btn.gold { background: linear-gradient(95deg, #c98f1f, var(--gold)); color: #1b1405; border: 1px solid transparent; }
.btn.gold:hover { box-shadow: 0 8px 28px rgba(245, 184, 61, .3); }

/* ---------- sections ---------- */
section { padding: 96px 8vw; }
section.alt { background: var(--bg-2); }
.sec-head { margin-bottom: 48px; max-width: 860px; }
.sec-head .tag {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .2em;
  color: var(--crimson); border: 1px solid rgba(226, 59, 78, .4);
  padding: 5px 14px; border-radius: 99px; margin-bottom: 16px;
}
.sec-head .tag.violet { color: var(--violet); border-color: rgba(139, 92, 246, .4); }
.sec-head .tag.gold { color: var(--gold); border-color: rgba(245, 184, 61, .4); }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 42px); font-weight: 850; letter-spacing: -.01em; margin-bottom: 12px; text-wrap: balance; }
.sec-head p { color: var(--txt-2); font-size: 16px; }
.sec-head p b { color: var(--txt); }

/* ---------- pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; }
.pillar {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; position: relative; overflow: hidden;
}
.pillar::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent, var(--crimson));
}
.pillar h3 { font-size: 19px; font-weight: 800; margin-bottom: 6px; }
.pillar .en { font-size: 12px; color: var(--txt-3); letter-spacing: .14em; font-weight: 700; margin-bottom: 14px; }
.pillar p { color: var(--txt-2); font-size: 14.5px; margin-bottom: 14px; }
.pillar ul { list-style: none; }
.pillar li {
  color: var(--txt-2); font-size: 13.5px; padding: 5px 0 5px 20px; position: relative;
}
.pillar li::before { content: "▸"; position: absolute; left: 2px; color: var(--accent, var(--crimson)); }
.pillar li b { color: var(--txt); }

/* ---------- fx grid & cards ---------- */
.lab-toolbar {
  display: flex; align-items: center; gap: 10px; margin-bottom: 26px; flex-wrap: wrap;
}
.lab-toolbar .hint { color: var(--txt-3); font-size: 13px; margin-right: auto; }
.speed-btn {
  background: var(--bg-3); border: 1px solid var(--line); color: var(--txt-2);
  font-family: var(--mono); font-size: 12.5px; font-weight: 700;
  padding: 7px 16px; border-radius: 8px; cursor: pointer; transition: all .15s;
}
.speed-btn:hover { color: var(--txt); }
.speed-btn.active { background: var(--crimson); border-color: var(--crimson); color: #fff; }
.badge-legend {
  display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center;
  margin: -8px 0 24px; font-size: 12.5px; color: var(--txt-3);
}
.badge-legend .fx-badge { position: static; }
.file-banner {
  position: sticky; top: 0; z-index: 200;
  background: linear-gradient(95deg, var(--crimson), #b32a48); color: #fff;
  text-align: center; padding: 10px 16px; font-size: 13.5px; font-weight: 700;
}
.file-banner.info {
  background: var(--bg-3); color: var(--txt-2);
  border-bottom: 1px solid var(--line); font-weight: 600;
}

.fx-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 16px;
}
.fx-card {
  position: relative;
  background: linear-gradient(180deg, #0d1019, #0a0c12);
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s;
}
.fx-card:hover {
  transform: translateY(-4px);
  border-color: rgba(226, 59, 78, .4);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .45);
}
.fx-card canvas {
  width: 100%; aspect-ratio: 1; cursor: pointer;
  background:
    radial-gradient(460px 260px at 50% 58%, rgba(255,255,255,.12), transparent 74%);
}
.fx-card canvas.paused { opacity: .65; }
.fx-meta { padding: 12px 14px 14px; border-top: 1px solid var(--line); }
.fx-name { display: block; font-weight: 700; font-size: 13.5px; }
.fx-sub { display: block; color: var(--txt-3); font-size: 12.5px; margin-top: 3px; font-family: var(--mono); }
.fx-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  font-size: 10.5px; font-weight: 800; letter-spacing: .1em;
  padding: 3px 9px; border-radius: 99px;
  background: rgba(10, 12, 18, .8); border: 1px solid var(--line); color: var(--txt-2);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* ---------- project blocks ---------- */
.proj-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.proj-head h3 { font-size: 26px; font-weight: 850; }
.proj-head .role-chips { display: flex; gap: 7px; flex-wrap: wrap; }
.chip {
  font-size: 11.5px; font-weight: 700; padding: 4px 12px; border-radius: 99px;
  border: 1px solid var(--line); color: var(--txt-2); background: var(--bg-3);
}
.chip.hl { color: var(--gold); border-color: rgba(245, 184, 61, .4); }
.proj-desc { color: var(--txt-2); font-size: 15px; max-width: 880px; margin-bottom: 30px; }
.proj-desc b { color: var(--txt); }

.feature-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin: 30px 0; }
.feature {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
}
.feature h4 { font-size: 15px; font-weight: 800; margin-bottom: 8px; }
.feature h4 .ico { margin-right: 7px; }
.feature p { color: var(--txt-2); font-size: 13.5px; }
.feature p code, .proj-desc code, li code {
  font-family: var(--mono); font-size: .9em; color: var(--cyan);
  background: rgba(56, 189, 248, .08); padding: 1px 6px; border-radius: 5px;
}

.sub-title { font-size: 17px; font-weight: 800; margin: 36px 0 16px; color: var(--txt); }
.sub-title span { color: var(--txt-3); font-weight: 600; font-size: 13px; margin-left: 10px; }

/* ---------- code block ---------- */
.code-wrap {
  background: #0b0e16; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; margin: 18px 0;
}
.code-wrap .code-head {
  display: flex; align-items: center; gap: 7px;
  padding: 10px 16px; border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 12px; color: var(--txt-3);
}
.code-wrap .dot { width: 10px; height: 10px; border-radius: 50%; opacity: .75; }
.code-wrap .dot.d1 { background: var(--crimson); }
.code-wrap .dot.d2 { background: var(--gold); }
.code-wrap .dot.d3 { background: var(--green); margin-right: 6px; }
.code-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 16px; }
.code-wrap pre {
  padding: 18px 20px; overflow-x: auto;
  font-family: var(--mono); font-size: 12.5px; line-height: 1.7; color: #c6cbe0;
}
.code-wrap .cm { color: #5b657f; }
.code-wrap .kw { color: #c792ea; }
.code-wrap .fn { color: #82aaff; }
.code-wrap .st { color: #c3e88d; }
.code-wrap .nm { color: #f78c6c; }

/* ---------- pipeline diagram ---------- */
.pipeline { display: flex; align-items: stretch; gap: 0; flex-wrap: wrap; margin: 26px 0; }
.pipe-node {
  flex: 1; min-width: 170px;
  background: var(--bg-3); border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 16px; position: relative; margin-right: 34px;
}
.pipe-node:last-child { margin-right: 0; }
.pipe-node::after {
  content: "→"; position: absolute; right: -26px; top: 50%; transform: translateY(-50%);
  color: var(--txt-3); font-size: 18px; font-weight: 800;
}
.pipe-node:last-child::after { display: none; }
@media (max-width: 1180px) {
  .pipeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
  .pipe-node { margin-right: 0; }
  .pipe-node::after { display: none; }
}
.pipe-node .step { font-size: 11px; font-weight: 800; letter-spacing: .14em; color: var(--violet); margin-bottom: 7px; }
.pipe-node h5 { font-size: 14px; font-weight: 800; margin-bottom: 5px; }
.pipe-node p { font-size: 12px; color: var(--txt-2); }
.pipe-node p code { font-family: var(--mono); font-size: 11px; color: var(--cyan); }

/* ---------- demo cards ---------- */
.demo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px; }
.demo-card {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.demo-card:hover {
  transform: translateY(-4px); border-color: rgba(245, 184, 61, .45);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .45);
}
.demo-card .shot { aspect-ratio: 16/9; overflow: hidden; position: relative; background: #000; }
.demo-card .shot img, .demo-card .shot video { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.demo-card:hover .shot img { transform: scale(1.03); }
.demo-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.demo-card h4 { font-size: 17px; font-weight: 800; }
.demo-card p { color: var(--txt-2); font-size: 13.5px; flex: 1; }
.demo-card .btn { align-self: flex-start; padding: 10px 20px; font-size: 13px; }
.live-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); margin-right: 7px;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .55); }
  70% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

/* ---------- reference analysis ---------- */
.ref-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.ref-card {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; position: relative; overflow: hidden;
}
.ref-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent, var(--violet));
}
.ref-card .game { font-size: 18px; font-weight: 850; margin-bottom: 3px; }
.ref-card .focus { font-size: 12px; color: var(--accent, var(--violet)); font-weight: 700; letter-spacing: .08em; margin-bottom: 16px; }
.ref-card ul { list-style: none; }
.ref-card li { color: var(--txt-2); font-size: 13.5px; padding: 6px 0 6px 20px; position: relative; }
.ref-card li::before { content: "◆"; font-size: 8px; position: absolute; left: 3px; top: 12px; color: var(--accent, var(--violet)); }
.ref-card li b { color: var(--txt); }
/* credit frames — 상용 작업 캡처 */
.credit-block {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; margin-bottom: 20px; position: relative; overflow: hidden;
}
.credit-block::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent, var(--crimson));
}
.credit-block .game { font-size: 22px; font-weight: 850; margin-bottom: 3px; }
.credit-block .focus { font-size: 12.5px; color: var(--accent, var(--crimson)); font-weight: 700; letter-spacing: .08em; }
.credit-block ul { list-style: none; margin-top: 14px; }
.credit-block li { color: var(--txt-2); font-size: 13.5px; padding: 5px 0 5px 20px; position: relative; }
.credit-block li::before { content: "◆"; font-size: 8px; position: absolute; left: 3px; top: 11px; color: var(--accent, var(--crimson)); }
.credit-block li b { color: var(--txt); }
.cb-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 18px;
}
.cb-head .yt-row { margin-top: 4px; }
.credit-gallery {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px;
  margin-bottom: 8px;
}
.credit-gallery.four { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.credit-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 8px; }
.credit-grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 14px; }
.credit-stack { display: grid; gap: 8px; margin-bottom: 14px; }
.credit-frame {
  position: relative; margin: 0; border-radius: 9px; overflow: hidden;
  border: 1px solid var(--line); background: #000;
}
.credit-frame img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.credit-frame.wide { margin-bottom: 14px; }
.credit-frame figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 10px 7px;
  background: linear-gradient(transparent, rgba(5, 6, 10, .85));
  font-size: 11px; font-weight: 700; color: #dfe3ee; letter-spacing: .02em;
}
.cf-phase {
  position: absolute; top: 7px; left: 7px; z-index: 2;
  font-size: 10px; font-weight: 800; letter-spacing: .08em;
  padding: 3px 9px; border-radius: 99px;
  background: rgba(10, 12, 18, .78); border: 1px solid var(--line); color: var(--txt-2);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.cf-phase.hot { color: #fff; background: rgba(226, 59, 78, .85); border-color: transparent; }
.cf-phase.dim { color: var(--txt-2); }
.ref-card ul { margin-top: 4px; }
.yt-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.btn.yt {
  padding: 9px 16px; font-size: 12.5px;
  background: transparent; border: 1px solid var(--line); color: var(--txt-2);
}
.btn.yt:hover { color: var(--txt); border-color: var(--accent, var(--crimson)); }

/* ---------- atlas showcase ---------- */
.atlas-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.atlas-item {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.atlas-item img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #07080d; }
.atlas-item .cap { padding: 11px 14px; font-size: 12px; color: var(--txt-2); font-family: var(--mono); }

/* ---------- gallery strip ---------- */
.shot-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 24px; }
.shot-strip figure {
  border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-3);
}
.shot-strip img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.shot-strip figcaption { font-size: 12px; color: var(--txt-3); padding: 9px 12px; font-family: var(--mono); }
.icon-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
  padding: 14px; background: #101420; border: none; border-radius: 0;
}
.icon-grid img { aspect-ratio: 1; object-fit: contain; }
.phone-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 240px)); gap: 14px;
}
.phone-strip figure {
  border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-3);
}
.phone-strip img { width: 100%; aspect-ratio: 9/17; object-fit: cover; object-position: top; display: block; }
.phone-strip figcaption { font-size: 12px; color: var(--txt-3); padding: 9px 12px; font-family: var(--mono); }
.demo-card .shot.portrait { aspect-ratio: 16/12; }

/* ---------- footer / contact ---------- */
footer {
  padding: 90px 8vw 80px; border-top: 1px solid var(--line);
  text-align: center;
  background:
    radial-gradient(700px 320px at 50% 120%, rgba(226, 59, 78, .12), transparent 65%),
    var(--bg);
}
footer .sig { font-weight: 850; font-size: 20px; margin-bottom: 18px; }
footer .sig b { color: var(--crimson); }
footer .contact-mail {
  display: inline-block;
  font-size: clamp(22px, 3.2vw, 38px); font-weight: 850; letter-spacing: -.01em;
  color: var(--txt); margin-bottom: 20px;
  border-bottom: 2px solid rgba(226, 59, 78, .5);
  padding-bottom: 4px;
}
footer .contact-mail:hover { color: var(--crimson); text-decoration: none; border-bottom-color: var(--crimson); }
footer .stack { color: var(--txt-2); font-size: 13.5px; margin-bottom: 10px; }
footer .fine { color: var(--txt-3); font-size: 12.5px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- static capture mode (?static=1) & tall windows ---------- */
html.static .reveal { opacity: 1; transform: none; transition: none; }
html.static .live-dot { animation: none; }
@media (min-height: 2200px) {
  .hero { min-height: 1000px; }
}

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  .nav { padding: 10px 14px; overflow-x: auto; }
  section { padding: 64px 6vw; }
  .hero { padding: 110px 6vw 60px; }
}
