:root {
  --forest: #172522;
  --forest-2: #20332f;
  --sage: #a7b2a3;
  --mineral: #d8d3c8;
  --paper: #f5f4ef;
  --paper-deep: #ebe8df;
  --clay: #b9684f;
  --ink: #17201e;
  --muted: #66716c;
  --white: #fff;
  --line: rgba(23, 37, 34, 0.18);
  --serif: "Gowun Batang", Georgia, serif;
  --sans: "SUIT Variable", "Pretendard Variable", "Noto Sans KR", system-ui, sans-serif;
  --data: "Inter", Arial, sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { max-width: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { max-width: 100%; margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.65; word-break: keep-all; overflow-x: clip; }
button, input { font: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }

.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--white); padding: 10px 14px; }
.skip-link:focus { top: 12px; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 3; display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: var(--max); margin: 0 auto; padding: 28px 32px; color: var(--paper); }
.wordmark { display: grid; text-decoration: none; font-family: var(--data); font-size: 0.7rem; line-height: 1.05; letter-spacing: 0.11em; }
.wordmark strong { font-size: 1.05rem; letter-spacing: 0.03em; }
.operator-chip { max-width: 48%; border: 1px solid rgba(255,255,255,.35); border-radius: 100px; padding: 7px 12px; font-family: var(--data); font-size: 0.67rem; line-height: 1.2; letter-spacing: 0.08em; text-align: center; overflow-wrap: anywhere; }

.hero { min-height: 760px; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(440px, .98fr); background: var(--forest); color: var(--paper); overflow: hidden; }
.hero-copy { min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 150px max(7vw, 48px) 90px max(calc((100vw - var(--max))/2 + 32px), 32px); }
.eyebrow { margin: 0 0 18px; font-family: var(--data); font-size: .72rem; font-weight: 700; letter-spacing: .14em; }
.hero h1 { max-width: 660px; margin: 0; font-family: var(--serif); font-size: clamp(3.2rem, 5.4vw, 6.3rem); font-weight: 400; line-height: 1.2; letter-spacing: -.055em; }
.hero-body { max-width: 610px; margin: 35px 0 42px; color: rgba(245,244,239,.73); font-size: clamp(1rem, 1.35vw, 1.16rem); overflow-wrap: anywhere; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; border: 0; text-decoration: none; font-weight: 700; cursor: pointer; transition: transform .2s ease, background .2s ease, opacity .2s ease; }
.button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid #e5a68f; outline-offset: 3px; }
.button:hover:not(:disabled) { transform: translateY(-2px); }
.hero-scope { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.hero-scope li { border: 1px solid rgba(245,244,239,.26); padding: 7px 12px; color: rgba(245,244,239,.88); font-size: .82rem; line-height: 1.2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button-primary { background: var(--clay); color: var(--white); padding: 0 28px; }
.button-secondary { border: 1px solid rgba(245,244,239,.42); color: var(--paper); padding: 0 24px; }
.hero-assurance { margin: 14px 0 0; color: rgba(245,244,239,.58); font-size: .78rem; }

.observation-stage { position: relative; min-height: 760px; margin: 0; background: #bcc2b8; color: var(--paper); overflow: hidden; }
.editorial-portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,23,21,.04) 46%, rgba(13,23,21,.72) 100%); pointer-events: none; }
.portrait-image { display: block; width: 100%; height: 100%; min-height: 760px; object-fit: cover; object-position: 52% center; filter: saturate(.93) contrast(1.02); }
.stage-label { position: absolute; z-index: 1; top: 100px; right: 30px; writing-mode: vertical-rl; color: rgba(255,255,255,.84); font-family: var(--data); font-size: .65rem; letter-spacing: .15em; text-shadow: 0 1px 14px rgba(0,0,0,.24); }
.stage-note { position: absolute; z-index: 1; left: 30px; right: 30px; bottom: 30px; margin: 0; border-top: 1px solid rgba(255,255,255,.58); padding-top: 14px; color: var(--paper); font-family: var(--serif); text-align: right; text-shadow: 0 1px 16px rgba(0,0,0,.28); }

.section-pad { max-width: var(--max); margin: 0 auto; padding: 120px 32px; }
.section-heading { display: grid; grid-template-columns: 80px 1fr; align-items: start; margin-bottom: 60px; }
.section-index { font-family: var(--data); font-size: .76rem; font-weight: 700; letter-spacing: .08em; }
.section-heading h2, .form-intro h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.25rem, 4vw, 4.4rem); font-weight: 400; line-height: 1.25; letter-spacing: -.045em; }

