/* =========================================================
   build 테마 — 건설·건축 기업용
   색상은 theme.css(company.json colors)에서 --primary / --accent / --dark 로 들어옴
   ========================================================= */
:root {
  --ink: #111a24;
  --text: #3d4651;
  --muted: #747c86;
  --line: #e3e1dc;
  --warm: #f6f4f0;
  --white: #fff;
  --hd-h: 96px;
  --wrap: 1400px;
  --gutter: 48px;
  --sec-y: 140px;
  --serif: "Cormorant Garamond", "Pretendard Variable", Pretendard, serif;
  --ease: cubic-bezier(.22, .68, .2, 1);
}
@media (max-width: 1024px) { :root { --hd-h: 72px; --gutter: 24px; --sec-y: 96px; } }
@media (max-width: 640px)  { :root { --hd-h: 64px; --gutter: 18px; --sec-y: 72px; } }

/* ---------- 기본 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 17px; line-height: 1.75; color: var(--text); background: var(--white);
  word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 300; padding: 10px 18px; background: var(--ink); color: #fff; }
.skip:focus { top: 16px; }
.ico { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: calc(920px + var(--gutter) * 2); }
.center { text-align: center; }
.mt-s { margin-top: 12px; }
.mt-m { margin-top: 32px; }
.note { margin-top: 20px; font-size: 14px; color: var(--muted); }

/* ---------- 타이포 ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.h2 { font-size: clamp(28px, 3vw, 44px); line-height: 1.38; font-weight: 700; letter-spacing: -.035em; color: var(--ink); }
.h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.4; font-weight: 700; letter-spacing: -.025em; color: var(--ink); }
.sec-head { max-width: 760px; margin-bottom: 60px; }
.sec-head > p:not(.eyebrow) { margin-top: 18px; font-size: 18px; color: var(--muted); }
.sec-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.lead-text { margin-top: 24px; font-size: 18px; line-height: 1.9; }
.link-line { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; color: var(--ink); padding-bottom: 6px; border-bottom: 1px solid currentColor; }
.link-line .ico { transition: transform .35s var(--ease); }
.link-line:hover { color: var(--accent); }
.link-line:hover .ico, a:hover .link-line .ico { transform: translateX(6px); }
.link-line-white { color: #fff; }

/* ---------- 버튼·배지 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 30px; font-size: 16px; font-weight: 600; white-space: nowrap; transition: background .3s, color .3s, border-color .3s; }
.btn .ico { transition: transform .35s var(--ease); }
.btn:hover .ico:last-child { transform: translateX(4px); }
.btn-sm { height: 44px; padding: 0 18px; font-size: 14px; }
.btn-lg { height: 64px; padding: 0 38px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--accent); }
.btn-line { border: 1px solid var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-line-white { border: 1px solid rgba(255,255,255,.6); color: #fff; }
.btn-line-white:hover { background: #fff; color: var(--ink); }
.btn-group-center { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .02em; background: var(--ink); color: #fff; }
.badge-ing { background: var(--accent); }
.badge-on { background: #c0392b; }

/* =========================================================
   헤더 (메인·하위 모두 처음엔 투명 → 스크롤하면 흰색)
   ========================================================= */
