:root {
  --bg: #f7f5f0;
  --ink: #191a1f;
  --muted: #61636c;
  --line: #ded8cb;
  --panel: #ffffff;
  --accent: #0f766e;
  --accent-strong: #0b4f49;
  --warm: #c35d32;
  --shadow: 0 18px 55px rgba(30, 28, 23, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", "Noto Sans KR", system-ui, sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(25, 26, 31, 0.08);
  background: rgba(247, 245, 240, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-grid;
  width: 52px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0;
}

.nav {
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(34px, 6vw, 84px) clamp(20px, 5vw, 72px);
}

.hero-media {
  min-height: 520px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.88), rgba(195, 93, 50, 0.58)),
    url("https://images.unsplash.com/photo-1509062522246-3755977927d7?auto=format&fit=crop&w=1400&q=80");
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.portrait-card {
  display: flex;
  height: 100%;
  align-items: flex-end;
  padding: clamp(22px, 4vw, 44px);
}

.portrait-mark {
  max-width: 100%;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(3rem, 9vw, 8.5rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.9;
  overflow-wrap: anywhere;
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 6.7rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.98;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4.4rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  word-break: keep-all;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  font-weight: 800;
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.button.primary:hover {
  background: var(--accent-strong);
}

.button.secondary {
  background: transparent;
}

.section {
  padding: clamp(70px, 10vw, 130px) clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(160px, 0.38fr) minmax(280px, 1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
  margin-bottom: clamp(34px, 6vw, 72px);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 64px);
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.18rem);
  word-break: keep-all;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(28px, 5vw, 54px);
}

.chip-list span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(15, 118, 110, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent-strong);
  font-size: 0.94rem;
  font-weight: 800;
}

.timeline {
  display: grid;
  gap: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: minmax(160px, 0.34fr) minmax(280px, 1fr);
  gap: clamp(22px, 5vw, 64px);
  padding: clamp(24px, 4vw, 38px) 0;
  border-top: 1px solid var(--line);
}

.timeline-item:last-child {
  border-bottom: 1px solid var(--line);
}

.timeline-item time {
  color: var(--warm);
  font-weight: 800;
}

.timeline-item p {
  color: var(--muted);
  word-break: keep-all;
}

.timeline.compact .timeline-item {
  border-color: #cfdbd3;
}

.project-list {
  display: grid;
  gap: 18px;
}

.project-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.5fr) minmax(280px, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  padding: clamp(22px, 4vw, 38px) 0;
  border-top: 1px solid var(--line);
}

.project-card:last-child {
  border-bottom: 1px solid var(--line);
}

.project-card p {
  color: var(--muted);
  word-break: keep-all;
}

.project-kicker {
  margin-bottom: 8px;
  color: var(--warm);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.strengths-section {
  background: #eef3ef;
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.strength-item {
  min-height: 230px;
  padding: 28px;
  border: 1px solid #cfdbd3;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.strength-item span {
  display: block;
  margin-bottom: 42px;
  color: var(--accent);
  font-weight: 800;
}

.strength-item p {
  color: var(--muted);
  word-break: keep-all;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(320px, 0.68fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: start;
  background: var(--ink);
  color: #fff;
}

.contact-section .eyebrow {
  color: #78d7c8;
}

.contact-section h2 {
  max-width: 880px;
}

.contact-copy p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.72);
  word-break: keep-all;
}

.contact-section .button.secondary {
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
}

.inquiry-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 800;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  font: inherit;
}

.form-row input,
.form-row select {
  min-height: 48px;
  padding: 0 14px;
}

.form-row textarea {
  min-height: 150px;
  padding: 13px 14px;
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: #78d7c8;
  box-shadow: 0 0 0 3px rgba(120, 215, 200, 0.24);
  outline: none;
}

.form-submit {
  width: 100%;
  cursor: pointer;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    min-height: 96px;
    padding-block: 14px;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
  }

  .hero,
  .section-heading,
  .intro-grid,
  .timeline-item,
  .project-card,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    order: 2;
    min-height: 360px;
  }

  .hero-content {
    order: 1;
  }

  .strength-grid {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    margin-top: 0;
  }
}

@media (max-width: 520px) {
  .nav {
    gap: 18px;
    font-size: 0.88rem;
  }

  h1 {
    font-size: clamp(2.55rem, 16vw, 4rem);
  }

  .button {
    width: 100%;
  }
}
