@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700&family=Noto+Serif+KR:wght@500;600;700&display=swap');

:root {
  --pine-950: #0e2922;
  --pine-900: #173d32;
  --pine-800: #245246;
  --pine-100: #dce6df;
  --ivory: #f5f0e5;
  --paper: #fbf8f0;
  --gold: #a48745;
  --gold-soft: #d8c087;
  --ink: #1f2925;
  --muted: #65716b;
  --line: rgba(23, 61, 50, 0.16);
  --shadow: 0 24px 70px rgba(14, 41, 34, 0.12);
  --sans: 'Noto Sans KR', system-ui, sans-serif;
  --serif: 'Noto Serif KR', serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.75; }
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #d0a63c; outline-offset: 4px; }
.skip-link { position: fixed; z-index: 1000; left: 1rem; top: -5rem; padding: .7rem 1rem; background: #fff; color: var(--pine-950); border-radius: .25rem; }
.skip-link:focus { top: 1rem; }

.site-header { position: sticky; top: 0; z-index: 100; min-height: 82px; display: flex; align-items: center; gap: 2rem; padding: 0 max(1.25rem, calc((100% - 1180px) / 2)); background: rgba(251, 248, 240, .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; flex: 0 0 auto; }
.brand-mark { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--gold); color: var(--gold); border-radius: 50%; font: 700 .9rem/1 var(--serif); letter-spacing: .05em; }
.brand strong { display: block; color: var(--pine-950); font: 700 1.2rem/1.2 var(--serif); letter-spacing: .06em; }
.brand small { display: block; margin-top: .15rem; color: var(--muted); font-size: .72rem; letter-spacing: .04em; }
.desktop-nav { display: flex; justify-content: center; align-items: center; gap: clamp(.8rem, 1.6vw, 1.65rem); margin-left: auto; }
.desktop-nav a { position: relative; padding: 1.8rem 0; color: #405048; font-size: .9rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--pine-900); }
.desktop-nav a[aria-current="page"]::after { content: ''; position: absolute; left: 0; right: 0; bottom: 1.25rem; height: 2px; background: var(--gold); }
.header-cta { flex: 0 0 auto; padding: .7rem 1.05rem; background: var(--pine-900); color: white; border: 1px solid var(--pine-900); border-radius: 999px; font-size: .9rem; font-weight: 700; text-decoration: none; }
.instagram-link { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .4rem; color: var(--pine-800); font-size: .82rem; font-weight: 700; text-decoration: none; }
.instagram-link:hover { color: var(--gold); }
.menu-button, .mobile-nav { display: none; }

.hero { min-height: 690px; position: relative; display: grid; align-items: center; overflow: hidden; background: var(--ivory); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(245,240,229,.98) 0%, rgba(245,240,229,.92) 35%, rgba(245,240,229,.28) 70%, rgba(14,41,34,.14) 100%); }
.hero-inner { position: relative; z-index: 1; width: min(1180px, calc(100% - 2.5rem)); margin: 0 auto; padding: 7rem 0; }
.hero-copy { max-width: 660px; }
.eyebrow { margin: 0 0 1rem; color: var(--gold); font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; color: var(--pine-950); font-family: var(--serif); line-height: 1.35; word-break: keep-all; }
h1 { margin-bottom: 1.4rem; font-size: clamp(2.55rem, 5.5vw, 5rem); letter-spacing: -.04em; }
h1 em { color: var(--pine-800); font-style: normal; }
.lead { max-width: 590px; margin: 0 0 2rem; color: #425149; font-size: clamp(1.05rem, 1.5vw, 1.22rem); }
.hero-actions, .button-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .78rem 1.2rem; border: 1px solid var(--pine-900); border-radius: 3px; background: var(--pine-900); color: white; font-weight: 700; text-decoration: none; }
.button:hover { background: var(--pine-800); }
.button.secondary { background: transparent; color: var(--pine-900); }
.button.secondary:hover { background: rgba(23,61,50,.06); }
.hero-caption { position: absolute; right: clamp(1.25rem, 4vw, 4rem); bottom: 1.2rem; z-index: 2; padding: .45rem .7rem; background: rgba(14,41,34,.75); color: white; font-size: .76rem; border-radius: 2px; }

.section { padding: clamp(4.5rem, 8vw, 8rem) 0; }
.section-shell { width: min(1180px, calc(100% - 2.5rem)); margin: 0 auto; }
.section-heading { max-width: 760px; margin-bottom: 2.5rem; }
.section-heading h2 { margin-bottom: 1rem; font-size: clamp(2rem, 4vw, 3.5rem); }
.section-heading p { margin: 0; color: var(--muted); font-size: 1.06rem; }
.intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.intro-grid h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
.intro-copy { font-size: 1.08rem; color: #4b5852; }
.intro-copy p:first-child { margin-top: .2rem; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.service-card { min-height: 325px; display: flex; flex-direction: column; padding: clamp(1.5rem, 3vw, 2.25rem); background: #fffdf7; border: 1px solid var(--line); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-number { color: var(--gold); font: 600 .8rem/1 var(--serif); letter-spacing: .12em; }
.service-card h3 { margin: 2.8rem 0 .8rem; font-size: 1.55rem; }
.service-card p { margin: 0 0 2rem; color: var(--muted); }
.service-card span:last-child { margin-top: auto; color: var(--pine-800); font-weight: 700; }

.pine-band { background: var(--pine-950); color: #e9eee9; }
.pine-band h2, .pine-band h3 { color: white; }
.pine-band .eyebrow { color: var(--gold-soft); }
.experience-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.experience-number { color: var(--gold-soft); font: 600 clamp(5rem, 12vw, 10rem)/.8 var(--serif); }
.experience-number small { display: block; margin-top: 1.4rem; color: #c9d3cd; font: 500 .9rem/1.5 var(--sans); letter-spacing: .08em; }
.experience-copy h2 { font-size: clamp(2rem, 4vw, 3.6rem); }
.experience-copy p { color: #c6d0cb; }

.process { counter-reset: steps; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.process article { position: relative; padding: 2rem 1.5rem; background: var(--paper); }
.process article::before { counter-increment: steps; content: '0' counter(steps); display: block; margin-bottom: 2.6rem; color: var(--gold); font: 600 .82rem/1 var(--serif); letter-spacing: .14em; }
.process h3 { margin-bottom: .7rem; font-size: 1.15rem; }
.process p { margin: 0; color: var(--muted); font-size: .93rem; }

.page-hero { padding: clamp(5rem, 9vw, 9rem) 0 clamp(4rem, 7vw, 6.5rem); background: linear-gradient(135deg, var(--pine-950), #285748); color: white; }
.page-hero .eyebrow { color: var(--gold-soft); }
.page-hero h1 { max-width: 900px; color: white; font-size: clamp(2.5rem, 5vw, 4.8rem); }
.page-hero p:last-child { max-width: 720px; margin: 0; color: #d4ddd8; font-size: 1.1rem; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.content-main h2 { margin: 0 0 1.25rem; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.content-main h2:not(:first-child) { margin-top: 4.5rem; }
.content-main p { color: #4d5a54; }
.question-list, .check-list { padding: 0; margin: 1.5rem 0 0; list-style: none; }
.question-list li { position: relative; padding: 1.1rem 1.2rem 1.1rem 3rem; border-top: 1px solid var(--line); color: var(--pine-950); font-family: var(--serif); font-size: 1.05rem; }
.question-list li::before { content: '問'; position: absolute; left: .7rem; top: 1.12rem; color: var(--gold); font-size: .85rem; }
.check-list li { position: relative; margin: .75rem 0; padding-left: 1.7rem; }
.check-list li::before { content: ''; position: absolute; left: 0; top: .72rem; width: 8px; height: 8px; border: 2px solid var(--gold); transform: rotate(45deg); }
.side-card { position: sticky; top: 110px; padding: 1.7rem; background: var(--ivory); border-top: 3px solid var(--gold); }
.side-card h2 { margin-bottom: .8rem; font-size: 1.4rem; }
.side-card p { color: var(--muted); }
.side-card .button { width: 100%; margin-top: .5rem; }
.note-box { margin-top: 2rem; padding: 1.4rem; background: #edf1ed; border-left: 3px solid var(--pine-800); color: #47534d; }

.field-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.field-card { min-height: 310px; display: flex; flex-direction: column; padding: 1.8rem; background: #fffdf7; border: 1px solid var(--line); }
.field-card .tag { align-self: flex-start; padding: .2rem .6rem; border: 1px solid var(--gold); color: #725f2e; font-size: .75rem; }
.field-card h2 { margin: auto 0 .8rem; font-size: 1.45rem; }
.field-card p { margin: 0; color: var(--muted); }
.placeholder-card { background: repeating-linear-gradient(135deg, #f8f3e9, #f8f3e9 12px, #f3ecdd 12px, #f3ecdd 24px); }

.column-intro { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin-bottom: 2.5rem; }
.column-intro .section-heading { margin-bottom: 0; }
.draft-notice { max-width: 380px; margin: 0; padding: 1rem 1.15rem; background: #f0eadb; border-left: 3px solid var(--gold); color: #5c5545; font-size: .9rem; }
.column-filters { display: flex; flex-wrap: wrap; gap: .55rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.column-filters li, .column-category { display: inline-flex; align-items: center; min-height: 30px; padding: .25rem .7rem; border: 1px solid rgba(164,135,69,.6); color: #725f2e; font-size: .78rem; font-weight: 700; }
.column-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.column-card { min-height: 360px; display: flex; flex-direction: column; padding: clamp(1.5rem, 3vw, 2.1rem); background: #fffdf7; border: 1px solid var(--line); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.column-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.column-card-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .55rem; align-items: center; }
.draft-badge { display: inline-flex; align-items: center; min-height: 30px; padding: .25rem .7rem; background: var(--pine-100); color: var(--pine-800); font-size: .75rem; font-weight: 700; }
.column-card h2 { margin: 2.4rem 0 .85rem; font-size: clamp(1.45rem, 2vw, 1.8rem); }
.column-card p { margin: 0 0 2rem; color: var(--muted); }
.column-card .read-more { margin-top: auto; color: var(--pine-800); font-weight: 700; }

.article-hero { padding-bottom: clamp(3.5rem, 6vw, 5rem); }
.article-hero h1 { max-width: 820px; margin-bottom: 1.1rem; font-size: clamp(2.35rem, 5vw, 4.3rem); }
.article-meta { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; margin-top: 1.5rem; }
.article-meta .column-category { border-color: rgba(216,192,135,.72); color: var(--gold-soft); }
.article-meta .draft-badge { background: rgba(255,255,255,.1); color: white; border: 1px solid rgba(255,255,255,.26); }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) 250px; justify-content: space-between; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.article-body { font-size: 1.06rem; line-height: 1.95; }
.article-body > p:first-child { margin-top: 0; color: #34463e; font-size: 1.15rem; }
.article-body h2 { margin: 3.4rem 0 1rem; font-size: clamp(1.65rem, 3vw, 2.25rem); }
.article-body p { color: #46544d; }
.article-body ul { margin: 1.2rem 0; padding-left: 1.3rem; color: #46544d; }
.article-body li + li { margin-top: .55rem; }
.article-aside { position: sticky; top: 110px; padding: 1.4rem; background: var(--ivory); border-top: 3px solid var(--gold); }
.article-aside p { margin: 0; color: var(--muted); font-size: .9rem; }
.article-aside a { display: inline-block; margin-top: 1rem; color: var(--pine-800); font-weight: 700; }
.article-cta { margin-top: 4rem; padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--pine-950); color: #dce4df; }
.article-cta h2 { margin: 0 0 .75rem; color: white; }
.article-cta p { margin: 0 0 1.3rem; color: #c6d0cb; }
.article-cta .button { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--pine-950); }
.article-cta .button:hover { background: #ead39b; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; padding: 1.25rem .2rem; color: var(--pine-950); font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--gold); font-size: 1.3rem; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0 0 1.4rem; padding-right: 2rem; color: var(--muted); }
.pending-contact { padding: 2rem; background: var(--pine-950); color: white; }
.pending-contact h2 { color: white; }
.pending-contact p { color: #d4ddd8; }
.disabled-button { display: inline-flex; min-height: 48px; align-items: center; padding: .75rem 1rem; border: 1px solid rgba(255,255,255,.4); color: #e6ebe7; cursor: not-allowed; opacity: .8; }
.contact-channel-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1.2rem; }
.instagram-button { min-height: 48px; display: inline-flex; align-items: center; gap: .55rem; padding: .75rem 1rem; background: var(--gold-soft); color: var(--pine-950); font-size: .92rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.instagram-button:hover { background: #ead39b; }

.instagram-section { background: #e9e2d2; }
.instagram-panel { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 3rem; padding: clamp(2rem, 5vw, 4.5rem); background: var(--pine-950); color: #e9eee9; box-shadow: var(--shadow); }
.instagram-panel::after { content: '@'; position: absolute; right: -1rem; bottom: -5rem; color: rgba(216,192,135,.08); font: 700 18rem/1 var(--serif); }
.instagram-panel h2 { margin-bottom: 1rem; color: white; font-size: clamp(2rem, 4vw, 3.5rem); }
.instagram-panel p:not(.eyebrow) { max-width: 650px; color: #c7d1cc; }
.instagram-card { position: relative; z-index: 1; padding: 1.7rem; background: rgba(255,255,255,.07); border: 1px solid rgba(216,192,135,.45); }
.instagram-card strong { display: block; color: white; font: 600 1.35rem/1.4 var(--serif); }
.instagram-card > span { display: block; margin: .35rem 0 1.2rem; color: var(--gold-soft); }
.instagram-topics { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.instagram-topics li { padding: .3rem .7rem; border: 1px solid rgba(216,192,135,.4); color: #dde5e0; font-size: .82rem; }

.closing { text-align: center; background: var(--ivory); }
.closing h2 { font-size: clamp(2rem, 4vw, 3.6rem); }
.closing p { max-width: 650px; margin: 0 auto 1.7rem; color: var(--muted); }
.closing .button-row { justify-content: center; }

.site-footer { display: flex; flex-direction: column; align-items: center; gap: 1.35rem; padding: 3rem clamp(1.25rem, 5vw, 5rem); background: #0b211c; color: #bec9c3; text-align: center; }
.footer-brand { color: white; font: 700 1.4rem/1 var(--serif); text-decoration: none; }
.site-footer p { margin: .7rem 0 0; font-size: .88rem; }
.footer-links { width: min(100%, 720px); display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 1.5rem; }
.footer-links a { color: white; font-size: .88rem; text-decoration: none; }
.footer-instagram { display: inline-flex; align-items: center; gap: .35rem; }
.footer-note { width: min(100%, 760px); padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.12); }

@media (max-width: 1240px) {
  .site-header { backdrop-filter: none; }
  .desktop-nav, .header-cta, .instagram-link { display: none; }
  .menu-button { display: grid; place-content: center; gap: 5px; width: 48px; height: 48px; margin-left: auto; border: 0; background: transparent; cursor: pointer; }
  .menu-button span { display: block; width: 24px; height: 2px; background: var(--pine-950); transition: transform .2s ease, opacity .2s ease; }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-nav { position: fixed; inset: 82px 0 0; display: flex; flex-direction: column; padding: 1.25rem; background: var(--paper); overflow-y: auto; }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav a { padding: 1rem .5rem; border-bottom: 1px solid var(--line); color: var(--pine-950); font: 600 1.18rem/1.4 var(--serif); text-decoration: none; }
  .mobile-nav a[aria-current="page"] { color: var(--gold); }
  .mobile-nav .mobile-nav-cta { margin-top: 1rem; border: 0; background: var(--pine-900); color: white; text-align: center; }
  .mobile-nav .mobile-instagram-link { display: flex; align-items: center; gap: .6rem; color: var(--gold); font-family: var(--sans); font-size: 1rem; }
}

@media (min-width: 1241px) and (max-width: 1380px) {
  .instagram-link span { display: none; }
}

@media (max-width: 800px) {
  .site-header { min-height: 72px; padding: 0 1rem; }
  .brand small { display: none; }
  .mobile-nav { top: 72px; }
  .hero { min-height: auto; }
  .hero-media { position: relative; height: 290px; order: 2; }
  .hero-media::after { background: linear-gradient(0deg, rgba(14,41,34,.2), transparent 55%); }
  .hero-inner { padding: 4.5rem 0 3.5rem; }
  h1 { font-size: clamp(2.35rem, 11vw, 3.65rem); }
  .hero-caption { bottom: .7rem; right: .75rem; left: .75rem; text-align: center; }
  .intro-grid, .experience-grid, .content-grid, .article-layout { grid-template-columns: 1fr; }
  .card-grid, .field-grid, .column-grid { grid-template-columns: 1fr; }
  .column-intro { display: block; }
  .draft-notice { max-width: none; margin-top: 1.5rem; }
  .article-aside { position: static; }
  .instagram-panel { grid-template-columns: 1fr; gap: 1.5rem; }
  .process { grid-template-columns: 1fr 1fr; }
  .side-card { position: static; }
  .footer-links { gap: .65rem 1.1rem; }
}

@media (max-width: 520px) {
  .section-shell, .hero-inner { width: min(100% - 2rem, 1180px); }
  .section { padding: 4.2rem 0; }
  .hero-actions .button, .button-row .button { width: 100%; }
  .process { grid-template-columns: 1fr; }
  .brand-mark { width: 40px; height: 40px; }
  .brand strong { font-size: 1.08rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