.hd { position: fixed; inset: 0 0 auto; z-index: 100; color: #fff; transition: background .4s, color .4s, box-shadow .4s; }
.hd::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(255,255,255,.18); }
.hd.is-solid, .hd:hover, .hd:focus-within { background: #fff; color: var(--ink); }
.hd.is-solid::after, .hd:hover::after, .hd:focus-within::after { background: var(--line); }
.hd-bar { display: flex; align-items: center; gap: 32px; height: var(--hd-h); padding: 0 var(--gutter); }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo-mark { width: 34px; height: 34px; }
.logo-text { display: flex; align-items: baseline; gap: 6px; line-height: 1; }
.logo-text b { font-size: 25px; font-weight: 800; letter-spacing: .12em; }
.logo-text small { font-family: var(--serif); font-size: 20px; font-style: italic; font-weight: 600; color: var(--accent); }
.logo-img { height: 36px; width: auto; }
.logo .logo-color { display: none; }
.hd.is-solid .logo-color, .hd:hover .logo-color { display: block; }
.hd.is-solid .logo-white, .hd:hover .logo-white { display: none; }

.gnb { flex: 1; align-self: stretch; min-width: 0; }
.gnb > ul { display: flex; justify-content: center; height: 100%; }
.gnb-item { position: relative; display: flex; }
.gnb-link { display: flex; align-items: center; height: 100%; padding: 0 22px; font-size: 17px; font-weight: 600; position: relative; }
.gnb-link::after { content: ""; position: absolute; left: 50%; bottom: 26px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); transform: translateX(-50%) scale(0); transition: transform .3s var(--ease); }
.gnb-item:hover .gnb-link::after, .gnb-item:focus-within .gnb-link::after, .gnb-item.is-active .gnb-link::after { transform: translateX(-50%) scale(1); }
.gnb-sub { position: absolute; left: 50%; top: 100%; min-width: 180px; padding: 14px 0; background: var(--primary); color: #fff; transform: translate(-50%, 8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
.gnb-item:hover .gnb-sub, .gnb-item:focus-within .gnb-sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.gnb-sub a { display: block; padding: 9px 26px; font-size: 15px; color: rgba(255,255,255,.75); white-space: nowrap; transition: color .2s, padding .2s; }
.gnb-sub a:hover, .gnb-sub a[aria-current] { color: #fff; padding-left: 32px; }
.hd-util { display: flex; align-items: center; gap: 24px; flex: none; }
.hd-link { font-size: 14px; font-weight: 600; opacity: .85; }
.hd-link:hover { opacity: 1; color: var(--accent); }
.hd-link-em { padding: 10px 18px; border: 1px solid currentColor; opacity: 1; }
.menu-btn { display: flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 6px; width: 40px; height: 40px; }
.menu-btn span { display: block; height: 2px; width: 28px; background: currentColor; transition: width .3s var(--ease); }
.menu-btn span:nth-child(2) { width: 20px; }
.menu-btn span:nth-child(3) { width: 14px; }
.menu-btn:hover span { width: 28px; }
@media (max-width: 1440px) { .gnb-link { padding: 0 14px; font-size: 16px; } .hd-link:not(.hd-link-em) { display: none; } }
@media (max-width: 1180px) { .gnb { display: none; } .hd-bar { justify-content: space-between; } }
@media (max-width: 480px) { .hd-link-em { display: none; } .logo-text b { font-size: 21px; } .logo-mark { width: 28px; height: 28px; } }

/* 전체 메뉴: 왼쪽 사진 + 오른쪽 메뉴 */
.sitemap { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-columns: 38% 1fr; background: var(--dark); color: #fff; animation: fadeIn .4s var(--ease); }
.sitemap[hidden] { display: none; }
.sitemap-visual { position: relative; overflow: hidden; }
.sitemap-visual-img { position: absolute; inset: 0; background: url('../images/skyline.jpg') center / cover no-repeat; animation: subZoom 10s var(--ease) forwards; }
.sitemap-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(10,22,38,.85)); }
.sitemap-quote { position: absolute; left: 48px; right: 48px; bottom: 56px; z-index: 1; font-family: var(--serif); font-size: clamp(32px, 3vw, 48px); font-style: italic; line-height: 1.2; }
.sitemap-panel { display: flex; flex-direction: column; padding: 0 64px 48px; overflow-y: auto; }
.sitemap-top { display: flex; justify-content: space-between; align-items: center; height: var(--hd-h); flex: none; }
.sitemap-close { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.3); }
.sitemap-close:hover { border-color: var(--accent); color: var(--accent); }
.sitemap-close .ico { width: 24px; height: 24px; }
.sitemap-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 40px; padding: 40px 0; flex: 1; align-content: start; }
.sitemap-head { display: flex; flex-direction: column; align-items: flex-start; width: 100%; text-align: left; font-size: 24px; font-weight: 700; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.2); cursor: default; position: relative; }
.sitemap-head small { font-family: var(--serif); font-size: 17px; font-style: italic; font-weight: 500; color: var(--accent); }
.sitemap-chev { display: none; position: absolute; right: 0; top: 50%; transform: translateY(-50%); transition: transform .3s; }
.sitemap-sub a { display: block; padding: 5px 0; color: rgba(255,255,255,.65); font-size: 16px; }
.sitemap-sub a:hover { color: #fff; }
.sitemap-contact { display: flex; gap: 48px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); }
.sitemap-contact span { display: block; font-size: 13px; color: rgba(255,255,255,.55); }
.sitemap-contact a { font-family: var(--serif); font-size: 32px; font-weight: 600; }
@media (max-width: 1180px) {
  .sitemap { grid-template-columns: 1fr; }
  .sitemap-visual { display: none; }
  .sitemap-panel { padding: 0 var(--gutter) 40px; }
  .sitemap-list { grid-template-columns: 1fr; gap: 0; padding: 16px 0 32px; }
  .sitemap-head { cursor: pointer; padding: 18px 0; margin: 0; font-size: 20px; }
  .sitemap-chev { display: block; }
  .sitemap-head[aria-expanded="true"] .sitemap-chev { transform: translateY(-50%) rotate(45deg); }
  .sitemap-sub { display: none; padding: 8px 0 16px; }
  .sitemap-head[aria-expanded="true"] + .sitemap-sub { display: block; }
  .sitemap-contact { flex-direction: column; gap: 16px; }
}

/* =========================================================
   메인 비주얼
   ========================================================= */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 680px; max-height: 1000px; overflow: hidden; background: var(--dark); color: #fff; }
