@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/inter-latin-opsz.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --bg: #f3f1ec;
  --ink: #121212;
  --muted: #6a675f;
  --faint: #8d897f;
  --line: rgba(18, 18, 18, 0.14);
  --mark: #0197a5;
  --header: 68px;
  --pad: 20px;
  --max: 1240px;
  --ko: "Pretendard Variable", "Inter", "Apple SD Gothic Neo", sans-serif;
  --en: "Inter", "Pretendard Variable", sans-serif;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111111;
  --ink: #f3f1ec;
  --muted: #b7b2a8;
  --faint: #8d897f;
  --line: rgba(243, 241, 236, 0.16);
  --mark: #3ec4d2;
}

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

html { scroll-padding-top: calc(var(--header) + 8px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ko);
  font-size: 16px;
  font-weight: 450;
  line-height: 1.65;
  letter-spacing: -0.02em;
  font-optical-sizing: auto;
  font-synthesis: none;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p, h1, h2, h3 { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.skip {
  position: absolute; left: 16px; top: -48px; z-index: 80;
  padding: 10px 14px; background: var(--ink); color: var(--bg);
}
.skip:focus { top: 12px; }

.wrap { width: min(var(--max), calc(100% - var(--pad) * 2)); margin-inline: auto; }
.en { font-family: var(--en); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; font-size: 12px; color: var(--muted); }

.site-header {
  position: sticky; top: 0; z-index: 40;
  height: var(--header);
  display: flex; align-items: center; gap: 28px;
  padding: 0 max(var(--pad), calc((100% - var(--max)) / 2));
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; }
.brand-mark {
  width: 33.5px; aspect-ratio: 540 / 322;
  background: var(--mark);
  -webkit-mask: url("assets/logo/mark.svg") center / contain no-repeat;
  mask: url("assets/logo/mark.svg") center / contain no-repeat;
}
.desk-nav { display: none; gap: 26px; margin-left: auto; }
.desk-nav a { min-height: 44px; display: inline-flex; align-items: center; font-size: 15px; font-weight: 550; }
.desk-nav a:hover { opacity: 0.55; }
a.header-cta { display: none; }
.header-tools { margin-left: auto; display: flex; align-items: center; }
.icon-button, .menu-button { width: 44px; height: 44px; display: grid; place-items: center; }
.icon-button { display: none; }
.icon-button svg { width: 18px; height: 18px; }
.icon-sun { display: none; }
html[data-theme="dark"] .icon-moon { display: none; }
html[data-theme="dark"] .icon-sun { display: block; }
.menu-button { display: flex; flex-direction: column; gap: 6px; }
.menu-button span { width: 18px; height: 1px; background: currentColor; }
body.nav-open .menu-button span:first-child { transform: translateY(3.5px) rotate(40deg); }
body.nav-open .menu-button span:last-child { transform: translateY(-3.5px) rotate(-40deg); }

.btn {
  min-height: 44px; padding: 0 16px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--bg);
  font-size: 15px; font-weight: 550; letter-spacing: -0.02em;
}
.btn:hover { opacity: 0.82; }
.text-link { min-height: 44px; display: inline-flex; align-items: center; font-weight: 550; border-bottom: 1px solid var(--ink); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 30;
  padding: calc(var(--header) + 12px) 24px 28px;
  display: flex; flex-direction: column; background: var(--bg); overflow: auto;
}
.mobile-nav > a {
  min-height: 60px; display: flex; align-items: center;
  border-bottom: 1px solid var(--line);
  font-size: 30px; font-weight: 620; letter-spacing: -0.04em;
}
.mobile-tools { margin-top: auto; padding-top: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.mobile-tools a, .mobile-tools button { min-height: 40px; font-size: 15px; }

.hero {
  box-sizing: border-box;
  padding: 48px 0 8px;
}
#work { padding-top: 36px; }
.hero h1 {
  max-width: 9em;
  font-size: clamp(48px, 8.2vw, 104px);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.048em;
}
.hero .en { display: block; margin-bottom: 18px; }
.lede { margin-top: 22px; max-width: 28em; color: var(--muted); font-size: 17px; font-weight: 450; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 32px; }

.folio {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin: 12px auto 0;
  display: grid;
  gap: 56px;
}
.card { display: block; min-width: 0; max-width: 100%; color: inherit; overflow: hidden; }
.num {
  font-family: var(--en);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.045em;
  line-height: 1;
}
.card .num {
  display: inline;
  margin-right: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--faint);
  vertical-align: 2px;
}
.cat { color: var(--muted); font-size: 14px; font-weight: 500; white-space: nowrap; }
.card-media { display: block; min-width: 0; overflow: hidden; background: #e4e0d8; }
.card-media img, img.mono {
  width: 100%; max-width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center;
  filter: grayscale(1); transform: scale(1);
  transition: filter 500ms ease, transform 500ms ease;
}
.card:hover img.mono, .card:focus-visible img.mono, .card.is-color img.mono,
.shot:hover img.mono, .shot:focus-visible img.mono, .shot.is-color img.mono {
  filter: none; transform: scale(1.03);
}
.card-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "name go" "cat go";
  gap: 4px 14px;
  align-items: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.card-name { grid-area: name; min-width: 0; }
.card-row .cat { grid-area: cat; white-space: normal; }
.card-row .go { grid-area: go; align-self: center; }
.card-name strong {
  display: block;
  font-size: clamp(20px, 1.7vw, 26px);
  font-weight: 620;
  letter-spacing: -0.035em;
  line-height: 1.25;
}
.card-name span { display: block; margin-top: 3px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.go {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.card:hover .go, .card:focus-visible .go { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.card.plain .card-row { margin-top: 0; }

.section { padding: 96px 0 0; }
.section h2 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.045em;
}
.section .en { display: block; margin-bottom: 12px; }
.section-lead { margin-top: 14px; max-width: 32em; color: var(--muted); }

.filters { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; }
.filters button { min-height: 36px; font-size: 15px; font-weight: 550; color: var(--faint); border-bottom: 1px solid transparent; }
.filters button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }

.rule-list { margin-top: 36px; }
.rule-list article {
  display: grid; gap: 8px 20px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.rule-list article:last-child { border-bottom: 1px solid var(--line); }
.rule-list h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 640; letter-spacing: -0.04em; }
.rule-list p { margin: 8px 0 0; color: var(--muted); max-width: 38em; }
.rule-list em { font-style: normal; font-weight: 550; color: var(--ink); }

.process { margin-top: 28px; border-top: 1px solid var(--line); }
.process li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.process strong { display: block; margin-top: 8px; font-size: 26px; font-weight: 640; letter-spacing: -0.04em; }
.process li span { display: block; margin-top: 8px; color: var(--muted); }

.contact { padding: 72px 0 28px; }
.contact-row { display: grid; gap: 18px; }
.contact h2 { font-size: clamp(36px, 5vw, 60px); font-weight: 650; letter-spacing: -0.045em; line-height: 1.1; }
.contact .lede { margin-top: 10px; font-size: 15px; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.contact-phone { font-size: 16px; font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; }
.contact-phone:hover { border-bottom: 1px solid var(--ink); }

.site-foot { padding: 8px 0 28px; }
.foot {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 14px 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.biz { margin: 0; color: var(--faint); font-size: 12px; font-weight: 450; line-height: 1.65; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 4px 0 0; font-size: 13px; font-weight: 500; color: var(--muted); }
.foot small { color: var(--faint); font-size: 12px; }

.float-inq {
  position: fixed; right: 20px; bottom: 20px; z-index: 35;
  height: 40px; padding: 0 16px;
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(12px);
  font-size: 13px; font-weight: 550; letter-spacing: -0.02em;
  opacity: 0; pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.float-inq.is-on { opacity: 1; pointer-events: auto; transform: none; }
.float-inq.is-quiet, body.nav-open .float-inq { opacity: 0; pointer-events: none; }

.reveal { opacity: 0; transform: translateY(18px); }
.folio .card:first-child { opacity: 1; transform: none; }
.reveal.is-in { opacity: 1; transform: none; transition: opacity 0.7s ease, transform 0.7s ease; }

@media (min-width: 860px) {
  :root { --pad: 32px; --header: 74px; }
  .desk-nav { display: flex; }
  a.header-cta { display: inline-flex; }
  .header-tools { margin-left: 0; }
  .icon-button { display: grid; }
  .menu-button { display: none; }
  .hero { padding: 28px 0 0; }
  .folio { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 88px 48px; align-items: start; }
  .card.wide { grid-column: 1 / -1; }
  .card.drop { margin-top: 40px; }
  .card-row {
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas: "name cat go";
    align-items: center;
  }
  .card-row .cat { white-space: nowrap; }
  .rule-list article { grid-template-columns: 100px minmax(180px, 280px) 1fr; align-items: baseline; padding: 32px 0; }
  .rule-list p { margin: 0; }
  .process { display: grid; grid-template-columns: repeat(4, 1fr); }
  .process li { padding: 28px 28px 8px 0; border-bottom: 0; }
  .process li + li { padding-left: 28px; border-left: 1px solid var(--line); }
  .contact { padding: 88px 0 20px; }
  .contact-row { grid-template-columns: 1.2fr 0.8fr; align-items: end; }
  .contact-actions { justify-content: flex-end; }
  .contact-phone { font-size: 17px; }
  .biz { white-space: nowrap; }
  .section { padding-top: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-in { opacity: 1; transform: none; transition: none; }
  img.mono, .card:hover img.mono, .card.is-color img.mono { transition: none; transform: none; }
  .menu-button span { transform: none; }
}
