:root {
  color-scheme: light;
  --paper: #f7f7f2;
  --surface: #fffefa;
  --ink: #252823;
  --muted: #71756e;
  --line: #e2e4dc;
  --accent: #c95432;
  --accent-dark: #a43b22;
  --accent-soft: #f5e8e1;
  --sage: #e8eee8;
  --shadow: 0 22px 60px rgba(34, 39, 33, .08);
  font-family: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
body { margin: 0; min-width: 320px; min-height: 100dvh; }
button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; }
.topbar {
  height: 76px; padding: 0 clamp(20px, 5vw, 76px); display: flex; align-items: center;
  justify-content: space-between; border-bottom: 1px solid rgba(37, 40, 35, .08);
}
.wordmark { text-decoration: none; font-size: 25px; font-weight: 800; letter-spacing: -.08em; }
.wordmark span { color: var(--accent); }
.topbar-note { color: var(--muted); font-size: 13px; letter-spacing: .02em; }
.text-button { background: none; border: 0; color: var(--accent-dark); font-weight: 700; cursor: pointer; padding: 10px 0; }
.page { width: min(1160px, calc(100% - 40px)); margin: 0 auto; min-width: 0; }
.eyebrow { color: var(--accent-dark); text-transform: uppercase; font-size: 11px; letter-spacing: .14em; font-weight: 700; }
.hero { min-height: min(720px, calc(100dvh - 130px)); display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: 6%; padding: 52px 0 72px; }
.hero-copy { padding: 18px 0 26px; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(44px, 6.4vw, 82px); line-height: 1.12; letter-spacing: -.075em; margin: 19px 0 22px; font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-lede { max-width: 430px; color: #555b52; font-size: 17px; line-height: 1.8; margin: 0; }
.hero-meta { display: flex; align-items: center; gap: 14px; margin-top: 30px; color: var(--muted); font-size: 13px; }
.hero-meta span + span::before { content: "·"; margin-right: 14px; color: #b0b3aa; }
.primary-button { display: inline-flex; justify-content: center; align-items: center; min-height: 58px; padding: 0 27px; border: 0; border-radius: 5px; background: var(--accent); color: white; font-weight: 700; cursor: pointer; text-decoration: none; transition: background .18s ease, transform .18s ease; }
.primary-button:hover { background: var(--accent-dark); transform: translateY(-1px); }
.primary-button:focus-visible, .text-button:focus-visible, .choice:focus-visible, .secondary-button:focus-visible { outline: 3px solid #252823; outline-offset: 3px; }
.hero .primary-button { margin-top: 32px; min-width: 204px; }
.quiet-link { display: block; margin-top: 14px; background: none; border: 0; padding: 4px 0; color: var(--muted); text-decoration: underline; text-decoration-color: #bfc3b9; text-underline-offset: 4px; font-size: 13px; cursor: pointer; }
.quiet-link:hover { color: var(--accent-dark); }
.hero-art { min-height: 505px; position: relative; display: grid; place-items: center; isolation: isolate; }
.hero-art::before { content: ""; position: absolute; width: min(92%, 470px); aspect-ratio: 1; border-radius: 50%; background: #e9efe8; z-index: -1; }
.hero-art::after { content: ""; position: absolute; inset: 8% 0 5% 12%; border: 1px solid rgba(37,40,35,.13); border-radius: 49% 51% 48% 52%; transform: rotate(-9deg); z-index: -2; }
.hero-art-stage { position: relative; width: 100%; min-height: 480px; display: grid; place-items: center; transition: opacity .2s ease, transform .2s ease; }
.hero-art-stage.is-changing { opacity: .12; transform: translateY(8px) scale(.985); }
.hero-art img { width: min(79%, 382px); height: 400px; object-fit: contain; filter: drop-shadow(0 16px 12px rgba(37,40,35,.08)); }
.art-caption { position: absolute; right: 2%; bottom: 7%; min-width: 190px; padding: 16px 18px; background: var(--surface); box-shadow: var(--shadow); transform: rotate(2deg); }
.art-caption strong { font-size: 19px; letter-spacing: -.04em; }
.showcase-controls { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); display: flex; align-items: center; gap: 15px; }
.showcase-arrow { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); background: rgba(255,254,250,.8); cursor: pointer; }
.showcase-arrow:hover { border-color: var(--accent); color: var(--accent-dark); }
.showcase-dot { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 9px; background: #c8cbc2; cursor: pointer; transition: width .2s ease, background .2s ease; }
.showcase-dot.active { width: 20px; background: var(--accent); }
.showcase-dots { display: flex; align-items: center; gap: 7px; }
.showcase-arrow:focus-visible, .showcase-dot:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.intro-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); padding: 23px 0; gap: 24px; }
.intro-step { display: flex; gap: 13px; align-items: flex-start; }
.intro-step b { color: var(--accent); font-size: 12px; padding-top: 3px; }
.intro-step strong { display: block; font-size: 14px; margin-bottom: 5px; }
.intro-step span { color: var(--muted); font-size: 12px; line-height: 1.55; }
.privacy-note { padding: 27px 0 70px; color: var(--muted); max-width: 760px; font-size: 12px; line-height: 1.7; }

.assessment-page { min-height: calc(100dvh - 125px); padding: 42px 0 72px; }
.assessment-shell { width: min(900px, 100%); margin: 0 auto; }
.assessment-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 15px; }
.assessment-top span { color: var(--muted); font-size: 13px; }
.assessment-top strong { font-size: 14px; }
.progress { height: 3px; background: #e4e6df; margin-bottom: 56px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--accent); transition: width .25s ease; }
.question-kicker { color: var(--accent-dark); font-size: 13px; font-weight: 700; }
.question-title { max-width: 760px; min-height: 110px; font-size: clamp(29px, 4vw, 44px); line-height: 1.42; letter-spacing: -.055em; margin: 14px 0 34px; font-weight: 600; }
.answer-list { display: grid; gap: 9px; }
.choice { width: 100%; min-height: 61px; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 12px 18px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: border .16s ease, background .16s ease; }
.choice:hover { border-color: #b8bcb2; }
.choice[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 3px 0 var(--accent); }
.choice-label { font-size: 15px; }
.choice-mark { width: 20px; height: 20px; border: 1px solid #c6c9c0; border-radius: 50%; display: inline-grid; place-items: center; color: white; font-size: 11px; }
.choice[aria-pressed="true"] .choice-mark { background: var(--accent); border-color: var(--accent); }
.choice.skip { min-height: 46px; background: transparent; border-style: dashed; color: var(--muted); margin-top: 5px; }
.assessment-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 28px; }
.secondary-button { background: transparent; border: 1px solid var(--line); border-radius: 4px; min-height: 48px; padding: 0 18px; font-weight: 600; cursor: pointer; }
.secondary-button:disabled { opacity: .38; cursor: not-allowed; }
.action-right { display: flex; align-items: center; gap: 16px; }
.autosave { color: var(--muted); font-size: 11px; }
.error-banner { border-left: 3px solid var(--accent); background: #fff2ec; padding: 14px 17px; margin-bottom: 18px; line-height: 1.6; }

.result-page { padding: 42px 0 90px; }
.result-hero { display: grid; grid-template-columns: 1fr 350px; gap: 36px; align-items: center; min-height: 430px; border-bottom: 1px solid var(--line); padding: 12px 0 35px; }
.result-title { font-size: clamp(43px, 6vw, 72px); letter-spacing: -.075em; line-height: 1.12; margin: 13px 0; }
.result-name { color: var(--accent); }
.result-tagline { max-width: 620px; color: #555b52; font-size: 17px; line-height: 1.75; }
.result-code { color: var(--muted); font-size: 12px; margin-top: 20px; }
.result-art { height: 390px; background: var(--sage); border-radius: 47% 53% 44% 56%; display: grid; place-items: end center; overflow: hidden; }
.result-art img { height: 96%; max-width: 96%; object-fit: contain; object-position: bottom; }
.report-intro { padding: 53px 0 25px; max-width: 770px; }
.report-intro h2, .section-heading { font-size: clamp(25px, 3vw, 36px); letter-spacing: -.055em; margin: 0 0 14px; }
.report-intro p { color: var(--muted); line-height: 1.8; margin: 0; }
.pattern-list { display: grid; gap: 15px; margin: 22px 0 8px; }
.pattern { border-left: 2px solid var(--accent); padding: 3px 0 4px 20px; }
.pattern h3 { font-size: 19px; margin: 0 0 9px; letter-spacing: -.035em; }
.pattern p { white-space: pre-line; line-height: 1.75; color: #50564e; margin: 0; }
.axes-section { margin-top: 55px; }
.axes-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 23px; }
.axis-card { padding: 23px 24px 25px; border-top: 1px solid var(--ink); background: var(--surface); }
.axis-card h3 { margin: 0 0 8px; font-size: 21px; letter-spacing: -.04em; }
.axis-band { color: var(--accent-dark); font-size: 13px; font-weight: 700; }
.axis-card p { color: #555b52; line-height: 1.8; font-size: 14px; white-space: pre-line; }
.three-bands { display: grid; grid-template-columns: repeat(3,1fr); gap: 4px; margin: 17px 0 14px; }
.three-bands span { height: 4px; background: #e6e8e1; }
.three-bands span.active { background: var(--accent); }
.axis-suggestion { color: var(--ink) !important; border-top: 1px solid var(--line); padding-top: 12px; }
.relationship-section { margin-top: 62px; padding: 34px; background: #ecefe8; }
.relationship-section > p { color: var(--muted); line-height: 1.7; margin: 0 0 24px; font-size: 13px; }
.relationship-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px 34px; }
.relationship-item { border-top: 1px solid #cdd2c8; padding-top: 14px; }
.relationship-item h3 { margin: 0 0 8px; font-size: 16px; }
.relationship-item p { color: #50564e; line-height: 1.72; font-size: 13px; margin: 8px 0; }
.relationship-item .quote { color: var(--accent-dark); font-weight: 600; }
.evidence-section { margin-top: 52px; }
.evidence-section details { border-top: 1px solid var(--line); padding: 16px 0; }
.evidence-section summary { cursor: pointer; font-weight: 600; }
.evidence-list { padding-left: 19px; color: var(--muted); line-height: 1.7; font-size: 12px; }
.report-note { margin-top: 35px; padding: 16px 18px; background: #f0f0ea; color: var(--muted); line-height: 1.7; font-size: 12px; }
.result-actions { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.insufficient { max-width: 690px; margin: 50px auto; background: var(--surface); padding: clamp(28px,5vw,54px); box-shadow: var(--shadow); }
.insufficient h1 { letter-spacing: -.06em; font-size: 38px; }
.insufficient p { color: var(--muted); line-height: 1.8; }
.insufficient-list { color: var(--accent-dark); line-height: 1.9; }
.loading-state { min-height: 65vh; display: grid; place-items: center; color: var(--muted); }
.site-footer { display: flex; justify-content: space-between; gap: 12px; padding: 20px clamp(20px,5vw,76px); color: #777b73; border-top: 1px solid var(--line); font-size: 11px; }

@media (min-width: 761px) and (max-width: 920px) {
  .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 3%; }
  .hero h1 { font-size: clamp(48px, 6vw, 60px); }
  .hero-art { min-width: 0; }
  .hero-art img { width: min(76%, 340px); }
  .intro-strip { gap: 14px; }
  .intro-step { min-width: 0; }
}

@media (max-width: 760px) {
  .topbar { height: 64px; padding: 0 20px; }
  .topbar-note { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 10px; padding: 48px 0 38px; }
  .hero h1 { font-size: clamp(45px, 12vw, 68px); }
  .hero-art { min-height: 430px; grid-row: 1; }
  .hero-art-stage { min-height: 400px; }
  .hero-art img { width: min(67%, 300px); height: 330px; }
  .hero-art::before { width: min(85%, 360px); }
  .art-caption { right: 0; bottom: 4%; min-width: 160px; padding: 13px 15px; }
  .intro-strip { grid-template-columns: 1fr; gap: 18px; }
  .assessment-page { padding-top: 30px; }
  .progress { margin-bottom: 39px; }
  .question-title { min-height: 0; margin-bottom: 26px; }
  .choice { min-height: 57px; }
  .autosave { display: none; }
  .result-hero { grid-template-columns: 1fr; gap: 5px; }
  .result-art { height: 300px; grid-row: 1; }
  .result-title { font-size: clamp(42px,11vw,62px); }
  .axes-grid, .relationship-grid { grid-template-columns: 1fr; }
  .relationship-section { padding: 24px 20px; }
  .site-footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
  .topbar, .site-footer, .result-actions, .assessment-page { display: none !important; }
  body { background: white; }
  .page { width: 100%; }
  .result-page { padding: 0; }
  .result-hero, .axis-card, .relationship-section { break-inside: avoid; }
}

/* Keep the mobile questionnaire within the visible browser viewport. */
@media (max-width: 760px) {
  body:has(.assessment-page) .topbar { height: 48px; }
  body:has(.assessment-page) .site-footer,
  body:has(.assessment-page) #resumeLink { display: none; }
  .assessment-page { min-height: 0; padding: 12px 0 max(10px, env(safe-area-inset-bottom)); }
  .assessment-shell { min-height: calc(100dvh - 72px); display: flex; flex-direction: column; }
  .assessment-top { margin-bottom: 8px; }
  .progress { flex: none; margin-bottom: 14px; }
  .question-kicker { font-size: 12px; }
  .question-title { font-size: clamp(20px, 5.5vw, 26px); line-height: 1.35; margin: 8px 0 16px; word-break: keep-all; overflow-wrap: anywhere; }
  .answer-list { gap: 6px; }
  .choice, .choice.skip { min-height: 44px; padding: 8px 12px; margin-top: 0; }
  .choice-label { font-size: 14px; }
  .assessment-actions { margin-top: auto; padding-top: 12px; gap: 8px; }
  .assessment-actions .primary-button, .assessment-actions .secondary-button { min-height: 44px; padding: 10px 18px; }
  .error-banner { font-size: 12px; padding: 6px 10px; margin-bottom: 8px; }
}
@media (max-width: 760px) and (max-height: 600px) {
  .assessment-page { padding-top: 8px; }
  .progress { margin-bottom: 8px; }
  .question-title { font-size: 20px; margin-bottom: 10px; }
  .answer-list { gap: 4px; }
}

/* Shared Batang navigation stays secondary to the assessment. */
.batang-links{display:flex;flex-wrap:wrap;align-items:center;gap:18px}.batang-links [data-batang-services]{display:flex;gap:18px}.batang-links a:hover{text-decoration:underline}.topbar [data-batang-account]{white-space:nowrap;text-decoration:none}@media(max-width:600px){.topbar-note{display:none}.batang-links{gap:14px}}
