:root {
  --green: #173c34;
  --green-2: #214d43;
  --cream: #f6f3eb;
  --paper: #fbfaf7;
  --gold: #b49768;
  --ink: #1d2724;
  --muted: #6c736f;
  --line: #dcded7;
  --white: #fff;
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "Noto Sans KR", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); word-break: keep-all; }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
img { display: block; width: 100%; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

.top-notice { height: 34px; background: var(--green); color: rgba(255,255,255,.72); font-size: 11px; letter-spacing: .08em; }
.top-notice .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.top-notice a { color: var(--white); }
.site-header { position: sticky; top: 0; z-index: 50; height: 82px; background: rgba(251,250,247,.96); border-bottom: 1px solid rgba(23,60,52,.1); backdrop-filter: blur(14px); transition: .25s; }
.site-header.scrolled { height: 70px; box-shadow: 0 8px 30px rgba(22,40,35,.08); }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark { width: 39px; height: 39px; display: grid; place-items: center; color: var(--cream); background: var(--green); font-size: 0; transform: rotate(45deg); }
.brand-mark::after { content: "B"; font: 25px var(--serif); transform: rotate(-45deg); }
.brand > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.brand b { font-size: 17px; letter-spacing: -.04em; }
.brand small { font-size: 8px; color: var(--gold); letter-spacing: .17em; }
.desktop-nav { display: flex; align-items: center; gap: 34px; height: 100%; }
.desktop-nav a { position: relative; display: grid; place-items: center; height: 100%; color: #525b57; font-size: 12px; font-weight: 600; }
.desktop-nav a::after { content: ""; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px; background: var(--green); transition: .25s; }
.desktop-nav a:hover::after, .desktop-nav a.active::after { left: 0; width: 100%; }
.desktop-nav a.active { color: var(--green); }
.menu-button { display: none; border: 0; background: transparent; padding: 8px; }
.menu-button span { display: block; width: 24px; height: 2px; margin: 5px; background: var(--green); transition: .25s; }
.mobile-nav { display: none; }

.hero { position: relative; overflow: hidden; background: var(--cream); }
.hero::before { display: none; }
.hero-pattern { position: absolute; width: 600px; height: 600px; right: -80px; top: -140px; border: 1px solid rgba(23,60,52,.1); border-radius: 50%; }
.hero-pattern::before, .hero-pattern::after { content: ""; position: absolute; border: 1px solid rgba(23,60,52,.08); border-radius: 50%; }
.hero-pattern::before { inset: 70px; }.hero-pattern::after { inset: 145px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 820px); justify-content: start; padding-top: 70px; padding-bottom: 70px; }
.hero-copy { position: relative; z-index: 2; padding-top: 15px; }
.eyebrow, .section-kicker { color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .21em; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 28px; height: 1px; background: var(--gold); }
.hero h1 { margin: 28px 0 25px; color: var(--green); font-size: clamp(42px, 4.1vw, 65px); line-height: 1.28; letter-spacing: -.065em; font-weight: 500; }
h1 em, h2 em { color: var(--gold); font-style: normal; }
.hero-description { color: #59645f; font-size: 16px; line-height: 1.9; }
.hero-actions { display: flex; gap: 12px; margin: 36px 0 34px; }
.button { min-height: 52px; padding: 0 25px; display: inline-flex; align-items: center; justify-content: center; gap: 36px; border: 1px solid transparent; cursor: pointer; font-size: 13px; font-weight: 600; transition: .25s; }
.button span { font-size: 17px; }
.button-primary { color: var(--white); background: var(--green); }
.button-primary:hover { background: var(--green-2); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(23,60,52,.18); }
.button-ghost { border-color: #bfc4bc; }
.button-ghost:hover, .button-outline:hover { color: var(--white); background: var(--green); border-color: var(--green); }
.hero-trust { display: flex; align-items: center; gap: 12px; }
.trust-icon { width: 35px; height: 35px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); }
.hero-trust p { margin: 0; display: flex; flex-direction: column; }
.hero-trust b { font-size: 12px; }.hero-trust small { color: #89908c; font-size: 10px; margin-top: 4px; }
/* 모바일 명함 카드 (PC에서는 숨김) */
.ceo-card { display: none; grid-template-columns: 112px 1fr; width: 100%; margin-top: 4px; background: var(--white); box-shadow: 0 18px 50px rgba(23,60,52,.14); }
.ceo-card img { width: 100%; height: 100%; min-height: 150px; object-fit: cover; object-position: center top; filter: saturate(.8); }
.ceo-card-body { padding: 16px 16px 14px; display: flex; flex-direction: column; }
.ceo-card-body span { color: var(--gold); font-size: 10px; letter-spacing: .14em; font-weight: 700; }
.ceo-card-body strong { margin-top: 3px; color: var(--green); font-size: 22px; letter-spacing: .1em; font-weight: 600; }
.ceo-card-body p { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.ceo-history { margin-top: 14px; padding-top: 10px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); color: var(--green); font-size: 12px; font-weight: 600; }
.ceo-history:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.hero-visual { position: relative; align-self: stretch; display: flex; align-items: center; z-index: 2; }
.portrait-frame { position: relative; width: 74%; aspect-ratio: 4 / 5; margin-left: auto; overflow: hidden; }
.portrait-frame::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -160px 110px -90px rgba(15,38,32,.85); }
.portrait-frame img { height: 100%; object-fit: cover; object-position: center top; filter: saturate(.72); }
.portrait-caption { position: absolute; z-index: 2; right: 28px; bottom: 25px; color: var(--white); display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.portrait-caption span { font-size: 10px; letter-spacing: .12em; opacity: .7; }
.portrait-caption strong { margin-top: 5px; font-size: 23px; letter-spacing: .25em; font-weight: 500; }
.experience-badge { position: absolute; z-index: 3; left: 4%; bottom: 14%; width: 160px; height: 105px; color: var(--white); background: var(--green); display: flex; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 16px 40px rgba(23,60,52,.25); }
.experience-badge strong { font: 53px var(--serif); color: var(--gold); }
.experience-badge span { font-size: 9px; line-height: 1.7; letter-spacing: .1em; }
.line-art { position: absolute; right: -45px; bottom: 20px; width: 110px; height: 110px; border: 1px solid rgba(23,60,52,.22); transform: rotate(45deg); }
.scroll-cue { position: absolute; bottom: 26px; left: 26px; display: flex; flex-direction: column; align-items: center; gap: 10px; color: #949b97; font-size: 8px; letter-spacing: .2em; writing-mode: vertical-rl; }
.scroll-cue i { width: 1px; height: 32px; background: #949b97; }
.scroll-cue { display: none; } /* 첫 화면이 짧아져 스크롤 안내는 숨김 */

.metrics { background: var(--white); border-bottom: 1px solid var(--line); }
.metrics-grid { display: grid; grid-template-columns: repeat(4,1fr); padding: 46px 0; }
.metrics article { position: relative; text-align: center; border-right: 1px solid var(--line); }
.metrics article:last-child { border: 0; }
.metrics strong { color: var(--green); font: 45px var(--serif); }
.metrics sup { color: var(--gold); font-size: 21px; }
.metrics span { margin-left: 7px; color: var(--gold); font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.metrics p { margin: 7px 0 0; color: var(--muted); font-size: 12px; }

.section { padding: 120px 0; }
.about-grid { display: grid; grid-template-columns: 1fr .92fr; gap: 110px; align-items: center; }
.image-composition { position: relative; padding: 0 45px 48px 0; }
.about-main-image { width: 86%; height: auto; aspect-ratio: .9; object-fit: cover; object-position: center top; filter: saturate(.85); }
.about-caption { position: absolute; left: 22px; top: 22px; padding: 10px 14px; background: rgba(23,60,52,.86); color: var(--white); display: flex; flex-direction: column; }
.about-caption span { font-size: 10px; letter-spacing: .12em; opacity: .8; }
.about-caption strong { font-size: 18px; letter-spacing: .2em; font-weight: 500; }
.image-composition .experience-badge { left: -30px; bottom: 120px; }
.image-composition::before { content: ""; position: absolute; z-index: -1; left: -30px; bottom: 15px; width: 75%; height: 64%; background: #e3e8e1; }
.quote-card { position: absolute; right: 0; bottom: 0; min-width: 270px; padding: 22px 27px; color: var(--white); background: var(--green); display: flex; gap: 15px; box-shadow: 0 14px 35px rgba(23,60,52,.2); }
.quote-card span { color: var(--gold); font: 50px/1 var(--serif); }
.quote-card p { margin: 0; font-size: 13px; line-height: 1.75; }
.section-kicker { margin: 0 0 20px; }
.section h2, .community h2 { margin: 0; color: var(--green); font-size: clamp(35px, 3.5vw, 51px); line-height: 1.33; letter-spacing: -.055em; font-weight: 500; }
.divider { width: 42px; height: 2px; margin: 28px 0; background: var(--gold); }
.about-copy > p:not(.section-kicker) { color: var(--muted); font-size: 14px; line-height: 2; }
.about-copy p.lead { color: var(--ink); font-size: 16px; font-weight: 600; }
.text-link { display: inline-flex; align-items: center; gap: 42px; margin-top: 20px; padding-bottom: 8px; color: var(--green); border-bottom: 1px solid var(--green); font-size: 12px; font-weight: 600; }
.text-link span { transition: .2s; }.text-link:hover span { transform: translateX(5px); }

.expertise { background: #f0eee7; }
.section-heading.centered { text-align: center; margin-bottom: 54px; }
.expertise-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.expertise-card { position: relative; min-height: 395px; padding: 46px; background: var(--white); border-right: 1px solid var(--line); overflow: hidden; transition: .3s; }
.expertise-card.featured { color: var(--white); background: var(--green); transform: translateY(-13px); box-shadow: 0 20px 45px rgba(23,60,52,.17); }
.expertise-card:hover { transform: translateY(-9px); }
.expertise-card.featured:hover { transform: translateY(-20px); }
.card-number { position: absolute; right: 24px; top: 18px; color: rgba(23,60,52,.1); font: 56px var(--serif); }
.featured .card-number { color: rgba(255,255,255,.1); }
.icon { position: relative; width: 62px; height: 62px; margin: 20px 0 35px; border: 1px solid var(--gold); }
.icon::before, .icon::after { content: ""; position: absolute; }
.icon-building::before { inset: 15px 19px 0; border: 2px solid var(--green); border-bottom: 0; background: repeating-linear-gradient(to bottom, transparent 0 6px, var(--green) 7px 9px); }
.icon-land::before { left: 12px; right: 12px; bottom: 16px; height: 17px; border-bottom: 2px solid var(--gold); transform: skewY(-14deg); box-shadow: 0 7px 0 -5px var(--gold); }
.icon-land::after { left: 29px; top: 11px; width: 2px; height: 27px; background: var(--gold); }
.icon-auction::before { width: 26px; height: 8px; left: 14px; top: 19px; border: 3px solid var(--green); transform: rotate(-35deg); }
.icon-auction::after { width: 30px; height: 2px; left: 16px; bottom: 13px; background: var(--green); }
.featured .icon { border-color: rgba(255,255,255,.28); }
.expertise-card h3 { margin: 0 0 15px; color: var(--green); font-size: 21px; }
.expertise-card p { min-height: 70px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.expertise-card a { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; padding-top: 17px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 600; }
.expertise-card.featured h3, .expertise-card.featured p { color: var(--white); }
.expertise-card.featured p { opacity: .72; }.expertise-card.featured a { border-color: rgba(255,255,255,.2); }

.career { color: var(--white); background: var(--green); }
.career-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 100px; }
.section-kicker.light { color: #c8b38d; }
.career h2, .community h2 { color: var(--white); }
.career-intro > p:not(.section-kicker) { margin-top: 25px; max-width: 360px; color: rgba(255,255,255,.58); font-size: 13px; line-height: 1.9; }
.signature { margin-top: 55px; color: rgba(255,255,255,.11); font: italic 35px var(--serif); }
.timeline article { display: grid; grid-template-columns: 110px 1fr; gap: 30px; padding: 25px 0; border-top: 1px solid rgba(255,255,255,.15); }
.timeline article:last-child { border-bottom: 1px solid rgba(255,255,255,.15); }
.timeline time { color: var(--gold); font: 22px var(--serif); }
.timeline h3 { margin: 0 0 6px; font-size: 15px; font-weight: 500; }
.timeline p { margin: 0; color: rgba(255,255,255,.5); font-size: 11px; }

.section-heading.split { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 52px; }
.section-heading.split > p { max-width: 370px; margin: 0 0 6px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.case-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 18px; }
.case-card { position: relative; height: 430px; overflow: hidden; }
.case-card:nth-child(n+4) { display: none; }
.case-grid.expanded .case-card:nth-child(n+4) { display: block; }
.case-grid.expanded { grid-template-columns: repeat(3,1fr); }
.case-card img { width: 100%; height: 100%; object-fit: cover; transition: .55s; filter: blur(7px) saturate(.55); transform: scale(1.08); }
.case-card::after { content: ""; position: absolute; inset: 0 0 30%; background: linear-gradient(rgba(11,31,26,.9), transparent); }
.case-card:hover img { transform: scale(1.12); }
.case-content { position: absolute; z-index: 2; left: 30px; right: 30px; top: 30px; color: var(--white); }
.case-tag { display: inline-block; padding: 7px 11px; margin-bottom: 16px; background: var(--gold); font-size: 13px; letter-spacing: .06em; }
.case-content h3 { margin: 0 0 10px; font-size: 26px; font-weight: 600; line-height: 1.3; letter-spacing: -.02em; }
.case-content p { margin: 0; opacity: .85; font-size: 15px; line-height: 1.5; }
.case-content b { position: absolute; right: 0; bottom: 0; width: 35px; height: 35px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.5); font-size: 18px; font-weight: 400; }
.center-action { margin-top: 40px; text-align: center; }

/* 예시 데이터 표시: 실제 자료로 교체하면 data의 sample 값을 지운다 */
.is-sample img { filter: blur(7px) saturate(.55); transform: scale(1.08); }
.case-card.is-sample:hover img { transform: scale(1.12); }
.sample-mark { position: absolute; z-index: 3; right: 14px; top: 14px; padding: 5px 9px; color: var(--green); background: rgba(255,255,255,.88); font-size: 10px; font-style: normal; font-weight: 700; letter-spacing: .04em; }
.sample-badge { display: inline-block; margin-right: 7px; padding: 2px 6px; vertical-align: middle; color: var(--white); background: #8a6d3b; font-size: 10px; font-weight: 700; letter-spacing: 0; line-height: 1.5; }
.modal-hero .sample-mark { right: auto; left: 14px; }
.sample-note { margin-top: 18px; color: #929792; font-size: 10px; text-align: right; }
.button-outline { color: var(--green); background: transparent; border-color: var(--green); }

.project { padding-top: 15px; }
.project-card { display: grid; grid-template-columns: 1.15fr .85fr; background: #dfe5de; }
.project-image { position: relative; min-height: 520px; }
.project-image img { height: 100%; object-fit: cover; filter: saturate(.62); }
.project-image span { position: absolute; left: 0; bottom: 0; padding: 12px 18px; color: var(--white); background: var(--gold); font-size: 9px; letter-spacing: .14em; }
.project-copy { padding: 65px; }
.project-copy h2 { font-size: 39px; }
.project-copy > p:not(.section-kicker) { color: var(--muted); font-size: 13px; line-height: 1.9; }
.project-copy ul { list-style: none; margin: 25px 0 0; padding: 0; border-top: 1px solid rgba(23,60,52,.16); }
.project-copy li { padding: 12px 0; border-bottom: 1px solid rgba(23,60,52,.16); font-size: 12px; }
.project-copy li::before { content: "✓"; margin-right: 10px; color: var(--gold); }

.listings { background: var(--cream); }
.listing-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.listing-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.listing-filters button { padding: 9px 16px; border: 1px solid #cfd2ca; background: var(--white); color: var(--ink); font-size: 14px; cursor: pointer; transition: .2s; }
.listing-filters button b { margin-left: 3px; color: var(--gold); font-weight: 700; }
.listing-filters button[aria-pressed="true"] { color: var(--white); background: var(--green); border-color: var(--green); }
.listing-filters button[aria-pressed="true"] b { color: var(--cream); }
.listing-nav { display: flex; align-items: center; gap: 8px; }
.listing-nav span { margin-right: 6px; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.listing-nav button { width: 44px; height: 44px; border: 1px solid var(--green); background: transparent; color: var(--green); font-size: 24px; line-height: 1; cursor: pointer; transition: .2s; }
.listing-nav button:hover:not(:disabled) { color: var(--white); background: var(--green); }
.listing-nav button:disabled { opacity: .3; cursor: default; }
.listing-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 44px) / 3); column-gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px; }
.listing-track::-webkit-scrollbar { display: none; }
.listing-track:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.listing-card { scroll-snap-align: start; display: flex; flex-direction: column; padding: 28px; background: var(--white); border-top: 3px solid var(--green); min-height: 360px; }
.listing-top { display: flex; gap: 6px; margin-bottom: 18px; }
.listing-type { padding: 6px 10px; color: var(--white); background: var(--green); font-size: 13px; letter-spacing: .04em; }
.listing-badge { padding: 6px 10px; color: var(--white); background: #b0413e; font-size: 13px; font-weight: 700; }
.listing-card h3 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.listing-price { margin: 6px 0 20px; color: var(--gold); font-family: var(--serif); font-size: 44px; line-height: 1.1; }
.listing-facts { margin: 0 0 18px; padding: 14px 0; display: grid; gap: 8px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.listing-facts div { display: flex; justify-content: space-between; font-size: 15px; }
.listing-facts dt { color: var(--muted); }
.listing-facts dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.listing-tags { list-style: none; margin: auto 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.listing-tags li { padding: 5px 9px; background: var(--cream); color: var(--green-2); font-size: 13px; }
.listing-dots { display: flex; justify-content: center; gap: 7px; margin-top: 20px; }
.listing-dots i { width: 8px; height: 8px; border-radius: 50%; background: #cfd2ca; transition: .2s; }
.listing-dots i.on { width: 22px; border-radius: 4px; background: var(--green); }

.media { background: var(--white); }
.media-list { border-top: 1px solid var(--line); }
.media-item { display: grid; grid-template-columns: 180px 1fr; gap: 35px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); }
.media-thumb { position: relative; height: 105px; overflow: hidden; }
.media-thumb img { height: 100%; object-fit: cover; filter: grayscale(.55); }
.media-thumb span { position: absolute; left: 0; bottom: 0; padding: 5px 7px; color: white; background: var(--green); font-size: 8px; }
.media-meta { color: var(--gold) !important; font-size: 9px !important; font-weight: 700; letter-spacing: .08em; }
.media-item h3 { margin: 8px 0; color: var(--green); font-size: 17px; }
.media-item p { margin: 0; color: var(--muted); font-size: 11px; }
.media-item > a { width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid var(--line); transition: .2s; }
.media-item > a:hover { color: white; background: var(--green); }

.community { padding: 90px 0; color: var(--white); background: #24493f; }
.community-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: center; }
.community h2 em { color: #d9bf8f; }
.community-copy > p { max-width: 590px; color: rgba(255,255,255,.85); font-size: 15px; line-height: 1.9; }
.community-points { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 35px; }
.community-points div { display: flex; flex-direction: column; border-left: 1px solid rgba(255,255,255,.18); padding-left: 25px; }
.community-points strong { color: var(--gold); font: 39px var(--serif); }
.community-points sup { font: 12px var(--sans); }
.community-points span { margin-top: 4px; color: rgba(255,255,255,.85); font-size: 13px; }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; }
.contact-info > p:not(.section-kicker) { margin: 25px 0 35px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.contact-info dl { margin: 0; border-top: 1px solid var(--line); }
.contact-info dl div { display: grid; grid-template-columns: 90px 1fr; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.contact-info dt { color: #9ca09d; }.contact-info dd { margin: 0; color: var(--green); font-weight: 600; }
.contact-info dl div { grid-template-columns: 110px 1fr; }
.contact-form { position: relative; padding: 42px; background: var(--white); box-shadow: 0 15px 50px rgba(35,49,44,.08); }
.form-header { display: flex; justify-content: space-between; align-items: end; margin-bottom: 30px; }
.form-header span { color: var(--gold); font-size: 9px; letter-spacing: .15em; }.form-header strong { color: var(--green); font-size: 23px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form > label, .form-row label, fieldset legend { display: block; color: #727875; font-size: 10px; font-weight: 600; }
input[type="text"], input[type="tel"], textarea { width: 100%; margin-top: 8px; padding: 13px 0; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line); outline: none; border-radius: 0; resize: vertical; }
input:focus, textarea:focus { border-color: var(--green); }
fieldset { padding: 0; margin: 25px 0; border: 0; }
.type-options { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; margin-top: 10px; }
.type-options label { position: relative; cursor: pointer; }
.type-options input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.type-options input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.type-options span { height: 38px; display: grid; place-items: center; color: #858b87; background: #f3f3ef; font-size: 10px; }
.type-options input:checked + span { color: white; background: var(--green); }
.privacy { display: flex !important; align-items: center; gap: 7px; margin-top: 17px; }
.privacy a { margin-left: auto; text-decoration: underline; white-space: nowrap; }
.consent-box { margin-top: 17px; padding: 14px 16px; background: #f6f5f0; }
.consent-box .privacy { margin-top: 0; color: var(--ink); font-size: 11px; }
.consent-detail { margin: 10px 0 0; font-size: 10px; line-height: 1.6; color: #6f7571; }
.consent-detail div { display: grid; grid-template-columns: 58px 1fr; gap: 8px; padding: 3px 0; }
.consent-detail dt { color: #979c99; }.consent-detail dd { margin: 0; }
.consent-detail + .privacy { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.consent-detail div { grid-template-columns: 78px 1fr; }
.consent-more { margin: 4px 0 0 22px; font-size: 10px; }
.consent-more summary { width: fit-content; color: var(--muted); cursor: pointer; text-decoration: underline; }
.consent-more summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.consent-more .consent-detail { margin-left: -22px; }
.hp-field { position: absolute; left: -9999px; }
.form-error { margin: 14px 0 0; padding: 10px 12px; color: #9a2f22; background: #fbeceb; font-size: 11px; }
.submit-button:disabled { opacity: .6; cursor: wait; }
.masked { color: #9ca09d; font-size: .8em; font-weight: 600; }
.contact-call { display: inline-grid; grid-template-columns: auto auto; column-gap: 12px; align-items: center; margin: -10px 0 30px; color: var(--green); }
.contact-call span { grid-row: span 2; width: 42px; height: 42px; display: grid; place-items: center; color: var(--white); background: var(--green); border-radius: 50%; }
.contact-call b { font: 26px var(--serif); letter-spacing: .02em; }.contact-call small { color: var(--muted); font-size: 10px; }.submit-button { width: 100%; margin-top: 22px; }

footer { color: rgba(255,255,255,.6); background: #112d27; }
.footer-top { display: grid; grid-template-columns: .65fr 1fr 1fr; gap: 50px; align-items: center; padding: 50px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand b { color: white; }.footer-brand .brand-mark { color: var(--green); background: var(--cream); }
.footer-top p { font-size: 11px; line-height: 1.7; }
.footer-links { display: flex; justify-content: flex-end; gap: 27px; color: white; font-size: 10px; }
.footer-bottom { position: relative; padding: 27px 0 35px; font-size: 9px; line-height: 1.8; }
.footer-bottom > div { position: absolute; right: 0; top: 27px; display: flex; gap: 18px; }
.footer-bottom a { color: rgba(255,255,255,.8); }.footer-bottom b { color: var(--white); }
.footer-bottom small { display: block; margin-top: 18px; opacity: .5; }

/* 무료 요금제의 "Powered by Netlify" 배지(오른쪽 아래, 숨길 수 없음)를 피해 위로 띄운다 */
.floating-actions { position: fixed; z-index: 40; right: 22px; bottom: 76px; display: flex; flex-direction: column; gap: 8px; }
.floating-actions a { width: 58px; height: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; box-shadow: 0 5px 20px rgba(0,0,0,.15); }
.floating-actions span { font-size: 18px; }.floating-actions b { margin-top: 2px; font-size: 8px; }
.float-call { color: white; background: var(--green); }.float-kakao { color: #2e2923; background: #fee500; }

.detail-modal { width: min(900px, calc(100% - 30px)); max-height: 90vh; padding: 0; border: 0; background: var(--paper); overflow: auto; }
.detail-modal::backdrop { background: rgba(9,25,21,.75); backdrop-filter: blur(4px); }
.modal-close { position: sticky; z-index: 3; top: 14px; display: block; margin: 14px 14px -52px auto; width: 38px; height: 38px; color: white; background: rgba(15,40,33,.8); border: 0; font-size: 25px; cursor: pointer; }
.modal-hero { position: relative; height: 330px; }
.modal-hero img { height: 100%; object-fit: cover; }
.modal-hero::after { content:""; position:absolute; inset:30% 0 0; background:linear-gradient(transparent,rgba(11,30,25,.8)); }
.modal-title { position: absolute; z-index: 2; left: 45px; bottom: 35px; color: white; }
.modal-title small { color: #d5bc8e; font-size: 10px; letter-spacing: .12em; }.modal-title h2 { margin: 8px 0 0; font-size: 29px; }
.modal-body { padding: 45px; }
.detail-facts { display: grid; grid-template-columns: repeat(4,1fr); margin-bottom: 35px; border: 1px solid var(--line); }
.detail-facts div { padding: 17px; border-right: 1px solid var(--line); }.detail-facts div:last-child { border: 0; }
.detail-facts span { display: block; color: #979c99; font-size: 9px; }.detail-facts b { display: block; margin-top: 6px; color: var(--green); font-size: 13px; }
.modal-section { margin-top: 27px; }.modal-section h3 { color: var(--green); font-size: 15px; }.modal-section p { color: var(--muted); font-size: 12px; line-height: 1.9; }
.comment-box { padding: 25px; margin-top: 30px; background: #e7ece6; border-left: 3px solid var(--green); }
.comment-box h3 { margin-top: 0; color: var(--green); }
.map-placeholder { height: 180px; display: grid; place-items: center; margin-top: 25px; color: var(--green); background: #dce3dc; background-image: linear-gradient(30deg, rgba(23,60,52,.06) 12%, transparent 12.5%, transparent 87%, rgba(23,60,52,.06) 87.5%), linear-gradient(150deg, rgba(23,60,52,.06) 12%, transparent 12.5%, transparent 87%, rgba(23,60,52,.06) 87.5%); background-size: 70px 120px; font-size: 12px; }

.toast { position: fixed; z-index: 200; left: 50%; bottom: 30px; padding: 14px 22px; color: white; background: var(--green); transform: translate(-50%, 30px); opacity: 0; pointer-events: none; transition: .3s; font-size: 12px; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s; }.delay-2 { transition-delay: .24s; }

@media (max-width: 1000px) {
  .desktop-nav { gap: 18px; }.desktop-nav a { font-size: 10px; }
  .hero-grid { gap: 25px; }.portrait-frame { width: 95%; }
  .about-grid { gap: 55px; }.project-copy { padding: 40px; }
  .contact-grid { gap: 50px; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 34px, 600px); }
  .top-notice { display: none; }
  .site-header, .site-header.scrolled { height: 68px; }
  .desktop-nav { display: none; }.menu-button { display: block; }
  .menu-button.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-button.open span:nth-child(2) { opacity: 0; }
  .menu-button.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-nav { position: absolute; top: 68px; left: 0; right: 0; padding: 15px 25px 25px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 18px 35px rgba(0,0,0,.1); }
  .mobile-nav.open { display: grid; }
  .mobile-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--green); font-size: 13px; }
  .hero-grid { padding-top: 60px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 39px; }.hero-description br { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }.button { justify-content: space-between; }
  .hero-grid { padding-bottom: 50px; }
  .hero-trust { display: none; }.ceo-card-mobile { display: grid; }
  .metrics-grid { grid-template-columns: 1fr 1fr; padding: 20px 0; }
  .metrics article { padding: 22px 5px; }.metrics article:nth-child(2) { border-right: 0; }.metrics article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .metrics strong { font-size: 34px; }
  .metrics span { display: block; margin: 2px 0 0; }
  .section { padding: 80px 0; }
  .about-grid, .career-grid, .project-card, .contact-grid, .community-grid { grid-template-columns: 1fr; gap: 55px; }
  .image-composition { display: none; }.about-grid { gap: 0; }
  .expertise-grid { grid-template-columns: 1fr; gap: 10px; }.expertise-card, .expertise-card.featured { min-height: 340px; transform: none; }.expertise-card:hover, .expertise-card.featured:hover { transform: translateY(-5px); }
  .career-grid { gap: 40px; }.signature { display: none; }.timeline article { grid-template-columns: 78px 1fr; gap: 13px; }
  .section-heading.split { display: block; }.section-heading.split > p { margin-top: 22px; }
  .case-grid, .case-grid.expanded { grid-template-columns: 1fr; }.case-card { height: 370px; }
  .case-content { left: 22px; right: 22px; top: 22px; } .case-content h3 { font-size: 22px; } .case-content p { font-size: 14px; }
  .project { padding-top: 0; }.project-image { min-height: 350px; }.project-copy { padding: 37px 25px; }
  .listing-track { grid-auto-columns: 86%; column-gap: 14px; } .listing-card { padding: 22px; min-height: 330px; } .listing-price { font-size: 38px; } .listing-nav button { display: none; }   .media-item { grid-template-columns: 105px 1fr; gap: 18px; }.media-item > a { display: none; }.media-thumb { height: 90px; }
  .community-points { grid-template-columns: 1fr; gap: 20px; }.community-points div { padding-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,.15); }
  .form-row { grid-template-columns: 1fr; }.contact-form { padding: 28px 20px; }.type-options { grid-template-columns: repeat(3,1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 25px; }.footer-links { justify-content: flex-start; flex-wrap: wrap; }.footer-bottom > div { position: static; margin-top: 15px; }
  .floating-actions { right: 12px; bottom: 68px; }.floating-actions a { width: 54px; height: 54px; }
  .modal-hero { height: 260px; }.modal-title { left: 24px; bottom: 25px; }
  .modal-body { padding: 25px; }.detail-facts { grid-template-columns: 1fr 1fr; }.detail-facts div:nth-child(2) { border-right: 0; }.detail-facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* 개인정보 처리방침 페이지 */
.policy-back { color: var(--green); font-size: 12px; font-weight: 600; }
.policy { padding: 70px 0 110px; }
.policy-container { width: min(860px, calc(100% - 34px)); margin: 0 auto; }
.policy h1 { margin: 0 0 24px; color: var(--green); font-size: clamp(30px, 4vw, 42px); font-weight: 600; letter-spacing: -.04em; }
.policy-lead { color: var(--muted); font-size: 14px; line-height: 1.9; }
.policy section { margin-top: 48px; }
.policy h2 { margin: 0 0 16px; padding-bottom: 12px; color: var(--green); border-bottom: 1px solid var(--line); font-size: 19px; }
.policy h3 { margin: 26px 0 10px; color: var(--ink); font-size: 15px; }
.policy p, .policy li { color: #4e5652; font-size: 14px; line-height: 1.85; }
.policy ul { padding-left: 20px; }
.policy .note { color: var(--muted); font-size: 13px; }
.policy a { color: var(--green); text-decoration: underline; }
.policy-summary { padding: 26px; background: var(--white); border: 1px solid var(--line); }
.policy-summary h2 { border: 0; padding: 0; }
.summary-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 28px; }
.summary-grid strong { color: var(--gold); font-size: 12px; letter-spacing: .04em; }
.summary-grid p { margin: 6px 0 0; font-size: 13px; }
.policy-toc { margin-top: 32px; padding: 22px 26px; background: #f0eee7; }
.policy-toc ol { margin: 0; padding-left: 20px; }
.policy-toc li { font-size: 13px; line-height: 2; }
.policy-toc a { text-decoration: none; }
.table-wrap { margin: 14px 0; overflow-x: auto; }
.policy table { width: 100%; min-width: 560px; border-collapse: collapse; background: var(--white); font-size: 13px; line-height: 1.7; }
.policy table.kv { min-width: 0; }
.policy th, .policy td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.policy th { color: var(--green); background: #f3f2ec; font-weight: 600; white-space: nowrap; }
.policy-page footer .footer-bottom { padding-top: 30px; }
@media (max-width: 760px) {
  .summary-grid { grid-template-columns: 1fr; }
  .policy { padding: 45px 0 80px; }
}
