/* 시안 B — 건축 사무소·잡지형
   흰 바탕 · 가는 검은 선 · 명조(세리프) 제목 · 둥근 모서리 없음 · 사진을 엇갈리게 배치
   (내용은 03-site와 같고, 이 파일이 모양만 덮어씀) */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@500;700;900&display=swap');

body { font-family: 'Pretendard', 'Noto Sans KR', system-ui, sans-serif; background: #fff; counter-reset: sec; }
h1, .sec h2, .step h3, .m-info h3, .est-form h3, .form-card > h3, .sent h3 { font-family: 'Noto Serif KR', serif; font-weight: 700; letter-spacing: -0.03em; }
.sec { padding: 120px 32px; }
.wrap, .wrap.narrow, .about { max-width: 1280px; }

/* 상단 메뉴: 흰색 + 아래 가는 선 */
.site-header { background: #fff; border-bottom: 1px solid #111; }
.nav { max-width: 1280px; padding: 14px 32px; }
.nav-logo img { filter: brightness(0); height: 26px; }
.nav-links a { color: #111; font-size: 13px; letter-spacing: .04em; }
.nav-links a.strong { color: #111; text-decoration: underline; text-underline-offset: 4px; }
.nav-links a:hover { color: #555; } /* Codex 검토: 흰 메뉴에서 마우스 올리면 글씨가 사라지던 문제 */

/* 첫 화면: 왼쪽 정렬, 큰 명조 제목, 사진은 화면 끝까지 */
.hero { background: #fff; color: #111; padding: 72px 32px 0; }
.hero-head { max-width: 1280px; align-items: flex-start; text-align: left; gap: 16px; }
.gw { width: clamp(120px, 14vw, 170px); }
.gw img, .papering { filter: invert(1); }
.gw .paper { background: repeating-linear-gradient(90deg, rgba(0,0,0,.14) 0 9px, rgba(0,0,0,.07) 9px 18px); }
.papering { width: clamp(150px, 18vw, 220px); margin: 0; }
.hero h1 { font-size: clamp(44px, 8vw, 120px); line-height: 1.04; font-weight: 900; }
.hero-sub { color: #555; border-top: 1px solid #111; padding-top: 16px; width: 100%; font-size: 17px; }
.slides { max-width: none; margin: 56px -32px 0; }
.slide { border-radius: 0; height: clamp(320px, 60vw, 820px); }
.slide.ph { background: #f2f2f2; border: 0; }
.dots { justify-content: flex-start; padding-left: 20px; }
.dots button span { border-radius: 0; background: #bbb; }
.dots button[aria-current="true"] span { background: #111; }

/* 섹션 제목: 왼쪽 정렬 + 번호(01, 02 …) + 위쪽 가는 선 */
.sec-title { counter-increment: sec; align-items: flex-start; text-align: left; border-top: 1px solid currentColor; padding-top: 20px; margin-bottom: 64px; display: grid; grid-template-columns: 160px 1fr; column-gap: 32px; row-gap: 12px; }
.sec-title::before { content: counter(sec, decimal-leading-zero); font-family: 'Noto Serif KR', serif; font-size: 15px; grid-row: 1 / span 4; }
.sec-title > * { grid-column: 2; }
.eyebrow { letter-spacing: .18em; font-size: 12px; color: #777; }
.sec h2 { font-size: clamp(34px, 5vw, 68px); }
.sec-desc { font-size: 17px; }
@media (max-width: 700px) { .sec-title { grid-template-columns: 1fr; } .sec-title::before { grid-row: auto; } .sec-title > * { grid-column: 1; } }

/* 소개 */
.about-sec .sec-title { display: none; }
.about { gap: 64px; border-top: 1px solid #111; padding-top: 48px; align-items: flex-start; }
.about-text h2 { font-size: clamp(30px, 4vw, 52px); }
.stats div { border-top: 1px solid #111; }
.stats b { font-family: 'Noto Serif KR', serif; font-weight: 700; }

/* 팀: 흰 바탕, 사진 흑백, 칸마다 선 */
#team { background: #fff; color: #111; }
#team .eyebrow { color: #777; }
#team .sec-desc { color: #555; }
.team-quote { font-family: 'Noto Serif KR', serif; font-style: italic; }
.team-photo { border-radius: 0; aspect-ratio: 21 / 8; }
.team { gap: 0; border-top: 1px solid #111; border-left: 1px solid #111; }
.member { background: #fff; border-radius: 0; border-right: 1px solid #111; border-bottom: 1px solid #111; }
/* 팀원 초상: 라인드로잉(흰 바탕 검은 선) 그림이 종이 위에 그려진 것처럼 보이게 */
.m-photo { background: #fff; border-bottom: 1px solid #111; padding: 18px 18px 0; align-items: flex-end; }
.m-photo { overflow: hidden; min-height: 0; }
.m-photo img { width: 100%; height: 100%; min-height: 0; object-fit: contain; object-position: bottom; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.1); }
/* 정사각 프로필 그림은 칸을 꽉 채움 (티셔츠가 아래 선까지 닿게) */
.m-photo:has(img) { padding: 0; }
.m-photo:has(img) img { object-fit: cover; object-position: center; }
.m-photo svg.ph-face { width: 78%; height: 88%; color: #c4c4c4; }
.m-role { border-radius: 0; border-color: #111; color: #111; }
.member.is-boss .m-role { background: #111; color: #fff; }
.m-years { color: #111; }
.m-desc { color: #555; }

/* 시공 과정: 표처럼 한 줄씩 (번호 · 제목 · 설명) */
#process { background: #fff; }
.steps { grid-template-columns: 1fr !important; gap: 0; border-bottom: 1px solid #111; }
.step { background: transparent; border-radius: 0; border-top: 1px solid #111; padding: 28px 0; display: grid; grid-template-columns: 140px 220px 1fr; column-gap: 32px; align-items: baseline; grid-column: auto !important; }
.step-num { font-family: 'Noto Serif KR', serif; font-style: normal; font-size: 56px; color: #111; -webkit-text-stroke: 0; grid-row: span 3; margin: 0; }
.step-en { grid-column: 2; }
.step h3 { grid-column: 2; font-size: 24px; }
.step p, .step .step-link { grid-column: 3; grid-row: 1 / span 2; }
.step .step-note { grid-row: 3; }
.step .step-link { grid-row: 3; }
@media (max-width: 760px) { .step { grid-template-columns: 1fr; } .step > * { grid-column: 1 !important; grid-row: auto !important; } .step-num { font-size: 40px; } }

/* 시공 사례: 둥근 모서리 없음, 가운데 줄은 아래로 엇갈리게, 설명은 사진 아래 */
#works { background: #fff; }
.works { gap: 40px 32px; align-items: start; }
.work { border-radius: 0; aspect-ratio: auto; overflow: visible; background: none; }
.work img { aspect-ratio: 4 / 5; height: auto; }
.work:hover img { transform: none; opacity: .88; }
.work figcaption { position: static; background: none; color: #111; padding: 12px 0 0; font-size: 14px; font-weight: 500; border-top: 1px solid #111; margin-top: 12px; }
.work:nth-child(3n+2) { margin-top: 96px; }
@media (max-width: 760px) { .work:nth-child(3n+2) { margin-top: 0; } .work:nth-child(2n) { margin-top: 48px; } }

/* 견적: 검은 칸, 모서리 없음 */
#estimate { background: #111; }
.mode, .est-form, .est-sum, .chip, .row input, .btn-white, .btn-line, .btn-accent { border-radius: 0 !important; }
.est-form h3 { font-weight: 700; }

/* 문의 */
#contact { background: #fff; }
.card { background: #fff; border: 1px solid #111; border-radius: 0; }
.attached, .not-attached { background: #f2f2f2; border-radius: 0; }
.inq input, .inq textarea { border-radius: 0; border-color: #111; }
.attach-drop { border-radius: 0; border-color: #111; }
.w-nav { border-radius: 0; }

/* 푸터 */
.footer { border-top: 1px solid #111; }

/* ── 포인트 색 (2026-11-16 대표님 요청: 팀이 자주 쓰는 파랑 + 주황, "파랑이 너무 많다" → 줄임) ──
   파랑 = 섹션 번호·작은 영어 라벨에만 / 주황 = 누르는 곳(문의·가견적 링크)과 푸터 선
   색을 바꾸려면 아래 한 줄만 고치면 돼요 */
:root { --blue: #1D4ED8; --accent: #FF6B1A; }
.sec-title::before { color: var(--blue); font-weight: 700; }
.eyebrow, #team .eyebrow { color: var(--blue); }
#estimate .eyebrow, #estimate .sec-title::before { color: #8FB0FF; } /* 검은 바탕에서는 밝은 파랑 */
.nav-links a.strong { text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.step .step-link { color: #111; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.footer { border-top: 4px solid var(--accent); }
