@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=Manrope:wght@400;500;600;700&family=Noto+Sans+KR:wght@400;500;700&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
  --bg: #05060a;
  --bg-soft: #0a0a0a;
  --panel: #0f0f10;
  --panel-strong: #141416;
  --text: #f4f4f5;
  --muted: #9f9fa7;
  --text-secondary: #d0d4de;
  --stroke: rgba(255, 255, 255, 0.14);
  --stroke-strong: rgba(255, 255, 255, 0.24);
  --accent: #e7ddc9;
  --accent-sub: rgba(231, 221, 201, 0.72);
  --accent-2: #8de1d6;
  --k-red: #cd2e3a;
  --k-blue: #0047a0;
  --maxw: 1200px;
  --mono: 'IBM Plex Mono', 'Courier New', monospace;
  --sans: 'Manrope', 'Segoe UI', sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

html,
body {
  margin: 0;
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 6rem;
}

body {
  font-family: var(--sans);
  background:
    radial-gradient(54% 48% at 38% 44%, rgba(205, 46, 58, 0.12), transparent 72%),
    radial-gradient(54% 48% at 62% 58%, rgba(0, 71, 160, 0.12), transparent 72%),
    radial-gradient(circle at 50% 52%, rgba(255, 255, 255, 0.045), transparent 60%),
    radial-gradient(circle at 14% 84%, rgba(205, 46, 58, 0.08), transparent 34%),
    radial-gradient(circle at 88% 12%, rgba(0, 71, 160, 0.1), transparent 36%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: -24vmax;
  pointer-events: none;
  background: conic-gradient(
    from 212deg at 50% 52%,
    rgba(205, 46, 58, 0.14) 0deg,
    rgba(205, 46, 58, 0.02) 94deg,
    rgba(255, 255, 255, 0.02) 154deg,
    rgba(0, 71, 160, 0.14) 222deg,
    rgba(0, 71, 160, 0.02) 316deg,
    rgba(255, 255, 255, 0.018) 360deg
  );
  filter: blur(74px) saturate(108%);
  opacity: 0.42;
  z-index: 0;
  transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  animation: taegukDrift 34s ease-in-out infinite alternate;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, transparent 46%, rgba(2, 3, 8, 0.38) 100%);
  z-index: 0;
}

.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    radial-gradient(rgba(255, 255, 255, 0.05) 0.65px, transparent 0.65px);
  background-size:
    30px 30px,
    30px 30px,
    3px 3px;
  background-position:
    center center,
    center center,
    center center;
  opacity: 0.16;
  z-index: 1;
}

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

a:hover {
  color: var(--accent-2);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding-top: env(safe-area-inset-top);
  z-index: 40;
  border-bottom: 1px solid transparent;
  transition: background-color 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(4, 4, 4, 0.86);
  border-color: var(--stroke);
  backdrop-filter: blur(8px);
}

.nav-wrap {
  width: min(100% - 2rem, var(--maxw));
  margin: 0 auto;
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.35rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.header-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.18rem;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.48rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}

.lang-btn:hover {
  color: var(--text);
}

.lang-btn.is-active {
  background: rgba(255, 255, 255, 0.14);
  color: var(--text);
}

.status-pill {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.72rem;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.11em;
  color: var(--muted);
  white-space: nowrap;
}

main {
  position: relative;
  z-index: 2;
}

.section-block {
  width: min(100% - 2rem, var(--maxw));
  margin: 0 auto;
  padding: 5.5rem 0;
}

.section-label {
  margin: 0 0 0.8rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  color: var(--muted);
}

h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.hero {
  min-height: 100svh;
  padding-top: 5rem;
  padding-bottom: 3.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-side h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-family: var(--serif);
  font-weight: 500;
}

.hero-left {
  position: absolute;
  top: 8.25rem;
  left: 0;
  text-align: left;
  max-width: 240px;
}

.hero-right {
  position: absolute;
  right: 0;
  bottom: 5rem;
  text-align: right;
  max-width: 320px;
}

