/* 브랜드 색: 세 쌍을 항상 짝으로 사용 (바탕 / 글자) */
:root {
  --ground: #e7e7e7;
  --ink: #000000;
  --blue: #768baa;
  --blue-ink: #323232;
  --lime: #c5f122;
  --lime-ink: #515459;
  --soft: rgba(0, 0, 0, 0.64);
  --pad: clamp(16px, 4vw, 56px);
  --gap: clamp(16px, 2vw, 32px);
  --section: clamp(72px, 11vw, 168px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "DM Sans", "Pretendard Variable", Pretendard, -apple-system, "Malgun Gothic", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--lime); color: var(--lime-ink); }

h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

h1, h2, h3 { font-weight: 800; letter-spacing: -0.035em; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 7.4vw, 6rem); }
h2 { font-size: clamp(1.875rem, 4.4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 2.8vw, 2.5rem); letter-spacing: -0.03em; }

h1 .br { display: block; }
mark { background: var(--lime); color: var(--lime-ink); padding: 0 0.12em; }

.wrap { max-width: 1440px; margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section); }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.6; max-width: 34em; }
.soft { color: var(--soft); }

/* 머리말 */
.site-head {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 72px; max-width: 1440px; margin-inline: auto; padding-inline: var(--pad);
  font-weight: 700; letter-spacing: -0.02em;
}
.mark-name { font-size: clamp(1.25rem, 1.8vw, 1.625rem); text-decoration: none; }
.site-head nav { display: flex; gap: clamp(18px, 3vw, 44px); font-size: clamp(1.0625rem, 1.5vw, 1.375rem); }
.site-head nav a { text-decoration: none; padding-block: 10px; }
.site-head nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 60px; padding: 0 32px; border: 0; cursor: pointer;
  background: var(--ink); color: var(--ground);
  font: inherit; font-weight: 700; font-size: 1.125rem; letter-spacing: -0.01em;
  text-decoration: none; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 160ms ease, color 160ms ease;
}
.btn:active { transform: scale(0.97); }
.field-lime .btn { background: var(--lime-ink); color: var(--lime); }
@media (hover: hover) and (pointer: fine) {
  .site-head nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
  .btn:hover { background: var(--lime); color: var(--lime-ink); }
  .field-lime .btn:hover { background: var(--ink); color: var(--ground); }
}

/* 색면 */
.field-blue { background: var(--blue); color: var(--blue-ink); }
.field-blue ::selection { background: var(--blue-ink); color: var(--blue); }
.field-lime { background: var(--lime); color: var(--lime-ink); }
.field-lime ::selection { background: var(--lime-ink); color: var(--lime); }

/* 사진 자리: images 폴더에 같은 이름의 파일을 넣으면 자동으로 채워집니다 */
.shot { position: relative; overflow: hidden; background: var(--lime); color: var(--lime-ink); }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shot .slot { position: absolute; left: 20px; right: 20px; bottom: 16px; font-size: 0.9375rem; font-weight: 600; line-height: 1.4; }
.shot:has(img) .slot { display: none; }
.shot.is-blue { background: var(--blue); color: var(--blue-ink); }
.shot.is-blue .slot { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }

/* 첫 화면 */
.hero { padding-top: clamp(28px, 5vw, 64px); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero h1 .line > span { display: block; }
.hero-grid {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap);
  align-items: end; margin-top: clamp(28px, 4vw, 56px);
}
.hero-copy { grid-column: 1 / span 4; padding-bottom: 8px; }
.hero-shot { grid-column: 6 / -1; height: clamp(260px, 46vh, 520px); margin-right: calc(var(--pad) * -1); }

/* 장점 */
.rows { margin-top: clamp(40px, 6vw, 88px); }
.rows > li {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap);
  padding-block: clamp(24px, 3.2vw, 44px); border-top: 1px solid currentColor;
}
.rows > li:last-child { border-bottom: 1px solid currentColor; }
.rows h3 { grid-column: 1 / span 5; }
.rows p { grid-column: 7 / -1; font-size: clamp(1.5rem, 2vw, 1.625rem); line-height: 1.45; letter-spacing: -0.015em; }

