/* 디자인 아우어 홈페이지
   흰 배경 + 얇은 글씨 + 넉넉한 여백. 사진이 주인공이고 글자는 물러선다. */
:root {
  --bg: #ffffff;
  --bg-soft: #FAFAF9;
  --bg-tint: #F1F0ED;
  --ink: rgba(0, 0, 0, 0.87);
  --ink-2: rgba(0, 0, 0, 0.72);
  --muted: rgba(0, 0, 0, 0.54);
  --line: rgba(0, 0, 0, 0.1);
  --deep: #13130A;
  --accent: #AA6B4A;
  --font: 'Pretendard Variable', Pretendard, Inter, -apple-system, BlinkMacSystemFont,
          'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: -0.005em;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ---------- 헤더 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 72px;
}
.logo {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a {
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.18s ease;
}
.site-nav a:hover { color: var(--ink); }
.nav-cta {
  background: var(--deep);
  color: #fff !important;
  padding: 11px 22px;
  border-radius: 50px;
  font-weight: 500;
  letter-spacing: 0;
}
.nav-cta:hover { background: var(--accent); }

/* ---------- 공통 타이포 ---------- */
h1, h2, h3 { font-weight: 500; letter-spacing: -0.02em; }

.eyebrow {
  margin: 0 0 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.btn-primary, .btn-ghost {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn-primary { background: var(--deep); color: #fff; border: 1px solid var(--deep); }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }

/* ---------- 사진 히어로 ---------- */
.hero-photo { position: relative; }
.hero-photo > img {
  width: 100%;
  height: clamp(480px, 76vh, 780px);
  object-fit: cover;
  background: var(--bg-tint);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding-bottom: 64px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.12) 50%, transparent 100%);
  color: #fff;
}
.hero-overlay h1 {
  color: #fff;
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 500;
  line-height: 1.34;
  margin: 0 0 32px;
}
.hero-overlay .eyebrow { color: rgba(255, 255, 255, 0.72); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-on-photo { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn-on-photo:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- 섹션 ---------- */
.section { padding: 120px 0; }
.section-alt { background: var(--bg-soft); }
.section-title {
  font-size: clamp(21px, 2.4vw, 28px);
  font-weight: 400;
  margin: 0 0 56px;
  line-height: 1.4;
}

.lead-row { margin-bottom: 64px; }
.lead-row .hero-lead,
.hero-lead {
  max-width: 660px;
  margin: 0;
  font-size: 17px;
  line-height: 1.95;
  color: var(--ink-2);
}

.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; }
.story-no {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 18px;
}
.story h3 { font-size: 17px; line-height: 1.6; margin: 0 0 14px; }
.story p { margin: 0; font-size: 15px; line-height: 1.85; color: var(--muted); }

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-list li { background: var(--bg); padding: 40px 34px; }
.service-list h3 { font-size: 16px; margin: 0 0 12px; }
.service-list p { margin: 0; font-size: 14.5px; line-height: 1.8; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); padding: 26px 0; }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 32px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  position: absolute;
  right: 6px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 1px solid var(--muted);
  border-bottom: 1px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq p { margin: 16px 0 0; font-size: 15px; line-height: 1.9; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { background: var(--deep); color: #fff; padding: 120px 0; text-align: center; }
.cta h2 { font-size: clamp(22px, 2.8vw, 32px); font-weight: 500; margin: 0 0 16px; }
.cta p { margin: 0 0 40px; color: rgba(255, 255, 255, 0.6); font-size: 15px; }
.cta .btn-primary { background: #fff; color: var(--ink); border-color: #fff; }
.cta .btn-primary:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- 푸터 ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 64px 0;
  font-size: 13px;
  color: var(--muted);
}
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; }
.site-footer p { margin: 0 0 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.footer-name { font-size: 15px; font-weight: 500; color: var(--ink); margin-bottom: 16px !important; }
.footer-copy { margin-top: 16px !important; }

/* ---------- 페이지 머리 ---------- */
.page-head { padding: 100px 0 64px; }
.page-head h1 { font-size: clamp(26px, 3.2vw, 40px); font-weight: 500; margin: 0 0 20px; }
.page-head p { max-width: 640px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.9; }

.crumb { font-size: 12px; color: var(--muted); margin: 0 0 28px; letter-spacing: 0.02em; }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--accent); }

/* ---------- 시공 사례 목록 ---------- */
.pf-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 28px;
}
.pf-card a { text-decoration: none; display: block; }
.pf-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--bg-tint);
  transition: opacity 0.35s ease;
}
.pf-card a:hover img { opacity: 0.82; }
.pf-info { padding: 18px 0 0; }
.pf-info h3 { font-size: 15.5px; font-weight: 500; margin: 0 0 5px; }
.pf-info p { margin: 0; font-size: 13px; color: var(--muted); letter-spacing: 0.01em; }

.pf-preview { margin-bottom: 40px; }
.more-link { margin: 0; text-align: right; }
.more-link a {
  font-size: 13.5px;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
}
.more-link a:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- 현장 상세 ---------- */
.project { padding: 72px 0 0; }
.project h1 { font-size: clamp(24px, 3.2vw, 38px); font-weight: 500; margin: 0 0 40px; }
.project-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0 0 44px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.project-meta dt {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.project-meta dd { margin: 0; font-size: 15px; font-weight: 400; }
.project-note {
  max-width: 700px;
  font-size: 17px;
  line-height: 2.05;
  color: var(--ink-2);
  margin: 0 0 72px;
}
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--bg-tint); }
.gallery figure:first-child { grid-column: 1 / -1; }
.gallery figure:first-child img { aspect-ratio: 16 / 9; }

