/* Layout: gallery wall. Quiet paper ground, expanded wordmark as the one loud element, photos carry the color. */
:root {
  --bg: #f3f3f0;
  --surface: #ffffff;
  --fg: #151515;
  --muted: #6a6a64;
  --line: #d9d9d3;
  --accent: #23345f;      /* ink navy, from the studio's own backdrops */
  --on-accent: #f3f3f0;
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "IBM Plex Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --gut: clamp(16px, 4vw, 48px);
  --max: 1440px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111111; --surface: #1a1a19; --fg: #ecece7; --muted: #9b9b94;
    --line: #2c2c2a; --accent: #a9b8e6; --on-accent: #111111; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #111111; --surface: #1a1a19; --fg: #ecece7; --muted: #9b9b94;
  --line: #2c2c2a; --accent: #a9b8e6; --on-accent: #111111; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 16px/1.7 var(--body); word-break: keep-all; overflow-wrap: anywhere;
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2 { text-wrap: balance; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: var(--gut); top: 8px; background: var(--surface); padding: 6px 10px; z-index: 50; }

.eyebrow {
  font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); margin: 0;
}
.eyebrow a { text-decoration: none; }
.eyebrow a:hover { color: var(--fg); }

/* header */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gut); background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.mark {
  font: 800 20px/1 var(--display); font-stretch: 125%; letter-spacing: .02em;
  text-decoration: none; white-space: nowrap;
}
.nav { display: flex; gap: clamp(12px, 2.4vw, 32px); font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); white-space: nowrap; }
.nav a:hover, .nav a[aria-current] { color: var(--fg); }
.nav a[aria-current] { text-decoration: underline; text-underline-offset: 6px; }
.nav .nav-rental { color: var(--accent); font-weight: 500; }

main { max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }

/* hero */
.hero { padding-block: clamp(24px, 4vw, 56px) clamp(32px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.wordmark {
  margin: 0; font: 800 calc((min(100vw, var(--max)) - 2 * var(--gut)) / 5.75)/.82 var(--display); font-stretch: 125%;
  letter-spacing: -.01em; white-space: nowrap;
}
.hero-row {
  display: grid; grid-template-columns: 1.1fr 1.4fr auto; gap: clamp(20px, 4vw, 64px);
  align-items: end; margin-top: clamp(20px, 3vw, 40px);
}
.hero-row > * { min-width: 0; }
.hero h1 { font: 600 clamp(22px, 2.4vw, 32px)/1.35 var(--body); margin: 8px 0 0; letter-spacing: -.01em; }
.lede { color: var(--muted); max-width: 60ch; margin: 0; }
.hero-act { display: flex; gap: 10px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border: 1px solid var(--fg); background: var(--fg); color: var(--bg);
  font: 500 15px/1 var(--body); text-decoration: none; cursor: pointer; border-radius: 0;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.ghost { background: transparent; color: var(--fg); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); background: transparent; }

/* sections */
.sec { padding-block: clamp(40px, 6vw, 88px); }
.sec + .sec { border-top: 1px solid var(--line); }
.sec-head {
  display: flex; justify-content: space-between; align-items: end; gap: 16px 32px;
  flex-wrap: wrap; margin-bottom: clamp(20px, 3vw, 36px);
}
.sec-head > div { min-width: 0; max-width: 62ch; }
.sec-head h2 { font: 700 clamp(26px, 3.2vw, 44px)/1.15 var(--display); font-stretch: 110%; margin: 6px 0 0; letter-spacing: -.01em; }
.sec-head > a { font-size: 15px; color: var(--muted); text-decoration: none; white-space: nowrap; }
.sec-head > a:hover { color: var(--accent); }
.sec-desc { color: var(--muted); margin: 10px 0 0; }

/* photos */
.masonry { columns: 3 300px; column-gap: clamp(12px, 1.6vw, 24px); }
.masonry .ph { break-inside: avoid; margin: 0 0 clamp(12px, 1.6vw, 24px); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 1.2vw, 18px); }
.ph { margin: 0; }
.ph a { display: block; overflow: hidden; background: var(--line); }
.ph img { width: 100%; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.ph a:hover img { transform: scale(1.03); }
.ph.crop a { aspect-ratio: 4 / 5; }
.ph.crop img { height: 100%; object-fit: cover; }

/* category index */
.cat-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--fg); }
.cat-index li { border-bottom: 1px solid var(--line); }
.cat-index a {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr) auto 32px;
  align-items: center; gap: 20px; padding: clamp(14px, 2vw, 22px) 0; text-decoration: none;
}
.ci-en { font: 700 clamp(22px, 3.4vw, 48px)/1.05 var(--display); font-stretch: 120%; text-transform: uppercase; letter-spacing: -.01em; }
.ci-ko { color: var(--muted); }
.ci-th { display: flex; gap: 6px; }
.ci-th img { width: 56px; height: 56px; object-fit: cover; }
.cat-index i { font-style: normal; font-size: 22px; justify-self: end; transition: transform .3s; }
.cat-index a:hover .ci-en { color: var(--accent); }
.cat-index a:hover i { transform: translateX(4px); }

