@charset "UTF-8";

:root {
  --navy: #0f3557;
  --blue: #005bac;
  --blue-dark: #00447f;
  --text: #1f2937;
  --text-sub: #4b5563;
  --border: #cbd5e1;
  --background: #ffffff;
  --section-bg: #f7fafc;
  --focus: #ffbf47;
  --max-width: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--background);
  font-family: Arial, "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

p,
h1,
h2,
h3,
dl,
dd {
  margin: 0;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 10px 14px;
  color: #ffffff;
  background: #111827;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.section {
  padding: 80px 24px;
}

.section-inner {
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading h1,
.section-heading h2 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 2.5rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  background: #ffffff;
}

.header-inner {
  display: flex;
  width: min(calc(100% - 48px), var(--max-width));
  min-height: 72px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
}

.logo {
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 30px;
}

.navigation a {
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 700;
  text-underline-offset: 4px;
}

.navigation a:hover {
  color: var(--blue);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
}

.projects {
  background: #ffffff;
}

.project-list {
  border-top: 2px solid var(--navy);
}

.project-item {
  display: grid;
  padding: 44px 0;
  border-bottom: 1px solid var(--border);
  grid-template-columns: minmax(320px, 1fr) minmax(0, 1fr);
  gap: 46px;
  align-items: start;
}

.project-media img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  background: #ffffff;
}

.project-body h2 {
  color: var(--navy);
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.project-summary {
  margin-top: 10px;
  color: var(--text-sub);
}

.project-details {
  margin-top: 24px;
}

.project-details div {
  display: grid;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  grid-template-columns: 110px 1fr;
  gap: 18px;
}

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

.project-details dt {
  color: var(--navy);
  font-weight: 700;
}

.project-details dd {
  color: var(--text-sub);
}

.project-links {
  display: flex;
  margin-top: 22px;
  gap: 20px;
  flex-wrap: wrap;
}

.project-links a {
  min-height: 44px;
  color: var(--blue-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.project-links a:hover {
  color: var(--blue);
}

.career {
  background: var(--section-bg);
}

.career-list {
  border-top: 2px solid var(--navy);
}

.career-item {
  display: grid;
  padding: 34px 0;
  border-bottom: 1px solid var(--border);
  grid-template-columns: 280px 1fr;
  gap: 44px;
}

.career-meta {
  color: var(--text-sub);
}

.career-meta p + p {
  margin-top: 5px;
}

.career-company {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 800;
}

.career-content h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 1.25rem;
}

.career-content p {
  color: var(--text-sub);
  text-align: justify;
}

.contact {
  color: #ffffff;
  background: var(--navy);
}

.contact .section-heading h2 {
  color: #ffffff;
}

.contact-list {
  display: grid;
  max-width: 640px;
  margin: 0;
  font-style: normal;
}

.contact-list div {
  display: grid;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.35);
  grid-template-columns: 100px 1fr;
  gap: 20px;
}

.contact-list div:last-child {
  border-bottom: 1px solid rgba(255,255,255,0.35);
}

.contact-list span {
  color: #dbeafe;
  font-weight: 700;
}

.contact-list a {
  color: #ffffff;
  font-weight: 700;
  text-underline-offset: 4px;
}

.site-footer {
  padding: 22px 24px;
  color: #dbe4ec;
  background: #08243b;
}

.footer-inner {
  display: flex;
  width: min(100%, var(--max-width));
  margin: 0 auto;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.85rem;
}

.footer-inner a {
  color: #ffffff;
}

@media (max-width: 900px) {
  .project-item {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .career-item {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 68px;
  }

  .section {
    padding: 64px 20px;
  }

  .header-inner {
    width: min(calc(100% - 32px), var(--max-width));
    min-height: 68px;
  }

  .menu-button {
    display: block;
  }

  .navigation {
    position: fixed;
    top: 68px;
    right: 0;
    left: 0;
    display: none;
    padding: 24px;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    background: #ffffff;
  }

  .navigation.is-open {
    display: flex;
  }

  .project-details div,
  .contact-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 56px 16px;
  }

  .project-links {
    flex-direction: column;
    gap: 12px;
  }

  .project-links a {
    display: inline-flex;
    align-items: center;
  }
}

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