:root {
  color-scheme: dark;
  --fg: #f7f1eb;
  --muted: #c5bbb3;
  --accent: #ffd09a;
  --line: rgb(255 244 232 / 22%);
  --page: #17110e;
}
* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--fg);
  background-color: var(--page);
  background-image:
    linear-gradient(90deg, rgb(9 7 6 / 74%) 0%, rgb(15 10 8 / 54%) 58%, rgb(12 8 6 / 48%) 100%),
    linear-gradient(0deg, rgb(10 7 6 / 70%) 0%, transparent 65%),
    url("assets/hero.jpg");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  font: 16px/1.7 -apple-system, BlinkMacSystemFont, "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}
main {
  position: relative;
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: clamp(32px, 6vw, 88px) clamp(20px, 5vw, 76px);
}
.site-header { padding-bottom: clamp(44px, 8vw, 112px); }
h1 {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
  margin: 0 0 12px;
  text-shadow: 0 2px 24px rgb(0 0 0 / 32%);
}
.profile-meta, .profile-email { margin: 0; color: var(--muted); }
.profile-email { margin-top: 2px; }
.profile-email a { color: inherit; }
.tagline { color: var(--muted); margin: 18px 0 0; max-width: 38rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.eyebrow { margin: 0; color: var(--accent); font-size: .72rem; letter-spacing: .16em; font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -.04em; margin: 8px 0 0; }
.project-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px) clamp(18px, 2.4vw, 36px); }
.project { min-width: 0; }
.project--feature { grid-column: 1 / -1; }
.project-image { display: block; overflow: hidden; background: #eee9e2; border-radius: 2px; }
.project-image img { display: block; width: 100%; height: auto; transition: transform 450ms ease; }
.project-image:hover img, .project-image:focus-visible img { transform: scale(1.015); }
.project-caption { display: flex; gap: 16px; padding-top: 13px; align-items: baseline; }
.project-number { color: var(--accent); font-size: .75rem; font-variant-numeric: tabular-nums; }
.project-caption h3 { margin: 0; font-size: clamp(1.05rem, 2vw, 1.45rem); line-height: 1.35; letter-spacing: -.025em; }
.project-caption p { color: var(--muted); font-size: .9rem; margin: 4px 0 0; }
.contact { margin-top: clamp(64px, 10vw, 120px); }
.links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 18px; }
a { color: var(--accent); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
footer { margin-top: 64px; color: var(--muted); font-size: .85rem; }
@media (max-width: 700px) {
  body { background-position: 56% center; background-attachment: scroll; }
  main { padding: 34px 18px 40px; }
  .site-header { padding-bottom: 58px; }
  .section-heading { display: block; margin-bottom: 20px; }
  .project-list { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .project--feature { grid-column: auto; }
  .project-caption { gap: 12px; }
  .project-caption p { font-size: .85rem; }
  .contact { margin-top: 64px; }
  footer { margin-top: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .project-image img { transition: none; }
}
