/* 디자인 포근 — 기본 토큰 */
:root {
  --stone: #F7F6F3;   /* 바탕: 밝은 석고 */
  --linen: #FDFDFB;   /* 가장 밝은 면 (입력칸, 사진 위 글자) */
  --ink: #26231F;     /* 글자 */
  --ink-soft: #5F5A53;
  --walnut: #5B4636;  /* 포인트 */
  --line: rgba(38, 35, 31, 0.16);
  --danger: #8A3A2C;

  --tone-oak: #CDBFA9;
  --tone-linen: #DCD7CE;
  --tone-stone: #C9C7C1;
  --tone-walnut: #8C7461;

  /* 로고와 같은 결의 넓은 산세리프(Archivo) — 한글은 Pretendard로 이어집니다 */
  --sans: "Archivo", "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --display: var(--sans);

  --gutter: clamp(16px, 3.4vw, 48px);
  --section: clamp(96px, 13vw, 190px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: -0.01em;
  font-stretch: 108%;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ol, ul, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }

:focus-visible { outline: 2px solid var(--walnut); outline-offset: 3px; }

.skip {
  position: absolute; left: var(--gutter); top: -60px; z-index: 100;
  background: var(--ink); color: var(--linen); padding: 8px 14px;
}
.skip:focus { top: 12px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* 사진 — 사진이 없으면 재료 톤의 면이 대신 보입니다 */
.photo { position: relative; overflow: hidden; background: var(--tone-oak); }
[data-tone="linen"]  { background-color: var(--tone-linen); }
[data-tone="stone"]  { background-color: var(--tone-stone); }
[data-tone="walnut"] { background-color: var(--tone-walnut); }
[data-tone="oak"]    { background-color: var(--tone-oak); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.text-link { text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; font-size: 15px; }
.text-link:hover { color: var(--walnut); }
.empty { color: var(--ink-soft); padding: 40px 0; }

/* 머리글 */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  background: var(--stone);
  transition: background-color .35s ease, color .35s ease;
}
.site-header.is-over:not(.is-solid):not(.menu-open) { background: transparent; color: var(--linen); }

.wordmark { display: block; padding: 6px 0; color: inherit; }
.logo {
  display: block; aspect-ratio: 711 / 97; background-color: currentColor;
  -webkit-mask: url("/img/logo.svg") center / contain no-repeat;
          mask: url("/img/logo.svg") center / contain no-repeat;
}
.wordmark .logo { width: clamp(132px, 12vw, 168px); }
.wordmark-ko { font-size: clamp(17px, 1.5vw, 20px); font-weight: 300; letter-spacing: 0.08em; line-height: 1; white-space: nowrap; }

/* 영문 ↔ 한글 바꾸기 — 두 글자를 겹쳐 두어 폭이 흔들리지 않습니다 */
.swap { display: inline-grid; align-items: center; }
.swap > span { grid-area: 1 / 1; transition: opacity .3s ease, transform .3s ease; }
.swap-ko { opacity: 0; transform: translateY(5px); justify-self: center; }
.wordmark .swap-ko { justify-self: start; }
@media (hover: hover) {
  a:hover > .swap .swap-en { opacity: 0; transform: translateY(-5px); }
  a:hover > .swap .swap-ko { opacity: 1; transform: none; }
}
a:focus-visible > .swap .swap-en { opacity: 0; transform: translateY(-5px); }
a:focus-visible > .swap .swap-ko { opacity: 1; transform: none; }

.site-nav { display: flex; gap: clamp(20px, 2.6vw, 40px); font-size: 14.5px; font-weight: 300; }
.site-nav .swap-en { font-stretch: 112%; letter-spacing: 0.01em; }
.site-nav a { text-decoration: none; padding: 4px 0; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current] { border-bottom-color: currentColor; }
.nav-contact { font-weight: 400; }

.menu-toggle {
  display: none;
  background: none; border: 0; padding: 8px 0 8px 12px;
  font: inherit; font-size: 14.5px; color: inherit; cursor: pointer;
}

/* 첫 화면 — 사진을 액자처럼 여백 안에 둡니다 */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  padding: var(--gutter);
  padding-top: 0;
  color: var(--linen);
}
.hero-media { position: absolute; inset: 0 var(--gutter) var(--gutter); }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(20, 17, 14, .38), rgba(20, 17, 14, 0) 28%, rgba(20, 17, 14, 0) 62%, rgba(20, 17, 14, .42));
}
/* 사진은 2.4초 동안 천천히 겹쳐 바뀌고, 보이는 동안 아주 느리게 다가옵니다 */
.hero-slide { opacity: 0; transition: opacity 2.4s cubic-bezier(.4, 0, .2, 1); }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { transform-origin: 50% 60%; }
.hero-slide.is-active img { animation: drift 9.5s linear both; }
/* 휴대폰에서만 쓰는 흐린 배경 사진 — PC에서는 숨깁니다 */
.hero-slide .hero-bg { display: none; }
.hero-side { display: grid; justify-items: end; gap: 18px; }
.hero-caption { display: grid; justify-items: end; gap: 4px; border-bottom: 0; padding-bottom: 0; }
.hero-caption-kicker { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-stretch: 112%; opacity: .7; }
.hero-caption-title { font-size: 15px; border-bottom: 1px solid rgba(242, 241, 238, .5); padding-bottom: 2px; transition: border-color .3s ease; }
.hero-caption:hover .hero-caption-title { border-bottom-color: var(--linen); }
/* 01 ─── 05 숫자와 진행선 */
.hero-nav { display: flex; align-items: center; gap: 4px; font-size: 12px; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.hero-nav button {
  width: 28px; height: 28px; padding: 0; border: 0; background: none; color: inherit;
  font: inherit; font-size: 20px; line-height: 1; cursor: pointer; opacity: .65; transition: opacity .2s ease;
}
.hero-nav button:hover, .hero-nav button:focus-visible { opacity: 1; }
.hero-count { display: flex; align-items: center; gap: 12px; }
.hero-total { opacity: .6; }
.hero-bar { position: relative; width: 72px; height: 1px; background: rgba(242, 241, 238, .3); overflow: hidden; }
.hero-bar > span { position: absolute; inset: 0; background: var(--linen); transform: scaleX(0); transform-origin: left; }
.hero.is-playing .hero-bar > span { animation: fill 7s linear both; }
.page-home .site-header.is-over:not(.is-solid):not(.menu-open) { padding-left: calc(var(--gutter) * 2); padding-right: calc(var(--gutter) * 2); }

.hero-foot {
  position: absolute; z-index: 2;
  left: calc(var(--gutter) * 2); right: calc(var(--gutter) * 2); bottom: calc(var(--gutter) * 2);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  animation: rise 1.6s .8s cubic-bezier(.2, .7, .2, 1) both;
}
.hero-lede { font-size: clamp(14px, 1.05vw, 16px); font-weight: 300; letter-spacing: 0.02em; }
.hero-caption { text-decoration: none; }

/* 첫 방문 로고 인트로 — 로고와 슬로건이 떠오른 뒤 천천히 걷히며 사진 화면이 나옵니다 */
.intro { display: none; }
.intro-play .intro {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-content: center; justify-items: center; gap: 26px;
  background: var(--ink); color: var(--linen); cursor: pointer;
  animation: introOut 1.1s cubic-bezier(.4, 0, .2, 1) 2.6s forwards;
}
.intro-logo { width: clamp(220px, 34vw, 440px); animation: introIn 1.2s cubic-bezier(.2, .7, .2, 1) .2s both; }
.intro-slogan {
  font-size: clamp(14px, 1.3vw, 17px); font-weight: 300; letter-spacing: .14em; opacity: .85;
  animation: introIn 1.2s cubic-bezier(.2, .7, .2, 1) .8s both;
}
.intro-play.intro-done .intro { animation: introOut .6s ease forwards; }
.intro-play .hero-foot { animation-delay: 3.4s; }
@keyframes introIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes introOut { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) {
  .intro-play .intro { animation-delay: 1.2s; animation-duration: .3s; }
  .intro-logo, .intro-slogan { animation: none; }
}

@keyframes settle { from { transform: scale(1.05); } to { transform: none; } }
@keyframes drift { from { transform: scale(1.07); } to { transform: scale(1); } }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* 공통 섹션 */
.page-head + section { padding-top: clamp(16px, 2vw, 32px) !important; }
.studio, .selected, .services, .process, .cta {
  padding: var(--section) var(--gutter) 0;
}
.section-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(15px, 1.2vw, 17px);
  letter-spacing: 0.08em;
  color: var(--walnut);
}
.section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  margin-bottom: clamp(32px, 4vw, 56px);
}