/* 후기 */
.quotes { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(40px, 6vw, 88px) var(--gap); margin-top: clamp(40px, 6vw, 88px); }
.quote blockquote { font-weight: 700; letter-spacing: -0.025em; line-height: 1.35; }
.quote footer { margin-top: 20px; font-size: 0.9375rem; color: var(--soft); }
.quote.is-big { grid-column: 1 / span 9; }
.quote.is-big blockquote { font-size: clamp(1.625rem, 3.4vw, 2.875rem); line-height: 1.25; }
.quote.is-small { grid-column: span 5; }
.quote.is-small:last-child { grid-column: 7 / span 5; }
.quote.is-small blockquote { font-size: clamp(1.1875rem, 1.7vw, 1.5rem); }
.note { margin-top: 20px; font-size: 0.9375rem; color: var(--soft); }

/* 자주 묻는 질문 */
.faq { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
.faq h2 { grid-column: 1 / span 4; align-self: start; position: sticky; top: 32px; }
.faq-list { grid-column: 7 / -1; border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--ink); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-block: 26px; cursor: pointer; list-style: none;
  font-size: clamp(1.1875rem, 1.8vw, 1.5rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.35;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 18px; height: 18px;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
  transition: transform 240ms var(--ease-out);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding-bottom: 28px; max-width: 38em; color: var(--soft); }
.faq-list details::details-content { block-size: 0; overflow: clip; transition: block-size 280ms var(--ease-out), content-visibility 280ms allow-discrete; }
.faq-list details[open]::details-content { block-size: auto; }

/* 마지막 버튼 구역 */
.closing h2 { font-size: clamp(2.25rem, 6.6vw, 5.5rem); max-width: 12em; }
.closing p { margin-top: 24px; font-size: clamp(1.125rem, 1.6vw, 1.375rem); max-width: 30em; font-weight: 500; }
.closing .btn { margin-top: clamp(32px, 4vw, 56px); }

/* 꼬리말 */
.site-foot { background: var(--ink); color: var(--ground); }
.site-foot ::selection { background: var(--ground); color: var(--ink); }
.site-foot .wrap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px 40px; padding-block: 40px; }
.site-foot .mark-name { font-weight: 700; letter-spacing: -0.02em; }
.site-foot nav { display: flex; gap: 28px; font-weight: 600; }
.site-foot nav a { text-decoration: none; padding-block: 8px; }
.site-foot small { font-size: 0.875rem; color: rgba(231, 231, 231, 0.72); flex-basis: 100%; }
@media (hover: hover) and (pointer: fine) { .site-foot nav a:hover { text-decoration: underline; } }

/* 안쪽 페이지 공통 머리 */
.page-top { padding-top: clamp(40px, 7vw, 104px); padding-bottom: clamp(56px, 8vw, 120px); }
.page-top h1 { font-size: clamp(2.25rem, 6.2vw, 5.25rem); max-width: 13em; }
.page-top .lead { margin-top: clamp(24px, 3vw, 40px); }

/* 서비스 */
.service { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: end; padding-bottom: var(--section); }
.service .shot { grid-column: 1 / span 7; aspect-ratio: 4 / 3; margin-left: calc(var(--pad) * -1); }
.service .service-copy { grid-column: 9 / -1; }
.service.is-flip .shot { grid-column: 6 / -1; grid-row: 1; margin-left: 0; margin-right: calc(var(--pad) * -1); }
.service.is-flip .service-copy { grid-column: 1 / span 4; grid-row: 1; }
.service-copy p { margin-top: 20px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--ink); font-weight: 600; }

