:root {
  color-scheme: dark;
  --bg: #06080d;
  --panel: #0d121b;
  --panel-2: #121a26;
  --ink: #f5f7fb;
  --muted: #9aa7b8;
  --soft: #66748a;
  --line: rgba(203, 213, 225, 0.17);
  --accent: #4ea1ff;
  --accent-2: #7dd3fc;
  --green: #22c55e;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 82% 8%, rgba(78, 161, 255, 0.16), transparent 28%),
    radial-gradient(circle at 10% 90%, rgba(34, 197, 94, 0.08), transparent 26%),
    var(--bg);
  color: var(--ink);
  font-family: Inter, "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  word-break: keep-all;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.topbar {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  height: 64px;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 8, 13, 0.84);
  backdrop-filter: blur(18px);
}

.brand {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--bg);
  font-size: 13px;
  font-weight: 800;
}

.section-nav {
  display: flex;
  gap: 18px;
  min-width: 0;
}

.section-nav a,
.progress-count {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.section-nav a:hover {
  color: var(--ink);
}

.deck {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 1680px);
  margin: 0 auto;
  padding: 92px 28px 28px;
}

.slide {
  position: relative;
  display: grid;
  width: min(100%, calc((100vh - 120px) * 16 / 9));
  aspect-ratio: 16 / 9;
  margin-bottom: 28px;
  padding: clamp(34px, 4vw, 64px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(78, 161, 255, 0.09), transparent 36%),
    linear-gradient(315deg, rgba(125, 211, 252, 0.06), transparent 34%),
    var(--panel);
  box-shadow: var(--shadow);
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: 0.65;
  pointer-events: none;
}

.slide > * {
  position: relative;
  z-index: 1;
}

.slide.is-active {
  border-color: rgba(78, 161, 255, 0.56);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(76px, 10vw, 148px);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(44px, 5.8vw, 92px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 span {
  display: block;
  color: var(--accent);
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(24px, 2.3vw, 38px);
  line-height: 1.05;
}

p {
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.55;
}

.title-slide {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: clamp(36px, 6vw, 92px);
  align-items: center;
}

.title-copy {
  max-width: 980px;
}

.role {
  margin-bottom: 30px;
  color: var(--accent);
  font-size: clamp(30px, 3.6vw, 58px);
  font-weight: 800;
  line-height: 1;
}

.lead {
  max-width: 850px;
  margin-bottom: 34px;
  color: var(--ink);
  font-size: clamp(22px, 2.1vw, 34px);
  font-weight: 700;
  line-height: 1.36;
}

.title-links,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.title-links a,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(125, 211, 252, 0.25);
  border-radius: 8px;
  background: rgba(3, 7, 18, 0.52);
  color: var(--accent-2);
  font-size: 14px;
  font-weight: 800;
}

.portrait {
  justify-self: center;
  width: min(100%, 470px);
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(203, 213, 225, 0.24);
  border-radius: 12px;
  background: #111827;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.36);
}

.portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 26%;
}

.overview-slide {
  grid-template-rows: auto 1fr;
  gap: 12px;
  align-content: stretch;
}

.overview-heading,
.slide-heading {
  max-width: 1120px;
}

.overview-heading h2 {
  max-width: 980px;
  margin-bottom: 0;
  font-size: clamp(20px, 2vw, 34px);
  line-height: 1.16;
}

.slide-heading p:last-child {
  max-width: 850px;
}

.overview-board {
  display: grid;
  grid-template-columns: 0.9fr 1.15fr 1.25fr;
  grid-template-rows: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 10px;
  height: 100%;
  min-height: 0;
}

.overview-panel {
  min-width: 0;
  min-height: 0;
  padding: clamp(12px, 1.05vw, 18px);
  overflow: hidden;
  border: 1px solid rgba(203, 213, 225, 0.15);
  border-radius: 10px;
  background: rgba(3, 7, 18, 0.48);
}

