@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap');

:root {
  --ink: #292722;
  --muted: #615d54;
  --paper: #f5f0e8;
  --card: #fffcf7;
  --line: #d8d0c3;
  --ember: #8a4633;
  --ember-dark: #632c23;
  --gold: #b58c55;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Inter, system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 40px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.6; font-size: 16px; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.skip-link { position: fixed; top: -80px; left: 14px; padding: 10px 14px; z-index: 20; background: white; color: var(--ink); }
.skip-link:focus { top: 10px; }
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 10; color: white; border-bottom: 1px solid #ffffff48; background: #181713a8; }
.header-inner { max-width: 1370px; padding: 20px clamp(22px, 6vw, 90px); margin: 0 auto; display: flex; align-items: center; gap: 22px; justify-content: space-between; }
.wordmark { font-family: var(--serif); font-size: 23px; font-weight: 600; letter-spacing: -.03em; text-decoration: none; white-space: nowrap; }
.header-label { color: #f8ebe0d1; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-align: center; }
.score-jump { font-size: 13px; letter-spacing: .09em; text-decoration: none; border-bottom: 1px solid #ffffff8c; padding-bottom: 4px; white-space: nowrap; }
.hero { position: relative; min-height: 650px; display: flex; align-items: flex-end; isolation: isolate; color: white; overflow: hidden; }
.hero-image { position: absolute; inset: 0; z-index: -2; background: #30251e url('/images/explore-v03/hero-seoul-bowl.webp') center 57%/cover no-repeat; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #15130fde 0%, #16130fbf 37%, #18110d54 75%, #14120e46 100%), linear-gradient(0deg, #100e0b90 0%, transparent 42%); }
.hero-inner { max-width: 1370px; width: 100%; margin: 0 auto; padding: 145px clamp(22px, 6vw, 90px) 118px; }
.eyebrow { color: var(--ember); font-size: 12px; font-weight: 700; letter-spacing: .2em; margin: 0 0 16px; }
.eyebrow.light { color: #e9b991; }
h1,h2,h3,h4,p { margin-top: 0; }
h1,h2,h3,h4 { font-family: var(--serif); font-weight: 500; letter-spacing: -.037em; }
h1 { font-size: clamp(58px, 6.5vw, 108px); line-height: 1.06; max-width: 1020px; margin-bottom: 26px; }
h1 em,h2 em,h3 em { font-weight: 400; }
.hero-intro { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.65; max-width: 600px; color: #f2eee7; margin-bottom: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 23px; border: 1px solid transparent; border-radius: 2px; font-size: 13px; font-weight: 700; line-height: 1.4; letter-spacing: .05em; text-decoration: none; min-height: 48px; transition: background .2s, transform .2s, border-color .2s; }
.button:hover { transform: translateY(-1px); }
.button-light { background: #efe3d5; color: var(--ink); }
.button-light:hover { background: #fff; }
.button-dark { background: var(--ember-dark); color: white; }
.button-dark:hover { background: #7a3729; }
.button-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.button-outline:hover { border-color: var(--ember); }
.hero-caption { position: absolute; right: clamp(20px, 4vw, 64px); bottom: 23px; color: #f4ede0d3; font-size: 12px; letter-spacing: .04em; }
.experience-section { max-width: 1370px; padding: 90px clamp(20px, 5vw, 85px) 75px; margin: 0 auto; }
.experience-heading { max-width: 760px; padding-bottom: 56px; }
.experience-heading h2 { font-size: clamp(41px, 4.2vw, 64px); line-height: 1.15; margin: 0 0 19px; }
.experience-heading p:last-child { font-size: 17px; color: var(--muted); max-width: 670px; }
.experience-layout { display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(310px, .77fr); gap: clamp(22px, 3vw, 45px); align-items: start; }
.lesson-panel { min-width: 0; border: 1px solid #ded7cb; background: var(--card); box-shadow: 0 16px 42px #34251d0a; }
.step-nav { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0 26px; border-bottom: 1px solid var(--line); gap: 4px; }
.step-pill { border: 0; background: transparent; color: #7b756c; display: flex; flex-direction: column; align-items: center; padding: 27px 4px 18px; font-size: 13px; gap: 4px; position: relative; min-width: 0; }
.step-pill small { font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.step-pill::after { content: ''; height: 3px; position: absolute; bottom: -1px; left: 6px; right: 6px; background: transparent; }
.step-pill.is-active { color: var(--ember-dark); font-weight: 700; }
.step-pill.is-active::after { background: var(--ember); }
.step-pill.is-visited { color: var(--ink); }
.step-progress { height: 3px; background: #e6ddd1; }
.step-progress span { display: block; height: 100%; width: 20%; background: var(--ember); transition: width .25s; }
.lesson-step { padding: clamp(25px, 4vw, 52px); }
.lesson-step[hidden] { display: none; }
.step-kicker { font-size: 12px; font-weight: 700; color: var(--ember); letter-spacing: .16em; margin-bottom: 15px; }
.step-kicker span { margin: 0 8px; opacity: .45; }
.lesson-step h3 { font-size: clamp(32px, 3.7vw, 51px); line-height: 1.18; margin-bottom: 17px; }
.lesson-step > p:not(.step-kicker), .lesson-step .lesson-lede { color: #575248; line-height: 1.72; }
.lesson-lede { font-family: var(--serif); font-size: 20px; line-height: 1.5 !important; color: #3e3a34 !important; }
.field-label { display: block; font-size: 15px; font-weight: 700; margin: 27px 0 9px; line-height: 1.5; }
.field-label em { font-family: var(--serif); font-weight: 400; font-size: 18px; }
.field-hint { display: inline; color: #797268; font-size: 13px; font-weight: 400; }
textarea, input[type="text"] { display: block; width: 100%; background: #fffefa; border: 1px solid #cfc6b8; border-radius: 3px; padding: 14px 15px; font-size: 16px; line-height: 1.55; color: var(--ink); resize: vertical; }
textarea::placeholder, input::placeholder { color: #82796e; }
textarea:focus, input:focus { outline-color: var(--gold); border-color: var(--ember); }
.question-block { margin-top: 29px; }
.question-block .field-label { margin-top: 0; }
.choice-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { font-size: 14px; padding: 10px 15px; border: 1px solid #d2c9bb; border-radius: 999px; background: #faf7f1; color: #51493f; }
.chip:hover { background: #f1e5d8; border-color: #a88b6e; }
.chip.is-selected, .chip[aria-pressed="true"] { border-color: var(--ember); color: var(--ember-dark); background: #f6e6d9; box-shadow: inset 0 0 0 1px var(--ember); }
.pete-note { margin-top: 36px; background: #eee5d9; border-left: 3px solid #aa795b; padding: 21px 24px 20px; }
.pete-note span { display: block; color: var(--ember); font-size: 11px; font-weight: 700; letter-spacing: .17em; margin-bottom: 10px; }
.pete-note p { font-size: 15px; line-height: 1.65; color: #51483f; margin: 0; }
.step-actions { margin-top: 37px; padding-top: 27px; border-top: 1px solid #e1d9cc; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.microcopy { font-size: 13px; color: #776f63; }
.text-button { font-size: 14px; border: 0; border-bottom: 1px solid var(--ember); color: var(--ember-dark); padding: 6px 0; background: transparent; text-align: left; }
.text-button:hover { color: #9b4b35; }
.mode-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 25px; }
.mode-card { display: flex; flex-direction: column; text-align: left; background: #f9f5ef; border: 2px solid transparent; padding: 0; border-radius: 4px; overflow: hidden; color: var(--ink); box-shadow: 0 0 0 1px #ded4c7; }
.mode-card img { display: block; width: 100%; height: 115px; object-fit: cover; }
.mode-card:hover, .mode-card.is-selected { border-color: var(--ember); box-shadow: 0 2px 12px #59362220; }
.mode-body { display: flex; flex-direction: column; padding: 15px; gap: 5px; }
.mode-body strong { font-family: var(--serif); font-size: 24px; font-weight: 500; }
.mode-body small { color: #645b51; font-size: 13px; line-height: 1.45; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.finish-card { background: #eee2d3; padding: 30px; border: 1px solid #e1d1bc; }
.finish-icon { display: inline-block; font-size: 28px; color: var(--ember); margin-bottom: 8px; }
.finish-card h4,.return-box h4 { font-size: 27px; margin-bottom: 12px; }
.finish-card p { color: #595045; }
.finish-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.return-box { margin-top: 34px; }
.return-box p { color: var(--muted); }
.score-panel { position: sticky; top: 25px; border: 1px solid #c7b9a7; background: #ede4d7; box-shadow: 0 15px 35px #2e1c1110; scroll-margin-top: 30px; }
.score-head { padding: 29px 28px 24px; background: #e5d5c4; border-bottom: 1px solid #cbbdaa; }
.score-head .eyebrow { font-size: 11px; }
.score-head h3 { font-size: clamp(28px, 2.6vw, 40px); line-height: 1.18; margin-bottom: 12px; }
.score-head p { color: #6c6154; font-size: 14px; margin: 0; }
.score-body { padding: 4px 28px; }
.score-row { padding: 20px 0 17px; border-bottom: 1px solid #cfc1ae; }
.score-row:last-child { border-bottom: 0; }
.score-row > span { display: flex; gap: 10px; font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--ember); margin-bottom: 8px; }
.score-row > span b { letter-spacing: .02em; text-transform: uppercase; }
.score-row p { margin: 0; color: #453b32; font-size: 14px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.score-row .score-detail { color: #64574c; margin-top: 6px; font-size: 13px; }
.score-row .score-detail:empty { display: none; }
.score-footer { border-top: 1px solid #cbbdaa; display: flex; align-items: center; gap: 20px; justify-content: space-between; padding: 17px 28px; }
.score-footer p { font-family: var(--serif); font-size: 14px; margin: 0; }
.score-footer div { display: flex; gap: 16px; }
.score-footer .text-button { font-size: 13px; }
.privacy-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 15px; font-size: 13px; color: #726a61; padding-top: 29px; }
.clear-button { color: var(--ember-dark); background: transparent; border: 0; text-decoration: underline; text-underline-offset: 4px; }
.closing { position: relative; background: #26211e url('assets/from-fire.webp') center/cover no-repeat; color: white; isolation: isolate; }
.closing::before { content: ''; position: absolute; inset: 0; background: #1d1a16cc; z-index: -1; }
.closing-inner { max-width: 900px; margin: 0 auto; text-align: center; padding: 90px 25px 95px; }
.closing h2 { font-size: clamp(39px, 5vw, 67px); line-height: 1.18; }
.closing p:last-child { color: #eee2d5; font-size: 18px; line-height: 1.7; }
.footer { background: #191715; color: #ded1c3; padding: 24px clamp(22px, 6vw, 80px); display: flex; justify-content: space-between; gap: 15px; align-items: center; font-size: 12px; letter-spacing: .02em; }
.footer span:first-child { font-family: var(--serif); font-size: 19px; }

@media (max-width: 940px) {
  .header-label { display: none; }
  .hero { min-height: 570px; }
  .hero-inner { padding-bottom: 95px; }
  .experience-layout { grid-template-columns: 1fr; }
  .score-panel { position: static; max-width: 740px; width: 100%; margin: 0 auto; }
}
@media (max-width: 580px) {
  .header-inner { padding: 15px 19px; }
  .wordmark { font-size: 21px; }
  .score-jump { font-size: 12px; }
  .hero { min-height: 490px; }
  .hero-image { background-position: 58% center; }
  .hero-shade { background: linear-gradient(90deg, #18130fe8, #1e170fb6), linear-gradient(0deg, #120e0a80, transparent); }
  .hero-inner { padding: 85px 22px 70px; }
  h1 { font-size: clamp(46px, 10vw, 65px); }
  .hero-intro { font-size: 17px; }
  .hero-caption { display: none; }
  .experience-section { padding: 65px 14px 60px; }
  .experience-heading { padding: 0 8px 36px; }
  .experience-heading h2 { font-size: 41px; }
  .step-nav { margin: 0 10px; gap: 0; }
  .step-pill { font-size: 11px; padding: 22px 0 17px; gap: 3px; }
  .step-pill small { font-size: 10px; }
  .step-pill span { max-width: 62px; }
  .lesson-step { padding: 25px 20px 30px; }
  .lesson-step h3 { font-size: 36px; }
  .lesson-lede { font-size: 18px; }
  .mode-grid { gap: 10px; }
  .mode-card img { height: 85px; }
  .mode-body { padding: 12px 10px 13px; }
  .mode-body strong { font-size: 21px; }
  .mode-body small { font-size: 12px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .step-actions { flex-wrap: wrap; }
  .step-actions .button { margin-left: auto; }
  .finish-card { padding: 20px; }
  .score-head,.score-body,.score-footer { padding-left: 21px; padding-right: 21px; }
  .footer { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button,.step-progress span { transition: none; }
}
@media print {
  @page { margin: 13mm; }
  body { color: #111; background: white; font: 11pt Georgia, serif; }
  .site-header,.hero,.experience-heading,.lesson-panel,.privacy-footer,.closing,.footer { display: none !important; }
  .experience-section,.experience-layout { display: block !important; margin: 0; padding: 0; max-width: none; }
  .score-panel { position: static; margin: 0; border: 0; box-shadow: none; background: white; max-width: none; }
  .score-head,.score-body { padding: 0 0 14px; background: white; border: 0; }
  .score-head h3 { font-size: 30pt; }
  .score-head p { font-size: 10pt; }
  .score-row { break-inside: avoid; padding: 15px 0; border-bottom: 1px solid #ccc; }
  .score-row p,.score-row .score-detail { font-size: 11pt; }
  .score-footer { border: 0; padding: 15px 0; }
  .score-footer div { display: none; }
}