/* 스튜디오 */
.studio {
  display: grid;
  grid-template-columns: 3fr 9fr;
  column-gap: clamp(24px, 4vw, 64px);
}
.studio-slogan { font-size: 15px; font-weight: 400; color: var(--walnut); line-height: 1.7; }
.studio-body { display: grid; gap: 36px; max-width: 34em; }
.studio-statement {
  font-size: clamp(19px, 1.7vw, 24px);
  font-weight: 250;
  line-height: 1.85;
  letter-spacing: -0.015em;
}
/* 소개글은 뜻이 끊기는 자리마다 줄을 나눕니다 (휴대폰에서도 같은 줄 나눔) */
.studio-story { font-size: clamp(16px, 1.25vw, 18px); font-weight: 300; line-height: 1.95; }
.studio-statement span, .studio-story span, .studio-note span { display: block; }
.studio-note { font-size: 15px; font-weight: 300; color: var(--ink-soft); line-height: 1.85; }
.studio-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 48px; border-top: 1px solid var(--line); padding-top: 20px; }
.studio-facts dt { font-size: 13px; color: var(--ink-soft); }
.studio-facts dd { font-size: 15px; font-weight: 400; }

/* 메인 프로젝트 — 한 화면에 한 프로젝트씩, 크기를 번갈아 */
.frames {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(16px, 2.4vw, 40px);
  row-gap: clamp(48px, 6vw, 88px);
}
.frame { display: block; text-decoration: none; }
.frame-media { aspect-ratio: 4 / 5; width: 100%; }
.frame-caption { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 16px; }
.frame-title { font-family: var(--display); font-size: clamp(18px, 1.6vw, 22px); }
.frame-meta { font-size: 14px; color: var(--ink-soft); }
.frame:hover .frame-title { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }

/* 서비스 */
.services, .process {
  display: grid;
  grid-template-columns: 3fr 9fr;
  column-gap: clamp(24px, 4vw, 64px);
}
.service-list { border-top: 1px solid var(--line); }
.service {
  display: grid;
  grid-template-columns: minmax(8em, 1fr) 2fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.service dt { font-family: var(--display); font-size: clamp(20px, 2vw, 26px); font-weight: 400; line-height: 1.4; }
.service dd { color: var(--ink-soft); max-width: 34em; }

/* 진행 과정 — 실제 순서라서 번호를 씁니다 */
.process-list {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(16px, 2.4vw, 40px);
  row-gap: clamp(40px, 4vw, 64px);
}
.process-list > li { counter-increment: step; border-top: 1px solid var(--ink); padding-top: 16px; }
.process-list > li::before {
  content: counter(step);
  display: block;
  font-size: 15px;
  color: var(--walnut);
  margin-bottom: 24px;
}
.process-list h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.process-list ul { display: grid; gap: 4px; }
.process-list ul li { position: relative; padding-left: 14px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.7; }
.process-list ul li::before { content: ""; position: absolute; left: 0; top: .85em; width: 6px; height: 1px; background: currentColor; }

/* 상담 안내 */
.cta {
  display: grid;
  grid-template-columns: 7fr 5fr;
  column-gap: clamp(24px, 4vw, 64px);
  align-items: end;
  padding-bottom: var(--section);
}
.cta-title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1.3;
}
.cta-body p { color: var(--ink-soft); max-width: 28em; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  border: 1px solid var(--ink);
  background: transparent; color: var(--ink);
  font: inherit; font-size: 15px; font-weight: 500; text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.button:hover { background: var(--ink); color: var(--linen); }
.button--solid { background: var(--ink); color: var(--linen); }
.button--solid:hover { background: var(--walnut); border-color: var(--walnut); }

/* 내부 페이지 머리 */
.page-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap;
  padding: calc(72px + clamp(48px, 8vw, 120px)) var(--gutter) clamp(32px, 5vw, 64px);
}
.page-title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.2;
}
.filters { display: flex; gap: 24px; font-size: 15px; }
.filters a { text-decoration: none; color: var(--ink-soft); padding-bottom: 2px; border-bottom: 1px solid transparent; }
.filters a[aria-current] { color: var(--ink); border-bottom-color: currentColor; }
.notfound { display: block; padding-bottom: var(--section); }
.notfound > p { margin-top: 20px; color: var(--ink-soft); }