.steps { margin-top: clamp(40px, 6vw, 88px); counter-reset: step; }
.steps > li {
  counter-increment: step;
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: baseline;
  padding-block: clamp(20px, 2.6vw, 34px); border-top: 1px solid currentColor;
}
.steps > li:last-child { border-bottom: 1px solid currentColor; }
.steps > li::before { content: counter(step); grid-column: 1 / span 1; font-size: clamp(1.5rem, 2.8vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.steps h3 { grid-column: 2 / span 4; }
.steps p { grid-column: 7 / -1; font-size: clamp(1.5rem, 2vw, 1.625rem); line-height: 1.45; letter-spacing: -0.015em; }

/* 소개 */
.about-body { display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px var(--gap); padding-bottom: var(--section); }
.about-body .shot { grid-column: 1 / span 5; aspect-ratio: 4 / 5; }
.about-text { grid-column: 7 / -1; align-self: end; }
.about-text p + p { margin-top: 1.2em; }
.about-text p:first-child { font-size: clamp(1.375rem, 2.4vw, 2rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.35; }
.facts { margin-top: 48px; border-top: 1px solid var(--ink); }
.facts div { display: flex; justify-content: space-between; gap: 24px; padding-block: 16px; border-bottom: 1px solid var(--ink); }
.facts dt { font-weight: 700; }

/* 문의 */
.contact { display: grid; grid-template-columns: repeat(12, 1fr); gap: 56px var(--gap); padding-bottom: var(--section); }
.contact form { grid-column: 1 / span 7; display: grid; gap: 28px; }
.contact aside { grid-column: 9 / -1; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-weight: 700; padding: 0; }
.field legend { margin-bottom: 8px; }
form .note { margin-top: -8px; }
.field .hint { font-size: 0.9375rem; color: var(--soft); }
.field input[type="text"], .field textarea {
  width: 100%; min-height: 56px; padding: 14px 16px; border: 1px solid var(--ink); border-radius: 0;
  background: transparent; color: var(--ink); font: inherit; caret-color: var(--ink);
  transition: background-color 160ms ease;
}
.field textarea { min-height: 168px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--soft); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; background: rgba(255, 255, 255, 0.5); }
.field [aria-invalid="true"] { border-width: 2px; }
.field .error { font-size: 0.9375rem; font-weight: 700; }
.field .error:empty { display: none; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.choices label { position: relative; font-weight: 600; cursor: pointer; }
.choices input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choices span { display: flex; align-items: center; min-height: 48px; padding: 0 20px; border: 1px solid var(--ink); transition: background-color 160ms ease, color 160ms ease; }
.choices input:checked + span { background: var(--ink); color: var(--ground); }
.choices input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-status { font-weight: 700; }
.contact aside h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.contact aside .facts { margin-top: 24px; }
.contact aside p { margin-top: 24px; color: var(--soft); }

/* 움직임: 스크립트가 켜졌을 때만 숨겼다가 보여 줍니다 */
@media (prefers-reduced-motion: no-preference) {
  html.js .hero h1 .line > span { animation: rise 900ms var(--ease-out) both; }
  html.js .hero h1 .line:nth-child(2) > span { animation-delay: 70ms; }
  html.js .hero-copy { animation: fade 700ms ease 260ms both; }
  html.js [data-reveal] { clip-path: inset(0 0 100% 0); transition: clip-path 1000ms var(--ease-out); }
  html.js [data-reveal].is-in { clip-path: inset(0 0 0 0); }
  @keyframes rise { from { transform: translateY(105%); } to { transform: translateY(0); } }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* 좁은 화면 */
@media (max-width: 800px) {
  .hero-grid, .rows > li, .quotes, .faq, .service, .steps > li, .about-body, .contact { display: block; }
  .hero-shot { height: 62vw; margin-top: 32px; margin-inline: calc(var(--pad) * -1); }
  .rows h3, .steps h3 { font-size: 1.75rem; }
  .rows p, .steps p { margin-top: 12px; font-size: 1.5rem; }
  .quote + .quote { margin-top: 48px; }
  .faq h2 { position: static; margin-bottom: 32px; }
  .service .shot, .service.is-flip .shot { margin-inline: calc(var(--pad) * -1); margin-bottom: 32px; }
  .steps > li { position: relative; padding-left: 44px; }
  .steps > li::before { position: absolute; left: 0; top: clamp(20px, 2.6vw, 34px); font-size: 1.75rem; line-height: 1.12; }
  .about-body .shot { margin-bottom: 40px; }
  .contact aside { margin-top: 64px; }
  .site-head nav { gap: 18px; }
}

/* 실제 프로젝트 목록 */
.works { margin-top: clamp(40px, 6vw, 88px); }
.works > li {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: start;
  padding-block: clamp(24px, 3vw, 40px); border-top: 1px solid var(--ink);
}
.works > li:last-child { border-bottom: 1px solid var(--ink); }
.works .when { grid-column: 1 / span 2; font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.works .shot { grid-column: 3 / span 4; aspect-ratio: 3 / 2; }
.works .work-body { grid-column: 7 / -1; }
.works h3 { font-size: clamp(1.625rem, 3vw, 2.75rem); }
.works .work-line { margin-top: 12px; font-size: clamp(1.125rem, 1.5vw, 1.3125rem); font-weight: 600; letter-spacing: -0.015em; }
.works dl { margin-top: 20px; display: grid; gap: 4px; color: var(--soft); }
.works dl div { display: flex; gap: 12px; }
.works dt { flex: none; width: 5.5em; font-weight: 700; color: var(--ink); }
.more { display: inline-block; margin-top: 32px; font-weight: 700; font-size: 1.125rem; }
.credit { grid-column: 6 / -1; margin-top: 12px; font-size: 0.9375rem; color: var(--soft); }

/* 제안과 스터디 */
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px var(--gap); margin-top: clamp(40px, 6vw, 88px); }
.cols3 h3 { padding-bottom: 16px; border-bottom: 1px solid currentColor; }
.cols3 li { padding-block: 12px; font-size: 1.5rem; line-height: 1.3; letter-spacing: -0.015em; }
.field-blue .lead { font-size: 1.5rem; line-height: 1.45; letter-spacing: -0.015em; margin-top: 24px; }

/* 꼬리말 사업자 정보 */
.site-foot .biz { flex-basis: 100%; font-size: 0.875rem; line-height: 1.7; color: rgba(231, 231, 231, 0.72); }

@media (max-width: 800px) {
  .works > li, .cols3 { display: block; }
  .works .shot { margin-block: 16px 20px; }
  .cols3 > div + div { margin-top: 48px; }
  .credit { margin-top: 12px; }
  .site-head nav { gap: 14px; font-size: 1rem; }
}

.site-foot .biz span { display: inline-block; margin-right: 20px; white-space: nowrap; }

/* 로고 */
.logo { display: block; height: clamp(22px, 2.2vw, 30px); width: auto; }
.site-foot .logo { filter: invert(1); height: 24px; }

/* 사진 톤 맞추기: 목록과 서비스 사진은 흑백, 마우스를 올리면 원래 색 */
.works .shot img, .service .shot img { filter: grayscale(1); transition: filter 400ms ease; }
@media (hover: hover) and (pointer: fine) {
  .works li:hover .shot img, .service .shot:hover img { filter: grayscale(0); }
}

/* 제안 이미지 */
.studies { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--gap); margin-top: clamp(40px, 6vw, 88px); }
.studies .shot { grid-column: span 2; aspect-ratio: 3 / 2; background: var(--blue-ink); }
.studies .shot.wide { grid-column: span 3; aspect-ratio: 16 / 9; order: -1; }
.protect img { -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }
@media (max-width: 800px) {
  .studies { grid-template-columns: 1fr; }
  .studies .shot, .studies .shot.wide { grid-column: auto; }
}

/* 소개: 사진 없이 큰 문장과 본문을 나란히 */
.about-lead { grid-column: 1 / span 5; font-size: clamp(1.625rem, 3.2vw, 2.75rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; }
.about-body.no-shot .about-text { align-self: start; }
.about-body.no-shot .about-text p:first-child { font-size: inherit; font-weight: inherit; letter-spacing: inherit; line-height: inherit; }
@media (max-width: 800px) { .about-lead { margin-bottom: 28px; } }

/* ── 글자 위계 ──
   제목 800, 소제목 700, 머리 문장 500, 설명 400(연하게), 이름표 700(작게) */
h3 { font-weight: 700; }
p { color: var(--soft); text-wrap: pretty; }
.s { display: block; text-wrap: balance; }
.field-blue p, .field-lime p, .site-foot p { color: inherit; }
.lead { color: var(--ink); font-weight: 500; font-size: clamp(1.1875rem, 1.7vw, 1.5rem); line-height: 1.55; max-width: none; }
.hero-copy .lead { font-size: clamp(1.25rem, 1.9vw, 1.625rem); line-height: 1.45; letter-spacing: -0.015em; }
.field-blue .lead { color: inherit; font-weight: 500; }
.closing p { max-width: none; font-weight: 500; }
.work-line { color: var(--ink); }
.works dt, .facts dt { font-size: 0.9375rem; font-weight: 700; }
.works dd { font-weight: 400; }
.facts dd { text-align: right; color: var(--soft); }
.facts dd a { color: var(--ink); font-weight: 600; }
.about-lead, .quote blockquote { color: var(--ink); }
.site-foot .mark-name { font-family: "DM Sans", sans-serif; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.03em; }

/* 목록 줄: 제목은 굵고 크게, 설명은 가늘게. 한 문장이 한 줄에 들어가도록 설명 칸을 넓힌다 */
.rows h3 { grid-column: 1 / span 4; font-weight: 800; }
.rows p { grid-column: 6 / -1; font-size: 1.25rem; line-height: 1.6; font-weight: 400; letter-spacing: -0.01em; }
.field-blue .rows p, .field-blue .steps p { font-size: 1.5rem; line-height: 1.45; }
.steps h3 { grid-column: 2 / span 3; font-weight: 800; }
.steps p { grid-column: 6 / -1; font-weight: 400; }
.quote.is-big { grid-column: 1 / -1; }
.quote.is-big blockquote { font-size: clamp(1.5rem, 2.9vw, 2.5rem); font-weight: 700; line-height: 1.35; }
.faq-list details p { max-width: none; }

/* 서비스 목록 */
.svc > li {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: start;
  padding-block: clamp(28px, 3.6vw, 52px); border-top: 1px solid var(--ink);
}
.svc > li:last-child { border-bottom: 1px solid var(--ink); }
.svc h2 { grid-column: 1 / span 5; font-size: clamp(1.75rem, 3.2vw, 2.75rem); }
.svc h2 span {
  padding: 0 0.12em; margin-left: -0.12em;
  background: linear-gradient(var(--lime), var(--lime)) left / 0% 100% no-repeat;
  transition: background-size 420ms var(--ease-out), color 200ms ease;
}
.svc-body { grid-column: 6 / span 4; }
.svc-body .tags { font-size: 0.9375rem; }
.svc-img { grid-column: 10 / -1; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; filter: grayscale(1); opacity: 0; transition: opacity 420ms ease; }
@media (hover: hover) and (pointer: fine) {
  .svc > li:hover h2 span { background-size: 100% 100%; color: var(--lime-ink); }
  .svc > li:hover .svc-img { opacity: 1; }
}
@media (max-width: 800px) {
  .svc > li { display: block; }
  .svc-body { margin-top: 14px; }
  .svc-img { display: none; }
  .rows p, .steps p { font-size: 1.125rem; }
  .field-blue .rows p, .field-blue .steps p { font-size: 1.5rem; }
  .facts div { align-items: baseline; }
}
.svc-body { grid-column: 6 / span 5; }
.svc-img { grid-column: 11 / -1; }

/* 진행 방식: 다섯 단계를 한 줄로 */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); column-gap: var(--gap); margin-top: clamp(32px, 4vw, 56px); counter-reset: flow; }
.flow > li { counter-increment: flow; padding-top: 20px; border-top: 1px solid var(--ink); }
.flow > li::before { content: counter(flow); display: block; font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.flow h3 { margin-top: 20px; font-size: clamp(1.25rem, 1.7vw, 1.5rem); font-weight: 800; }
.flow p { margin-top: 8px; font-size: 1rem; line-height: 1.55; }

/* 서비스 목록 (제목 단계 변경) */
.svc { margin-top: clamp(32px, 4vw, 56px); }
.svc h3 { grid-column: 1 / span 5; font-size: clamp(1.75rem, 3.2vw, 2.75rem); font-weight: 800; }
.svc h3 span {
  padding: 0 0.12em; margin-left: -0.12em;
  background: linear-gradient(var(--lime), var(--lime)) left / 0% 100% no-repeat;
  transition: background-size 420ms var(--ease-out), color 200ms ease;
}
.svc > li:last-child .svc-body { grid-column: 6 / -1; }
@media (hover: hover) and (pointer: fine) {
  .svc > li:hover h3 span { background-size: 100% 100%; color: var(--lime-ink); }
}

/* 컨설팅, 스타일링: 눌러서 펼쳐 보기 */
.svc-more { margin-top: 24px; border-top: 1px solid var(--ink); }
.svc-more summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-block: 18px; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.125rem;
}
.svc-more summary::-webkit-details-marker { display: none; }
.svc-more summary::after {
  content: ""; flex: none; width: 16px; height: 16px;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
  transition: transform 240ms var(--ease-out);
}
.svc-more[open] summary::after { transform: rotate(45deg); }
.svc-more::details-content { block-size: 0; overflow: clip; transition: block-size 320ms var(--ease-out), content-visibility 320ms allow-discrete; }
.svc-more[open]::details-content { block-size: auto; }
.svc-more-body > div { padding-block: 24px 28px; border-top: 1px solid rgba(0, 0, 0, 0.2); }
.svc-more h4 { margin: 0; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }
.svc-more h4 + p { margin-top: 6px; color: var(--ink); font-weight: 500; }
.svc-more ol { margin-top: 16px; counter-reset: more; }
.svc-more ol li { counter-increment: more; display: flex; gap: 14px; padding-block: 5px; color: var(--soft); }
.svc-more ol li::before { content: counter(more); flex: none; width: 1em; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.svc-more .note { margin-top: 14px; }

/* 맡는 범위: 웨이어가 하는 일을 굵게 */
.roles strong { display: block; font-weight: 800; letter-spacing: -0.02em; }
.roles p .s { margin-top: 6px; }

@media (max-width: 800px) {
  .flow { display: block; }
  .flow > li { display: grid; grid-template-columns: 44px 1fr; column-gap: 8px; padding-block: 18px; }
  .flow > li::before { grid-row: 1 / span 2; font-size: 1.75rem; line-height: 1.15; }
  .flow h3 { margin-top: 0; font-size: 1.375rem; }
  .flow p { grid-column: 2; margin-top: 4px; }
  .svc h3 { font-size: 1.75rem; }
}

/* Editorial detail pages. List photographs keep the original monochrome tone. */
.work-entry { position: relative; }
.work-link { text-decoration: none; }
.work-link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.work-link:focus-visible::after { outline: 2px solid var(--ink); outline-offset: 4px; }
.work-arrow { display: inline-block; margin-left: 14px; font-size: .65em; transition: transform 180ms ease; }
.work-entry:hover .work-arrow { transform: translate(3px,-3px); }
.work-view { display: block; margin-top: 18px; font-size: .875rem; color: var(--soft); }
.work-entry .shot img { filter: grayscale(1) !important; }
.back-link { display: inline-block; font-size: .9375rem; text-decoration: none; }
.back-link:hover { text-decoration: underline; }
.project-top { padding-top: 40px; padding-bottom: 48px; }
.project-heading { margin-top: 64px; }
.eyebrow { display: block; font-size: .8125rem; font-weight: 600; letter-spacing: .06em; color: var(--soft); }
.project-heading h1 { margin-top: 20px; font-size: clamp(2.25rem,6.3vw,5.5rem); }
.project-line { margin-top: 24px; font-size: clamp(1.0625rem,1.6vw,1.375rem); }
.gallery-item { margin: 0; min-width: 0; }
.photo-open { position: relative; width: 100%; display: block; padding: 0; border: 0; background: #dcdcdc; cursor: zoom-in; color: white; }
.photo-open img { display: block; width: 100%; height: auto; }
.photo-hint { position: absolute; bottom: 16px; right: 16px; font: 500 .75rem/1.4 inherit; background: rgba(0,0,0,.48); padding: 5px 9px; opacity: 0; transition: opacity 180ms ease; }
.photo-open:hover .photo-hint,.photo-open:focus-visible .photo-hint { opacity: 1; }
.gallery-item figcaption { display: flex; justify-content: space-between; gap: 16px; padding-top: 10px; font-size: .75rem; color: var(--soft); }
.gallery-hero .photo-open img { max-height: 78vh; object-fit: contain; background: #dedede; }
.project-notes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,8vw,140px); padding-block: 88px 112px; }
.project-notes p { margin-top: 20px; max-width: 31em; font-size: 1.0625rem; line-height: 1.8; }
.project-facts div { display: grid; grid-template-columns: 100px 1fr; gap: 18px; padding-block: 12px; border-bottom: 1px solid rgba(0,0,0,.16); font-size: .9375rem; }
.project-facts dt { font-weight: 600; }
.project-facts dd { color: var(--soft); }
.gallery-label { display: flex; justify-content: space-between; gap: 20px; padding-block: 18px; border-top: 1px solid var(--ink); font-size: .8125rem; }
.project-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: clamp(36px,6vw,88px) var(--gap); padding-top: 32px; }
.project-gallery .landscape { grid-column: 1 / -1; }
.project-gallery .portrait .photo-open img { aspect-ratio: 3/4; object-fit: cover; }
.project-gallery .landscape .photo-open img { max-height: 900px; object-fit: contain; }
.project-end { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-top: var(--section); padding-block: 48px 88px; border-top: 1px solid var(--ink); }
.project-end .more { margin-top: 12px; }
.next-project { display: grid; gap: 12px; text-decoration: none; text-align: right; }
.next-project span { color: var(--soft); font-size: .8125rem; }
.next-project strong { font-weight: 600; font-size: 1.25rem; }
.photo-dialog { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 60px 70px 24px; border: 0; background: #171717; color: #eee; }
.photo-dialog::backdrop { background: #171717; }
.photo-dialog[open] { display: grid; grid-template-columns: 1fr; place-items: center; }
.photo-dialog figure { width: 100%; height: 100%; display: grid; grid-template-rows: minmax(0,1fr) auto; gap: 16px; min-height: 0; }
.photo-dialog img { max-width: 100%; max-height: 100%; margin: auto; width: auto; height: auto; object-fit: contain; }
.photo-dialog figcaption { text-align: center; font-size: .8125rem; }
.photo-dialog button { position: absolute; border: 0; background: transparent; color: inherit; font: inherit; padding: 12px; cursor: pointer; }
.photo-dialog .photo-close { top: 12px; right: 16px; font-size: .9375rem; }
.photo-prev { left: 12px; top: 48%; }
.photo-next { right: 12px; top: 48%; }
body.dialog-open { overflow: hidden; }
.quiet-guide { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px,6vw,80px); padding-block: 64px 88px; }
.quiet-guide h2 { font-size: 1.375rem; font-weight: 600; letter-spacing: -.02em; }
.quiet-guide-head p { margin-top: 12px; font-size: .875rem; }
.quiet-guide-list { border-top: 1px solid rgba(0,0,0,.25); }
.quiet-guide-list details { border-bottom: 1px solid rgba(0,0,0,.25); }
.quiet-guide-list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding-block: 18px; font-size: .9375rem; font-weight: 500; }
.quiet-guide-list summary::-webkit-details-marker { display: none; }
.quiet-guide-list summary::after { content: '+'; font-weight: 400; }
.quiet-guide-list details[open] summary::after { content: '−'; }
.quiet-guide-list p { font-size: .875rem; padding-bottom: 20px; line-height: 1.8; }
.chat-link { display: inline-block; margin-top: 20px; font-size: .9375rem; font-weight: 600; }
.honeypot { display: none; }
.consent-label { display: flex; align-items: start; gap: 12px; font-size: .9375rem; font-weight: 500 !important; cursor: pointer; }
.consent-label input { margin: 5px 0 0; width: 18px; height: 18px; flex: none; accent-color: #333; }
.consent-label small { display: block; font-size: .8125rem; margin-top: 8px; color: var(--soft); font-weight: 400; }
.privacy-link { margin-left: 30px; font-size: .8125rem; }
.btn:disabled { opacity: .55; cursor: wait; }
.form-status { font-size: .9375rem; }
.form-status.is-error { color: #8b2929; }
.privacy-body { max-width: 1000px; padding-bottom: var(--section); }
.privacy-body section { margin-bottom: 40px; }
.privacy-body h2 { font-size: 1.375rem; margin-bottom: 16px; font-weight: 600; }
.privacy-body .facts { margin-top: 24px; }
.thank-you .btn { margin-top: 40px; }
.site-foot nav { flex-wrap: wrap; row-gap: 12px; }
@media (max-width:800px) {
 .project-top { padding-top: 28px; padding-bottom: 28px; }
 .project-heading { margin-top: 40px; }
 .project-notes { grid-template-columns: 1fr; padding-block: 48px 64px; gap: 32px; }
 .project-gallery { gap: 36px 16px; }
 .project-gallery .portrait .photo-open img { aspect-ratio: auto; }
 .project-end { display: block; padding-bottom: 56px; }
 .next-project { text-align: left; margin-top: 48px; }
 .quiet-guide { grid-template-columns: 1fr; padding-block: 40px 64px; gap: 24px; }
 .photo-dialog { padding: 60px 36px 20px; }
 .photo-prev { left: 0; }
 .photo-next { right: 0; }
 .contact aside { margin-top: 32px; }
 .facts dd { overflow-wrap: anywhere; }
}
@media(max-width:480px) { .project-gallery { grid-template-columns: 1fr; } .gallery-label { font-size: .75rem; } }
@media(prefers-reduced-motion:reduce) { .work-arrow,.photo-hint { transition: none; } }

/* 2026-11 시안: 첫 화면 상담 안내, 문의 필수·선택 표시 */
.hero-who { font-size: clamp(1.0625rem, 1.3vw, 1.25rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.45; margin-bottom: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 32px; }
.text-link { font-weight: 700; font-size: 1.0625rem; padding-block: 12px; }
.reply-time { margin-top: 20px; font-weight: 700; }
.quick-contact { display: none; }
.form-guide { font-size: .9375rem; padding: 14px 16px; border: 1px solid var(--ink); }
.tag { display: inline-block; margin-left: 6px; padding: 1px 7px; font-size: .75rem; font-weight: 600; line-height: 1.5; vertical-align: 2px; border: 1px solid rgba(0,0,0,.4); color: var(--soft); }
.tag.is-req { background: var(--ink); border-color: var(--ink); color: var(--ground); }
@media (max-width: 800px) {
  .hero-copy .lead { margin-top: 0; }
  .hero-actions .btn { flex: 1 1 100%; }
  .quick-contact { display: block; margin-top: 28px; }
  .quick-contact .btn { width: 100%; background: var(--lime); color: var(--lime-ink); }
  .quick-contact .note { margin-top: 10px; }
}
.hero-who, .reply-time, .page-top .reply-time { color: var(--ink); }

/* 2026-12 시안: 진행 중인 현장 카드 */
.soon-shot { display: flex; align-items: flex-end; padding: 20px; }
.soon-label { font-size: clamp(.875rem, 1.1vw, 1rem); font-weight: 700; letter-spacing: .14em; }
.is-soon .when { font-size: clamp(1.125rem, 1.6vw, 1.375rem); }
.is-soon .work-view { color: var(--soft); }