.project-cta { text-align: center; padding: 100px 0 120px; }
.project-cta p { font-size: 17px; font-weight: 500; margin: 0 0 26px; color: var(--ink-2); }

/* ---------- 진행 과정 ---------- */
.step-list { list-style: none; margin: 0; padding: 0; }
.step {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}
.step:first-child { border-top: 1px solid var(--line); }
.step-no {
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.18em;
  padding-top: 6px;
}
.step h3, .step p { grid-column: 2; }
.step h3 { font-size: 18px; font-weight: 400; margin: 0 0 10px; }
.step p { margin: 0; font-size: 15.5px; line-height: 1.9; color: var(--muted); max-width: 640px; }

/* ---------- 회사 소개 ---------- */
.about-body { max-width: 720px; }
.about-body p { font-size: 16.5px; line-height: 2.05; color: var(--ink-2); margin: 0 0 22px; }
.about-body .section-title { margin-top: 72px; margin-bottom: 26px; }
.about-body .section-title:first-child { margin-top: 0; }
.about-body .project-meta { grid-template-columns: repeat(2, 1fr); }

/* ---------- 모바일 ---------- */
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .service-list { grid-template-columns: 1fr; }
  .pf-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 18px; }
  .project-meta { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  body { font-size: 15px; }
  .wrap { padding: 0 20px; }
  .header-inner { height: 62px; }
  .site-nav { gap: 16px; }
  .site-nav a:not(.nav-cta) { display: none; }
  .nav-cta { padding: 9px 16px; font-size: 13px; }
  .hero-photo > img { height: 68vh; }
  .hero-overlay { padding-bottom: 40px; }
  .section { padding: 72px 0; }
  .section-title { margin-bottom: 36px; }
  .page-head { padding: 56px 0 40px; }
  .pf-grid { grid-template-columns: 1fr; gap: 40px; }
  .gallery { grid-template-columns: 1fr; gap: 12px; }
  .step { grid-template-columns: 1fr; gap: 8px; padding: 30px 0; }
  .step h3, .step p { grid-column: 1; }
  .cta { padding: 80px 0; }
  .project { padding: 44px 0 0; }
  .project-cta { padding: 64px 0 80px; }
  .about-body .project-meta { grid-template-columns: 1fr; }
}

/* ---------- 로고 ---------- */
.logo { display: flex; align-items: center; }
.logo img { height: 34px; width: auto; }
.footer-logo { height: 30px; width: auto; margin-bottom: 18px; opacity: 0.85; }
@media (max-width: 620px) { .logo img { height: 28px; } }

/* ---------- 로고 · 소개 페이지 ---------- */
.logo img { height: 34px; width: auto; }
.about-head { padding-bottom: 40px; }
.about-logo { height: 52px; width: auto; margin: 0 0 32px; }
.about-head h1 { line-height: 1.45; }
.about-body h2.section-title { font-size: clamp(19px, 2.2vw, 24px); font-weight: 500; }
.about-body strong { font-weight: 600; }
.about-quote {
  margin: 26px 0;
  padding: 22px 26px;
  background: var(--bg-soft);
  border-left: 2px solid var(--accent);
  font-size: 16px;
  line-height: 2;
  color: var(--muted);
}

/* ---------- 시공 사례: 큰 사진 + 정보 + 스토리 링크 ---------- */
.work-head { padding: 120px 0 80px; position: relative; }
.work-eyebrow {
  position: absolute;
  left: 32px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.work-head h1 {
  text-align: center;
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 300;
  letter-spacing: -0.03em;
  margin: 0;
}
.work-list { padding-bottom: 120px; }

.pf-item { margin-bottom: 120px; }
.pf-item:last-child { margin-bottom: 0; }
.pf-cover { display: block; }
.pf-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--bg-tint);
  transition: opacity 0.35s ease;
}
.pf-cover:hover img { opacity: 0.88; }
.pf-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0 0;
}
.pf-row h3 { font-size: 18px; font-weight: 500; margin: 0 0 6px; }
.pf-row p { margin: 0 0 14px; font-size: 14px; color: var(--muted); }
.pf-year { font-size: 14px; color: var(--muted); flex-shrink: 0; }
.pf-story {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
}
.pf-story:hover { color: var(--accent); border-color: var(--accent); }
.pf-sub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 36px;
}
.pf-sub img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--bg-tint); }

@media (max-width: 620px) {
  .work-head { padding: 64px 0 44px; }
  .work-eyebrow { position: static; transform: none; display: block; margin-bottom: 14px; }
  .work-head h1 { text-align: left; }
  .pf-item { margin-bottom: 72px; }
  .pf-cover img { aspect-ratio: 4 / 3; }
  .pf-sub { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
}

/* ---------- 현장 스토리 섹션 ---------- */
.story-block { margin: 0 0 44px; max-width: 760px; }
.story-block h2 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 0 0 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.story-block p {
  margin: 0 0 18px;
  font-size: 16.5px;
  line-height: 2.05;
  color: var(--ink-2);
}
.story-block:last-of-type { max-width: none; margin-bottom: 28px; }
.plan-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.plan-pair figure { margin: 0; }
.plan-pair img { width: 100%; border: 1px solid var(--line); background: #fff; }
.plan-pair figcaption { margin-top: 10px; font-size: 12.5px; color: var(--muted); }
@media (max-width: 620px) {
  .plan-pair { grid-template-columns: 1fr; gap: 16px; }
  .story-block { margin-bottom: 32px; }
}