.clients { display: grid; grid-template-columns: 160px 1fr; gap: 20px; align-items: baseline; }
.clients ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 28px; }
.clients li { font: 600 clamp(17px, 1.8vw, 22px)/1.4 var(--display); font-stretch: 110%; }
.clients li:last-child { color: var(--muted); font: 400 15px/1.9 var(--body); }

/* CTA */
.cta { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 24px); padding-block: clamp(24px, 4vw, 56px) clamp(48px, 6vw, 96px); }
.cta a {
  position: relative; display: grid; gap: 8px; align-content: start; text-decoration: none;
  padding: clamp(24px, 3.4vw, 48px); min-height: 220px; border: 1px solid var(--fg);
}
.cta strong { font: 700 clamp(24px, 2.8vw, 38px)/1.2 var(--body); letter-spacing: -.02em; }
.cta a > span:not(.eyebrow) { color: var(--muted); max-width: 40ch; }
.cta i { position: absolute; right: clamp(20px, 3vw, 40px); bottom: clamp(16px, 2.6vw, 36px); font-style: normal; font-size: 32px; transition: transform .3s; }
.cta a:hover i { transform: translateX(6px); }
.cta .cta-rental { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.cta .cta-rental .eyebrow, .cta .cta-rental > span:not(.eyebrow) { color: color-mix(in srgb, var(--on-accent) 78%, transparent); }
.cta .cta-rental:hover i { transform: translate(4px, -4px); }

/* page head + chips */
.page-head { padding-block: clamp(32px, 5vw, 72px) clamp(8px, 2vw, 24px); }
.page-head h1 { font: 700 clamp(34px, 5vw, 68px)/1.1 var(--body); letter-spacing: -.03em; margin: 10px 0 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chips a {
  padding: 9px 16px; border: 1px solid var(--line); text-decoration: none; font-size: 15px;
  border-radius: 999px; background: var(--surface);
}
.chips a span { font: 400 12px var(--mono); color: var(--muted); margin-left: 4px; }
.chips a:hover { border-color: var(--fg); }
.chips a[aria-current] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.chips a[aria-current] span { color: inherit; opacity: .7; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); padding-block: 24px clamp(40px, 6vw, 80px); }
.info { margin: 0 0 40px; display: grid; gap: 0; border-top: 1px solid var(--fg); }
.info > div, .foot-info > div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info dt, .foot-info dt { font: 400 12px/1.9 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.info dd, .foot-info dd { margin: 0; min-width: 0; }
.sel { user-select: all; }
.copy { margin-left: 8px; font: 400 12px var(--mono); padding: 3px 8px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); cursor: pointer; }
.steps { list-style: none; counter-reset: s; margin: 14px 0 0; padding: 0; display: grid; gap: 0; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; padding: 12px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); font: 500 13px/1.7 var(--mono); color: var(--accent); grid-row: span 2; }
.steps span { color: var(--muted); font-size: 14px; }