.overview-panel small {
  display: block;
  margin-bottom: 7px;
  color: var(--accent-2);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.overview-panel h3 {
  margin-bottom: 9px;
  font-size: clamp(22px, 2.2vw, 34px);
}

.profile-head {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.profile-head img {
  display: block;
  width: 72px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 26%;
  border: 1px solid rgba(203, 213, 225, 0.2);
  border-radius: 8px;
  background: #111827;
}

.profile-head h3 {
  margin: 0;
}

.profile-panel {
  grid-row: 1 / 3;
}

.stack-panel {
  grid-column: 2 / 4;
}

.evidence-panel {
  grid-column: 2 / 3;
}

.projects-panel {
  grid-column: 3 / 4;
}

.profile-panel dl {
  display: grid;
  gap: 6px;
  margin: 0;
}

.profile-panel dl div {
  min-width: 0;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(203, 213, 225, 0.1);
}

.profile-panel dt {
  margin-bottom: 2px;
  color: var(--soft);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.profile-panel dd {
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: clamp(11px, 0.9vw, 14px);
  font-weight: 800;
  line-height: 1.28;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stack-list,
.evidence-list {
  display: grid;
  gap: 7px;
}

.stack-list div,
.evidence-list article,
.project-mini-grid article {
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid rgba(203, 213, 225, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.stack-list strong,
.evidence-list strong,
.project-mini-grid strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: clamp(11px, 0.9vw, 14px);
  line-height: 1.18;
}

.stack-list span,
.evidence-list span,
.project-mini-grid span {
  display: block;
  color: var(--muted);
  font-size: clamp(10px, 0.78vw, 12px);
  line-height: 1.32;
}

.project-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.case-grid article,
.project-map article {
  border: 1px solid rgba(203, 213, 225, 0.15);
  border-radius: 10px;
  background: rgba(3, 7, 18, 0.48);
}

.case-grid small,
.project-map small,
.system-metrics span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.project-slide {
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}

.project-copy {
  align-self: center;
}

.lostark-slide {
  grid-template-columns: 1fr;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 18px;
}

.project-headline {
  min-width: 0;
}

.project-headline .eyebrow {
  margin-bottom: 8px;
}

.lostark-body {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(22px, 3.2vw, 46px);
  align-items: center;
  min-height: 0;
}

.lostark-slide .project-headline h2 {
  margin-bottom: 0;
  overflow: hidden;
  font-size: clamp(32px, 4.1vw, 64px);
  line-height: 1.02;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lostark-slide .claim {
  margin-bottom: 22px;
  font-size: clamp(20px, 1.85vw, 30px);
}

.lostark-slide .case-grid {
  gap: 10px;
  margin-bottom: 18px;
}

.lostark-slide .case-grid article {
  padding: 15px 17px;
}

.claim {
  max-width: 760px;
  margin-bottom: 30px;
  color: var(--ink);
  font-size: clamp(23px, 2.2vw, 36px);
  font-weight: 800;
  line-height: 1.24;
}

.case-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.case-grid article {
  padding: 18px 20px;
}

.case-grid p {
  margin: 0;
  font-size: clamp(15px, 1.15vw, 18px);
}

.screen-preview {
  align-self: center;
  justify-self: center;
  width: min(100%, 680px);
  max-width: 100%;
  aspect-ratio: 1.51 / 1;
  min-height: 0;
  max-height: calc(100% - 20px);
  margin: 0 0 20px;
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 12px;
  background: #030712;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(203, 213, 225, 0.14);
  background: rgba(6, 8, 13, 0.96);
}

.window-bar i {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(125, 211, 252, 0.52);
}

.window-bar strong {
  overflow: hidden;
  margin-left: 8px;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.screen-preview img {
  display: block;
  width: 100%;
  height: calc(100% - 40px);
  min-height: 0;
  object-fit: contain;
  object-position: top center;
  background: #090d14;
}

.architecture-slide {
  grid-template-rows: auto auto;
  align-content: center;
  gap: 18px;
}

.architecture-heading h2 {
  max-width: 1120px;
  margin-bottom: 0;
  font-size: clamp(28px, 3.25vw, 52px);
  line-height: 1.02;
}

.architecture-clean {
  position: relative;
  align-self: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 12px;
  min-height: 0;
  height: fit-content;
}

.architecture-flow {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) 112px minmax(0, 0.88fr) 112px minmax(0, 0.78fr);
  gap: 12px;
  min-height: 0;
}

.arch-column {
  display: grid;
  grid-template-rows: auto auto;
  gap: 9px;
  min-height: 0;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 16px;
  background:
    linear-gradient(rgba(148, 163, 184, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.026) 1px, transparent 1px),
    rgba(3, 7, 18, 0.42);
  background-size: 24px 24px;
}

.arch-column header {
  color: rgba(125, 211, 252, 0.82);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.arch-stack {
  display: grid;
  grid-template-rows: repeat(5, minmax(0, auto));
  gap: 5px;
  align-content: start;
  min-height: 0;
}

.compact-stack {
  grid-template-rows: repeat(4, minmax(0, auto));
}

.arch-stack article {
  min-width: 0;
  padding: 7px 10px;
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 10px;
  background: rgba(13, 18, 27, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.arch-stack article.focus {
  border-color: rgba(78, 161, 255, 0.42);
  background: linear-gradient(135deg, rgba(78, 161, 255, 0.13), rgba(13, 18, 27, 0.92));
}

.arch-stack article.green {
  border-color: rgba(34, 197, 94, 0.4);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(13, 18, 27, 0.92));
}

.arch-stack strong {
  display: block;
  color: var(--ink);
  font-size: clamp(12px, 1vw, 15px);
  line-height: 1.18;
}

.arch-stack span {
  display: block;
  margin-top: 3px;
  color: rgba(154, 167, 184, 0.82);
  font-size: clamp(10px, 0.78vw, 12px);
  line-height: 1.32;
}

.node-note {
  margin: 9px -3px -2px;
  padding: 9px 9px 2px;
  border-top: 1px solid rgba(125, 211, 252, 0.3);
  border-radius: 0 0 8px 8px;
  background: rgba(125, 211, 252, 0.07);
  color: rgba(241, 245, 249, 0.94);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.38;
}

.node-note b {
  display: inline-block;
  margin-right: 7px;
  color: #7dd3fc;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.arch-stack i {
  display: grid;
  place-items: center;
  min-height: 10px;
  color: rgba(125, 211, 252, 0.82);
  font-size: 20px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
}

.arch-transfer {
  display: grid;
  gap: 10px;
  align-content: center;
  min-height: 0;
}

.arch-transfer div {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  align-items: center;
  min-height: 42px;
  padding: 0 4px;
  background: transparent;
}

.arch-transfer div::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 12px;
  height: 2px;
  background: linear-gradient(90deg, rgba(125, 211, 252, 0.12), rgba(125, 211, 252, 0.74));
  transform: translateY(-50%);
}

.arch-transfer div::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 12px solid rgba(125, 211, 252, 0.74);
  transform: translateY(-50%);
}

.arch-transfer div.reverse::before {
  left: 12px;
  right: 0;
  background: linear-gradient(270deg, rgba(125, 211, 252, 0.12), rgba(125, 211, 252, 0.74));
}

.arch-transfer div.reverse::after {
  left: 0;
  right: auto;
  border-left: 0;
  border-right: 12px solid rgba(125, 211, 252, 0.74);
}

.arch-transfer div.bidir::before {
  left: 12px;
  right: 12px;
  background: rgba(125, 211, 252, 0.56);
}

.arch-transfer div.bidir::after {
  right: 0;
  border-left-color: rgba(125, 211, 252, 0.7);
}

.arch-transfer div.bidir em::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -2px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-right: 12px solid rgba(125, 211, 252, 0.7);
  transform: translateY(-50%);
}

.arch-transfer span {
  position: relative;
  justify-self: center;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(6, 8, 13, 0.88);
  color: rgba(125, 211, 252, 0.72);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.arch-transfer strong {
  position: relative;
  justify-self: center;
  padding: 4px 7px;
  border: 1px solid rgba(125, 211, 252, 0.16);
  border-radius: 999px;
  background: rgba(6, 8, 13, 0.9);
  color: var(--ink);
  font-size: 11px;
  line-height: 1.15;
}

.arch-transfer em {
  position: absolute;
  top: 50%;
  right: 0;
  z-index: 1;
  width: 100%;
  height: 0;
  overflow: visible;
  color: transparent;
  font-size: 0;
  font-style: normal;
  transform: translateY(-50%);
}

.data-transfer em {
  color: rgba(34, 197, 94, 0.78);
}

.realtime-slide {
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(24px, 3.4vw, 48px);
  background:
    linear-gradient(135deg, rgba(34, 197, 94, 0.09), transparent 36%),
    linear-gradient(315deg, rgba(78, 161, 255, 0.08), transparent 34%),
    var(--panel);
}

.achievement-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin: 2px 0 18px;
  padding: 9px 12px;
  border: 1px solid rgba(251, 191, 36, 0.36);
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.1);
  box-shadow: 0 16px 44px rgba(251, 191, 36, 0.08);
}

.achievement-line span {
  color: rgba(226, 232, 240, 0.78);
  font-size: 13px;
  font-weight: 800;
}

.achievement-line strong {
  color: #fde68a;
  font-size: clamp(18px, 1.6vw, 26px);
  line-height: 1;
}

.realtime-slide .claim {
  margin-bottom: 18px;
  font-size: clamp(21px, 1.85vw, 30px);
}

.realtime-slide .case-grid {
  gap: 10px;
  margin-bottom: 0;
}

.realtime-slide .case-grid article {
  padding: 14px 16px;
}

.realtime-slide .case-grid p {
  font-size: clamp(14px, 1.02vw, 16px);
  line-height: 1.42;
}

.realtime-visual {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 14px;
  align-self: center;
  min-height: 0;
  max-height: 100%;
}

.arcade-shot {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(203, 213, 225, 0.16);
  border-radius: 14px;
  background: #06080d;
  box-shadow: 0 28px 76px rgba(0, 0, 0, 0.36);
}

.arcade-shot img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 470px;
  object-fit: cover;
  object-position: center;
}

.system-board {
  display: grid;
  grid-template-rows: 1fr 16px 1fr 1fr 16px 1fr auto;
  gap: 12px;
  align-self: center;
}

.system-node {
  display: grid;
  place-items: center;
  min-height: 76px;
  border: 1px solid rgba(203, 213, 225, 0.15);
  border-radius: 10px;
  background: rgba(3, 7, 18, 0.54);
  color: var(--ink);
  font-size: clamp(20px, 2vw, 34px);
  font-weight: 800;
}

.system-node.primary {
  border-color: rgba(34, 197, 94, 0.35);
  color: #bbf7d0;
}

.system-line {
  justify-self: center;
  width: 2px;
  height: 100%;
  background: rgba(125, 211, 252, 0.32);
}

.system-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.system-metrics div {
  padding: 12px 14px;
  border: 1px solid rgba(203, 213, 225, 0.14);
  border-radius: 10px;
  background: rgba(3, 7, 18, 0.5);
}

.system-metrics strong {
  color: var(--ink);
  font-size: 15px;
}

.loadbalance-slide {
  grid-template-rows: auto minmax(0, 1fr);
  gap: 22px;
}

.loadbalance-slide .slide-heading h2 {
  max-width: 1120px;
  font-size: clamp(30px, 3.2vw, 52px);
  line-height: 1.12;
}

.loadbalance-slide .slide-heading p:not(.eyebrow) {
  max-width: 980px;
}

.loadbalance-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 22px;
  min-height: 0;
}

.load-shot {
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 14px;
  background: #090d14;
  box-shadow: 0 26px 72px rgba(0, 0, 0, 0.34);
}

.load-shot img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: top center;
}

.load-notes article {
  border: 1px solid rgba(203, 213, 225, 0.14);
  border-radius: 12px;
  background: rgba(8, 13, 22, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.load-notes {
  display: grid;
  gap: 12px;
  min-height: 0;
}

.load-notes article {
  padding: 17px 18px;
}

.load-notes small {
  display: block;
  margin-bottom: 8px;
  color: rgba(125, 211, 252, 0.82);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.load-notes strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: clamp(18px, 1.55vw, 26px);
  line-height: 1.12;
}

.load-notes p {
  margin: 0;
  color: rgba(154, 167, 184, 0.86);
  font-size: 14px;
  line-height: 1.48;
}

.projects-slide {
  grid-template-rows: auto 1fr;
  gap: 30px;
}

.projects-slide .slide-heading h2 {
  max-width: 1080px;
  font-size: clamp(30px, 3.3vw, 52px);
  line-height: 1.12;
}

.project-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.project-map article {
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.project-map h3 {
  font-size: clamp(22px, 2vw, 32px);
}

.project-map p {
  margin: 0;
  font-size: clamp(14px, 1.02vw, 16px);
  line-height: 1.55;
}

.contact-slide {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
}

.contact-main {
  max-width: 940px;
}

.contact-main h2 {
  max-width: 920px;
}

.contact-card {
  display: grid;
  gap: 12px;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 12px;
  background: rgba(3, 7, 18, 0.62);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.contact-card strong {
  color: var(--ink);
  font-size: 42px;
  line-height: 1;
}

.contact-card span {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 20px;
  font-weight: 800;
}

.contact-card a,
.contact-card button {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(203, 213, 225, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.contact-card button {
  justify-content: center;
  margin-top: 12px;
  border-color: rgba(78, 161, 255, 0.42);
  background: var(--accent);
  color: #03111f;
  cursor: pointer;
}

.progress {
  position: fixed;
  z-index: 60;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: rgba(255, 255, 255, 0.11);
}

.progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--green));
  transition: width 160ms ease;
}

@media (max-width: 1100px) {
  .overview-board,
  .project-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-panel,
  .stack-panel,
  .evidence-panel,
  .projects-panel {
    grid-column: auto;
    grid-row: auto;
  }

  .project-slide,
  .contact-slide,
  .title-slide {
    grid-template-columns: 1fr;
  }

  .lostark-body {
    grid-template-columns: 1fr;
  }

  .loadbalance-layout {
    grid-template-columns: 1fr;
  }

  .project-map article {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .topbar {
    grid-template-columns: auto 1fr;
    padding: 0 16px;
  }

  .section-nav {
    display: none;
  }

  .progress-count {
    justify-self: end;
  }

  .deck {
    padding: 82px 14px 18px;
  }

  .slide {
    width: 100%;
    aspect-ratio: 16 / 9;
    padding: 28px 20px;
    margin-bottom: 18px;
  }

  h1 {
    font-size: clamp(58px, 18vw, 92px);
  }

  h2 {
    font-size: clamp(36px, 12vw, 58px);
  }

  .lead,
  .claim {
    font-size: 21px;
  }

  .overview-board,
  .architecture-clean,
  .architecture-flow,
  .loadbalance-layout,
  .project-map,
  .system-metrics {
    grid-template-columns: 1fr;
  }

  .architecture-clean {
    gap: 10px;
  }

  .arch-column {
    padding: 12px;
  }

  .arch-stack article {
    padding: 9px 10px;
  }

  .arch-transfer {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .overview-board {
    grid-template-rows: none;
  }

  .profile-panel dd {
    white-space: normal;
  }

  .portrait {
    width: min(100%, 360px);
  }

  .system-board {
    grid-template-rows: none;
  }

  .system-line {
    width: 100%;
    height: 2px;
  }
}

@media print {
  @page {
    size: 16in 9in;
    margin: 0;
  }

  html,
  body {
    width: 100%;
    background: #06080d;
    scroll-snap-type: none;
  }

  .topbar,
  .progress {
    display: none;
  }

  .deck {
    width: 100%;
    padding: 0;
  }

  .slide {
    width: 16in;
    height: 9in;
    min-height: 9in;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    break-after: page;
    page-break-after: always;
  }

  .slide:last-of-type {
    break-after: auto;
    page-break-after: auto;
  }
}