.hero-right h2 {
  font-size: clamp(1rem, 1.7vw, 1.45rem);
  line-height: 1.35;
}

.hero-center {
  width: min(100%, 640px);
  margin: 0;
  padding-inline: 0.6rem;
  text-align: center;
}

.hero-main-label {
  margin-bottom: 0.55rem;
  font-size: 0.6rem;
  letter-spacing: 0.34em;
  color: var(--muted);
  opacity: 0.7;
}

.hero-kicker {
  margin: 0 0 0.7rem;
  font-family: var(--mono);
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  color: var(--accent-sub);
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(3.2rem, 10vw, 6.7rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.hero-headline {
  margin: 0.95rem auto 0;
  max-width: 24ch;
  font-size: clamp(1rem, 2.1vw, 1.25rem);
  color: var(--text-secondary);
}

.hero-pitch {
  margin: 0.85rem auto 0;
  max-width: 54ch;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.72;
}

.hero-culture {
  margin: 0.95rem auto 0;
  max-width: 62ch;
  color: var(--muted);
  font-family: var(--mono);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-size: 0.66rem;
}

.origin-mark {
  margin: 0.5rem auto 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.identity-row {
  margin: 0.8rem auto 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.identity-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0.32rem 0.58rem;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-secondary);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.cta-row {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.62rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  text-transform: uppercase;
  padding: 0.72rem 0.96rem;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: var(--stroke-strong);
}

.btn-primary {
  background: linear-gradient(140deg, rgba(231, 221, 201, 0.95), rgba(141, 225, 214, 0.88));
  color: #0e0e0f;
  border-color: transparent;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost {
  background: transparent;
}

.link-row {
  margin-top: 0.95rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.link-row a {
  padding-bottom: 0.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition: border-color 200ms ease;
}

.link-row a:hover {
  border-bottom-color: var(--accent-2);
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 0.67rem;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.intro-section {
  padding-top: 5rem;
  text-align: left;
  max-width: 72ch;
}

.intro-copy {
  max-width: 60ch;
  margin: 1.2rem 0 0;
  font-size: clamp(1.15rem, 2.1vw, 1.45rem);
  color: var(--text-secondary);
  line-height: 1.7;
}

.intro-accent {
  font-style: normal;
  color: var(--accent);
}

.hero-pitch,
.intro-copy,
.project-desc,
.project-narrative-text {
  overflow-wrap: anywhere;
}

.chip-row {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.chip-row-featured {
  margin-top: 1rem;
  margin-bottom: 0;
}

.stack-sectors {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.stack-sector {
  border: 1px solid var(--stroke);
  border-radius: 0.85rem;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
    var(--panel);
  padding: 0.78rem;
  transition: border-color 220ms ease;
}

.stack-sector:hover {
  border-color: var(--stroke-strong);
}

.stack-sector-head {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
}

.stack-sector-head img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0.62rem;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #0b0f18;
}

.stack-sector-head h3 {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

.stack-sector-head p {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.sector-chip-row {
  margin-top: 0.72rem;
}

.skill-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.77rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid rgba(141, 225, 214, 0.32);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  padding: 0.5rem 0.8rem;
}

.skill-pill-strong {
  border-color: rgba(141, 225, 214, 0.65);
  background: linear-gradient(140deg, rgba(141, 225, 214, 0.26), rgba(0, 71, 160, 0.22));
  color: #f7fcff;
  box-shadow: 0 0 0 1px rgba(141, 225, 214, 0.28) inset;
}

.skill-pill-text {
  border-color: rgba(148, 163, 184, 0.34);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
}

.chip-row img {
  width: 1.08rem;
  height: 1.08rem;
  border-radius: 0.2rem;
  object-fit: contain;
  flex: 0 0 auto;
}

.project-grid {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card {
  border: 1px solid var(--stroke);
  border-radius: 0.85rem;
  overflow: hidden;
  background: var(--panel);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.project-cover {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background:
    radial-gradient(circle at 75% 25%, rgba(141, 225, 214, 0.28), transparent 42%),
    radial-gradient(circle at 25% 75%, rgba(231, 221, 201, 0.22), transparent 50%),
    linear-gradient(155deg, #0e0f11, #15161a);
  border-bottom: 1px solid var(--stroke);
}

.project-cover.has-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.96) contrast(1.03);
}

.project-cover.has-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 10, 16, 0.08), rgba(8, 10, 16, 0.2)),
    radial-gradient(circle at 84% 16%, rgba(141, 225, 214, 0.08), transparent 34%),
    radial-gradient(circle at 14% 84%, rgba(205, 46, 58, 0.1), transparent 36%);
  pointer-events: none;
}

.project-body {
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  height: 100%;
}

.project-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.1vw, 1.7rem);
  font-weight: 500;
  line-height: 1.15;
}

.project-desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.project-narrative {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.42rem;
}

.project-narrative li {
  display: grid;
  gap: 0.16rem;
}

.project-narrative-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.project-narrative-text {
  color: var(--muted);
  font-size: 0.88rem;
}

.project-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.project-stack span {
  font-family: var(--mono);
  font-size: 0.64rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.46rem;
  border: 1px solid var(--stroke);
  border-radius: 999px;
}

.project-links {
  margin-top: auto;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.project-links a {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--accent-2);
  text-transform: uppercase;
}

.detail-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.detail-panel {
  border: 1px solid var(--stroke);
  border-radius: 0.85rem;
  background: var(--panel-strong);
  padding: 1.1rem;
}

.detail-panel h3 {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.86rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.detail-prose {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.site-footer {
  border-top: 1px solid var(--stroke);
  padding-top: 3rem;
  padding-bottom: 2.3rem;
}

.footer-links-wrap {
  display: flex;
  gap: 4rem;
}

.footer-links-wrap h3 {
  margin: 0 0 0.8rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.footer-links-wrap a {
  display: block;
  margin-top: 0.45rem;
  color: var(--text-secondary);
}

.footer-bottom {
  margin-top: 2.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--stroke);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.footer-bottom h2 {
  margin: 0;
  font-size: clamp(2.5rem, 8vw, 4.4rem);
  line-height: 0.9;
}

.footer-bottom p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.7rem;
}

#back-to-top {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: transparent;
  color: var(--text);
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease;
}

#back-to-top:hover {
  border-color: var(--stroke-strong);
  transform: translateY(-2px);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes taegukDrift {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
  50% {
    transform: translate3d(-1.4%, 1.2%, 0) rotate(4deg) scale(1.03);
  }
  100% {
    transform: translate3d(1.2%, -1%, 0) rotate(7deg) scale(1.04);
  }
}

html:lang(ko) body {
  font-family: 'Noto Sans KR', var(--sans);
  word-break: keep-all;
}

html:lang(ko) h2,
html:lang(ko) .hero-side h2,
html:lang(ko) .project-title,
html:lang(ko) .footer-bottom h2 {
  font-family: 'Noto Sans KR', var(--sans);
  letter-spacing: -0.01em;
}

html:lang(ko) .nav-links,
html:lang(ko) .section-label,
html:lang(ko) .hero-kicker,
html:lang(ko) .hero-culture,
html:lang(ko) .origin-mark,
html:lang(ko) .btn,
html:lang(ko) .link-row,
html:lang(ko) .stack-sector-head h3,
html:lang(ko) .skill-pill,
html:lang(ko) .project-stack span,
html:lang(ko) .project-links a,
html:lang(ko) .detail-panel h3,
html:lang(ko) .footer-links-wrap h3,
html:lang(ko) .footer-bottom p,
html:lang(ko) .status-pill,
html:lang(ko) .lang-btn,
html:lang(ko) .identity-pill,
html:lang(ko) .project-narrative-label {
  font-family: 'Noto Sans KR', var(--sans);
  letter-spacing: 0;
  text-transform: none;
}

html:lang(ko) .hero-right h2 {
  font-size: clamp(0.94rem, 1.55vw, 1.28rem);
  line-height: 1.45;
}

html:lang(fr) .nav-links,
html:lang(fr) .section-label,
html:lang(fr) .hero-kicker,
html:lang(fr) .hero-culture,
html:lang(fr) .origin-mark,
html:lang(fr) .btn,
html:lang(fr) .link-row,
html:lang(fr) .stack-sector-head h3,
html:lang(fr) .skill-pill,
html:lang(fr) .project-stack span,
html:lang(fr) .project-links a,
html:lang(fr) .detail-panel h3,
html:lang(fr) .footer-links-wrap h3,
html:lang(fr) .footer-bottom p,
html:lang(fr) .status-pill,
html:lang(fr) .lang-btn,
html:lang(fr) .identity-pill {
  letter-spacing: 0.04em;
  text-transform: none;
}

html:lang(fr) .hero-right h2 {
  font-size: clamp(0.95rem, 1.6vw, 1.3rem);
  line-height: 1.45;
}

@media (max-width: 1080px) {
  .nav-wrap {
    width: min(100% - 1.5rem, var(--maxw));
  }

  .hero {
    text-align: center;
    min-height: auto;
    padding-top: 6.8rem;
    padding-bottom: 3.4rem;
  }

  .hero-left,
  .hero-right {
    display: none;
  }

  .hero-center {
    width: min(100%, 760px);
  }

  .scroll-indicator {
    display: none;
  }

  .cta-row {
    max-width: 680px;
    margin-inline: auto;
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stack-sectors {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    background: rgba(4, 4, 4, 0.74);
    border-color: var(--stroke);
    backdrop-filter: blur(10px);
  }

  .nav-wrap {
    width: min(100% - 1rem, var(--maxw));
    padding: 0.68rem 0;
    gap: 0.55rem;
  }

  .brand {
    font-size: 0.66rem;
    letter-spacing: 0.14em;
  }

  .nav-links {
    display: none;
  }

  .header-meta {
    margin-left: auto;
    gap: 0.35rem;
  }

  .lang-switch {
    padding: 0.12rem;
  }

  .lang-btn {
    font-size: 0.58rem;
    padding: 0.34rem 0.5rem;
    min-height: 1.9rem;
  }

  .status-pill {
    display: none;
  }

  .section-block {
    width: min(100% - 1rem, var(--maxw));
    padding: 3.6rem 0;
  }

  .hero {
    padding-top: 5.9rem;
    padding-bottom: 2.8rem;
  }

  .hero-center {
    padding-inline: 0.1rem;
  }

  .hero-kicker {
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    line-height: 1.45;
  }

  h1 {
    font-size: clamp(2.3rem, 13vw, 3.9rem);
    line-height: 0.98;
  }

  .hero-headline {
    margin-top: 0.85rem;
    max-width: 24ch;
    font-size: clamp(0.98rem, 4.8vw, 1.2rem);
  }

  .hero-pitch {
    margin-top: 0.85rem;
    font-size: 0.92rem;
    line-height: 1.7;
  }

  .hero-culture {
    font-size: 0.58rem;
    letter-spacing: 0.06em;
    line-height: 1.45;
  }

  .origin-mark {
    font-size: 0.62rem;
    letter-spacing: 0.04em;
  }

  .identity-row {
    gap: 0.32rem;
  }

  .identity-pill {
    font-size: 0.56rem;
    padding: 0.3rem 0.5rem;
  }

  .cta-row {
    margin-top: 1.2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    max-width: 380px;
  }

  .btn {
    width: 100%;
    min-height: 2.6rem;
    padding: 0.7rem 0.9rem;
    font-size: 0.66rem;
  }

  .link-row {
    margin-top: 0.95rem;
    gap: 0.72rem;
    font-size: 0.64rem;
    letter-spacing: 0.06em;
  }

  .intro-section {
    padding-top: 3.6rem;
    text-align: left;
  }

  .intro-copy {
    max-width: 100%;
    font-size: 1.05rem;
    line-height: 1.7;
  }

  .stack-sector {
    padding: 0.7rem;
  }

  .stack-sector-head {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 0.55rem;
  }

  .stack-sector-head h3 {
    font-size: 0.72rem;
    letter-spacing: 0.05em;
  }

  .stack-sector-head p {
    font-size: 0.79rem;
    line-height: 1.5;
  }

  .sector-chip-row {
    margin-top: 0.58rem;
  }

  .chip-row {
    gap: 0.45rem;
  }

  .skill-pill {
    font-size: 0.65rem;
    letter-spacing: 0.02em;
    padding: 0.4rem 0.62rem;
  }

  .chip-row img {
    width: 0.94rem;
    height: 0.94rem;
  }

  .project-grid {
    margin-top: 1.25rem;
    grid-template-columns: 1fr;
    gap: 0.82rem;
  }

  .project-cover {
    aspect-ratio: 16 / 10;
  }

  .project-body {
    padding: 0.9rem;
    gap: 0.58rem;
  }

  .project-title {
    font-size: clamp(1.16rem, 6vw, 1.4rem);
  }

  .project-desc {
    font-size: 0.88rem;
  }

  .project-narrative {
    gap: 0.33rem;
  }

  .project-narrative-label {
    font-size: 0.58rem;
    letter-spacing: 0.05em;
  }

  .project-narrative-text {
    font-size: 0.84rem;
    line-height: 1.55;
  }

  .project-stack span {
    font-size: 0.58rem;
    letter-spacing: 0.04em;
    padding: 0.24rem 0.42rem;
  }

  .project-links a {
    font-size: 0.62rem;
    letter-spacing: 0.06em;
  }

  .detail-grid {
    grid-template-columns: 1fr;
    gap: 0.82rem;
  }

  .detail-panel {
    padding: 0.9rem;
  }

  .detail-panel h3 {
    font-size: 0.74rem;
    letter-spacing: 0.07em;
  }

  .detail-prose {
    font-size: 0.88rem;
    line-height: 1.65;
  }

  .footer-links-wrap {
    flex-direction: column;
    gap: 1.2rem;
  }

  .footer-bottom {
    margin-top: 1.8rem;
    padding-top: 0.95rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom h2 {
    font-size: clamp(2rem, 12vw, 3.2rem);
  }

  .footer-bottom p {
    font-size: 0.64rem;
    letter-spacing: 0.06em;
    text-transform: none;
  }

  .footer-meta {
    align-items: flex-start;
    gap: 0.5rem;
  }

  #back-to-top {
    width: 2.4rem;
    height: 2.4rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 520px) {
  .nav-wrap {
    width: min(100% - 0.75rem, var(--maxw));
  }

  .brand {
    font-size: 0.6rem;
    letter-spacing: 0.11em;
  }

  .lang-btn {
    font-size: 0.54rem;
    padding: 0.3rem 0.42rem;
    min-height: 1.75rem;
  }

  .section-block {
    width: min(100% - 0.75rem, var(--maxw));
    padding: 3.2rem 0;
  }

  .hero {
    padding-top: 5.5rem;
  }

  .hero-kicker {
    font-size: 0.66rem;
  }

  h1 {
    font-size: clamp(2.05rem, 12.2vw, 3.2rem);
  }

  .hero-headline {
    font-size: 0.95rem;
  }

  .hero-pitch {
    font-size: 0.88rem;
  }

  .hero-culture {
    font-size: 0.54rem;
  }

  .identity-pill {
    font-size: 0.53rem;
    padding: 0.28rem 0.44rem;
  }

  .btn {
    font-size: 0.62rem;
    padding: 0.66rem 0.75rem;
  }

  .link-row {
    gap: 0.52rem;
    font-size: 0.6rem;
  }

  .stack-sector-head {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .skill-pill {
    font-size: 0.61rem;
    padding: 0.36rem 0.52rem;
  }

  .project-cover {
    aspect-ratio: 5 / 4;
  }

  .project-body {
    padding: 0.82rem;
  }

  .project-title {
    font-size: 1.1rem;
  }

  .project-desc,
  .project-narrative-text {
    font-size: 0.82rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html,
  body {
    scroll-behavior: auto;
  }

  body::before {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