.quote { background: var(--surface); padding: clamp(20px, 3.4vw, 44px); display: grid; gap: 18px; border: 1px solid var(--line); }
.quote h2 { margin: 0; font: 700 24px/1.3 var(--body); }
.quote label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; min-width: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.quote input:not([type="checkbox"]), .quote select, .quote textarea {
  width: 100%; font: 400 16px/1.5 var(--body); color: var(--fg); background: var(--bg);
  border: 1px solid var(--line); border-radius: 0; padding: 11px 12px;
}
.quote input:focus, .quote select:focus, .quote textarea:focus { border-color: var(--fg); outline: none; }
.quote fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.quote legend { font-size: 14px; font-weight: 500; margin-bottom: 8px; padding: 0; }
.ck { display: flex !important; grid-template-columns: none; align-items: center; gap: 8px !important; font-weight: 400 !important; }
.ck input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; flex: none; }
.agree { align-items: flex-start !important; color: var(--muted); font-size: 13px !important; line-height: 1.6; }
.agree input { margin-top: 2px; }
.quote .btn { justify-self: start; padding-inline: 32px; }
.form-msg { margin: 0; font-size: 14px; min-height: 1.5em; }
.form-msg.err { color: #b3261e; }
.form-msg.ok { color: var(--accent); }

.rental {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: clamp(28px, 4vw, 48px); margin-bottom: clamp(40px, 6vw, 80px);
  background: var(--accent); color: var(--on-accent);
}
.rental h2 { margin: 6px 0 6px; font: 700 clamp(24px, 2.8vw, 36px)/1.2 var(--body); }
.rental p { margin: 0; }
.rental .eyebrow { color: inherit; opacity: .75; }
.rental .btn { background: var(--on-accent); color: var(--accent); border-color: var(--on-accent); }
.rental .note { font: 400 13px var(--mono); opacity: .75; border: 1px dashed currentColor; padding: 10px 14px; }

/* footer */
.foot {
  max-width: var(--max); margin-inline: auto; padding: 40px var(--gut) 48px;
  border-top: 1px solid var(--fg); display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px 48px;
}
.foot-brand { font: 800 26px/1.1 var(--display); font-stretch: 125%; }
.foot-brand span { display: block; margin-top: 10px; font: 400 14px var(--body); color: var(--muted); }
.foot-info { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; }
.foot-info > div { grid-template-columns: 1fr; gap: 2px; border-bottom: 0; padding: 0; }
.foot-sns, .sns { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot-sns { grid-column: 1 / -1; font-size: 14px; }
.foot-sns a, .sns a { text-decoration: none; }
.foot-sns a:hover, .sns a:hover { color: var(--accent); }
.foot-copy { grid-column: 1 / -1; margin: 0; font: 400 12px var(--mono); color: var(--muted); }

/* lightbox */
.lb {
  position: fixed; inset: 0; z-index: 100; display: grid; grid-template-columns: 64px 1fr 64px; align-items: center;
  background: color-mix(in srgb, var(--bg) 96%, transparent);
  padding: calc(env(safe-area-inset-top, 0px) + 16px) 0 calc(env(safe-area-inset-bottom, 0px) + 16px);
}
.lb figure { margin: 0; display: grid; justify-items: center; min-width: 0; }
.lb img { max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); width: auto; object-fit: contain; }
.lb button { background: none; border: 0; color: var(--fg); font: 300 44px/1 var(--body); cursor: pointer; height: 100%; }
.lb .lb-x { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 8px); right: 12px; height: auto; font-size: 36px; padding: 8px 12px; z-index: 1; }

/* responsive */
@media (max-width: 1000px) {
  .hero-row { grid-template-columns: 1fr 1fr; }
  .hero-act { grid-column: 1 / -1; }
  .cat-index a { grid-template-columns: minmax(0, 1fr) auto 24px; }
  .ci-th { display: none; }
  .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 15px; }
  .nav { gap: 14px; font-size: 14px; }
  .mark { font-size: 17px; }
  .hero-row { grid-template-columns: 1fr; gap: 16px; }
  .masonry { columns: 2; column-gap: 10px; }
  .masonry .ph { margin-bottom: 10px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat-index a { grid-template-columns: minmax(0, 1fr) 24px; gap: 4px 12px; }
  .ci-en { grid-column: 1; }
  .ci-ko { grid-column: 1; font-size: 14px; }
  .cat-index i { grid-column: 2; grid-row: 1 / span 2; }
  .clients { grid-template-columns: 1fr; gap: 12px; }
  .cta { grid-template-columns: 1fr; }
  .cta a { min-height: 0; padding-bottom: 64px; }
  .contact { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
  .foot-info { grid-template-columns: 1fr; gap: 10px; }
  .lb { grid-template-columns: 40px 1fr 40px; }
  .lb button { font-size: 34px; }
}
@media (max-width: 380px) {
  .nav { gap: 10px; font-size: 13px; }
  .mark { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
