:root {
  --ink: #261d22;
  --muted: #786b70;
  --paper: #f6eee4;
  --paper-deep: #ead9ce;
  --wine: #632d43;
  --wine-deep: #291c24;
  --gold: #e8be8b;
  --coral: #db827b;
  --line: rgba(68, 38, 49, .18);
  --serif: Georgia, "Noto Serif SC", "Songti SC", serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; overflow-x: hidden; }
body { color: var(--ink); background: var(--paper); font-family: var(--sans); }
button, input { font: inherit; }
button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button:focus-visible, summary:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }
em { color: var(--wine); font-style: normal; }

.app-shell { min-height: 100dvh; min-height: 100svh; overflow: clip; background: var(--paper); }
.topbar { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; height: 70px; padding: 0 max(24px, calc((100vw - 1180px) / 2)); color: #f9efe4; background: #181217; }
.brand { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; padding: 0; border: 0; color: inherit; background: transparent; cursor: pointer; font: 600 15px var(--serif); letter-spacing: .12em; }
.brand-mark { color: var(--gold); font-size: 20px; }
.topbar-right { display: flex; align-items: center; gap: 8px; color: #aa969c; font-size: 11px; }
.save-dot { width: 6px; height: 6px; border-radius: 50%; background: #6ebd93; box-shadow: 0 0 11px #6ebd93; }
.home-wrap { width: min(1080px, calc(100% - 48px)); margin-inline: auto; }
.eyebrow { margin: 0; color: var(--wine); font: 600 10px/1.4 var(--mono); letter-spacing: .18em; text-transform: uppercase; }
.button { min-height: 48px; padding: 0 23px; border: 1px solid transparent; border-radius: 5px; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(.985); }
.button.primary { color: #271b20; background: linear-gradient(120deg, #f0c795, #d9857d); box-shadow: 0 11px 25px rgba(112, 52, 60, .2); font-weight: 700; }
.button.outline { color: var(--wine); border-color: rgba(99, 45, 67, .4); background: transparent; }
.button.ghost { color: var(--muted); border-color: var(--line); background: transparent; }
.button.text-button { min-height: 40px; padding-inline: 4px; color: var(--wine); background: transparent; }
.button:disabled { cursor: not-allowed; filter: grayscale(.35); opacity: .45; transform: none; }
.full { width: 100%; }

/* Entry / home */
.home-page { padding-bottom: 80px; background: radial-gradient(circle at 89% 6%, rgba(211, 132, 115, .15), transparent 25rem); }
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .75fr); gap: 55px; align-items: center; min-height: 610px; padding-top: 70px; padding-bottom: 72px; }
.hero-copy { min-width: 0; }
.hero-copy .eyebrow { margin-bottom: 24px; }
.hero h1 { max-width: 650px; margin: 0 0 25px; color: var(--ink); font: 700 clamp(52px, 7vw, 92px)/1.08 var(--serif); letter-spacing: -.055em; }
.hero-subtitle { margin: 0 0 26px; color: #594b51; font: 400 clamp(19px, 2.2vw, 26px)/1.65 var(--serif); }
.hero-claim { margin: 0 0 30px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.hero-actions .primary { min-width: 204px; }
.micro-copy { margin: 17px 0 0; color: #9a898a; font-size: 11px; }
.hero-art { position: relative; min-height: 450px; display: grid; place-items: center; isolation: isolate; }
.hero-art::before { content: ''; position: absolute; inset: 12% 5% 11% 9%; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(218, 126, 115, .3), transparent 65%); filter: blur(5px); }
.orbit { position: absolute; border: 1px solid rgba(99, 45, 67, .22); border-radius: 50%; transform: rotate(-16deg); }
.orbit-a { width: 365px; height: 195px; }
.orbit-b { width: 260px; height: 395px; transform: rotate(38deg); border-color: rgba(189, 137, 99, .35); }
.floating-card { position: absolute; display: flex; flex-direction: column; justify-content: space-between; width: 190px; height: 275px; padding: 21px; border: 1px solid rgba(240, 199, 149, .55); border-radius: 11px; color: #faeee1; background: linear-gradient(145deg, #5a3043, #20171e); box-shadow: 0 24px 45px rgba(70, 34, 46, .24); font-size: 74px; }
.floating-card small { color: var(--gold); font: 10px var(--mono); letter-spacing: .16em; }
.floating-card strong { align-self: flex-end; color: var(--gold); font: 700 83px var(--serif); }
.floating-card.back { transform: translate(65px, -50px) rotate(12deg); opacity: .76; }
.floating-card.front { transform: translate(-31px, 34px) rotate(-8deg); }
.art-note { position: absolute; right: 2%; bottom: 2%; color: rgba(99, 45, 67, .5); font: 700 12px/1.2 var(--mono); letter-spacing: .2em; text-align: right; }
.home-section { padding-top: 74px; }
.section-heading { max-width: 680px; }
.section-heading h2, .method-section h2, .home-final h2 { margin: 15px 0 16px; color: var(--ink); font: 700 clamp(37px, 5vw, 60px)/1.15 var(--serif); letter-spacing: -.04em; }
.section-heading > p:last-child { max-width: 630px; margin: 0 0 27px; color: var(--muted); font: 15px/1.85 var(--serif); }
.job-carousel { display: flex; gap: 13px; margin-inline: -2px; padding: 10px 2px 19px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; }
.job-card { flex: 0 0 205px; min-height: 230px; display: flex; flex-direction: column; padding: 19px; border: 1px solid rgba(99, 45, 67, .17); border-radius: 9px; background: rgba(255, 255, 255, .34); box-shadow: 0 13px 28px rgba(100, 60, 64, .08); }
.job-card:hover { transform: translateY(-4px); transition: transform .2s ease; }
.job-emoji { font-size: 31px; }
.job-world { margin-top: 12px; color: #aa7775; font: 9px var(--mono); letter-spacing: .08em; }
.job-card h3 { margin: 7px 0 8px; color: var(--wine); font: 600 20px var(--serif); }
.job-card p { margin: auto 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.tag-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 2px; }
.tag-row span { padding: 7px 10px; border: 1px solid rgba(99, 45, 67, .15); border-radius: 99px; color: var(--muted); font-size: 10px; }
.tag-row b { margin-left: auto; color: var(--wine); font: 11px var(--serif); }
.ancient-section { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .85fr); gap: 38px; margin-top: 100px; padding: 42px; border: 1px solid rgba(232, 190, 139, .55); border-radius: 12px; overflow: hidden; color: #f9eee2; background: linear-gradient(135deg, #33202a, #5a2d3f 57%, #2a1c23); box-shadow: 0 24px 60px rgba(77, 33, 48, .18); }
.ancient-glow { position: absolute; width: 340px; height: 340px; right: -90px; top: -120px; border-radius: 50%; background: rgba(229, 160, 119, .26); filter: blur(8px); }
.ancient-section .eyebrow, .ancient-section em { color: var(--gold); }
.ancient-section h2 { position: relative; margin: 15px 0 18px; color: #fff4e7; font: 700 clamp(34px, 4.5vw, 54px)/1.18 var(--serif); letter-spacing: -.04em; }
.ancient-copy > p:not(.eyebrow) { position: relative; max-width: 560px; margin: 0 0 23px; color: #ddc8c0; font: 15px/1.8 var(--serif); }
.ancient-section .outline { position: relative; color: #f3c995; border-color: rgba(243, 201, 149, .5); }
.ancient-list { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-content: center; gap: 10px; }
.ancient-mini { min-height: 82px; display: flex; align-items: center; gap: 11px; padding: 14px; border: 1px solid rgba(243, 201, 149, .2); border-radius: 8px; background: rgba(24, 14, 20, .22); }
.ancient-mini span { font-size: 26px; }
.ancient-mini strong { color: #f4ded0; font: 600 14px var(--serif); }
.method-section { padding-top: 100px; }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.method-grid article { min-height: 226px; padding: 25px; border-top: 3px solid var(--wine); background: rgba(255, 255, 255, .32); }
.method-grid article > span { font-size: 28px; }
.method-grid h3 { margin: 20px 0 10px; color: var(--wine); font: 600 21px var(--serif); }
.method-grid p { margin: 0; color: var(--muted); font: 13px/1.8 var(--serif); }
.tease-section { display: grid; grid-template-columns: .75fr 1fr; gap: 55px; align-items: center; padding-top: 105px; }
.tease-section > div:first-child h2 { margin: 15px 0; color: var(--ink); font: 700 clamp(42px, 5vw, 65px)/1.12 var(--serif); letter-spacing: -.05em; }
.tease-section > div:first-child > p:last-child { color: var(--muted); font: 15px/1.8 var(--serif); }
.tease-card { position: relative; min-height: 445px; display: flex; flex-direction: column; padding: 31px; border: 1px solid rgba(240, 199, 149, .47); border-radius: 13px; color: #f8eee2; background: radial-gradient(circle at 85% 9%, rgba(225, 135, 119, .28), transparent 13rem), linear-gradient(145deg, #542d3e, #21181f); box-shadow: 0 22px 55px rgba(81, 48, 53, .2); overflow: hidden; }
.tease-card::after { content: '✦'; position: absolute; right: 22px; top: 4px; color: rgba(239, 199, 151, .23); font-size: 85px; }
.tease-label { position: relative; z-index: 1; color: var(--gold); font: 10px var(--mono); letter-spacing: .16em; }
.tease-card h3 { position: relative; z-index: 1; margin: 54px 0 30px; color: #fff5ea; font: 600 clamp(28px, 3.4vw, 40px)/1.24 var(--serif); }
.tease-job { position: relative; z-index: 1; display: grid; gap: 7px; }
.tease-job small { color: #ceb7b2; font-size: 11px; }
.tease-job strong { color: #f0c797; font: 600 31px var(--serif); }
.tease-job b { color: #e7988a; font: 11px var(--mono); }
.tease-buffs { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; }
.tease-buffs span { padding: 7px 9px; border: 1px solid rgba(239, 199, 151, .24); border-radius: 999px; color: #ddcac5; font-size: 10px; }
.tease-locks { position: relative; z-index: 1; display: grid; gap: 6px; margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); color: #ad999f; font-size: 11px; }
.home-final { margin-top: 110px; padding: 70px 20px 76px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.home-final h2 { margin: 15px auto 19px; max-width: 850px; }
.home-final > p { margin: 0 0 26px; color: var(--muted); font: 17px/1.8 var(--serif); }
.home-final small { display: block; margin-top: 14px; color: #9a898a; font-size: 11px; }

/* Auth */
.access-screen, .fatal-screen, .loading-screen { min-height: 100dvh; min-height: 100svh; display: grid; place-items: center; padding: calc(45px + env(safe-area-inset-top)) 0 calc(45px + env(safe-area-inset-bottom)); background: radial-gradient(circle at 78% 8%, rgba(214, 145, 119, .24), transparent 25rem), linear-gradient(145deg, #faf2e7, #ead8ce); }
.access-shell { width: min(1080px, calc(100% - 48px)); display: grid; grid-template-columns: 1fr minmax(330px, 420px); gap: clamp(35px, 8vw, 100px); align-items: center; }
.access-intro h1 { margin: 18px 0 23px; color: var(--ink); font: 700 clamp(48px, 6vw, 78px)/1.1 var(--serif); letter-spacing: -.04em; }
.access-intro > p:not(.eyebrow) { max-width: 580px; margin: 0; color: #5b4d52; font: 16px/1.8 var(--serif); }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; }
.pill-row span { padding: 7px 10px; border: 1px solid rgba(99, 45, 67, .16); border-radius: 99px; color: var(--muted); font-size: 10px; background: rgba(255, 255, 255, .25); }
.access-card { padding: 30px; border: 1px solid rgba(235, 192, 142, .5); border-radius: 14px; color: #f7ede1; background: radial-gradient(circle at 90% 5%, rgba(235, 144, 128, .3), transparent 13rem), linear-gradient(145deg, #4d2938, #21181f); box-shadow: 0 25px 65px rgba(73, 36, 47, .22); }
.access-symbol { margin-bottom: 20px; font-size: 36px; }
.access-card h2 { margin: 0 0 8px; color: #fff3e6; font: 600 25px var(--serif); }
.access-muted { margin: 0 0 22px; color: #c9b1ae; font-size: 11px; line-height: 1.6; }
.access-card label { display: block; margin-bottom: 8px; color: var(--gold); font: 10px var(--mono); letter-spacing: .12em; }
.access-card input { width: 100%; height: 55px; padding-inline: 14px; border: 1px solid rgba(239, 199, 151, .3); border-radius: 7px; outline: none; color: #f7ede1; background: rgba(9, 7, 10, .36); font: 13px var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.access-card input::placeholder { color: #88747a; }
.access-card input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(239, 199, 151, .1); }
.access-card .primary { margin-top: 14px; }
.form-error { min-height: 18px; margin: 12px 0 0; color: #f2a194; font-size: 11px; line-height: 1.5; }
.access-footnote { margin: 7px 0 0; color: #9f8a91; font-size: 10px; line-height: 1.6; }
.fatal-card { width: min(430px, calc(100% - 36px)); padding: 34px; text-align: center; border: 1px solid rgba(99, 45, 67, .18); border-radius: 12px; background: rgba(255, 255, 255, .44); box-shadow: 0 20px 50px rgba(80, 42, 52, .12); }
.fatal-card h1 { margin: 18px 0 11px; color: var(--ink); font: 600 35px var(--serif); }
.fatal-card p { margin: 0 0 22px; color: var(--muted); font: 14px/1.7 var(--serif); }
.fatal-card .text-button { display: block; margin: 7px auto 0; }
.loading-screen { align-content: center; text-align: center; background: radial-gradient(circle, #fbf0e5, #ead9ce); }
.loading-orbit { width: 76px; height: 76px; display: grid; place-items: center; margin: 0 auto 27px; border: 1px solid rgba(99, 45, 67, .4); border-radius: 50%; color: var(--wine); font-size: 28px; animation: orbit 1.7s ease-in-out infinite; }
.loading-screen p { margin: 0; color: var(--wine); font: 600 19px var(--serif); }
.loading-screen small { display: block; margin-top: 11px; color: var(--muted); font-size: 11px; }
@keyframes orbit { 50% { transform: rotate(180deg) scale(.88); box-shadow: 0 0 25px rgba(220, 130, 122, .24); } }

/* Quiz / world */
.quiz-page, .world-page { padding-top: 27px; padding-bottom: 60px; }
.quiz-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.back-button { min-height: 44px; padding: 10px 0; border: 0; color: var(--muted); background: transparent; cursor: pointer; font-size: 12px; }
.quiz-count { color: var(--wine); font: 600 12px var(--mono); letter-spacing: .08em; }
.progress-bar { display: grid; grid-template-columns: repeat(20, 1fr); gap: 4px; margin: 18px 0 29px; }
.progress-segment { height: 4px; border-radius: 4px; background: rgba(99, 45, 67, .13); }
.progress-segment.done { background: rgba(99, 45, 67, .45); }
.progress-segment.current { background: linear-gradient(90deg, var(--coral), var(--gold)); box-shadow: 0 0 10px rgba(220, 130, 122, .38); }
.chapter-line { margin-bottom: 11px; color: #ae7d79; font: 10px var(--mono); letter-spacing: .08em; }
.story-card { display: grid; grid-template-columns: minmax(0, .82fr) minmax(360px, 1.18fr); gap: 28px 45px; padding: 31px; border: 1px solid rgba(99, 45, 67, .17); border-radius: 13px; background: rgba(255, 255, 255, .37); box-shadow: 0 17px 42px rgba(81, 44, 56, .08); }
.story-meta { grid-column: 1 / -1; display: flex; gap: 17px; color: var(--muted); font: 11px var(--mono); }
.story-meta span:first-child { color: var(--wine); }
.story-card h1 { grid-column: 1; margin: 0; color: var(--ink); font: 700 clamp(34px, 5vw, 61px)/1.15 var(--serif); letter-spacing: -.04em; }
.story-background { grid-column: 1; color: #5d5054; font: 14px/1.85 var(--serif); }
.story-background p { margin: 0 0 13px; }
.story-prompt { grid-column: 2; margin-top: -6px; padding-top: 4px; color: var(--wine); font: 600 clamp(22px, 2.4vw, 31px)/1.4 var(--serif); }
.option-list { grid-column: 2; display: grid; gap: 10px; align-content: start; }
.option-card { position: relative; min-height: 65px; display: grid; grid-template-columns: 31px minmax(0, 1fr) 20px; align-items: center; gap: 11px; padding: 13px 14px; border: 1px solid rgba(99, 45, 67, .17); border-radius: 8px; color: #514449; background: rgba(255, 255, 255, .45); cursor: pointer; text-align: left; font-size: 14px; line-height: 1.55; transition: transform .16s ease, border-color .16s ease, background .16s ease; }
.option-card:hover { transform: translateX(4px); border-color: rgba(99, 45, 67, .43); }
.option-card.selected { border-color: var(--wine); color: var(--wine); background: #f4e1d2; box-shadow: 0 7px 16px rgba(99, 45, 67, .1); }
.option-letter { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid rgba(99, 45, 67, .23); border-radius: 50%; color: var(--wine); font: 11px var(--mono); }
.option-card i { color: var(--wine); font-style: normal; }
.quiz-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; }
.quiz-hint, .world-note { margin: 14px 0 0; color: #9a898a; font-size: 11px; text-align: center; }
.world-intro { max-width: 680px; padding: 28px 0 24px; }
.world-map { font-size: 39px; }
.world-intro h1 { margin: 17px 0 15px; color: var(--ink); font: 700 clamp(36px, 5vw, 59px)/1.15 var(--serif); letter-spacing: -.05em; }
.world-intro p { margin: 0; color: var(--muted); font: 15px/1.8 var(--serif); }
.world-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.world-card { position: relative; min-height: 134px; display: grid; grid-template-columns: 33px minmax(0, 1fr); align-content: center; column-gap: 9px; padding: 14px; border: 1px solid rgba(99, 45, 67, .17); border-radius: 9px; color: var(--ink); background: rgba(255, 255, 255, .36); cursor: pointer; text-align: left; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.world-card:hover { transform: translateY(-3px); border-color: rgba(99, 45, 67, .42); }
.world-card.selected { border-color: var(--wine); background: #f3e0d4; box-shadow: 0 10px 20px rgba(99, 45, 67, .1); }
.world-card > span { grid-row: 1 / span 2; font-size: 26px; }
.world-card strong { align-self: end; color: var(--wine); font: 600 15px var(--serif); }
.world-card small { align-self: start; margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.world-card i { position: absolute; right: 9px; top: 8px; color: var(--wine); font-style: normal; }
.world-actions { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 21px; }
.skip-button { color: var(--muted); border-color: transparent; background: transparent; }

/* Result */
.result-page { padding-bottom: 75px; background: #f8f0e7; }
.result-hero { padding: 68px 0 63px; color: #fff2e6; background: radial-gradient(circle at 78% 7%, rgba(236, 143, 129, .34), transparent 18rem), linear-gradient(145deg, #241a22, #5a2d40); }
.result-hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 160px; gap: 35px; align-items: center; }
.result-hero .eyebrow { color: var(--gold); }
.identity-line { max-width: 580px; margin: 21px 0 16px; color: #d8c3bd; font: 14px/1.7 var(--serif); }
.result-hero h1 { max-width: 850px; margin: 0 0 20px; color: #fff5ea; font: 700 clamp(42px, 6.7vw, 84px)/1.1 var(--serif); letter-spacing: -.05em; overflow-wrap: anywhere; }
.result-hero h1 span { margin-right: 10px; }
.result-opening { max-width: 690px; margin: 0; color: #e4d1c8; font: 16px/1.85 var(--serif); }
.buff-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.buff-pill { padding: 8px 11px; border: 1px solid rgba(239, 199, 151, .27); border-radius: 999px; color: #f2d6bf; background: rgba(255, 255, 255, .06); font-size: 11px; }
.card-seal { width: 145px; height: 145px; display: grid; place-items: center; border: 1px solid rgba(239, 199, 151, .5); border-radius: 50%; color: var(--gold); font-size: 47px; transform: rotate(8deg); }
.card-seal small { margin-top: -42px; color: #d2b4a6; font: 9px/1.3 var(--mono); letter-spacing: .12em; text-align: center; }
.result-body { width: min(900px, calc(100% - 48px)); margin-inline: auto; }
.result-section { padding: 52px 0; border-bottom: 1px solid var(--line); }
.result-section > .prose { margin-top: 18px; color: #56494f; font: 16px/1.95 var(--serif); }
.section-lead { margin: 14px 0 19px; color: var(--muted); font: 14px/1.75 var(--serif); }
.evidence-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
.evidence-card { min-height: 178px; padding: 18px; border: 1px solid rgba(99, 45, 67, .16); border-radius: 9px; background: rgba(255, 255, 255, .39); }
.evidence-work { color: #b16d6c; font: 10px var(--mono); letter-spacing: .06em; }
.evidence-card p { margin: 10px 0 0; color: #66585d; font: 13px/1.75 var(--serif); }
.evidence-card .evidence-choice { color: var(--wine); font-size: 15px; }
.scene-panel { padding: 22px; border-left: 3px solid var(--wine); background: rgba(255, 255, 255, .38); }
.scene-panel h2 { margin: 0 0 11px; color: var(--wine); font: 600 23px var(--serif); }
.scene-panel p { margin: 0; color: #5a4c52; font: 14px/1.8 var(--serif); }
.text-fold { margin-top: 13px; border: 1px solid rgba(99, 45, 67, .16); background: rgba(255, 255, 255, .25); }
.text-fold summary, .answers-section summary { padding: 15px 17px; color: var(--wine); cursor: pointer; font: 600 14px var(--serif); }
.text-fold .prose { padding: 0 17px 18px; color: #5b4d52; font: 14px/1.85 var(--serif); }
.split-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.split-copy article { padding: 20px; border: 1px solid rgba(99, 45, 67, .14); border-radius: 9px; background: rgba(255, 255, 255, .3); }
.split-copy article > span { font-size: 24px; }
.split-copy article .eyebrow { margin-top: 16px; }
.split-copy article > p:last-child { margin: 10px 0 0; color: #63555b; font: 14px/1.8 var(--serif); }
.adjacent-section ul { display: grid; gap: 11px; margin: 18px 0 0; padding: 0; list-style: none; }
.adjacent-section li { padding: 14px 16px; border-left: 2px solid #d88a80; color: #5d5055; background: rgba(255, 255, 255, .3); font: 14px/1.75 var(--serif); }
.parallel-list { display: grid; gap: 9px; }
.parallel-card { border: 1px solid rgba(99, 45, 67, .16); border-radius: 8px; background: rgba(255, 255, 255, .34); overflow: hidden; }
.parallel-card summary { display: grid; grid-template-columns: 35px 32px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 15px; cursor: pointer; list-style: none; }
.parallel-card summary::-webkit-details-marker { display: none; }
.parallel-number { color: #ad7a78; font: 10px var(--mono); }
.parallel-emoji { font-size: 23px; }
.parallel-name { color: var(--wine); font: 600 17px var(--serif); overflow-wrap: anywhere; }
.parallel-world { color: var(--muted); font-size: 10px; }
.parallel-card > div { padding: 0 15px 15px 75px; color: #62545a; font: 13px/1.75 var(--serif); }
.parallel-card > div p { margin: 9px 0 0; }
.ancient-result { padding: 55px 28px; border: 1px solid rgba(232, 190, 139, .55); color: #f7eade; background: linear-gradient(145deg, #4d2938, #23181f); }
.ancient-result .eyebrow { color: var(--gold); }
.ancient-result h2 { margin: 17px 0 10px; color: #fff2e6; font: 600 clamp(33px, 5vw, 54px) var(--serif); }
.ancient-result > p:last-child { max-width: 740px; margin: 0; color: #dbc3ba; font: 15px/1.85 var(--serif); }
.share-section { padding: 56px 0 40px; text-align: center; }
.share-card { width: min(100%, 440px); min-height: 570px; display: flex; flex-direction: column; align-items: flex-start; margin: 0 auto; padding: 29px; border: 1px solid rgba(240, 199, 149, .5); border-radius: 13px; color: #f9eee1; background: radial-gradient(circle at 86% 7%, rgba(236, 143, 129, .3), transparent 13rem), linear-gradient(145deg, #512c3d, #21181f); box-shadow: 0 20px 50px rgba(81, 48, 53, .2); text-align: left; }
.share-card::after { content: '✦'; align-self: flex-end; margin-top: -42px; color: rgba(239, 199, 151, .23); font-size: 78px; }
.share-card-kicker { color: var(--gold); font: 10px var(--mono); letter-spacing: .17em; }
.share-card h2 { max-width: 100%; margin: 70px 0 28px; color: #fff5ea; font: 600 clamp(30px, 6vw, 43px)/1.25 var(--serif); overflow-wrap: anywhere; }
.share-card p { margin: 13px 0 7px; color: #cdb6b1; font-size: 11px; }
.share-buffs { display: flex; flex-wrap: wrap; gap: 7px; }
.share-card .buff-pill { font-size: 10px; }
.share-card strong { color: #f0c797; font: 600 21px var(--serif); overflow-wrap: anywhere; }
.share-card small { margin-top: auto; color: #d3b5a8; font-size: 11px; line-height: 1.7; }
.share-actions { display: flex; justify-content: center; gap: 10px; margin-top: 19px; }
.share-tip { min-height: 17px; margin: 12px 0 0; color: var(--muted); font-size: 11px; }
.answers-section { border-top: 1px solid var(--line); }
.answers-section details { background: rgba(255, 255, 255, .23); }
.answer-list { display: grid; gap: 1px; padding: 0 12px 14px; }
.answer-row { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; padding: 11px 6px; border: 0; border-bottom: 1px solid rgba(99, 45, 67, .1); color: var(--ink); background: transparent; cursor: pointer; text-align: left; }
.answer-row > span { color: #b17a75; font: 10px var(--mono); }
.answer-row small { color: var(--muted); font-size: 10px; }
.answer-row strong { grid-column: 2; color: var(--wine); font: 13px var(--serif); }
.answer-row b { grid-column: 3; grid-row: 1 / span 2; color: var(--wine); font-size: 10px; }
.answers-section .outline { margin: 3px 16px 17px; }
.result-disclaimer { margin: 29px auto 0; color: #a08e91; font-size: 10px; text-align: center; }

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

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 8px; min-height: auto; }
  .hero-art { min-height: 365px; order: 2; }
  .ancient-section { grid-template-columns: 1fr; }
  .tease-section { grid-template-columns: 1fr; gap: 27px; }
  .world-grid { grid-template-columns: repeat(3, 1fr); }
  .story-card { grid-template-columns: 1fr; gap: 17px; }
  .story-card h1, .story-background, .story-prompt, .option-list { grid-column: 1; }
}

@media (max-width: 767px) {
  .topbar { height: calc(58px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left)); }
  .home-wrap { width: calc(100% - 32px); }
  .hero { padding-top: 37px; padding-bottom: 34px; }
  .hero h1 { font-size: clamp(43px, 12.2vw, 59px); }
  .hero-subtitle { font-size: 18px; }
  .hero-claim { font-size: 12px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 7px; }
  .hero-actions .primary { width: 100%; }
  .hero-art { min-height: 277px; }
  .orbit-a { width: 270px; height: 142px; }
  .orbit-b { width: 190px; height: 280px; }
  .floating-card { width: 145px; height: 213px; padding: 15px; font-size: 57px; }
  .floating-card.back { transform: translate(49px, -31px) rotate(12deg); }
  .floating-card.front { transform: translate(-30px, 26px) rotate(-8deg); }
  .floating-card strong { font-size: 63px; }
  .home-section { padding-top: 59px; }
  .section-heading h2, .method-section h2, .home-final h2 { font-size: clamp(34px, 9.5vw, 45px); }
  .section-heading > p:last-child { font-size: 14px; }
  .job-card { flex-basis: 190px; min-height: 215px; }
  .tag-row b { flex-basis: 100%; margin-left: 0; }
  .ancient-section { margin-top: 66px; padding: 27px 20px 21px; }
  .ancient-section h2 { font-size: 36px; }
  .ancient-copy > p:not(.eyebrow) { font-size: 14px; }
  .ancient-list { grid-template-columns: 1fr 1fr; }
  .ancient-mini { min-height: 70px; padding: 10px; }
  .ancient-mini span { font-size: 22px; }
  .ancient-mini strong { font-size: 12px; }
  .method-section { padding-top: 68px; }
  .method-grid { grid-template-columns: 1fr; gap: 9px; }
  .method-grid article { min-height: auto; padding: 20px; }
  .tease-section { padding-top: 67px; }
  .tease-card { min-height: 420px; padding: 23px; }
  .tease-card h3 { margin-top: 40px; font-size: 29px; }
  .home-final { margin-top: 68px; padding: 54px 10px 60px; }
  .home-final > p { font-size: 15px; }
  .access-shell { width: calc(100% - 32px); grid-template-columns: 1fr; gap: 24px; }
  .access-screen { place-items: start center; padding: 31px 0 39px; }
  .access-intro h1 { margin: 14px 0 16px; font-size: 43px; }
  .access-intro > p:not(.eyebrow) { font-size: 14px; }
  .access-card { padding: 23px 19px 20px; }
  .access-card h2 { font-size: 22px; }
  .quiz-page, .world-page { padding-top: 22px; padding-bottom: calc(47px + env(safe-area-inset-bottom)); }
  .progress-bar { gap: 2px; margin-bottom: 22px; }
  .progress-segment { height: 4px; }
  .chapter-line { font-size: 9px; }
  .story-card { padding: 19px 16px; border-radius: 11px; }
  .story-meta { display: grid; gap: 4px; line-height: 1.4; }
  .story-card h1 { font-size: clamp(30px, 9vw, 40px); }
  .story-background { font-size: 14px; line-height: 1.8; }
  .story-prompt { font-size: 22px; }
  .option-list { gap: 9px; }
  .option-card { min-height: 59px; grid-template-columns: 28px minmax(0, 1fr) 15px; padding: 13px 11px; font-size: 14px; }
  .option-letter { width: 25px; height: 25px; }
  .quiz-footer { margin-top: 15px; }
  .quiz-footer .button { padding-inline: 15px; }
  .world-intro { padding-top: 22px; }
  .world-intro h1 { font-size: clamp(34px, 9.6vw, 45px); }
  .world-intro p { font-size: 14px; }
  .world-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .world-card { min-height: 113px; padding: 11px; }
  .world-card strong { font-size: 13px; }
  .world-card small { font-size: 9px; }
  .world-actions { display: grid; grid-template-columns: 1fr; gap: 4px; }
  .world-actions .primary, .world-actions .skip-button { width: 100%; }
  .result-hero { padding: 38px 0 42px; }
  .result-hero-inner { grid-template-columns: 1fr; gap: 17px; }
  .result-hero h1 { font-size: clamp(39px, 11vw, 52px); }
  .result-opening { font-size: 14px; }
  .card-seal { position: absolute; right: 0; top: 5px; width: 83px; height: 83px; font-size: 27px; }
  .card-seal small { margin-top: -28px; font-size: 7px; }
  .result-body { width: calc(100% - 32px); }
  .result-section { padding: 39px 0; }
  .result-section > .prose { font-size: 15px; }
  .evidence-grid { grid-template-columns: 1fr; }
  .evidence-card { min-height: auto; }
  .split-copy { grid-template-columns: 1fr; }
  .parallel-card summary { grid-template-columns: 27px 28px minmax(0, 1fr); }
  .parallel-world { grid-column: 3; }
  .parallel-card > div { padding-left: 62px; }
  .ancient-result { padding: 39px 20px; }
  .share-card { min-height: 495px; padding: 23px 20px; }
  .share-card h2 { margin-top: 52px; }
  .share-actions { display: grid; grid-template-columns: 1fr; }
  .share-actions .button { width: 100%; }
  .answer-row { grid-template-columns: 28px minmax(0, 1fr) auto; }
  .answer-row small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

@media (max-width: 380px) {
  .home-wrap { width: calc(100% - 24px); }
  .hero h1 { font-size: 41px; }
  .ancient-list { grid-template-columns: 1fr; }
  .world-grid { grid-template-columns: 1fr; }
  .world-card { grid-template-columns: 29px minmax(0, 1fr); }
  .result-body { width: calc(100% - 24px); }
  .share-card { padding-inline: 17px; }
}

/* Tablet: keep the reading flow calm instead of switching abruptly to a
   crowded desktop grid at exactly 768px. */
@media (min-width: 768px) and (max-width: 1023px) {
  .home-wrap { width: min(760px, calc(100% - 64px)); }
  .hero { padding-top: 54px; padding-bottom: 54px; }
  .hero-art { min-height: 330px; }
  .story-card { grid-template-columns: 1fr; gap: 20px; }
  .story-card h1, .story-background, .story-prompt, .option-list { grid-column: 1; }
  .option-card { min-height: 68px; }
  .world-grid { grid-template-columns: repeat(3, 1fr); }
  .result-body { width: min(760px, calc(100% - 64px)); }
  .result-hero-inner { width: min(900px, calc(100% - 64px)); }
  .parallel-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .parallel-card:first-child { grid-column: 1 / -1; }
}

/* Notebook and desktop layouts have a real two-column story treatment. */
@media (min-width: 1024px) {
  .home-wrap { width: min(1180px, calc(100% - 72px)); }
  .quiz-page, .world-page { padding-top: 38px; }
  .story-card { grid-template-columns: minmax(0, .88fr) minmax(430px, 1.12fr); gap: 30px 52px; padding: 38px; }
  .story-card h1 { font-size: clamp(42px, 4.2vw, 64px); }
  .story-background { font-size: 15px; }
  .story-prompt { font-size: clamp(25px, 2.1vw, 34px); }
  .option-card { min-height: 70px; }
  .world-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .result-body { width: min(1180px, calc(100% - 72px)); }
  .result-section, .answers-section, .share-section { max-width: 860px; }
  .result-section > .prose { max-width: 820px; }
  .result-hero-inner { width: min(1180px, calc(100% - 72px)); }
  .result-hero h1 { max-width: 900px; }
  .parallel-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .parallel-card:first-child { grid-column: 1 / -1; }
}

/* Large screens gain breathing room without allowing body copy to become a
   single unreadable line across a 1920px monitor. */
@media (min-width: 1440px) {
  .home-wrap { width: min(1240px, calc(100% - 120px)); }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(430px, .76fr); gap: 86px; min-height: 690px; }
  .hero-art { min-height: 520px; }
  .result-body { width: min(1240px, calc(100% - 120px)); }
  .result-section, .answers-section, .share-section { max-width: 900px; }
  .result-section > .prose { max-width: 840px; }
  .result-hero-inner { width: min(1240px, calc(100% - 120px)); }
}

/* Hover is an enhancement for a mouse, never the only way to discover a
   control on touch screens. */
@media (hover: none), (pointer: coarse) {
  .button:hover, .option-card:hover, .world-card:hover, .job-card:hover { transform: none; }
}

/* -------------------------------------------------------------------------
   Home v2: a purpose-built card-deck landing page.  This section intentionally
   uses a separate composition from the story/result layouts above: mobile is
   a compact, full-bleed opening scene; desktop is a two-column title + deck.
   ------------------------------------------------------------------------- */
#app, .app-shell, .home-page { width: 100%; min-width: 0; }
.home-page { overflow-x: clip; background: radial-gradient(circle at 88% 8%, rgba(217, 131, 113, .18), transparent 27rem), var(--paper); }
.home-page .home-wrap { width: min(1180px, calc(100% - 72px)); max-width: none; }
.home-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(390px, .9fr); gap: clamp(42px, 6vw, 96px); align-items: center; min-height: clamp(620px, calc(100svh - 70px), 760px); padding-top: clamp(58px, 8vw, 100px); padding-bottom: clamp(48px, 7vw, 84px); }
.home-hero .hero-copy { min-width: 0; position: relative; z-index: 2; }
.home-hero .hero-copy .eyebrow { margin-bottom: 22px; color: var(--wine); }
.home-hero h1 { max-width: 760px; margin: 0 0 21px; color: var(--ink); font: 700 clamp(58px, 7.2vw, 104px)/.97 var(--serif); letter-spacing: -.065em; }
.home-hero h1 em { color: var(--wine); }
.home-hero .hero-subtitle { max-width: 560px; margin: 0 0 25px; color: #594b51; font: 400 clamp(18px, 2vw, 25px)/1.55 var(--serif); }
.hero-stats { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 25px; }
.hero-stats span { display: inline-flex; align-items: baseline; gap: 6px; padding: 10px 12px; border: 1px solid rgba(99, 45, 67, .18); border-radius: 7px; color: var(--muted); background: rgba(255, 255, 255, .34); }
.hero-stats b { color: var(--wine); font: 700 22px/1 var(--mono); }
.hero-stats small { font-size: 11px; letter-spacing: .03em; }
.home-hero-cta { position: relative; display: inline-flex; align-items: center; justify-content: center; width: min(100%, 320px); min-height: 59px; padding-inline: 32px 42px; border: 1px solid rgba(239, 199, 151, .88); border-radius: 10px; color: #fbead6; background: var(--wine-deep); box-shadow: inset 0 0 0 1px rgba(239, 199, 151, .16), 0 14px 28px rgba(71, 32, 48, .2); font-size: 15px; letter-spacing: .04em; }
.home-hero-cta::before { content: '✦'; position: absolute; left: 14px; color: var(--gold); font-size: 13px; }
.home-hero-cta::after { content: '→'; position: absolute; right: 17px; color: var(--gold); font: 18px var(--serif); }
.home-hero-cta:hover { color: #fff3e6; background: #392430; box-shadow: inset 0 0 0 1px rgba(239, 199, 151, .3), 0 17px 34px rgba(71, 32, 48, .28); }
.home-hero .micro-copy { margin: 12px 0 0; color: #927e84; font-size: 11px; }
.home-peek-link { display: block; margin: 10px 0 0; padding: 0; border: 0; color: var(--wine); background: transparent; cursor: pointer; font: 11px var(--mono); letter-spacing: .06em; }
.career-deck { position: relative; width: 100%; max-width: 520px; height: 430px; margin: 0 auto; isolation: isolate; }
.career-deck::before { content: ''; position: absolute; inset: 12% 7% 7%; z-index: -2; border-radius: 50%; background: radial-gradient(circle, rgba(210, 126, 114, .3), transparent 65%); filter: blur(8px); }
.career-deck::after { content: '✦  DRAW YOUR CARD  ✦'; position: absolute; right: 4%; bottom: 1%; color: rgba(99, 45, 67, .44); font: 10px var(--mono); letter-spacing: .16em; }
.deck-aura { position: absolute; inset: 9% 13%; z-index: -1; border: 1px solid rgba(99, 45, 67, .18); border-radius: 50%; transform: rotate(-16deg); }
.deck-card-stack { position: absolute; inset: 0; }
.deck-card { position: absolute; width: 214px; height: 304px; display: flex; flex-direction: column; justify-content: space-between; padding: 20px; overflow: hidden; border: 1px solid rgba(239, 199, 151, .58); border-radius: 13px; color: #faeee1; background: linear-gradient(145deg, #4f293b, #21181f); box-shadow: 0 26px 42px rgba(70, 34, 46, .22); }
.deck-card::before { content: ''; position: absolute; inset: 8px; border: 1px solid rgba(239, 199, 151, .2); border-radius: 9px; pointer-events: none; }
.deck-card::after { content: '✦'; position: absolute; right: 12px; top: 53px; color: rgba(239, 199, 151, .15); font-size: 74px; }
.deck-card-1 { left: 9px; top: 78px; z-index: 1; transform: rotate(-13deg); }
.deck-card-2 { left: 50%; top: 29px; z-index: 3; transform: translateX(-50%) rotate(-1deg); color: var(--ink); background: linear-gradient(145deg, #fff4e6, #e9d1c2); box-shadow: 0 30px 46px rgba(70, 34, 46, .24); }
.deck-card-3 { right: 9px; top: 78px; z-index: 2; transform: rotate(13deg); background: linear-gradient(145deg, #643246, #291d26); }
.deck-card-top, .deck-card-bottom { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; }
.deck-card-top span, .deck-card-bottom span { font: 9px var(--mono); letter-spacing: .13em; }
.deck-card-top span { color: var(--gold); }
.deck-card-2 .deck-card-top span { color: #9b625d; }
.deck-card-top b { font-size: 39px; font-weight: 400; }
.deck-card-middle { position: relative; z-index: 1; }
.deck-card-middle small { color: #e2c8b8; font: 9px var(--mono); letter-spacing: .08em; }
.deck-card-2 .deck-card-middle small { color: #9c7472; }
.deck-card-middle h2 { max-width: 170px; margin: 9px 0 0; color: #fff4e8; font: 600 26px/1.18 var(--serif); letter-spacing: -.04em; }
.deck-card-2 .deck-card-middle h2 { color: var(--wine); }
.deck-card-bottom span { color: #d8b8a5; }
.deck-card-2 .deck-card-bottom span { color: #9a716d; }
.deck-card-bottom i { color: var(--gold); font-style: normal; font-size: 19px; }
.deck-caption { position: absolute; right: 4%; bottom: 12%; margin: 0; color: rgba(99, 45, 67, .58); font: 11px var(--serif); }

@media (min-width: 1440px) {
  .home-page .home-wrap { width: min(1240px, calc(100% - 120px)); }
  .home-hero { grid-template-columns: minmax(0, 1fr) minmax(470px, .84fr); gap: 86px; }
  .career-deck { max-width: 560px; height: 470px; }
  .deck-card { width: 230px; height: 328px; }
  .deck-card-1 { left: 8px; top: 89px; }
  .deck-card-2 { top: 34px; }
  .deck-card-3 { right: 8px; top: 89px; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .home-page .home-wrap { width: min(720px, calc(100% - 48px)); }
  .home-hero { display: flex; flex-direction: column; align-items: stretch; gap: 18px; min-height: auto; padding-top: 55px; padding-bottom: 62px; }
  .home-hero h1 { max-width: 680px; font-size: clamp(56px, 9vw, 76px); }
  .home-hero .hero-subtitle { max-width: 610px; }
  .career-deck { height: 365px; max-width: 450px; margin-top: 5px; }
  .deck-card { width: 182px; height: 258px; padding: 17px; }
  .deck-card-1 { left: 8px; top: 64px; }
  .deck-card-2 { top: 24px; }
  .deck-card-3 { right: 8px; top: 64px; }
  .deck-card-top b { font-size: 34px; }
  .deck-card-middle h2 { font-size: 22px; }
}

@media (max-width: 767px) {
  html, body { width: 100%; min-width: 0; }
  .home-shell .topbar { width: 100%; }
  .home-shell .topbar-right { display: none; }
  .home-page .home-wrap { width: calc(100% - 32px); max-width: none; }
  .home-hero { display: flex; flex-direction: column; align-items: stretch; gap: 0; min-height: calc(100svh - 58px); padding-top: 28px; padding-bottom: 28px; }
  .home-hero .hero-copy .eyebrow { margin-bottom: 16px; font-size: 9px; letter-spacing: .16em; }
  .home-hero h1 { max-width: 100%; margin-bottom: 14px; font-size: clamp(38px, 11.6vw, 49px); line-height: .98; letter-spacing: -.065em; }
  .home-hero .hero-subtitle { max-width: 330px; margin-bottom: 18px; font-size: 16px; line-height: 1.52; }
  .hero-stats { gap: 7px; margin-bottom: 17px; }
  .hero-stats span { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 4px; padding: 9px 8px; }
  .hero-stats b { font-size: 21px; }
  .hero-stats small { font-size: 10px; white-space: nowrap; }
  .home-hero-cta { width: 100%; max-width: none; min-height: 57px; padding-inline: 32px 40px; border-radius: 11px; font-size: 15px; }
  .home-hero .micro-copy { margin-top: 10px; font-size: 10px; }
  .home-peek-link { display: none; }
  .career-deck { width: min(100%, 350px); height: 236px; flex: 0 0 236px; margin: 9px auto 0; }
  .career-deck::before { inset: 12% 4% 9%; }
  .career-deck::after { right: 0; bottom: 0; font-size: 8px; letter-spacing: .12em; }
  .deck-aura { inset: 8% 4% 12%; }
  .deck-card { width: clamp(108px, 32vw, 124px); height: 184px; padding: 13px; border-radius: 11px; }
  .deck-card::before { inset: 6px; border-radius: 7px; }
  .deck-card::after { right: 8px; top: 42px; font-size: 52px; }
  .deck-card-1 { left: 4px; top: 28px; transform: rotate(-10deg); }
  .deck-card-2 { left: 50%; top: 4px; transform: translateX(-50%) rotate(-1deg); }
  .deck-card-3 { right: 4px; top: 28px; transform: rotate(10deg); }
  .deck-card-top span, .deck-card-bottom span { font-size: 7px; letter-spacing: .1em; }
  .deck-card-top b { font-size: 29px; }
  .deck-card-middle small { font-size: 7px; }
  .deck-card-middle h2 { max-width: 108px; margin-top: 7px; font-size: clamp(17px, 5vw, 21px); line-height: 1.18; }
  .deck-card-bottom i { font-size: 14px; }
  .deck-caption { right: 0; bottom: 11px; font-size: 9px; }
  .home-section { padding-top: 54px; }
}

@media (max-width: 359px) {
  .home-page .home-wrap { width: calc(100% - 24px); }
  .home-hero { padding-top: 24px; padding-bottom: 24px; }
  .home-hero h1 { font-size: clamp(37px, 11.8vw, 43px); }
  .home-hero .hero-subtitle { font-size: 15px; }
  .hero-stats span { padding-inline: 6px; }
  .hero-stats b { font-size: 19px; }
  .hero-stats small { font-size: 9px; }
  .career-deck { height: 222px; flex-basis: 222px; margin-top: 10px; }
  .deck-card { width: 112px; height: 176px; padding: 12px 10px; }
  .deck-card-1 { top: 27px; }
  .deck-card-3 { top: 27px; }
  .deck-card-middle h2 { max-width: 94px; font-size: 16px; }
}
