:root {
  color-scheme: light;
  --paper: #fafafa;
  --white: #fff;
  --ink: #14151a;
  --muted: #5e626d;
  --line: #dedfe3;
  --accent: #253be8;
  font-family: "Malgun Gothic", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.skip { position: absolute; padding: .75rem; background: var(--white); transform: translateY(-120%); }
.skip:focus { transform: none; }
.shell { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.masthead { border-bottom: 1px solid var(--line); background: var(--white); }
.bar, .section-head, .footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.bar { min-height: 70px; }
.brand { font-size: 1.2rem; font-weight: 800; letter-spacing: -.06em; }
.brand span, .hero h1 span { color: var(--accent); }
nav, .filters { display: flex; gap: clamp(.75rem, 3vw, 2rem); }
nav a, .footer a { font-size: .94rem; }
nav a:hover, .footer a:hover, .back:hover { color: var(--accent); }
h1, h2, h3 { margin: 0; letter-spacing: -.055em; }
.hero { padding-block: clamp(64px, 11vw, 130px) 72px; }
.hero h1 { font-size: clamp(4rem, 12vw, 9rem); line-height: .95; }
.field { min-height: 58px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.field span, .label, .media, .footer { color: var(--muted); font-size: .94rem; }
.intro-field { width: min(430px, 100%); margin: 24px 0; }
.primary { display: inline-flex; padding: .8rem 1rem; border: 1px solid var(--ink); background: var(--ink); color: var(--white); font-weight: 700; font-size: .94rem; }
.primary:hover { border-color: var(--accent); background: var(--accent); }
.section { padding-block: 36px 56px; border-top: 1px solid var(--ink); }
.section h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
.filters { gap: 8px; flex-wrap: wrap; }
.filters button { min-height: 42px; padding: .45rem .85rem; border: 1px solid var(--line); border-radius: 99px; color: var(--ink); background: var(--white); font-size: .9rem; }
.filters button:hover { border-color: var(--accent); }
.filters button[aria-pressed="true"] { color: var(--white); background: var(--accent); border-color: var(--accent); }
.projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.project { display: block; height: 100%; border: 1px solid var(--line); background: var(--white); }
a.project:hover { border-color: var(--accent); }
.media { display: grid; place-items: center; aspect-ratio: 16 / 9; background: #f0f0f2; border-bottom: 1px solid var(--line); }
.card-body { padding: 20px; display: grid; justify-items: start; gap: 10px; }
.tag { color: var(--accent); font-size: .88rem; font-weight: 700; }
.card-body h3 { font-size: 1.35rem; }
.about { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; }
.tall { min-height: 125px; }
.footer { border-top: 1px solid var(--line); padding-block: 22px; }
.case { max-width: 840px; padding-block: 36px 72px; }
.back { color: var(--accent); font-size: .94rem; }
.case-head { margin-block: 42px 28px; }
.case-head h1 { margin-block: 10px 16px; font-size: clamp(2.65rem, 7vw, 5rem); }
.case-media { border: 1px solid var(--line); }
.case-fields { margin-top: 32px; }
.case-fields h2 { font-size: 1.2rem; }
@media (max-width: 600px) {
  .shell { width: calc(100% - 36px); }
  .bar { min-height: 58px; gap: 12px; flex-wrap: wrap; padding-block: 12px; }
  nav { flex-wrap: wrap; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .projects, .about { grid-template-columns: 1fr; }
}