/* 프로젝트 목록 — 두 열, 오른쪽 열은 반 박자 늦게 */
.works-wrap { padding: 0 var(--gutter) var(--section); }
.works {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(16px, 2.4vw, 40px);
  row-gap: clamp(48px, 6vw, 88px);
}
.work a { display: block; text-decoration: none; }
.work-media { aspect-ratio: 4 / 5; }
.work-meta { display: grid; gap: 2px; padding-top: 14px; }
.work-title { font-family: var(--display); font-size: 19px; }
.work-sub { font-size: 14px; color: var(--ink-soft); }
.work a:hover .work-title { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }

/* 프로젝트 상세 */
.detail-head {
  display: grid;
  grid-template-columns: 5fr 7fr;
  column-gap: clamp(24px, 4vw, 64px);
  row-gap: 32px;
  padding: calc(72px + clamp(48px, 8vw, 120px)) var(--gutter) clamp(40px, 5vw, 72px);
}
.detail-title {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(34px, 4.6vw, 60px); line-height: 1.25;
}
.detail-meta {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px;
  align-self: end;
  border-top: 1px solid var(--line);
}
.detail-meta > div { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.detail-meta dt { color: var(--ink-soft); min-width: 3em; }
.detail-summary { grid-column: 2; max-width: 36em; color: var(--ink-soft); font-size: 16.5px; line-height: 1.85; }

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 24px);
  padding: 0 var(--gutter);
}
.shot { overflow: hidden; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot--full { grid-column: 1 / -1; }
.shot.photo { aspect-ratio: 16 / 9; }

.detail-nav {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 24px;
  padding: var(--section) var(--gutter);
}
.detail-nav a { text-decoration: none; font-family: var(--display); font-size: clamp(17px, 1.6vw, 21px); }
.detail-nav a span { display: block; font-family: var(--sans); font-size: 13px; color: var(--ink-soft); margin-bottom: 4px; }
.detail-next { text-align: right; }
.detail-all { font-family: var(--sans) !important; font-size: 15px !important; border-bottom: 1px solid currentColor; }
.detail-nav a:hover { color: var(--walnut); }

/* 상담 문의 페이지 */
.contact-page {
  display: grid;
  grid-template-columns: 5fr 7fr;
  column-gap: clamp(24px, 5vw, 96px);
  padding: calc(72px + clamp(48px, 8vw, 120px)) var(--gutter) var(--section);
}
.contact-side { align-self: start; position: sticky; top: 120px; }
.contact-info { margin-top: 40px; border-top: 1px solid var(--line); }
.contact-info > div {
  display: grid; grid-template-columns: 6em 1fr; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.contact-info dt { color: var(--ink-soft); }
.contact-info a { text-decoration: none; border-bottom: 1px solid var(--line); }
.contact-info a:hover { border-bottom-color: currentColor; }

.inquiry { display: grid; gap: 40px; }
/* 항목 묶음 — 제목 대신 가는 선으로 나눕니다 */
.form-group { display: grid; gap: 24px; }
.form-group + .form-group { border-top: 1px solid var(--line); padding-top: 40px; }
/* 공간 유형에 따라 보이는 항목 — 주거(home) / 상가, 사무실(shop) */
.inquiry[data-kind="shop"] .only-home,
.inquiry:not([data-kind="shop"]) .only-shop { display: none; }
.field-help { font-size: 13.5px; color: var(--ink-soft); line-height: 1.7; }
.field input[type="file"] { padding: 10px; font-size: 14px; }
.field-legend { font-size: 14.5px; font-weight: 500; padding: 0; margin-bottom: 8px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-block; padding: 9px 16px; font-size: 14.5px;
  border: 1px solid rgba(38, 35, 31, .25); background: var(--linen);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.choice input:checked + span { background: var(--ink); color: var(--linen); border-color: var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--walnut); outline-offset: 2px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.field label { font-size: 14.5px; font-weight: 500; }
.req { font-weight: 400; color: var(--ink-soft); font-size: 13px; }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--linen);
  border: 1px solid transparent; border-bottom-color: rgba(38, 35, 31, .35);
  border-radius: 0;
  padding: 13px 14px;
  appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%;
  background-size: 5px 5px; background-repeat: no-repeat;
  padding-right: 40px;
}
.field textarea { resize: vertical; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: #8E887F; }
[aria-invalid="true"] { border-color: var(--danger) !important; }
.field-error, .consent .field-error { color: var(--danger); font-size: 14px; }
.form-error { color: var(--danger); background: rgba(138, 58, 44, .08); padding: 14px 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.consent { display: grid; gap: 10px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--ink); flex: none; }
.consent-title { font-size: 15px; font-weight: 600; margin: 0; }
.consent-terms { margin: 0; font-size: 13.5px; line-height: 1.7; border-top: 1px solid var(--line); }
.consent-terms > div { display: grid; grid-template-columns: 8.5em 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.consent-terms dt { color: var(--ink-soft); }
.consent-terms dd { margin: 0; }
.consent-note { font-size: 13.5px; color: var(--ink-soft); margin: 0; }
.consent-note a { color: var(--ink); }

/* 개인정보 처리방침 */
.privacy { max-width: 760px; padding: 0 var(--gutter) var(--section); font-size: 15px; line-height: 1.85; }
.privacy section { margin-top: 36px; }
.privacy h2 { font-size: 17px; font-weight: 600; margin: 0 0 10px; }
.privacy p { margin: 0 0 8px; }
.privacy ul { margin: 0 0 8px; padding-left: 1.2em; }
.privacy li + li { margin-top: 4px; }
.footer-privacy { display: inline-block; margin-bottom: 8px; color: var(--linen); font-weight: 600; }
.inquiry > .button { justify-self: start; min-width: 240px; }

.sent { display: grid; gap: 20px; justify-items: start; padding: 40px 0; }
.sent h2 { font-family: var(--display); font-weight: 400; font-size: clamp(24px, 2.6vw, 34px); }
.sent p { color: var(--ink-soft); max-width: 30em; }

/* 바닥글 */
.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: clamp(24px, 4vw, 64px);
  align-items: end;
  padding: 56px var(--gutter) 40px;
  background: var(--ink);
  color: rgba(242, 241, 238, 0.62);
  font-size: 13px;
  line-height: 1.8;
}
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--linen); }
.footer-biz p + p { margin-top: 2px; }
.footer-copy { text-align: right; }
.footer-social { display: flex; justify-content: flex-end; gap: 20px; margin-bottom: 10px; font-size: 14px; font-stretch: 112%; }
.footer-social a { color: var(--linen); border-bottom: 1px solid rgba(253, 253, 251, .35); }
.footer-social a:hover { border-bottom-color: currentColor; }
.nav-social { display: none; }

