:root {
  --bg: #74fcd0;
  --teal: #00a38c;
  --teal-soft: #45dbb5;
  --ink: #252525;
  --body: #1f4239;
  --muted: #2c6657;
  --line: rgba(37, 37, 37, 0.14);
  --accent: #00695a;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.ko {
  font-family: "Pretendard", var(--font);
  word-break: keep-all;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 760px; }

/* Header and footer */

header.site {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

.brand {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
}

nav { display: flex; align-items: center; gap: 8px; }

nav a {
  padding: 7px 18px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

nav a:hover,
nav a[aria-current="page"] { background: var(--teal-soft); }

nav a.cta { background: var(--ink); color: var(--bg); }
nav a.cta:hover { background: var(--accent); border-color: var(--accent); }

footer.site {
  margin-top: 112px;
  padding: 36px 0 32px;
  border-top: 1.5px solid var(--line);
}

.footer-title {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.footer-email {
  color: var(--accent);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
}

.footer-email:hover { text-decoration: underline; }

.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
}

.footer-meta a { text-decoration: none; }
.footer-meta a:hover { color: var(--ink); }

/* Shared labels and buttons */

.tag,
.label-title,
.block > h2,
.about h2 {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease;
}

.btn:hover { background: var(--accent); }

.section-title {
  margin: 0 0 24px;
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* Home */

.hero { padding: 64px 0 0; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-weight: 500;
}

.status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  max-width: 920px;
  margin: 0 0 22px;
  font-size: clamp(40px, 5.8vw, 68px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero .sub {
  max-width: 660px;
  margin: 0 0 28px;
  color: var(--body);
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.5;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 6px 14px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
}

.chips b { font-weight: 700; }

.section { margin-top: 104px; }

.skills {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.skill {
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--teal-soft);
}

.skill b { display: block; font-size: 16px; font-weight: 700; line-height: 1.3; }
.skill span { display: block; margin-top: 4px; color: var(--body); font-size: 14px; line-height: 1.45; }

.section .stats { margin-bottom: 16px; }

.work {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.work-card {
  display: block;
  border-radius: 28px;
  overflow: hidden;
  background: var(--teal);
  text-decoration: none;
  transition: transform 0.3s ease;
}

.work-card:hover { transform: translateY(-4px); }
.work-card.wide { grid-column: 1 / -1; }

.work-art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.4%;
  aspect-ratio: 16 / 10;
  padding: 0 6%;
  overflow: hidden;
}

.work-card.wide .work-art { align-items: flex-start; aspect-ratio: auto; height: 380px; padding-top: 40px; }

.work-art img {
  border-radius: 12px;
  box-shadow: 0 16px 32px -14px rgba(0, 60, 50, 0.55);
}

.work-art.phones img { width: 30%; }
.work-card.wide .work-art.phones img { width: 17.5%; }

.work-art.site img:nth-child(1) { width: 66%; border-radius: 10px; }
.work-art.site img:nth-child(2) { width: 21%; }

.work-art.cover { padding: 0; background: #feeaec; }
.work-art.cover img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; box-shadow: none; }

.work-art.clips { display: block; }
.work-art.clips img { position: absolute; width: 62%; border-radius: 8px; }
.work-art.clips img:nth-child(1) { top: 9%; left: 8%; }
.work-art.clips img:nth-child(2) { top: 29%; left: 19%; }
.work-art.clips img:nth-child(3) { top: 49%; left: 30%; }

.work-text { padding: 20px 26px 24px; }
.work-text .tag { color: var(--ink); opacity: 0.7; }

.work-text h3 {
  margin: 4px 0 4px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.work-text p { margin: 0; font-size: 15px; line-height: 1.5; }

/* Case pages */

.back {
  display: inline-block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.back:hover { color: var(--ink); }

.case-head { max-width: 880px; padding: 36px 0; }

.case-head h1 {
  margin: 10px 0 14px;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.case-head .sub {
  margin: 0;
  color: var(--body);
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.45;
}

.showcase {
  display: flex;
  justify-content: center;
  gap: 2.5%;
  aspect-ratio: 16 / 7;
  margin-bottom: 16px;
  padding: 5% 4% 0;
  border-radius: 40px;
  overflow: hidden;
  background: var(--teal);
}

.showcase img {
  align-self: flex-start;
  width: 17%;
  border-radius: 14px;
  box-shadow: 0 18px 40px -14px rgba(0, 60, 50, 0.55);
}

.showcase img:nth-child(even) { margin-top: 3.5%; }
.showcase img.desk { width: 60%; border-radius: 12px; }
.showcase.full { padding: 0; }

.showcase.full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stat { padding: 28px 26px 24px; border-radius: 24px; background: var(--teal); }

.stat .num {
  color: var(--bg);
  font-size: clamp(38px, 4.6vw, 56px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat .label {
  margin-top: 12px;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.45;
}

.glance {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 56px 0 0;
  padding: 28px 0;
  border-top: 1.5px solid var(--line);
  border-bottom: 1.5px solid var(--line);
}

.glance dt {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.glance dd { margin: 0; font-size: 15.5px; font-weight: 500; line-height: 1.45; }
.glance a { color: var(--accent); }

.block {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  margin-top: 76px;
}

.block > h2 { margin: 8px 0 0; }

.statement {
  max-width: 760px;
  margin: 0 0 14px;
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.block p { max-width: 700px; margin: 0 0 12px; color: var(--body); }
.block .statement { color: var(--ink); }
.block .credits { margin-top: 24px; color: var(--muted); }
.block .insight p { color: var(--ink); }

.steps {
  display: grid;
  gap: 24px;
  max-width: 720px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 2px 14px;
  counter-increment: step;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  grid-row: span 2;
  padding-top: 3px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 700;
}

.steps b { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.steps span { color: var(--body); }

.insights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.insights.one { grid-template-columns: 1fr; max-width: 640px; }

.insight { padding: 26px 24px; border-radius: 24px; background: var(--teal-soft); }
.insight:nth-child(2) { transform: rotate(-1.5deg); }
.insight:nth-child(3) { transform: rotate(1.5deg); }

.insight b {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.insight p { margin: 0; font-size: 15.5px; line-height: 1.55; }

.credits { margin-top: 20px; color: var(--muted); font-size: 14px; }

.label-title { margin: 96px 0 20px; }

.shots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.shot {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  padding: 16px;
  border: 1.5px dashed var(--muted);
  border-radius: 20px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.shot.wide { grid-column: 1 / -1; aspect-ratio: 16 / 7; }

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 20px;
}

.gallery figure, .site-row figure { margin: 0; }
.gallery a, .site-row a { display: block; }

.gallery img {
  width: 100%;
  aspect-ratio: 1 / 2;
  object-fit: cover;
  object-position: top;
  border-radius: 16px;
  background: #fff;
}

.gallery.landscape, .gallery.video { grid-template-columns: repeat(3, 1fr); }
.gallery.landscape img { aspect-ratio: 4 / 3; object-position: center; }
.gallery.video img { aspect-ratio: 16 / 9; object-position: center; }

.label-title.next-group { margin-top: 56px; }

.gallery figcaption, .site-row figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.45;
}

.gallery figcaption a { text-decoration: none; }
.gallery figcaption a:hover { color: var(--ink); text-decoration: underline; }

.site-row {
  display: grid;
  grid-template-columns: 1925fr 516fr;
  align-items: start;
  gap: 16px;
}

.site-row + .site-row { margin-top: 40px; }

.site-row img { width: 100%; border-radius: 14px; }

.pieces {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pieces a {
  display: block;
  padding: 24px 28px;
  border-radius: 24px;
  background: var(--teal-soft);
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.pieces a:hover { background: var(--teal); transform: translateY(-2px); }

.pieces .title {
  display: block;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.pieces .desc { display: block; margin-top: 6px; color: var(--body); font-size: 16px; }

.note { margin: 0 0 20px; color: var(--muted); font-size: 15px; }

.where {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.notes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.note-card {
  padding: 24px 26px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.5);
}

.note-card p {
  margin: 10px 0 0;
  font-size: 14.5px;
  line-height: 1.6;
  white-space: pre-line;
}

.next {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 104px;
}

.next a {
  display: block;
  padding: 24px 28px;
  border-radius: 24px;
  background: var(--teal);
  text-decoration: none;
  transition: transform 0.2s ease;
}

.next a:last-child { text-align: right; }
.next a:hover { transform: rotate(-1deg); }
.next .label { display: block; font-size: 13px; font-weight: 500; }
.next .name { font-size: 21px; font-weight: 700; letter-spacing: -0.015em; text-transform: uppercase; }

/* About */

.about h1 {
  margin: 48px 0 20px;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.about .lede {
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.about p { color: var(--body); }
.about .lede { color: var(--ink); }
.about h2 { margin: 60px 0 14px; }

.timeline { margin: 0; padding: 0; list-style: none; }

.timeline li {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  border-top: 1.5px solid var(--line);
}

.timeline li:last-child { border-bottom: 1.5px solid var(--line); }
.timeline .role { font-weight: 600; }
.timeline .org { display: block; color: var(--muted); font-size: 15px; font-weight: 400; }
.timeline .years { flex-shrink: 0; color: var(--muted); font-size: 15px; font-weight: 500; }

@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  header.site { padding: 16px 0; }
  .brand { font-size: 16px; }
  header.site { gap: 12px; }
  .brand { white-space: nowrap; }
  nav { gap: 4px; }
  nav a { padding: 4px 8px; font-size: 12px; white-space: nowrap; }
  .hero { padding-top: 36px; }
  .section { margin-top: 72px; }
  .skills { grid-template-columns: 1fr 1fr; }
  .skill:last-child { grid-column: 1 / -1; }
  .work { grid-template-columns: 1fr; }
  .work-card { border-radius: 22px; }
  .work-card.wide .work-art { align-items: center; aspect-ratio: 16 / 10; height: auto; padding-top: 0; }
  .work-card.wide .work-art.phones img { width: 30%; }
  .work-card.wide .work-art.phones img:nth-child(n+4) { display: none; }
  .work-text { padding: 16px 18px 20px; }
  .stats, .shots, .insights, .next { grid-template-columns: 1fr; }
  .stats { gap: 12px; }
  .glance { grid-template-columns: repeat(2, 1fr); }
  .block { grid-template-columns: 1fr; gap: 12px; margin-top: 56px; }
  .showcase { aspect-ratio: 4 / 3; gap: 4%; border-radius: 28px; }
  .showcase img { width: 30%; }
  .showcase img:nth-child(n+4) { display: none; }
  .showcase img.desk { width: 64%; }
  .showcase img.desk + img { width: 24%; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 24px 14px; }
  .gallery.landscape, .gallery.video { grid-template-columns: 1fr; }
  .showcase.full img { width: 100%; }
  .insight:nth-child(n) { transform: none; }
  .notes { grid-template-columns: 1fr; }
  .next a:last-child { text-align: left; }
  .timeline li { flex-direction: column; gap: 2px; }
}
