@font-face {
  font-family: Inter;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f7f6ef;
  --ink: #222821;
  --muted: #506057;
  --line: #c6c9be;
  font-family: "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid #087876; outline-offset: 5px; }
img { display: block; max-width: 100%; }
h1, h2, p { margin: 0; }
.shell { width: min(100% - 96px, 1424px); margin-inline: auto; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 24px 20px; }
.brand { display: block; min-width: 0; }
.brand img { width: 286px; mix-blend-mode: multiply; }
.site-header nav { display: flex; gap: 25px; font-size: 14px; white-space: nowrap; }
.site-header nav a { text-decoration: none; }
.site-header nav a[lang="en"], .projects [lang="en"], .contact [lang="en"] { font-family: Inter, system-ui, sans-serif; }
.site-header nav a[lang="en"] { font-weight: 400; }
.site-header nav a[lang="en"]:is(:active, .is-pressed) { font-weight: 700; }
@media (hover: hover) {
  .site-header nav a[lang="en"]:hover { font-weight: 700; }
}
.site-header nav a:hover, .site-header nav a[aria-current] { text-decoration: underline; text-underline-offset: 4px; }
.gallery {
  display: grid;
  justify-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding-bottom: 32px;
}
.gallery img { width: auto; height: auto; max-height: 86dvh; background: #d8dbcf; }
.projects { padding-block: clamp(34px, 5vw, 72px) 64px; }
.projects-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px 24px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  margin-bottom: 24px;
}
.projects-heading h1 { font-size: clamp(26px, 3vw, 36px); font-weight: 350; line-height: 1.15; letter-spacing: -.035em; }
#project-title { font-size: clamp(18px, 2vw, 24px); font-weight: 300; line-height: 1.35; letter-spacing: -.02em; }
.projects-heading p { color: var(--muted); font-size: 13px; line-height: 1.55; }
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px clamp(14px, 2vw, 30px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.project-card img, .project-photo-placeholder { width: 100%; aspect-ratio: 3 / 2; background: #e5e7dc; }
.project-card img { height: auto; object-fit: cover; }
.project-card a { display: block; text-decoration: none; }
.project-card a:is(:hover, :focus-visible) h2 { text-decoration: underline; text-underline-offset: 4px; }
.project-photo-placeholder { border: 1px solid #d5d9cc; }
.project-card h2 { margin-top: 10px; font-size: clamp(13px, 1.25vw, 15px); font-weight: 400; line-height: 1.5; overflow-wrap: anywhere; }
.project-return { font-size: 14px; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.contact { padding-block: clamp(34px, 5vw, 72px) 64px; }
.contact-heading { border-bottom: 1px solid var(--line); padding-bottom: 21px; margin-bottom: 28px; }
.contact-heading h1 { font-size: clamp(26px, 3vw, 36px); font-weight: 350; line-height: 1.15; letter-spacing: -.035em; }
.contact-heading p { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 680px) minmax(0, 300px); gap: 36px clamp(32px, 6vw, 96px); }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
.contact-wide { grid-column: 1 / -1; }
.contact-fields label { font-size: 14px; line-height: 1.5; }
.contact-fields label span, .contact-required, #contact-privacy { color: var(--muted); }
.contact-required, #contact-privacy { font-size: 12px; line-height: 1.6; }
.contact-required { margin-bottom: 14px; }
.contact-fields :is(input, select, textarea) {
  display: block;
  width: 100%;
  min-height: 44px;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 10px 12px;
  background: #fbfaf6;
  color: var(--ink);
  font: inherit;
}
.contact-fields :is(input, select, textarea):focus-visible { outline: 2px solid #087876; outline-offset: 2px; }
.contact-fields textarea { resize: vertical; }
#contact-privacy { margin-block: 14px; }
.contact-form button { min-height: 44px; padding-inline: 20px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font: inherit; font-size: 14px; cursor: pointer; }
.contact-form button:hover { background: var(--muted); }
.contact-confirmation { display: none; margin-bottom: 18px; padding: 12px 16px; background: #e5e7dc; font-size: 14px; line-height: 1.6; }
.contact-confirmation:target { display: block; }
.contact-office { border-top: 1px solid var(--line); padding-top: 14px; }
.contact-office h2 { font-size: 15px; font-weight: 450; }
.contact-office address { margin-top: 10px; font-size: 14px; font-style: normal; line-height: 1.65; }
.contact-office address p + p { margin-top: 6px; color: var(--muted); }
.studio-page { padding-block: clamp(34px, 5vw, 72px) 64px; }
.studio-copy { max-width: 720px; }
.studio-copy p { line-height: 1.8; word-break: keep-all; overflow-wrap: anywhere; }
.studio-copy > * + p { margin-top: 14px; }
.studio-lead { font-size: clamp(17px, 2.5vw, 22px); font-weight: 400; line-height: 1.6; word-break: keep-all; }
.studio-office { max-width: 720px; margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line); }
.studio-office h2 { margin: 0 0 8px; font-size: 14px; font-weight: 500; }
.studio-office address { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; font-size: 14px; font-style: normal; line-height: 1.65; }
.studio-office address p + p { margin-top: 3px; }
.studio-office [lang="en"] { font-family: Inter, system-ui, sans-serif; }
@media (max-width: 670px) {
  .shell { width: calc(100% - 32px); }
  .site-header { gap: 12px; padding-block: 16px 12px; }
  .brand img { width: 205px; }
  .site-header nav { gap: 10px; font-size: 12px; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .projects-heading { margin-bottom: 16px; }
  .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .contact-fields :is(input, select, textarea) { font-size: 16px; }
}
@media (max-width: 400px) {
  .contact-fields { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 360px) {
  .project-grid { grid-template-columns: 1fr; }
}