.moments { padding-bottom: 145px; }
.moment-list { margin: 0 0 0 80px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.moment-list li { display: grid; grid-template-columns: 80px 1fr; align-items: center; min-height: 94px; border-bottom: 1px solid var(--line); }
.moment-list span { font-family: var(--data); color: var(--clay); font-size: .72rem; font-weight: 700; }
.moment-list p { margin: 0; font-family: var(--serif); font-size: clamp(1.25rem, 2.3vw, 2rem); }

.criteria { max-width: none; background: var(--forest); color: var(--paper); padding-left: max(calc((100vw - var(--max))/2 + 32px), 32px); padding-right: max(calc((100vw - var(--max))/2 + 32px), 32px); }
.section-heading.light { max-width: var(--max); margin-left: auto; margin-right: auto; }
.criteria-columns { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid rgba(255,255,255,.22); }
.criteria-panel { padding: 55px 48px 35px; }
.criteria-panel + .criteria-panel { border-left: 1px solid rgba(255,255,255,.22); }
.criteria-panel.accent { background: var(--sage); color: var(--forest); }
.panel-label { margin: 0 0 38px; font-family: var(--data); font-size: .68rem; font-weight: 700; letter-spacing: .12em; }
.criteria-panel h3 { margin: 0 0 32px; font-family: var(--serif); font-size: clamp(1.7rem, 2.8vw, 2.75rem); font-weight: 400; }
.criteria-panel ul { list-style: none; margin: 0; padding: 0; }
.criteria-panel li { display: grid; grid-template-columns: 145px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid currentColor; }
.criteria-panel li strong { font-size: .94rem; }
.criteria-panel li span { opacity: .72; }

.check-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.check-grid article { min-height: 245px; padding: 24px 24px 30px 0; }
.check-grid article + article { border-left: 1px solid var(--line); padding-left: 24px; }
.check-grid span { font-family: var(--data); color: var(--clay); font-size: .72rem; font-weight: 700; }
.check-grid h3 { margin: 60px 0 12px; font-family: var(--serif); font-size: 1.5rem; }
.check-grid p { margin: 0; color: var(--muted); font-size: .94rem; }

.form-section { max-width: none; display: grid; grid-template-columns: minmax(320px, .72fr) minmax(0, 1.28fr); gap: 8vw; padding-left: max(calc((100vw - var(--max))/2 + 32px), 32px); padding-right: max(calc((100vw - var(--max))/2 + 32px), 32px); background: var(--paper); }
.form-intro { position: sticky; top: 40px; align-self: start; }
.form-intro h2 { margin: 12px 0 28px; }
.form-intro > p:not(.eyebrow) { color: var(--muted); }
.system-status { display: flex; gap: 10px; align-items: center; margin-top: 36px; padding: 15px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .88rem; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #cf9e58; box-shadow: 0 0 0 5px rgba(207,158,88,.15); }
.system-status.ready .status-dot { background: #5c8b70; box-shadow: 0 0 0 5px rgba(92,139,112,.15); }
.system-status.error .status-dot { background: var(--clay); box-shadow: 0 0 0 5px rgba(185,104,79,.15); }

.consultation-form { min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field, .field-group { margin: 0 0 30px; padding: 0; border: 0; }
.field label, .field-group legend { display: block; margin-bottom: 10px; font-size: .9rem; font-weight: 700; }
.field em, .field-group em { color: var(--clay); font-style: normal; font-size: .72rem; }
.field input { width: 100%; height: 58px; border: 1px solid var(--line); border-radius: 0; background: rgba(255,255,255,.66); padding: 0 16px; color: var(--ink); }
.field input[aria-invalid="true"] { border-color: var(--clay); }
.field-hint { margin: 7px 0 0; color: var(--muted); font-size: .75rem; }
.choice-row, .choice-grid { display: grid; gap: 8px; }
.choice-row { grid-template-columns: repeat(4, 1fr); }
.choice-row.two { grid-template-columns: repeat(2, 1fr); }
.choice-row.three { grid-template-columns: repeat(3, 1fr); }
.choice-grid { grid-template-columns: repeat(3, 1fr); }
.choice-grid .wide { grid-column: span 2; }
.choice-row label, .choice-grid label { cursor: pointer; }
.choice-row input, .choice-grid input { position: absolute; opacity: 0; }
.choice-row span, .choice-grid span { display: flex; min-height: 50px; align-items: center; justify-content: center; border: 1px solid var(--line); background: rgba(255,255,255,.45); padding: 8px 12px; text-align: center; font-size: .88rem; }
.choice-row input:checked + span, .choice-grid input:checked + span { border-color: var(--forest); background: var(--forest); color: var(--white); }
.choice-row input:focus-visible + span, .choice-grid input:focus-visible + span { outline: 3px solid #e5a68f; outline-offset: 2px; }
.field-error, .submit-error { min-height: 1.3em; margin: 6px 0 0; color: #9f432d; font-size: .78rem; }
.consent-box { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; margin-bottom: 22px; }
.consent-check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; cursor: pointer; }
.consent-check input { width: 19px; height: 19px; margin-top: 3px; accent-color: var(--forest); }
.consent-check span { display: grid; gap: 4px; }
.consent-check small { color: var(--muted); line-height: 1.55; }
details { margin: 16px 0 0 34px; }
summary { cursor: pointer; font-size: .83rem; text-decoration: underline; }
.consent-detail { margin-top: 14px; padding: 16px; background: var(--paper-deep); font-size: .78rem; color: var(--muted); }
.consent-detail p { margin: 4px 0; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.button-submit { width: 100%; min-height: 64px; justify-content: space-between; background: var(--clay); color: var(--white); padding: 0 24px; }
.button-submit:disabled { background: #b5afa7; cursor: not-allowed; }
.success-panel { grid-column: 2; align-self: center; min-height: 460px; background: var(--forest); color: var(--paper); padding: 70px; }
.success-panel h2 { margin: 80px 0 24px; font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.8rem); font-weight: 400; }
.request-id { margin-top: 50px; border-top: 1px solid rgba(255,255,255,.35); padding-top: 18px; font-family: var(--data); font-size: .82rem; }

.site-footer { background: #0d1715; color: var(--paper); display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 42px max(calc((100vw - var(--max))/2 + 32px), 32px); }
.site-footer p { margin: 0; }
.footer-brand { font-family: var(--serif); font-size: 1.08rem; font-weight: 700; }
.footer-sub { color: rgba(245,244,239,.55); font-family: var(--data); font-size: .68rem; letter-spacing: .13em; }
.mobile-consult-cta { display: none; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 690px; padding: 140px 28px 70px; }
  .observation-stage { min-height: 650px; }
  .criteria-columns, .form-section { grid-template-columns: 1fr; }
  .criteria-panel + .criteria-panel { border-left: 0; border-top: 1px solid rgba(255,255,255,.22); }
  .check-grid { grid-template-columns: 1fr 1fr; }
  .check-grid article:nth-child(3) { border-left: 0; }
  .form-intro { position: static; }
  .success-panel { grid-column: 1; }
}

@media (max-width: 600px) {
  body { padding-bottom: 76px; }
  .site-header { padding: 22px 20px; }
  .operator-chip { font-size: .56rem; padding: 6px 8px; letter-spacing: .05em; }
  .hero-copy { min-height: 620px; padding: 125px 20px 55px; }
  .hero h1 { font-size: clamp(2.65rem, 13vw, 4.1rem); }
  .hero-body { margin: 30px 0 24px; font-size: 1rem; line-height: 1.75; }
  .hero-body br { display: block; }
  .hero-scope { margin-bottom: 18px; }
  .hero-scope li { font-size: .8rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  .hero-actions .button { width: 100%; min-height: 58px; padding: 0 18px; font-size: 1rem; }
  .hero-assurance { font-size: .76rem; }
  .observation-stage { min-height: 560px; }
  .stage-label { top: 55px; right: 15px; }
  .stage-note { font-size: .86rem; text-align: left; }
  .section-pad { padding: 85px 20px; }
  .section-heading { grid-template-columns: 42px 1fr; margin-bottom: 42px; }
  .section-heading h2, .form-intro h2 { font-size: 2.35rem; }
  .moment-list { margin-left: 42px; }
  .moment-list li { grid-template-columns: 42px 1fr; min-height: 88px; }
  .moment-list p { font-size: 1.25rem; }
  .criteria { padding-left: 20px; padding-right: 20px; }
  .criteria-panel { padding: 38px 24px 24px; }
  .criteria-panel li { grid-template-columns: 110px 1fr; gap: 12px; }
  .check-grid { grid-template-columns: 1fr; }
  .check-grid article, .check-grid article + article { min-height: auto; border-left: 0; border-top: 1px solid var(--line); padding: 24px 0; }
  .check-grid article:first-child { border-top: 0; }
  .check-grid h3 { margin: 28px 0 8px; }
  .form-section { padding-left: 20px; padding-right: 20px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .choice-row { grid-template-columns: 1fr 1fr; }
  .choice-grid { grid-template-columns: 1fr 1fr; }
  .choice-grid .wide { grid-column: 1 / -1; }
  .success-panel { min-height: 420px; padding: 42px 28px; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 6px; padding: 36px 20px; }
  .mobile-consult-cta { position: fixed; z-index: 20; left: 12px; right: 12px; bottom: max(10px, env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; min-height: 58px; background: var(--clay); color: var(--white); padding: 0 20px; text-decoration: none; box-shadow: 0 10px 28px rgba(13,23,21,.28); transition: opacity .2s ease, transform .2s ease; }
  .mobile-consult-cta span { font-weight: 800; }
  .mobile-consult-cta small { color: rgba(255,255,255,.78); font-size: .72rem; }
  .mobile-consult-cta.is-hidden { opacity: 0; transform: translateY(120%); pointer-events: none; }
}

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