@font-face {
  font-family: 'Bai Jamjuree';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/BaiJamjuree-400-thai.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'Bai Jamjuree';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/BaiJamjuree-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bai Jamjuree';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/BaiJamjuree-600-thai.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'Bai Jamjuree';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/BaiJamjuree-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face{font-family:Kanit;src:url("assets/fonts/Kanit-Regular.ttf") format("truetype");font-weight:400;font-display:swap}
@font-face{font-family:Kanit;src:url("assets/fonts/Kanit-SemiBold.ttf") format("truetype");font-weight:600 900;font-display:swap}
:root{--ink:#26243b;--muted:#626178;--surface:#fff;--bg:#f4f2fb;--accent:#5d4bc4;--accent-hover:#4938a5;--icon-primary:var(--accent);--gold:#f0c080;--border:#e5e2ef;--shadow:0 16px 40px #343b4b09;--scroll-thumb:#b1a9ca;--scroll-track:#f4f2fb;--header-height:82px;--chapter-bar-height:0px}
*{box-sizing:border-box;scrollbar-width:thin;scrollbar-color:var(--scroll-thumb) var(--scroll-track)}
html{scrollbar-gutter:stable;scroll-padding-top:calc(var(--header-height) + var(--chapter-bar-height) + 16px)}
body{margin:0;font-family:"Bai Jamjuree",system-ui,sans-serif;color:var(--ink);background:white;line-height:1.8;font-size:17px}
[hidden],.page{display:none!important}.page.active{display:block!important}
a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline;text-underline-offset:5px}
button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.55}button:active:not(:disabled){transform:translateY(1px)}
a:focus-visible,button:focus-visible,textarea:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #c6730b;outline-offset:5px}
h1[tabindex]:focus,h2[tabindex]:focus,main:focus{outline:none}
h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:Kanit,system-ui,sans-serif;line-height:1.35}h1{font-size:clamp(38px,5vw,68px);letter-spacing:-.035em;font-weight:600;margin-bottom:20px}h2{font-size:32px;font-weight:600;margin-bottom:20px}h3{font-size:21px;font-weight:600}h1 em{font-style:normal;color:var(--accent)}
.icon{width:36px;height:36px;display:inline-block;vertical-align:middle;flex:none}span[data-icon]{display:inline-flex;align-items:center}span[data-icon]>.icon{width:100%;height:100%}
.small{font-size:14px}.muted{color:var(--muted)}.center{text-align:center}.content-width{width:min(1200px,calc(100% - 64px));margin-inline:auto}
.skip-link{position:fixed;top:-100px;left:20px;background:white;padding:10px;z-index:50}.skip-link:focus{top:5px}
.site-header{height:var(--header-height);border-bottom:1px solid #eff0f3;background:#fffffff5;position:sticky;top:0;z-index:20;backdrop-filter:blur(12px)}
.header-inner{height:100%;width:min(1440px,calc(100% - 48px));margin:auto;display:flex;align-items:center;justify-content:space-between;gap:25px}
.brand{display:inline-flex;align-items:center;gap:10px;font-size:20px;font-weight:600;color:var(--ink)}.brand:hover{text-decoration:none}.brand-icon,.brand>span[data-icon]{width:42px;height:42px}
.site-header nav{display:flex;align-items:center;gap:32px;font-size:16px}.site-header nav a{color:var(--ink)}.site-header nav a[aria-current=page]{color:var(--accent);text-decoration:underline;text-underline-offset:12px;text-decoration-thickness:3px}
.hero{position:relative;background:var(--bg);padding:76px 24px 96px;text-align:center}.hero::after{content:"";position:absolute;left:0;right:0;height:38px;bottom:-1px;background:white;clip-path:polygon(0 28%,15% 78%,32% 39%,51% 100%,72% 45%,86% 79%,100% 32%,100% 100%,0 100%)}
.hero-home{padding-top:58px;padding-bottom:110px}.hero-mark{width:82px;height:82px;display:inline-flex;margin-bottom:24px}.subtitle{font-size:23px;margin-bottom:18px}.lead{font-size:20px;max-width:680px;margin-inline:auto;margin-bottom:28px}.hero-note{font-size:14px;color:var(--muted);margin:16px 0 0}
.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:56px;padding:13px 28px;border-radius:30px;border:2px solid transparent;font-size:17px;font-weight:600;line-height:1.5;transition:background .15s,color .15s}
.primary{background:var(--accent);color:white}.primary:hover:not(:disabled){background:var(--accent-hover);color:white;text-decoration:none}.secondary{background:white;color:var(--accent);border-color:#c6bfea}.secondary:hover{background:var(--bg)}.primary [data-icon],.secondary [data-icon]{width:23px;height:23px}
.text-link{display:inline-flex;align-items:center;gap:10px;font-weight:600}.text-link>.icon,.text-link [data-icon]{width:24px;height:24px}.button-link:hover{text-decoration:none}
.intro-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:-44px;position:relative;z-index:1}
.step-card{isolation:isolate}.step-card::before{z-index:-1}
.step-card{border-radius:10px;box-shadow:var(--shadow);background:white;border-top:4px solid var(--step);padding:125px 26px 28px;position:relative;min-height:286px;overflow:hidden}.step-card::before{content:"";position:absolute;left:0;right:0;top:0;height:95px;background:color-mix(in srgb,var(--step) 8%,white);clip-path:polygon(0 0,100% 0,100% 95%,50% 75%,0 100%)}
.step-teal{--step:#339bb3}.step-green{--step:#2eaa80}.step-purple{--step:#8f66a6}.step-illustration{position:absolute;right:28px;top:18px;width:100px;height:100px}.step-card>small{font-size:11px;padding:3px 10px;border-radius:20px;background:color-mix(in srgb,var(--step) 12%,white);color:var(--ink)}.step-card h2{font-size:22px;margin:12px 0}.step-card p{font-size:16px;margin:0;line-height:1.8}
.section-heading{display:flex;align-items:center;gap:16px}.section-heading>[data-icon],.section-heading>.icon{width:44px;height:44px;flex:none}.section-intro{color:var(--muted);margin-bottom:28px}.home-families{padding:88px 0 64px}.families{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;margin:30px 0}.family{padding:28px 12px;text-align:center;border-radius:12px;background:color-mix(in srgb,var(--family) 6%,white);color:var(--ink);border-bottom:3px solid var(--family);transition:transform .15s}.family:hover{transform:translateY(-4px);text-decoration:none}.family b{display:block;font-size:16px}.family small{display:block;font-size:13px;color:var(--muted);margin-top:8px}.family .emblem{width:80px;height:80px;margin:0 auto 18px}
.emblem{display:grid;place-items:center;--icon-primary:var(--family,var(--accent));background:color-mix(in srgb,var(--family,var(--accent)) 8%,white);border-radius:50%;width:180px;height:180px}.emblem .icon{width:65%;height:65%}
.reflection-note{display:flex;align-items:flex-start;gap:28px;padding:32px 0 64px;border-top:1px solid var(--border);max-width:920px;margin:auto}.reflection-note>[data-icon]{width:60px;height:60px;flex:none}.reflection-note h2{font-size:25px}.reflection-note p{margin:0;color:var(--muted)}
.quiz-shell{width:min(780px,calc(100% - 48px));margin:38px auto 84px}.quiz-top{display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:15px}.plain{border:0;background:none;color:var(--muted);padding:12px 0}.plain:hover{color:var(--accent)}.progress{height:7px;overflow:hidden;border-radius:8px;background:#edf0f2;margin:16px 0 45px}.progress>div{height:100%;background:var(--accent);transition:width .2s}.question-panel{text-align:center}.question-icon{width:58px;height:58px;margin:0 auto 22px;display:inline-flex}.question-panel h2{font-size:clamp(25px,3.2vw,34px);line-height:1.65;margin-bottom:26px}.options{display:grid;gap:16px;margin:28px 0}.option{display:flex;align-items:center;gap:18px;text-align:left;width:100%;padding:22px 24px;border:2px solid #e2e7e9;border-radius:12px;background:white;color:var(--ink);transition:background .15s,border-color .15s}.option:hover{background:var(--bg);border-color:var(--accent)}.option .bullet{width:38px;height:38px;border:2px solid #9a91be;color:var(--accent);border-radius:50%;display:grid;place-items:center;flex:none;font-size:14px}.option.thumb img{width:58px;height:68px;object-fit:contain}
.result-hero,.profile-hero{background:color-mix(in srgb,var(--family-color,var(--accent)) 8%,white);text-align:left;padding:56px 0 68px}.hero-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:70px;align-items:center;min-height:370px}.hero-split .lead{margin-left:0;line-height:1.9}.hero-label{font-size:15px;color:var(--accent);margin-bottom:16px}.family-title{color:var(--ink);font-size:21px;font-weight:600;margin-bottom:20px}.motto{color:var(--muted);font-size:17px}.hero-emblem{display:flex;justify-content:center;align-items:center;min-width:0}.hero-emblem>.emblem{width:270px;height:270px}.hero-visual{width:100%;max-width:510px;text-align:center}.archetype-portrait{height:270px;display:flex;align-items:center;justify-content:center}.archetype-portrait>.emblem{width:220px;height:220px}.archetype-portrait>img{height:100%;max-width:100%;object-fit:contain;mix-blend-mode:normal}.hero-triad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:22px}.hero-angle{margin:0;text-align:center}.hero-angle img{width:92px;height:110px;max-width:100%;object-fit:contain;mix-blend-mode:normal}.hero-angle figcaption{font-size:14px}.hero-angle small{display:block;color:var(--muted);font-size:12px}
.reading-layout{display:grid;grid-template-columns:230px minmax(0,800px);gap:64px;padding-top:64px;padding-bottom:64px;justify-content:center}.chapter-nav{position:sticky;top:calc(var(--header-height) + 30px);align-self:start}.chapter-nav h2{font-size:20px;margin-bottom:18px}.chapter-nav a{display:flex;align-items:center;justify-content:space-between;padding:14px 14px;color:var(--muted);font-size:15px;border-bottom:1px solid var(--border)}.chapter-nav a:hover,.chapter-nav a[aria-current=location]{background:var(--bg);color:var(--accent);text-decoration:none;border-left:3px solid var(--accent);padding-left:11px}.chapter-nav .icon{width:18px;height:18px}.reading-content{min-width:0}.chapter{padding:0 0 64px;margin-bottom:56px;border-bottom:1px solid var(--border);scroll-margin-top:0}.chapter:last-child{border-bottom:0;margin-bottom:0}.chapter>.section-heading{margin-bottom:24px;font-size:34px}.chapter p{line-height:1.95}.large-copy{font-size:22px;line-height:1.8}.callout{background:#faf6ec;border-left:4px solid #e9b86c;padding:20px 24px;border-radius:0 8px 8px 0;font-size:15px}
.matrix-wrap{width:100%;margin:28px 0;overflow:visible}.matrix{width:100%;table-layout:fixed;border-spacing:12px 14px}.matrix th{font-size:13px;color:var(--muted);line-height:1.7;text-align:center;font-weight:400}.matrix th:first-child{width:65px}.matrix td{vertical-align:top;text-align:center}.angle-card{display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;width:100%;min-width:0;padding:12px 5px 10px;min-height:190px;border:2px solid var(--a);border-radius:16px;background:white;color:var(--ink);transition:background .15s,border-color .15s}.angle-card:hover{background:color-mix(in srgb,var(--a) 8%,white)}.angle-card img{width:100%;height:100px;object-fit:contain}.angle-card strong{font-weight:400;font-size:14px;margin-top:4px}.angle-card .angle-score{font-size:12px;color:var(--muted);line-height:1.2;margin-top:6px}.angle-score b{font-family:Kanit,system-ui,sans-serif;font-size:29px;font-weight:700;color:var(--ink);margin-right:4px}.angle-card.score-high{background:color-mix(in srgb,var(--a) 9%,white);border-width:3px}.angle-card.is-peak{background:color-mix(in srgb,var(--a) 13%,white);border-width:3px;box-shadow:0 5px 15px color-mix(in srgb,var(--a) 15%,transparent)}.is-peak .angle-score b{font-size:34px}.peak-label{position:absolute;top:-12px;background:var(--accent);color:white;padding:2px 9px;font-size:10px;border-radius:12px;line-height:1.7}.angle-card.score-low{border-color:#d7dce0;background:#f6f7f8}.score-low img{filter:grayscale(1);opacity:.36}.score-low strong,.score-low .angle-score b{color:#5c6274}.score-low .angle-score{color:#5c6274}.angle-card.selected{outline:3px solid var(--accent);outline-offset:3px}.matrix-legend{display:flex;gap:18px;flex-wrap:wrap;font-size:12px;color:var(--muted)}.matrix-legend>span{display:inline-flex;align-items:center;gap:7px}.matrix-legend i{width:13px;height:13px;display:inline-block;border-radius:3px}.legend-high{background:var(--accent)}.legend-normal{background:#cde6e1}.legend-low{background:#dbe0e4}.angle-detail{padding:26px 0 0;margin-top:24px;border-top:1px solid var(--border)}.angle-detail strong{font-size:21px}.angle-detail p{margin:14px 0 0}
.signature{display:grid;gap:0;margin:32px 0}.sig{display:flex;gap:24px;align-items:flex-start;padding:24px 0;border-bottom:1px solid var(--border);flex-wrap:wrap}.sig img{width:85px;height:100px;object-fit:contain;flex:none}.sig>div{flex:1;min-width:160px}.sig b{font-size:20px;display:block;margin-bottom:7px}.sig small{font-size:16px;color:var(--muted)}.sig .tier{font-size:13px;font-weight:600;color:var(--accent);margin-left:109px}.alternatives{display:grid;gap:18px;margin:30px 0}.alternative{display:flex;gap:22px;align-items:center;padding:22px;background:color-mix(in srgb,var(--family) 5%,white);border-radius:10px;border-left:4px solid var(--family);color:var(--ink)}.alternative:hover{text-decoration:none;background:color-mix(in srgb,var(--family) 10%,white)}.alternative>.emblem{width:70px;height:70px;flex:none}.alternative>div:not(.emblem){flex:1;min-width:0}.alternative b{font-size:21px;display:block}.alternative small{font-size:14px;color:var(--muted);display:block}.alternative>span{color:var(--accent);font-size:13px;white-space:nowrap}.alternative>.icon{width:24px;height:24px}
.insight-band{display:flex;gap:24px;align-items:flex-start;padding:32px;background:#eff8f5;border-radius:10px}.insight-band>[data-icon]{width:72px;height:72px;flex:none}.insight-band h2{font-size:27px}.growth{background:#fcf5ec}.actions{display:flex;justify-content:center;gap:18px;flex-wrap:wrap;margin:36px 0 20px}.share-panel{max-width:750px;margin:25px auto;padding:25px;background:var(--bg);border-radius:10px}#share-text{display:block;width:100%;padding:16px;font:inherit;resize:none;min-height:185px;margin-top:12px;background:white;border:1px solid var(--border);border-radius:8px}
.catalog-hero{padding-bottom:80px}.family-filters{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:30px 0 55px}.family-filters a{padding:9px 20px;border:1px solid var(--border);border-radius:24px;font-size:15px;color:var(--muted)}.family-filters a[aria-current=page]{background:var(--accent);border-color:var(--accent);color:white}.family-group{padding:0 0 70px;margin-bottom:40px;border-bottom:1px solid var(--border)}.family-intro{display:flex;align-items:center;gap:28px;margin-bottom:30px}.family-intro>.emblem{width:100px;height:100px;flex:none}.family-kicker{font-size:14px;color:var(--muted);margin:0}.family-intro h2{font-size:34px;margin:6px 0}.family-intro p:last-child{color:var(--muted);margin-bottom:0}.wizard-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.wizard-card{display:flex;flex-direction:column;align-items:center;text-align:center;padding:30px 24px;background:color-mix(in srgb,var(--family) 4%,white);border-radius:12px;color:var(--ink);border-bottom:3px solid color-mix(in srgb,var(--family) 35%,white);transition:transform .15s}.wizard-card:hover{transform:translateY(-4px);text-decoration:none;box-shadow:var(--shadow)}.wizard-card>.emblem{width:110px;height:110px;margin-bottom:22px}.wizard-card h3{margin-bottom:14px}.wizard-card p{font-size:15px;color:var(--muted)}.mini-signature{display:flex;justify-content:center;gap:7px;margin-top:auto}.mini-signature img{width:35px;height:44px;object-fit:contain;mix-blend-mode:normal}.card-link{font-size:14px;color:var(--accent);display:flex;align-items:center;gap:8px;margin-top:18px}.card-link .icon{width:19px;height:19px}
.profile-breadcrumb{display:flex;justify-content:space-between;gap:20px;font-size:14px;margin-bottom:25px}.profile-match{font-size:15px;color:var(--accent);font-weight:600}.profile-signature-row{display:flex;align-items:flex-start;gap:26px;margin:35px 0}.profile-signature-row img{width:90px;height:110px;object-fit:contain}.profile-signature-row>div{flex:1;min-width:0}.profile-signature-row h3{margin:4px 0 10px}.profile-signature-row small{font-size:13px;color:var(--accent)}.profile-signature-row p{font-size:17px;color:var(--muted)}.profile-footer{text-align:center;padding:10px 0 80px;max-width:800px}.related-chapter .wizard-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.related-chapter .wizard-card{padding:24px 18px}.related-chapter .wizard-card h3{font-size:19px}
.site-footer{border-top:1px solid var(--border);padding:48px 0 40px;background:var(--bg);text-align:center;font-size:15px}.site-footer .brand{font-size:20px;margin-bottom:16px}.site-footer p{margin-bottom:14px}.site-footer>.content-width>a:not(.brand){font-size:14px}
@media(max-width:1000px){.reading-layout{grid-template-columns:190px minmax(0,1fr);gap:35px}.hero-split{gap:35px}.matrix{border-spacing:8px 12px}.matrix th:first-child{width:48px}.angle-card strong{font-size:12px}.angle-card img{height:86px}.wizard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.families{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){:root{--header-height:94px;--chapter-bar-height:64px}.content-width{width:calc(100% - 32px)}body{font-size:16px}.site-header .header-inner{width:calc(100% - 28px);flex-direction:column;justify-content:center;gap:8px}.brand{font-size:17px}.brand-icon{width:31px;height:31px}.site-header nav{gap:26px;font-size:14px}.site-header nav a[aria-current=page]{text-underline-offset:7px}.hero{padding:45px 18px 70px}.hero h1{font-size:40px}.hero-mark{width:64px;height:64px;margin-bottom:18px}.lead{font-size:18px;line-height:1.9}.hero-home{padding-bottom:80px}.hero-home h1{font-size:39px}.subtitle{font-size:20px}.intro-steps{grid-template-columns:1fr;margin-top:-20px;gap:20px}.step-card{min-height:200px;padding:50px 24px 26px}.step-card h2,.step-card p{max-width:calc(100% - 90px)}.step-card::before{height:70px}.step-illustration{width:82px;height:82px;right:20px;top:44px}.step-card h2{font-size:21px}.step-card p{font-size:15px}.home-families{padding-top:60px}.section-heading{font-size:27px;gap:12px}.section-heading>[data-icon],.section-heading>.icon{width:36px;height:36px}.families{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.family{padding:20px 10px}.family b{font-size:14px}.family small{font-size:12px}.family .emblem{width:62px;height:62px}.reflection-note{gap:15px;padding-bottom:45px}.reflection-note>[data-icon]{width:40px;height:40px}.reflection-note h2{font-size:23px}.reflection-note p{font-size:15px}.quiz-shell{width:calc(100% - 36px);margin-top:22px}.question-panel h2{font-size:25px}.option{padding:18px 16px;font-size:16px;gap:13px}.option .bullet{width:31px;height:31px}.quiz-top{font-size:13px}.hero-split{grid-template-columns:1fr;gap:15px;min-height:0}.result-hero,.profile-hero{padding:32px 0 54px;text-align:left}.hero-split h1{font-size:39px;overflow-wrap:anywhere}.hero-split .lead{font-size:18px}.family-title{font-size:18px}.hero-label{font-size:14px}.hero-emblem{margin-top:5px}.archetype-portrait{height:225px}.archetype-portrait>.emblem{width:190px;height:190px}.hero-triad{gap:8px;margin-top:12px}.hero-angle img{width:74px;height:90px}.hero-angle figcaption{font-size:12px}.hero-angle small{font-size:11px}.reading-layout{display:block;padding-top:0;padding-bottom:40px}.chapter-nav{position:sticky;top:var(--header-height);z-index:15;margin-inline:-16px;padding:8px 16px;background:#fffffff5;backdrop-filter:blur(10px);border-bottom:1px solid var(--border)}.chapter-nav>a{display:none}.chapter-picker{display:flex;align-items:center;gap:12px;font-size:13px;min-height:47px}.chapter-select{flex:1;min-width:0;max-width:100%;height:44px;border:1px solid var(--border);background:white;color:var(--ink);border-radius:8px;padding:0 10px;font-size:14px}.chapter-nav h2{display:none}.chapter-nav a{border:0;font-size:13px;padding:15px 8px;gap:0}.chapter-nav a>.icon{display:none}.chapter-nav a[aria-current=location],.chapter-nav a:hover{border-left:0;border-bottom:3px solid var(--accent);padding-left:8px}.reading-content{padding-top:42px}.chapter{margin-bottom:42px;padding-bottom:42px;scroll-margin-top:0}.chapter>.section-heading{font-size:28px}.matrix{border-spacing:6px 14px;margin-left:-6px;width:calc(100% + 12px)}.matrix th{font-size:10px;overflow-wrap:anywhere;line-height:1.6}.matrix th:first-child{width:32px}.angle-card{border-radius:11px;min-height:142px;padding:10px 3px 8px}.angle-card img{height:68px}.angle-card strong{font-size:11px;line-height:1.4;margin-top:6px}.angle-card .angle-score{font-size:10px;margin-top:5px}.angle-score b{font-size:24px;margin-right:2px}.is-peak .angle-score b{font-size:27px}.peak-label{font-size:10px;top:-10px;padding:1px 5px;white-space:nowrap}.matrix-legend{font-size:10px;gap:9px}.matrix-legend i{width:10px;height:10px}.angle-detail{padding-top:22px}.angle-detail strong{font-size:20px}.sig{gap:17px;padding:25px 0}.sig img{width:65px;height:85px}.sig>div{min-width:0;flex:1}.sig b{font-size:19px}.sig small{font-size:15px}.sig .tier{margin-left:82px;font-size:12px}.alternative{gap:15px;padding:19px 16px;flex-wrap:wrap}.alternative>.emblem{width:51px;height:51px}.alternative b{font-size:19px}.alternative small{font-size:13px}.alternative>span{margin-left:66px;font-size:12px}.alternative>.icon{margin-left:auto}.insight-band{padding:24px;gap:18px}.insight-band>[data-icon]{width:46px;height:46px}.insight-band h2{font-size:24px}.large-copy{font-size:20px}.actions{gap:12px}.actions button{width:100%}.family-filters{gap:8px;margin:25px 0 35px}.family-filters a{font-size:13px;padding:7px 13px}.family-intro{gap:18px}.family-intro>.emblem{width:65px;height:65px}.family-intro h2{font-size:26px}.family-intro p{font-size:15px}.wizard-grid,.related-chapter .wizard-grid{grid-template-columns:1fr;gap:20px}.wizard-card{padding:28px 24px}.wizard-card>.emblem{width:100px;height:100px}.wizard-card h3{font-size:24px}.wizard-card p{font-size:16px}.profile-breadcrumb{font-size:12px;gap:12px}.profile-signature-row{gap:18px}.profile-signature-row img{width:74px;height:95px}.profile-signature-row p{font-size:16px}.profile-footer{padding-bottom:55px}.site-footer .brand{font-size:18px}}
@media(max-width:350px){.content-width{width:calc(100% - 24px)}.chapter-nav{margin-inline:-12px;padding-inline:12px}.hero-home h1{font-size:35px}.matrix th:first-child{width:26px}.matrix{border-spacing:4px 13px;margin-left:-4px;width:calc(100% + 8px)}.angle-card{min-height:135px;border-radius:9px}.angle-card img{height:58px}.angle-card strong{font-size:10px}.peak-label{font-size:10px}.step-card{padding-inline:18px}.step-card h2,.step-card p{max-width:calc(100% - 70px)}.step-illustration{width:68px;height:68px;right:14px}.sig .tier{margin-left:0;width:100%}.hero-split h1{font-size:35px}.hero-angle img{height:78px}.hero-angle figcaption{font-size:11px}.chapter>.section-heading{font-size:25px}.section-heading>[data-icon],.section-heading>.icon{width:31px;height:31px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
@media(forced-colors:active){.angle-card,.family,.wizard-card{border:2px solid CanvasText}.score-low img{opacity:1}}
.sig{display:grid;grid-template-columns:85px minmax(0,1fr);gap:10px 24px}
.sig img{grid-column:1;grid-row:1 / span 2}
.sig>div,.sig .tier{grid-column:2;min-width:0}
.sig .tier{margin-left:0;width:auto}
@media(max-width:760px){.sig{grid-template-columns:65px minmax(0,1fr);gap:10px 17px}}
@media(max-width:760px){.matrix th:first-child{width:40px;overflow-wrap:normal}}
@media(max-width:350px){.matrix th:first-child{width:38px}}

/* Audit refinements: selection before advancing, visible destinations, searchable catalog. */
.chapter-picker{display:none}
.option[aria-pressed=true]{background:var(--bg);border-color:var(--accent);box-shadow:inset 4px 0 var(--accent)}
.option[aria-pressed=true] .bullet{background:var(--accent);color:white;border-color:var(--accent)}
.quiz-actions{display:flex;justify-content:space-between;gap:16px;margin:30px 0 22px}
.hero-close-note{font-size:15px;max-width:580px;padding-left:16px;border-left:3px solid var(--accent);margin:26px 0}
.hero-close-note a{display:block;font-weight:600;margin-top:5px;text-decoration:underline;text-underline-offset:4px}
.catalog-search{max-width:760px;margin:38px auto 0}.catalog-search label{display:block;font-weight:600;margin-bottom:12px}.search-controls{display:flex;gap:12px;align-items:center}.search-controls input{width:100%;min-width:0;min-height:56px;padding:12px 16px;border:1px solid #a7a0bb;border-radius:8px;background:white;color:var(--ink)}.search-controls button{white-space:nowrap}.catalog-status{font-size:15px;color:var(--muted);margin-bottom:28px}.catalog-empty{padding:40px 0 80px;max-width:700px}.family-filters{margin-bottom:24px}
@media(max-width:760px){.chapter-picker{display:flex}.quiz-actions{position:sticky;bottom:0;padding:14px 0;background:#fffffff5;border-top:1px solid var(--border);z-index:5}.quiz-actions button{padding:12px 17px;font-size:15px}.hero-close-note{font-size:14px}.search-controls{align-items:stretch}.search-controls button{padding:10px 15px;font-size:14px}.search-controls input{font-size:15px;min-height:52px}.catalog-search{margin-top:26px}.catalog-search label{font-size:16px}}

/* Original archetype portraits retain full-body framing and visible name labels. */
.wizard-card>.card-portrait{width:100%;height:210px;object-fit:contain;mix-blend-mode:normal;margin-bottom:22px}
.related-chapter .wizard-card>.card-portrait{height:170px}
@media(max-width:760px){.wizard-card>.card-portrait,.related-chapter .wizard-card>.card-portrait{height:240px}}

/* Families explain distinct approaches before inviting a deeper browse. */
.brand-logo{width:64px;height:64px;object-fit:contain;flex:none}
.families{display:grid;grid-template-columns:1fr;gap:24px}
.family{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:32px;padding:32px 36px;text-align:left;border:1px solid color-mix(in srgb,var(--family) 25%,white);border-left:5px solid var(--family);border-radius:16px}
.family:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.family-copy{min-width:0}.family .family-english{font-size:14px;color:var(--muted);font-weight:400;margin-bottom:10px}.family h3{font-size:28px;margin:0 0 16px}.family-description{font-size:16px;margin:0 0 18px;color:var(--muted);line-height:1.85}.family-example{font-size:16px;line-height:1.85;margin:0 0 22px}.family-example>span{display:block;font-size:13px;font-weight:600;color:var(--muted);margin-bottom:5px}.family-link{font-size:15px;font-weight:600;color:var(--accent)}.family-cast{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:end}.family-cast figure{margin:0;text-align:center;min-width:0}.family-cast img{width:100%;height:190px;object-fit:contain;mix-blend-mode:normal}.family-cast figcaption{font-size:13px;line-height:1.5;margin-top:10px;color:var(--ink)}
@media(max-width:760px){.brand-logo{width:48px;height:48px}.site-header .header-inner{gap:3px}.site-header nav{line-height:1.5}.family{grid-template-columns:1fr;padding:24px 20px;gap:25px}.family h3{font-size:25px}.family-description,.family-example{font-size:15px}.family-cast{gap:8px}.family-cast img{height:145px}.family-cast figcaption{font-size:12px}.families{gap:22px}.site-footer .brand-logo{width:64px;height:64px}}
@media(max-width:350px){.family{padding:22px 16px}.family-cast img{height:125px}.family-cast figcaption{font-size:11px}}

/* One native modal owns result sharing from both hero and end-of-result. */
.hero-share-actions{margin-top:26px}.hero-share-actions button{font-size:16px}
.share-dialog{padding:0;width:min(1020px,calc(100% - 32px));max-width:none;max-height:calc(100dvh - 32px);border:1px solid var(--border);border-radius:20px;color:var(--ink);background:var(--surface);box-shadow:var(--shadow);overflow:auto}
.share-dialog::backdrop{background:#26243bb3}.share-dialog-header{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:24px 32px 12px;background:var(--surface);border-bottom:1px solid var(--border)}.share-dialog-header h2{font-size:26px;margin:0;overflow-wrap:anywhere}.share-dialog-header .eyebrow{font-size:13px;color:var(--muted);margin:0 0 6px}.share-close{flex:none;font-size:15px;padding:10px 20px}
#share-intro{padding:18px 32px;margin:0;color:var(--muted)}.share-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:30px;padding:0 32px 30px}.share-formats{display:flex;gap:10px;margin-bottom:14px}.share-formats button{flex:1;font-size:15px;padding:10px 16px;min-height:44px}.share-formats button[aria-pressed=true]{background:var(--accent);color:#fff;border-color:var(--accent)}
.share-preview-wrap{height:480px;display:flex;align-items:center;justify-content:center;position:relative;background:var(--bg);border:1px solid var(--border);padding:14px;border-radius:12px;overflow:hidden}.share-preview-wrap img{width:100%;height:100%;object-fit:contain}.share-preview-wrap img:not([src]){visibility:hidden}#share-loading{position:absolute;bottom:15px;left:15px;right:15px;margin:0;padding:12px;background:var(--surface);color:var(--muted);text-align:center;font-size:14px;border-radius:8px}.share-options h3{font-size:21px;margin:0 0 8px}.share-options p{line-height:1.8}.share-options hr{border:0;border-top:1px solid var(--border);margin:24px 0}.share-buttons{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.share-buttons button{flex:1;white-space:nowrap;font-size:15px;padding:12px 18px;min-height:48px}.share-link-row{display:flex;gap:8px;margin-top:8px}.share-link-row input{width:100%;min-width:0;border:1px solid var(--border);border-radius:8px;padding:12px;font-size:13px;color:var(--muted);background:var(--bg)}.share-link-row button{flex:none;font-size:14px;padding:12px}.share-social{display:flex;gap:8px;flex-wrap:wrap}.share-social a,.share-social button{font-size:14px;padding:10px 18px;min-height:44px}.share-dialog #share-status{min-height:48px;margin:16px 0 0}.share-dialog .share-panel{padding:14px;margin:0;font-size:14px}.share-dialog .share-panel textarea{width:100%;min-height:160px;resize:none}.share-error{margin-top:14px;color:var(--ink)}#share-full{display:inline-block;margin-top:10px;min-height:36px}#share-full[hidden]{display:none}
.shared-wizard .hero{padding:55px 0}.shared-wizard .hero-split{align-items:center}.shared-wizard .share-entry-portrait{display:block;max-height:420px;max-width:100%;margin:auto;mix-blend-mode:normal}.shared-wizard .shared-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:28px}.shared-signature{display:flex;justify-content:center;gap:30px;margin:35px auto;max-width:720px}.shared-signature figure{flex:1;text-align:center;margin:0}.shared-signature img{height:120px;max-width:100%;object-fit:contain}.shared-signature figcaption{margin-top:10px;font-weight:600}.shared-copy{max-width:760px;margin:45px auto;padding:0 24px;text-align:center}
.share-workspace>div:first-child{position:relative}.share-error{position:absolute;top:130px;left:14px;right:14px;padding:18px;background:var(--surface);border:1px solid var(--border);border-radius:12px}
.share-full-row{height:46px;display:flex;align-items:flex-end}.share-full-row #share-full{margin-top:0}
.share-workspace>div,.share-preview-wrap img,.share-formats button{min-width:0}.share-caption{max-width:100%;font-size:15px;padding:12px 16px}
.share-personal-summary{margin:0 32px 22px;padding:12px 16px;background:var(--bg);border-left:3px solid var(--accent);font-size:14px;line-height:1.8}.static-profile .chapter-nav .chapter-picker{display:none}.static-profile .hero-label{font-weight:600}
@media(max-width:760px){.share-personal-summary{margin:0 16px 20px}.static-profile .chapter-nav{position:static;display:flex;flex-wrap:wrap;gap:8px;padding:16px 0;max-height:none;overflow:visible}.static-profile .chapter-nav h2{display:none}.static-profile .chapter-nav>a{display:flex!important;padding:8px 12px;border:1px solid var(--border);border-radius:20px;font-size:14px}.static-profile .chapter-nav>a .icon{display:none}}
@media(max-width:760px){.share-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px);border-radius:14px}.share-dialog-header{padding:16px}.share-dialog-header h2{font-size:21px}.share-close{padding:10px 14px}#share-intro{padding:16px;font-size:15px}.share-workspace{grid-template-columns:minmax(0,1fr);padding:0 16px 24px;gap:26px}.share-preview-wrap{height:380px}.share-link-row{flex-direction:column}.share-link-row button{align-self:flex-start}.share-options hr{margin:20px 0}.shared-wizard .hero{padding:32px 0}.shared-wizard .share-entry-portrait{max-height:340px}.shared-wizard .shared-actions{flex-direction:column}.shared-signature{gap:10px}.shared-signature img{height:85px}.shared-signature figcaption{font-size:13px}.hero-share-actions button{width:100%}}

/* Family worlds share one accessible token system across result, profile and modal. */
[data-family=A]{--accent:#5547a1;--accent-hover:#423581;--bg:#f0eefb;--family-color:#6354b8;--family-scene:url(assets/families/a.webp)}
[data-family=B]{--accent:#216d43;--accent-hover:#175334;--bg:#edf8f0;--family-color:#31985c;--family-scene:url(assets/families/b.webp)}
[data-family=C]{--accent:#78349b;--accent-hover:#60247e;--bg:#f5eef9;--family-color:#8842ac;--family-scene:url(assets/families/c.webp)}
[data-family=D]{--accent:#945016;--accent-hover:#713b0d;--bg:#fff3e6;--family-color:#d57b28;--family-scene:url(assets/families/d.webp)}
[data-family=E]{--accent:#ac3638;--accent-hover:#87272a;--bg:#fff0ef;--family-color:#cb4b49;--family-scene:url(assets/families/e.webp)}
[data-family] .secondary{border-color:color-mix(in srgb,var(--accent) 36%,white)}
.result-hero,.profile-hero{background:var(--bg)}
.hero-copy{min-width:0}.hero-visual{max-width:560px}.archetype-portrait{height:390px;position:relative;isolation:isolate}
.archetype-portrait::before{content:"";position:absolute;inset:-12px -12px -8px;background-image:var(--family-scene);background-position:center;background-size:cover;opacity:.65;z-index:-1;border-radius:18px}
.archetype-portrait>img{width:auto;height:100%;max-width:100%;object-fit:contain;display:block}
.hero-angle img{width:auto;height:110px;max-width:100%;object-fit:contain}
.motto{font-style:italic;font-size:clamp(19px,2vw,25px);line-height:1.65;text-align:center;color:var(--accent);margin:24px 0;padding:8px 12px;font-weight:400}
.family-title{font-size:17px;line-height:1.5;margin-bottom:16px}.hero-split .lead{font-size:19px;line-height:1.8}
#result-description{text-align:center;margin-inline:auto}
.alternative-portrait{width:100px;height:120px;object-fit:contain;mix-blend-mode:normal;flex:none}
.alternative>div{flex:1;min-width:0}.alternative{gap:18px}.alternative b{font-size:20px}
.share-dialog{background:var(--surface)}.share-dialog-header{background:var(--bg)}.share-dialog-header h2{color:var(--ink)}
.share-preview-wrap{background:var(--bg);border-color:color-mix(in srgb,var(--accent) 20%,white)}
.share-quote{font-size:20px;margin:0 32px 20px;padding:0 12px}.caption-label{display:block;font-weight:600;margin:20px 0 8px;font-size:15px}
.share-caption-preview{display:block;resize:none;width:100%;min-height:190px;max-height:360px;overflow:auto;border:1px solid var(--border);border-radius:10px;padding:14px;background:var(--bg);color:var(--ink);font-size:14px;line-height:1.75}
.share-caption{margin-top:12px}.profile-footer>#profile-share-footer{margin-bottom:26px}
@media(max-width:760px){
  :root{--header-height:80px}.brand-logo{width:40px;height:40px}.site-header .header-inner{gap:1px}.site-header nav{font-size:13px;gap:24px}.brand{font-size:17px}
  .result-hero,.profile-hero{padding:18px 0 34px}.hero-split{display:grid;grid-template-areas:"eyebrow" "title" "family" "art" "quote" "description" "actions" "profile" "close";gap:8px;min-height:0}
  .hero-copy{display:contents}.hero-label{grid-area:eyebrow;font-size:12px;margin:0}.hero-split h1{grid-area:title;font-size:clamp(28px,8vw,38px);line-height:1.2;margin:0;overflow-wrap:normal}
  .family-title{grid-area:family;font-size:clamp(11px,3.2vw,14px);white-space:nowrap;line-height:1.5;margin:0}
  .hero-emblem{grid-area:art;margin:4px 0 0}.hero-visual{max-width:480px}.archetype-portrait{height:225px}
  .archetype-portrait::before{inset:0 0 -4px;border-radius:12px}.hero-triad{margin-top:8px;gap:6px}.hero-angle img{width:auto;height:88px;max-width:100%;object-fit:contain}
  .hero-angle figcaption{font-size:12px;line-height:1.5}.hero-angle small{font-size:10px;line-height:1.5}
  .hero-split .motto{grid-area:quote;margin:12px 0 8px;padding:0 6px;font-size:19px;line-height:1.6}
  .hero-split .lead{grid-area:description;font-size:16px;line-height:1.8;margin:0}
  .hero-share-actions{grid-area:actions;margin:10px 0 4px}.hero-share-actions button{min-height:48px}
  #winner-profile{grid-area:profile;font-size:14px}.hero-close-note{grid-area:close;margin:14px 0 0}.profile-match{grid-column:1;margin:6px 0}
  .profile-breadcrumb{margin-bottom:12px;font-size:12px}.alternative{gap:12px;padding:16px 12px;display:grid;grid-template-columns:80px minmax(0,1fr) 20px}.alternative-portrait{width:80px;height:100px;grid-column:1;grid-row:1 / span 2}.alternative>div{grid-column:2;grid-row:1}.alternative>span{grid-column:2;grid-row:2;white-space:normal}.alternative>.icon{grid-column:3;grid-row:1 / span 2}.alternative b{font-size:18px}.alternative small{font-size:12px}
  .share-quote{margin:0 16px 20px;font-size:18px}.share-caption-preview{min-height:205px;font-size:14px}.share-personal-summary{font-size:13px}
}