/* 태블릿 */
@media (max-width: 1024px) {
  .studio, .services, .process { grid-template-columns: 1fr; row-gap: 32px; }
  .process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .works { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta { grid-template-columns: 1fr; row-gap: 32px; }
  .contact-page { grid-template-columns: 1fr; row-gap: 56px; }
  .contact-side { position: static; }
  .site-footer { grid-template-columns: 1fr; row-gap: 20px; }
  .footer-copy { text-align: left; }
  .consent-terms > div { grid-template-columns: 1fr; gap: 2px; }
  .footer-social { justify-content: flex-start; }
}

/* 휴대폰 */
@media (max-width: 760px) {
  body { font-size: 15.5px; }

  .menu-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; gap: 4px;
    padding: 0 var(--gutter);
    background: var(--stone); color: var(--ink);
    font-family: var(--display); font-size: 30px;
    opacity: 0; visibility: hidden;
    transition: opacity .25s ease, visibility .25s;
  }
  .site-nav a { padding: 8px 0; border: 0; width: max-content; }
  .site-nav .swap { display: flex; align-items: baseline; gap: 14px; }
  .site-nav .swap > span { opacity: 1; transform: none; }
  .site-nav .swap-ko { font-size: 15px; color: var(--ink-soft); }
  .nav-social { display: flex; gap: 24px; margin-top: 32px; font-family: var(--sans); font-size: 15px; }
  .site-nav .nav-social a { padding: 4px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
  .site-nav.is-open { opacity: 1; visibility: visible; }
  .nav-contact { font-weight: 400; color: var(--walnut); }
  .page-home .site-header.is-over:not(.is-solid):not(.menu-open) { padding-left: calc(var(--gutter) + 12px); padding-right: calc(var(--gutter) + 12px); }

  .hero { height: 88svh; min-height: 520px; }
  .hero-foot { left: calc(var(--gutter) + 16px); right: calc(var(--gutter) + 16px); bottom: calc(var(--gutter) + 16px); flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-side, .hero-caption { justify-items: start; }
  /* 휴대폰은 화면이 세로로 길어서 가로 사진이 잘립니다 — 사진은 잘리지 않게 전부 보여 주고,
     위아래 빈 곳은 같은 사진을 흐리게 깔아 채웁니다 */
  .hero-slide .hero-img { object-fit: contain; }
  .hero-slide.is-active .hero-img { animation: none; }
  .hero-slide .hero-bg {
    display: block; object-fit: cover;
    filter: blur(22px) brightness(.72) saturate(.9);
    transform: scale(1.15);
  }
  .hero-slide.is-active .hero-bg { animation: none; }

  .section-head { flex-direction: column; gap: 8px; }
  .studio-body { gap: 28px; }
  .studio-facts { grid-template-columns: 1fr; row-gap: 12px; }
  .studio-facts > div { display: flex; gap: 16px; }
  .studio-facts dt { min-width: 4.5em; }
  .frames { grid-template-columns: 1fr; row-gap: 48px; }
  .frame-caption { flex-direction: column; gap: 2px; }

  .service { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }

  .process-list { grid-template-columns: 1fr; row-gap: 0; }
  .process-list > li {
    display: grid; grid-template-columns: 2em 1fr; column-gap: 8px;
    padding: 20px 0; border-top-color: var(--line);
  }
  .process-list > li::before { margin: 0; grid-row: span 2; }

  .contact-actions { flex-direction: column; }
  .contact-actions .button { width: 100%; }

  .works { grid-template-columns: 1fr; }

  .detail-head { grid-template-columns: 1fr; }
  .detail-summary { grid-column: 1; }
  .detail-meta { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; padding: 0; gap: 8px; }
  .shot--full { grid-column: 1; }
  .detail-nav { grid-template-columns: 1fr 1fr; }
  .detail-all { grid-column: 1 / -1; grid-row: 2; justify-self: center; }

  .field-row { grid-template-columns: 1fr; }
  .inquiry > .button { width: 100%; justify-self: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