.hero-slide { position: absolute; inset: 0; display: flex; align-items: flex-end; opacity: 0; visibility: hidden; transition: opacity 1.4s var(--ease), visibility 1.4s; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-bg { position: absolute; inset: 0; background: center / cover no-repeat; transform: scale(1.15); transition: transform 9s linear; }
.hero-slide.is-active .hero-bg { transform: scale(1); }
.hero-slide::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(10,22,38,.88) 0%, rgba(10,22,38,.35) 55%, rgba(10,22,38,.25) 100%), linear-gradient(90deg, rgba(10,22,38,.5), transparent 60%); }
.hero-copy { position: relative; z-index: 2; padding-bottom: 170px; }
.hero-copy > * { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.hero-slide.is-active .hero-copy > * { opacity: 1; transform: none; }
.hero-slide.is-active .hero-copy > :nth-child(2) { transition-delay: .2s; }
.hero-slide.is-active .hero-copy > :nth-child(3) { transition-delay: .4s; }
.hero-slide.is-active .hero-copy > :nth-child(4) { transition-delay: .6s; }
.hero-en { font-family: var(--serif); font-size: clamp(20px, 2vw, 28px); font-style: italic; color: var(--accent); margin-bottom: 16px; }
.hero-title { font-size: clamp(40px, 5.6vw, 84px); line-height: 1.2; font-weight: 700; letter-spacing: -.045em; }
.hero-text { margin: 28px 0 44px; font-size: clamp(16px, 1.4vw, 19px); color: rgba(255,255,255,.8); }
.hero-nav { position: absolute; right: var(--gutter); top: 50%; z-index: 3; transform: translateY(-50%); display: flex; flex-direction: column; gap: 6px; }
.hero-dot { display: grid; grid-template-columns: 32px 1fr; align-items: center; gap: 0 12px; width: 200px; padding: 14px 0; text-align: left; color: rgba(255,255,255,.5); transition: color .3s; }
.hero-dot span { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.hero-dot em { font-style: normal; font-size: 14px; }
.hero-dot i { grid-column: 1 / -1; display: block; height: 1px; margin-top: 10px; background: rgba(255,255,255,.25); position: relative; overflow: hidden; }
.hero-dot i::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.hero-dot.is-active { color: #fff; }
.hero-dot.is-active i::after { animation: progress var(--hero-dur, 7s) linear forwards; }
.hero.is-paused .hero-dot.is-active i::after { animation-play-state: paused; }
.hero-dot:hover { color: #fff; }
.hero-toggle { position: absolute; right: var(--gutter); top: calc(50% + 150px); z-index: 3; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; }
.hero-toggle .ico { width: 13px; height: 13px; fill: currentColor; }
.hero-toggle .i-play, .hero.is-paused .hero-toggle .i-pause { display: none; }
.hero.is-paused .hero-toggle .i-play { display: block; }
.hero-safety { position: absolute; right: var(--gutter); bottom: 48px; z-index: 3; display: flex; align-items: center; gap: 14px; padding: 18px 24px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(10px); }
.hero-safety .ico { width: 32px; height: 32px; color: var(--accent); }
.hero-safety small { display: block; font-size: 13px; color: rgba(255,255,255,.7); }
.hero-safety b { font-size: 20px; font-weight: 700; }
.hero-safety b span { font-family: var(--serif); font-size: 30px; color: var(--accent); margin-right: 2px; }
.hero-scroll { position: absolute; left: 50%; bottom: 0; z-index: 3; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.hero-scroll::after { content: ""; width: 1px; height: 64px; background: linear-gradient(#fff, transparent); animation: scrollLine 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes progress { to { transform: scaleX(1); } }
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 1180px) {
  .hero-nav { top: auto; bottom: 120px; left: var(--gutter); right: auto; transform: none; flex-direction: row; gap: 16px; }
  .hero-dot { width: auto; grid-template-columns: auto; padding: 0; }
  .hero-dot em { display: none; }
  .hero-dot i { width: 56px; }
  .hero-toggle { top: auto; bottom: 118px; left: calc(var(--gutter) + 260px); right: auto; }
  .hero-copy { padding-bottom: 220px; }
  .hero-scroll { display: none; }
}
@media (max-width: 640px) {
  .hero-safety { left: var(--gutter); right: var(--gutter); bottom: 24px; padding: 12px 16px; }
  .hero-safety b { font-size: 16px; } .hero-safety b span { font-size: 24px; }
  .hero-nav { bottom: 112px; } .hero-toggle { bottom: 106px; left: auto; right: var(--gutter); }
  .hero-copy { padding-bottom: 200px; }
  .hero-text { margin: 18px 0 28px; }
}

/* =========================================================
   공통 섹션
   ========================================================= */
.sec { padding: var(--sec-y) 0; }
.sec-warm { background: var(--warm); }

/* 소개 */
.intro-en { font-family: var(--serif); font-size: clamp(36px, 5vw, 76px); font-style: italic; font-weight: 500; line-height: 1.1; color: var(--accent); margin-bottom: 48px; }
.intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: end; }
.intro-text { font-size: 18px; line-height: 1.9; margin-bottom: 28px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 96px; border-top: 1px solid var(--ink); }
.stats li { padding: 36px 28px 0; border-left: 1px solid var(--line); }
.stats li:first-child { border-left: 0; padding-left: 0; }
.stats strong { display: flex; align-items: baseline; font-family: var(--serif); font-size: clamp(48px, 5vw, 80px); line-height: 1; font-weight: 600; color: var(--primary); font-variant-numeric: lining-nums tabular-nums; }
.stats em { font-family: "Pretendard Variable", Pretendard, sans-serif; font-style: normal; font-size: 20px; font-weight: 700; margin-left: 4px; color: var(--accent); }
.stats li > span { display: block; margin-top: 12px; font-size: 15px; color: var(--muted); }
@media (max-width: 1024px) {
  .intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 56px; }
  .stats li { padding: 28px 20px; border-bottom: 1px solid var(--line); }
  .stats li:nth-child(odd) { border-left: 0; padding-left: 0; }
}

/* 사업분야: 가로 아코디언 */
.biz { padding: 0 0 var(--sec-y); }
.biz-head { margin-bottom: 48px; }
.biz-panels { display: flex; height: 680px; padding: 0 var(--gutter); gap: 8px; }
.biz-panel { position: relative; flex: 1; min-width: 0; overflow: hidden; transition: flex .8s var(--ease); }
.biz-panel.is-open { flex: 3.2; }
.biz-panel a { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 40px; color: #fff; }
.biz-bg { position: absolute; inset: 0; background: center / cover no-repeat; transform: scale(1.06); transition: transform 1.2s var(--ease); }
.biz-panel.is-open .biz-bg { transform: scale(1); }
.biz-panel a::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(10,22,38,.9), rgba(10,22,38,.25) 60%); transition: background .6s; }
.biz-panel:not(.is-open) a::before { background: rgba(10,22,38,.62); }
.biz-num { position: absolute; left: 40px; top: 36px; z-index: 2; font-family: var(--serif); font-size: 40px; font-weight: 500; color: var(--accent); }
.biz-info { position: relative; z-index: 2; display: flex; flex-direction: column; min-width: 280px; }
.biz-info small { font-family: var(--serif); font-size: 20px; font-style: italic; color: var(--accent); }
.biz-info b { font-size: 32px; font-weight: 700; letter-spacing: -.03em; }
.biz-sum, .biz-more { opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .5s var(--ease); }
.biz-sum { margin-top: 10px; font-size: 17px; color: rgba(255,255,255,.82); max-width: 460px; }
.biz-more { margin-top: 24px; display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.biz-panel.is-open .biz-sum, .biz-panel.is-open .biz-more { opacity: 1; transform: none; transition-delay: .35s; }
.biz-panel:not(.is-open) .biz-info { min-width: 0; }
.biz-panel:not(.is-open) .biz-info small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.biz-panel:not(.is-open) .biz-sum, .biz-panel:not(.is-open) .biz-more { position: absolute; }
@media (max-width: 1024px) {
  .biz-panels { flex-direction: column; height: auto; }
  .biz-panel, .biz-panel.is-open { flex: none; height: 300px; }
  .biz-sum, .biz-more, .biz-panel:not(.is-open) .biz-sum, .biz-panel:not(.is-open) .biz-more { opacity: 1; transform: none; position: static; }
  .biz-panel:not(.is-open) a::before { background: linear-gradient(0deg, rgba(10,22,38,.9), rgba(10,22,38,.3) 70%); }
  .biz-panel a { padding: 28px; } .biz-num { left: 28px; top: 24px; font-size: 32px; }
  .biz-info { min-width: 0; }
}

/* 대표 프로젝트 */
.fp { display: grid; grid-template-columns: 1.45fr 1fr; background: var(--warm); }
.fp-images { position: relative; min-height: 560px; overflow: hidden; }
.fp-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity .9s var(--ease), transform 1.4s var(--ease); }
.fp-img.is-active { opacity: 1; transform: none; }
.fp-info { position: relative; padding: 56px 56px 120px; }
.fp-item { display: none; }
.fp-item.is-active { display: block; animation: up .7s var(--ease); }
.fp-cat { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--accent); margin-bottom: 12px; }
.fp-item h3 { font-size: clamp(26px, 2.4vw, 36px); line-height: 1.3; color: var(--ink); letter-spacing: -.03em; }
.fp-sum { margin: 16px 0 28px; color: var(--text); }
.spec { border-top: 1px solid var(--ink); margin-bottom: 32px; }
.spec > div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec dt { color: var(--muted); }
.spec dd { color: var(--ink); font-weight: 600; }
.spec a:hover { color: var(--accent); }
.spec-2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.fp-ctrl { position: absolute; left: 56px; bottom: 48px; display: flex; align-items: center; gap: 18px; }
.fp-arrow { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--ink); transition: .3s; }
.fp-arrow:hover { background: var(--ink); color: #fff; }
.fp-count { font-family: var(--serif); font-size: 20px; color: var(--muted); }
.fp-count b { color: var(--ink); font-weight: 600; }
@media (max-width: 1024px) {
  .fp { grid-template-columns: 1fr; }
  .fp-images { min-height: 0; aspect-ratio: 4 / 3; }
  .fp-info { padding: 40px 28px 112px; }
  .fp-ctrl { left: 28px; bottom: 36px; }
  .spec-2 { grid-template-columns: 1fr; }
}

/* 주거 브랜드 띠 */
.brand-band { position: relative; padding: 160px 0; color: #fff; overflow: hidden; }
.brand-band-bg { position: absolute; inset: -10% 0; background: center / cover no-repeat; transform: translateY(var(--parallax, 0)); }
.brand-band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10,22,38,.85), rgba(10,22,38,.45)); }
.brand-band-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center; }
.brand-logo { font-family: var(--serif); font-size: clamp(64px, 8vw, 120px); font-weight: 500; letter-spacing: .28em; line-height: 1; color: #fff; }
.brand-logo small { display: block; margin-top: 12px; font-size: 18px; letter-spacing: .3em; font-style: italic; color: var(--accent); text-transform: uppercase; }
.brand-logo-dark { color: var(--primary); margin-bottom: 40px; }
.brand-head { margin: 40px 0 36px; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.4; font-weight: 600; letter-spacing: -.03em; }
.sale-mini { padding: 40px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(12px); }
.sale-mini-title { font-size: 14px; letter-spacing: .2em; color: var(--accent); margin-bottom: 12px; }
.sale-mini li a { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.sale-mini b { font-size: 20px; }
.sale-mini small { grid-column: 2; font-size: 14px; color: rgba(255,255,255,.7); }
.sale-mini li a:hover b { color: var(--accent); }
.sale-mini .link-line { margin-top: 28px; }
@media (max-width: 1024px) { .brand-band { padding: 96px 0; } .brand-band-in { grid-template-columns: 1fr; } .sale-mini { padding: 28px; } }

/* 안전 */
.safety-home-in { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: center; }
.safety-lead { margin: 24px 0 32px; font-size: 18px; line-height: 1.9; }
.safety-board { padding: 56px; background: var(--primary); color: rgba(255,255,255,.75); position: relative; overflow: hidden; }
.safety-board::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.safety-board-label { font-size: 15px; letter-spacing: .1em; color: var(--accent); }
.safety-days { display: flex; align-items: baseline; gap: 8px; margin: 8px 0 4px; font-family: var(--serif); font-size: clamp(88px, 10vw, 150px); line-height: 1; font-weight: 600; color: #fff; font-variant-numeric: lining-nums tabular-nums; }
.safety-days small { font-family: "Pretendard Variable", Pretendard, sans-serif; font-size: 28px; font-weight: 700; }
.safety-since { font-size: 14px; }
.safety-board ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.18); }
.safety-board li b { display: block; font-size: 24px; color: #fff; }
.safety-board li span { font-size: 13px; line-height: 1.5; display: block; }
@media (max-width: 1024px) { .safety-home-in { grid-template-columns: 1fr; gap: 48px; } .safety-board { padding: 36px 28px; } }
@media (max-width: 480px) { .safety-board ul { grid-template-columns: 1fr; } }

/* 뉴스 (홈) */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.news-card { display: block; }
.news-card-img { aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 22px; background: var(--line); }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.news-card:hover img { transform: scale(1.06); }
.news-card-img.is-empty { display: grid; place-items: center; background: var(--primary); color: var(--accent); font-family: var(--serif); font-size: 28px; font-style: italic; }
.news-meta { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.news-meta span:first-child, .news-meta .tag { color: var(--accent); font-weight: 600; }
.news-card h3 { margin: 10px 0 8px; font-size: 20px; line-height: 1.5; color: var(--ink); letter-spacing: -.02em; transition: color .3s; }
.news-card:hover h3 { color: var(--accent); }
.news-card p:last-child:not(.news-meta) { color: var(--muted); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 1024px) { .news-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .news-grid { grid-template-columns: 1fr; } }

/* 하단 바로가기 */
.cta { display: grid; grid-template-columns: 1fr 1fr; }
.cta-box { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; padding: 56px var(--gutter); color: #fff; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; background: center / cover no-repeat; transition: transform 1.2s var(--ease); }
.cta-box::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(10,22,38,.72); transition: background .5s; }
.cta-box:nth-child(2)::before { background: color-mix(in srgb, var(--primary) 82%, transparent); }
.cta-box:hover .cta-bg { transform: scale(1.06); }
.cta-box:hover::before { background: rgba(10,22,38,.55); }
.cta-box > *:not(.cta-bg) { position: relative; z-index: 2; }
.cta-en { font-family: var(--serif); font-size: 22px; font-style: italic; color: var(--accent); }
.cta-box b { font-size: clamp(28px, 2.8vw, 40px); letter-spacing: -.03em; }
.cta-text { margin-top: 8px; color: rgba(255,255,255,.78); }
.cta-arrow { position: absolute !important; right: var(--gutter); bottom: 56px; display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; transition: .4s var(--ease); }
.cta-box:hover .cta-arrow { background: var(--accent); border-color: var(--accent); }
@media (max-width: 768px) { .cta { grid-template-columns: 1fr; } .cta-box { min-height: 280px; padding: 40px var(--gutter); } .cta-arrow { width: 48px; height: 48px; bottom: 40px; } }

/* =========================================================
   푸터
   ========================================================= */
.ft { background: var(--dark); color: rgba(255,255,255,.55); font-size: 14px; padding: 72px 0 48px; }
.ft .logo { color: #fff; }
.ft-top { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.ft-nav { display: flex; flex-wrap: wrap; gap: 8px 36px; }
.ft-nav a { color: rgba(255,255,255,.8); font-size: 15px; }
.ft-nav a:hover { color: var(--accent); }
.ft-mid { display: flex; justify-content: space-between; gap: 48px; padding-top: 40px; flex-wrap: wrap; }
.ft-links { display: flex; gap: 24px; margin-bottom: 16px; }
.ft-links a { color: rgba(255,255,255,.75); }
.ft-links b { color: #fff; }
.ft-info p span { display: inline-block; margin-right: 18px; line-height: 2; }
.copy { margin-top: 16px; font-size: 13px; }
.ft-side { display: flex; flex-direction: column; align-items: flex-end; gap: 24px; }
.ft-call small { display: block; font-size: 13px; text-align: right; }
.ft-call a { font-family: var(--serif); font-size: 40px; font-weight: 600; color: #fff; line-height: 1.1; }
.ft-row { display: flex; gap: 12px; align-items: center; }
.sns { display: flex; gap: 8px; }
.sns a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: rgba(255,255,255,.8); }
.sns a:hover { border-color: var(--accent); color: var(--accent); }
.family { position: relative; }
.family-btn { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-width: 200px; height: 44px; padding: 0 18px; border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.8); font-size: 14px; }
.family-btn .ico { transition: transform .3s; }
.family-btn[aria-expanded="true"] .ico { transform: rotate(45deg); }
.family-list { position: absolute; left: 0; right: 0; bottom: calc(100% + 6px); padding: 6px; background: #152338; display: none; }
.family-btn[aria-expanded="true"] + .family-list { display: block; }
.family-list a { display: block; padding: 10px 12px; color: rgba(255,255,255,.8); }
.family-list a:hover { color: var(--accent); }
@media (max-width: 768px) { .ft-side { align-items: flex-start; } .ft-call small { text-align: left; } .ft-row { flex-wrap: wrap; } }

.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 90; display: grid; place-items: center; align-content: center; width: 60px; height: 60px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 10px; letter-spacing: .1em; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .4s var(--ease); }
.to-top .ico { width: 18px; height: 18px; }
.to-top.is-show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent); }

/* =========================================================
   하위 페이지 공통
   ========================================================= */
.sub-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 540px; padding: calc(var(--hd-h) + 32px) 0 72px; color: #fff; text-align: center; background: var(--dark); overflow: hidden; }
.sub-visual-bg { position: absolute; inset: 0; background: center / cover no-repeat; animation: subZoom 10s var(--ease) forwards; }
.sub-visual::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(10,22,38,.8), rgba(10,22,38,.45)); }
.sub-visual .wrap { position: relative; z-index: 2; }
.sub-en { font-family: var(--serif); font-size: clamp(20px, 2vw, 28px); font-style: italic; color: var(--accent); animation: up 1s var(--ease) both; }
.sub-title { margin-top: 6px; font-size: clamp(36px, 4.6vw, 64px); line-height: 1.2; font-weight: 700; letter-spacing: -.04em; animation: up 1s .1s var(--ease) both; }
.crumb { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 24px; font-size: 14px; color: rgba(255,255,255,.7); animation: up 1s .2s var(--ease) both; }
.crumb li { display: flex; align-items: center; gap: 10px; }
.crumb li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.crumb a:hover { color: #fff; }
@keyframes subZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes up { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 640px) { .sub-visual { min-height: 360px; padding-bottom: 48px; } }

.lnb { position: relative; z-index: 5; margin-top: -40px; }
.lnb-tabs { display: grid; grid-template-columns: repeat(var(--n), 1fr); max-width: calc(1000px + var(--gutter) * 2); }
.lnb-tabs li + li a { border-left: 0; }
.lnb-tabs a { display: flex; align-items: center; justify-content: center; height: 80px; padding: 0 12px; background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--muted); text-align: center; line-height: 1.35; transition: .3s; box-shadow: 0 20px 40px rgba(10,22,38,.06); }
.lnb-tabs a:hover { color: var(--ink); }
.lnb-tabs a[aria-current] { background: var(--primary); border-color: var(--primary); color: #fff; }
@media (max-width: 768px) {
  .lnb { margin-top: 0; }
  .lnb-tabs { padding: 0; display: flex; overflow-x: auto; scrollbar-width: none; }
  .lnb-tabs::-webkit-scrollbar { display: none; }
  .lnb-tabs li { flex: 1 0 auto; }
  .lnb-tabs a { height: 56px; padding: 0 18px; font-size: 15px; white-space: nowrap; box-shadow: none; border-top: 0; }
}

/* CEO */
.ceo { display: grid; grid-template-columns: 1.2fr 1fr; gap: 96px; align-items: start; }
.ceo-img { position: sticky; top: calc(var(--hd-h) + 40px); aspect-ratio: 4 / 5; overflow: hidden; }
.ceo-img img { width: 100%; height: 100%; object-fit: cover; }
.ceo-text .h2 { margin-bottom: 40px; }
.ceo-text p:not(.eyebrow) { margin-bottom: 20px; font-size: 18px; line-height: 1.95; }
.ceo-sign { margin-top: 56px !important; color: var(--muted); }
.ceo-sign strong { display: block; margin-top: 4px; font-size: 24px; color: var(--ink); letter-spacing: .14em; }
@media (max-width: 1024px) { .ceo { grid-template-columns: 1fr; gap: 48px; } .ceo-img { position: static; aspect-ratio: 16 / 9; order: -1; } }

/* 비전 */
.vision-en { font-family: var(--serif); font-size: clamp(40px, 6vw, 92px); font-style: italic; font-weight: 500; line-height: 1.1; color: var(--accent); }
.vision-main { margin-top: 32px; font-size: clamp(24px, 2.6vw, 38px); font-weight: 700; color: var(--ink); letter-spacing: -.03em; }
.vision-main small { display: block; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.goal-row { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 72px; border-top: 1px solid var(--ink); text-align: left; }
.goal-row li { padding: 32px 28px 0; border-left: 1px solid var(--line); }
.goal-row li:first-child { border-left: 0; padding-left: 0; }
.goal-row strong { display: block; font-family: var(--serif); font-size: clamp(40px, 4vw, 64px); font-weight: 600; color: var(--primary); line-height: 1; }
.goal-row span { display: block; margin-top: 10px; color: var(--muted); }
.value-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.value-row li { padding: 40px 32px; border-left: 1px solid var(--line); background: #fff; }
.value-row li:first-child { border-left: 0; }
.value-num { font-family: var(--serif); font-size: 44px; color: var(--accent); line-height: 1; }
.value-en { margin-top: 24px; font-family: var(--serif); font-size: 20px; font-style: italic; color: var(--muted); }
.value-row h3 { font-size: 24px; color: var(--ink); margin: 2px 0 10px; }
@media (max-width: 1024px) { .value-row { grid-template-columns: 1fr 1fr; } .value-row li:nth-child(3) { border-left: 0; } .value-row li { border-bottom: 1px solid var(--line); } }
@media (max-width: 640px) { .value-row, .goal-row { grid-template-columns: 1fr; } .value-row li, .goal-row li { border-left: 0; padding-left: 0; } .goal-row li { padding-bottom: 24px; border-bottom: 1px solid var(--line); } }

/* 연혁 */
.history-period { display: grid; grid-template-columns: 360px 1fr; gap: 48px; padding: 72px 0; border-top: 1px solid var(--line); }
.history-period:first-child { border-top: 1px solid var(--ink); }
.history-side { position: sticky; top: calc(var(--hd-h) + 40px); align-self: start; }
.history-range { font-family: var(--serif); font-size: clamp(40px, 4vw, 64px); font-weight: 600; color: var(--primary); line-height: 1; }
.history-title { margin-top: 14px; font-size: 18px; font-weight: 600; color: var(--accent); }
.history-years { position: relative; }
.history-years > li { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 0 0 36px; }
.history-year { font-family: var(--serif); font-size: 36px; font-weight: 600; color: var(--ink); line-height: 1; }
.history-years ul li { position: relative; padding-left: 16px; margin-bottom: 8px; font-size: 17px; }
.history-years ul li::before { content: ""; position: absolute; left: 0; top: 13px; width: 6px; height: 1px; background: var(--accent); }
@media (max-width: 1024px) { .history-period { grid-template-columns: 1fr; gap: 32px; } .history-side { position: static; } }
@media (max-width: 480px) { .history-years > li { grid-template-columns: 1fr; gap: 8px; } }

/* 인증·수상 */
.cert-row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.cert-row li { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 48px 20px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cert-row li:first-child { border-left: 0; }
.cert-ico { width: 56px; height: 56px; color: var(--accent); stroke-width: 1.2; margin-bottom: 18px; }
.cert-row b { font-size: 22px; color: var(--ink); }
.cert-row span { color: var(--muted); font-size: 15px; }
@media (max-width: 768px) { .cert-row { grid-template-columns: 1fr 1fr; } .cert-row li:nth-child(3) { border-left: 0; } }
.award-list { border-top: 1px solid var(--ink); }
.award-list li { display: grid; grid-template-columns: 120px 1fr auto; gap: 24px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); }
.award-year { font-family: var(--serif); font-size: 32px; font-weight: 600; color: var(--accent); }
.award-list b { display: block; font-size: 19px; color: var(--ink); }
.award-list div span { font-size: 14px; color: var(--muted); }
.award-proj { font-size: 14px; color: var(--muted); padding: 6px 12px; border: 1px solid var(--line); background: #fff; }
@media (max-width: 640px) { .award-list li { grid-template-columns: 64px 1fr; } .award-year { font-size: 24px; } .award-proj { grid-column: 2; justify-self: start; } }

/* 오시는 길 */
.map { border: 1px solid var(--line); }
.map iframe { display: block; width: 100%; height: 480px; border: 0; }
.loc-info { display: grid; grid-template-columns: 320px 1fr; gap: 40px; padding: 48px 0; }
.loc-info .spec { margin: 0; }
.transit { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--warm); }
.transit li { display: flex; gap: 16px; padding: 32px; border-left: 1px solid var(--line); }
.transit li:first-child { border-left: 0; }
.transit .ico { width: 32px; height: 32px; color: var(--accent); }
.transit b { color: var(--ink); font-size: 18px; }
.transit p { font-size: 15px; }
@media (max-width: 1024px) { .loc-info { grid-template-columns: 1fr; gap: 20px; } .transit { grid-template-columns: 1fr; } .transit li { border-left: 0; border-bottom: 1px solid var(--line); } .map iframe { height: 320px; } }

/* 사업분야 목록·상세 */
.biz-list li + li { margin-top: 32px; }
.biz-list a { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--warm); overflow: hidden; }
.biz-list li:nth-child(even) a { grid-template-columns: 1fr 1.1fr; }
.biz-list li:nth-child(even) .biz-list-img { order: 2; }
.biz-list-img { min-height: 420px; overflow: hidden; }
.biz-list-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.biz-list a:hover img { transform: scale(1.05); }
.biz-list-body { display: flex; flex-direction: column; align-items: flex-start; padding: 56px; }
.biz-list-num { font-family: var(--serif); font-size: 48px; color: var(--accent); line-height: 1; }
.biz-list-body small { margin-top: 20px; font-family: var(--serif); font-size: 20px; font-style: italic; color: var(--muted); }
.biz-list-body b { font-size: 34px; color: var(--ink); letter-spacing: -.03em; }
.biz-list-body > span:not([class]) { margin-top: 10px; }
.biz-list-stats { display: flex; gap: 40px; margin: 28px 0 32px; }
.biz-list-stats span { display: flex; flex-direction: column; font-size: 14px; color: var(--muted); }
.biz-list-stats strong { font-family: var(--serif); font-size: 36px; font-weight: 600; color: var(--primary); line-height: 1.1; }
.biz-list .link-line { margin-top: auto; }
@media (max-width: 1024px) { .biz-list a, .biz-list li:nth-child(even) a { grid-template-columns: 1fr; } .biz-list li:nth-child(even) .biz-list-img { order: 0; } .biz-list-img { min-height: 0; aspect-ratio: 16 / 9; } .biz-list-body { padding: 32px 24px; } }
.bd-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: center; }
.bd-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.kpi { display: flex; gap: 48px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--ink); }
.kpi li { display: flex; flex-direction: column; }
.kpi strong { font-family: var(--serif); font-size: clamp(40px, 4vw, 56px); font-weight: 600; color: var(--primary); line-height: 1; }
.kpi span { margin-top: 8px; font-size: 14px; color: var(--muted); }
@media (max-width: 1024px) { .bd-intro { grid-template-columns: 1fr; gap: 48px; } .bd-img img { aspect-ratio: 16 / 10; } }
@media (max-width: 480px) { .kpi { flex-wrap: wrap; gap: 24px 32px; } }
.cap-list { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.cap-list li { padding: 40px 28px 44px; border-left: 1px solid var(--line); background: #fff; transition: background .4s, color .4s; }
.cap-list li:first-child { border-left: 0; }
.cap-list li:hover { background: var(--primary); color: rgba(255,255,255,.8); }
.cap-list li:hover b { color: #fff; }
.cap-list span { font-family: var(--serif); font-size: 40px; color: var(--accent); line-height: 1; }
.cap-list b { display: block; margin: 24px 0 10px; font-size: 21px; color: var(--ink); transition: color .4s; }
.cap-list p { font-size: 15px; }
@media (max-width: 1024px) { .cap-list { grid-template-columns: 1fr 1fr; } .cap-list li:nth-child(3) { border-left: 0; } .cap-list li { border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .cap-list { grid-template-columns: 1fr; } .cap-list li { border-left: 0; } }

/* 프로젝트 */
.pj-filter { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.filter { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-btn { height: 46px; padding: 0 22px; border: 1px solid var(--line); background: #fff; font-size: 15px; font-weight: 600; color: var(--muted); transition: .25s; }
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.filter-sm .filter-btn { height: 46px; border-radius: 23px; }
.board-count { font-size: 15px; color: var(--muted); padding-bottom: 16px; margin-bottom: 40px; border-bottom: 1px solid var(--ink); }
.board-count b { color: var(--accent); }
.empty { padding: 80px 0; text-align: center; color: var(--muted); }
[data-filter-list] > [hidden] { display: none !important; }
.pj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 32px; }
.pj-card { display: flex; flex-direction: column; }
.pj-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 20px; background: var(--line); }
.pj-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.pj-img .badge { position: absolute; left: 0; top: 0; }
.pj-card:hover img { transform: scale(1.06); }
.pj-cat { font-size: 13px; font-weight: 600; letter-spacing: .1em; color: var(--accent); }
.pj-card b { margin: 4px 0; font-size: 21px; color: var(--ink); letter-spacing: -.02em; transition: color .3s; }
.pj-card:hover b { color: var(--accent); }
.pj-meta { font-size: 14px; color: var(--muted); }
@media (max-width: 1024px) { .pj-grid { grid-template-columns: 1fr 1fr; gap: 40px 20px; } }
@media (max-width: 560px)  { .pj-grid { grid-template-columns: 1fr; } }
.pd { display: grid; grid-template-columns: 1.3fr 1fr; gap: 72px; align-items: start; }
.pd > * { min-width: 0; }
.gallery-main { aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; animation: fadeIn .6s var(--ease); }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 10px; }
.gallery-thumbs button { display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; opacity: .5; transition: opacity .3s; outline-offset: -2px; }
.gallery-thumbs button[aria-current], .gallery-thumbs button:hover { opacity: 1; }
.gallery-thumbs button[aria-current] { outline: 2px solid var(--accent); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-info .lead-text { margin-bottom: 32px; }
@media (max-width: 1024px) { .pd { grid-template-columns: 1fr; gap: 40px; } }

/* 주거 브랜드 */
.brand-intro { padding: var(--sec-y) 0 calc(var(--sec-y) * .6); }
.brand-story { max-width: 760px; margin: 28px auto 0; }
.bv { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; }
.bv.is-rev { grid-template-columns: 1fr 1.2fr; }
.bv.is-rev .bv-img { order: 2; }
.bv-img { aspect-ratio: 16 / 11; overflow: hidden; }
.bv-img img { width: 100%; height: 100%; object-fit: cover; }
.bv-text { position: relative; padding: 64px clamp(24px, 6vw, 112px); }
.bv-num { position: absolute; top: 0; right: 40px; font-family: var(--serif); font-size: 160px; line-height: 1; color: var(--warm); z-index: -1; }
@media (max-width: 1024px) { .bv, .bv.is-rev { grid-template-columns: 1fr; } .bv.is-rev .bv-img { order: 0; } .bv-text { padding: 40px var(--gutter) 64px; } .bv-num { font-size: 100px; } }
.sale-list { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 40px; }
.sale { display: grid; grid-template-columns: 1fr 1.1fr; background: var(--warm); scroll-margin-top: calc(var(--hd-h) + 24px); }
.sale.is-done { opacity: .72; }
.sale-img { position: relative; overflow: hidden; min-height: 320px; }
.sale-img img { width: 100%; height: 100%; object-fit: cover; }
.sale-img .badge { position: absolute; left: 0; top: 0; height: 32px; padding: 0 14px; font-size: 13px; }
.sale-body { padding: 32px; }
.brand-mini { font-family: var(--serif); font-size: 18px; letter-spacing: .3em; color: var(--accent); }
.sale-body h3 { font-size: 24px; color: var(--ink); margin: 2px 0 18px; }
.sale-body .spec { margin-bottom: 22px; }
.sale-body .spec > div { grid-template-columns: 64px 1fr; padding: 10px 0; font-size: 14px; }
.sale-btns { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 1200px) { .sale-list { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .sale { grid-template-columns: 1fr; } .sale-img { min-height: 0; aspect-ratio: 16 / 10; } .sale-body { padding: 24px 20px; } }

/* 아이콘 카드 */
.icon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.icon-grid li { padding: 44px 32px; background: #fff; border-left: 1px solid var(--line); }
.icon-grid li:first-child { border-left: 0; }
.icon-lg { width: 48px; height: 48px; color: var(--accent); stroke-width: 1.3; }
.icon-grid h3 { margin: 28px 0 10px; font-size: 21px; color: var(--ink); }
.icon-grid p { font-size: 15px; }
@media (max-width: 1024px) { .icon-grid { grid-template-columns: 1fr 1fr; } .icon-grid li:nth-child(3) { border-left: 0; } .icon-grid li { border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .icon-grid { grid-template-columns: 1fr; } .icon-grid li { border-left: 0; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: center; }
.split > * { min-width: 0; }
.split-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 1024px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.tag-row li { padding: 8px 16px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink); }

/* 절차 */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 48px 0 64px; border-top: 1px solid var(--ink); counter-reset: s; }
.steps li { position: relative; padding: 28px 24px; border-left: 1px solid var(--line); }
.steps li:first-child { border-left: 0; padding-left: 0; }
.steps li::after { content: ""; position: absolute; right: -6px; top: 36px; width: 11px; height: 11px; border-top: 1px solid var(--accent); border-right: 1px solid var(--accent); transform: rotate(45deg); background: #fff; }
.steps li:last-child::after { display: none; }
.steps span { display: block; font-family: var(--serif); font-size: 16px; font-style: italic; color: var(--accent); }
.steps b { font-size: 18px; color: var(--ink); }
@media (max-width: 768px) { .steps { grid-template-columns: 1fr; } .steps li { border-left: 0; padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; gap: 16px; align-items: baseline; } .steps li::after { display: none; } }

/* 폼 */
.form-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 88px; align-items: start; }
.form-wrap > * { min-width: 0; }
.form-side { position: sticky; top: calc(var(--hd-h) + 40px); }
.form-side > p:not(.eyebrow) { margin: 20px 0 32px; font-size: 17px; }
@media (max-width: 1024px) { .form-wrap { grid-template-columns: 1fr; gap: 40px; } .form-side { position: static; } }
.form { display: grid; gap: 24px; }
.form-wide { padding: 56px; background: var(--warm); }
.field { display: flex; flex-direction: column; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-size: 15px; font-weight: 600; color: var(--ink); padding: 0; }
.field legend { margin-bottom: 10px; }
.field em { color: var(--accent); font-style: normal; }
.field input, .field select, .field textarea { width: 100%; padding: 14px 0; border: 0; border-bottom: 1px solid #c9c6bf; background: transparent; font-size: 17px; border-radius: 0; transition: border-color .3s; }
.field input, .field select { height: 56px; }
.field textarea { resize: vertical; min-height: 140px; border: 1px solid #c9c6bf; padding: 16px; background: #fff; }
.form-wide .field input, .form-wide .field select { background: transparent; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 1px 0 var(--primary); }
.field .is-invalid { border-color: #c0392b !important; box-shadow: 0 1px 0 #c0392b; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.field-row-3 { grid-template-columns: 2fr 1fr 1fr; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; height: 46px; padding: 0 20px; border: 1px solid #c9c6bf; background: #fff; font-size: 15px; font-weight: 600; cursor: pointer; transition: .2s; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--primary); border-color: var(--primary); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.file-box { position: relative; display: flex; align-items: center; gap: 12px; height: 72px; padding: 0 20px; border: 1px dashed #b8b4ab; background: #fff; color: var(--muted); font-weight: 500 !important; }
.file-box input { position: absolute; inset: 0; opacity: 0; cursor: pointer; height: 100% !important; }
.file-box .ico { width: 24px; height: 24px; color: var(--accent); }
.file-box:hover, .file-box:focus-within { border-color: var(--ink); color: var(--ink); }
.file-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.agree input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--primary); }
.agree a { color: var(--accent); text-decoration: underline; }
.form-msg { min-height: 1em; font-size: 15px; color: #c0392b; }
.form-msg.is-ok { color: var(--primary); }
@media (max-width: 640px) { .form-wide { padding: 28px 18px; } .field-row, .field-row-3 { grid-template-columns: 1fr; gap: 24px; } }
.as-call { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.as-call > div { max-width: 640px; }
.as-call > div > p:not(.eyebrow) { margin-top: 16px; font-size: 17px; }
.as-phone { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 28px 36px; background: var(--primary); color: #fff; font-family: var(--serif); font-size: 44px; font-weight: 600; line-height: 1; }
.as-phone small { flex-basis: 100%; font-family: "Pretendard Variable", Pretendard, sans-serif; font-size: 14px; font-weight: 500; color: var(--accent); margin-bottom: 6px; }
.as-phone .ico { width: 32px; height: 32px; color: var(--accent); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.two-col > * { min-width: 0; }
.two-col .h3 { margin-bottom: 24px; }
@media (max-width: 1024px) { .two-col { grid-template-columns: 1fr; gap: 56px; } }
.doc-list { border-top: 1px solid var(--ink); }
.doc-list li { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.doc-list span { font-family: var(--serif); font-size: 20px; color: var(--accent); width: 20px; }
.support-list li { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.support-list li:first-child { border-top: 1px solid var(--ink); }
.support-list .ico { width: 36px; height: 36px; color: var(--accent); stroke-width: 1.3; }
.support-list b { color: var(--ink); font-size: 18px; }
.support-list p { font-size: 15px; }

/* 뉴스 게시판 (공통 템플릿) */
.board-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.board-top .filter { margin: 0; }
.search { position: relative; width: 320px; max-width: 100%; }
.search input { width: 100%; height: 48px; padding: 0 44px 0 0; border: 0; border-bottom: 1px solid var(--ink); background: transparent; }
.search input:focus { outline: none; border-color: var(--accent); }
.search .ico { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.news-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 32px; }
.tag { font-size: 13px; }
.tag-line { color: var(--accent); font-weight: 600; }
@media (max-width: 1024px) { .news-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .news-cards { grid-template-columns: 1fr; } }
.article-head { padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.article-title { margin-top: 16px; font-size: clamp(26px, 3vw, 40px); line-height: 1.4; color: var(--ink); letter-spacing: -.035em; }
.article-img { margin: 40px 0 0; }
.article-body { padding: 40px 0 56px; }
.article-body p { margin-bottom: 22px; font-size: 18px; line-height: 1.95; }
.article-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 28px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.article-nav a:not(.btn) { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.article-nav a span { font-size: 14px; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.article-nav a b { font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.article-nav a:hover b { color: var(--accent); }
.article-nav .is-next { text-align: right; align-items: flex-end; }
@media (max-width: 640px) { .article-nav { grid-template-columns: 1fr; } .article-nav .btn { order: 3; } .article-nav .is-next { text-align: left; align-items: flex-start; } }

/* 개인정보처리방침 */
.policy h2 { font-size: 20px; color: var(--ink); margin: 40px 0 12px; }
.policy-date { margin-top: 48px; color: var(--muted); }

/* 스크롤 등장 */
.js .reveal { opacity: 0; transform: translateY(48px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
