/* Experience pages share the homepage's palette, typography and site shell. */
.experience-site { --sun:var(--yellow); --line:1px solid #deded0; }

.experience-site h1,.experience-site h2,.experience-site h3 { overflow-wrap:anywhere; letter-spacing:.025em; }
.experience-site .section-type { letter-spacing:-.045em; }
.experience-site h2 { font-size:clamp(24px,2.3vw,32px); line-height:1.85; }
.experience-site h3 { font-size:20px; line-height:1.85; }
.experience-site :where(main) p { font-size:15px; line-height:2.1; }
.experience-site .eyebrow { font-size:12px; line-height:1.6; }
.experience-site .quiet-note { font-size:12px; color:var(--muted); }
.experience-hero { position:relative; padding:66px 0 74px; }
.hero-grid { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); align-items:center; gap:30px; }
.hero-grid>* { min-width:0; }
.experience-hero-copy { position:relative; z-index:1; }
.experience-type { font:900 clamp(64px,7.6vw,116px)/.94 'DM Sans',sans-serif; letter-spacing:-.055em; margin:24px 0 32px; }
.experience-type span { display:block; }
.experience-hero h1 { font-size:clamp(25px,2.3vw,34px); line-height:1.85; margin:0 0 20px; }
.experience-hero .hero-lead { max-width:38em; font-size:15px; font-weight:400; line-height:2.2; }
.experience-hero .readlink { margin-top:23px; }
.hero-visual { position:relative; min-width:0; }
.hero-visual img { width:100%; height:auto; object-fit:contain; }
.hero-visual .spark { width:32px; height:32px; top:0; left:7%; }
.hero-visual .ring { width:32px; height:32px; border-width:5px; bottom:4%; right:8%; }
.hero-visual .dots { width:42px; height:42px; top:9%; right:0; opacity:.35; }
.quiz-hero .experience-type { font-size:clamp(58px,6.5vw,100px); }
.title-prefix,.title-topic { display:inline-block; white-space:nowrap; }

/* Open editorial layouts with small yellow accents and fine patterned rules. */
.experience-intro,.diagnoses-intro { padding:88px 0; }
.experience-intro>h2,.diagnoses-intro>h2 { margin:22px 0 18px; }
.experience-intro>p,.diagnoses-intro>p { max-width:58em; color:var(--muted); }
.research-routes { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:26px; margin-top:48px; }
.research-route { display:flex; position:relative; flex-direction:column; align-items:start; gap:16px; min-height:174px; padding:22px 0 18px; border-top:1px solid #d8d8cb; transition:color .2s; }
.research-route span:first-child { font:600 11px/1.6 'DM Sans',sans-serif; letter-spacing:1px; }
.research-route strong { font-size:17px; line-height:1.85; font-weight:700; }
.research-route span:last-child { display:grid; place-items:center; align-self:end; margin-top:auto; width:32px; height:32px; background:var(--pale); border-radius:50%; font:400 23px/1 'DM Sans',sans-serif; transition:background .2s; }
.research-route:hover span:last-child { background:var(--yellow); }
.research-route:hover strong { text-decoration:underline; text-underline-offset:5px; }
.research-tools-wrap { padding:42px 0; background:var(--pale); }
.section-heading { display:flex; align-items:end; justify-content:space-between; gap:24px; }
.section-heading h2 { margin-top:10px; }
.section-heading #research-count { font-size:13px; white-space:nowrap; }
.research-filters { display:grid; grid-template-columns:2fr 1.35fr auto; align-items:end; gap:20px; margin-top:26px; }
.research-filters label { display:grid; gap:8px; font-size:12px; font-weight:700; }
.research-filters input,.research-filters select { display:block; min-width:0; width:100%; min-height:48px; padding:10px 13px; border:1px solid #dadacb; background:white; color:var(--ink); border-radius:0; font-size:14px; }
.research-filters button { min-height:48px; padding:11px 22px; background:var(--ink); color:white; font-size:13px; font-weight:700; }
.research-empty { padding-top:24px; }
.research-category { padding:76px 0 32px; }
.research-category-head { display:flex; align-items:center; gap:24px; padding-bottom:28px; margin-bottom:32px; background:repeating-linear-gradient(130deg,var(--yellow) 0 3px,transparent 3px 9px) 0 100%/100% 7px no-repeat; }
.category-number { display:grid; place-items:center; flex-shrink:0; width:74px; height:74px; border-radius:50%; background:var(--yellow); font:600 32px/1 'DM Sans',sans-serif; }
.research-category-head .eyebrow { margin-bottom:7px; }
.research-category-head h2 { font-size:26px; }
.category-spark { color:var(--yellow); margin-left:auto; font-size:45px; line-height:1; }
.study-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; gap:12px 5%; }
.study-card { min-width:0; padding:25px 0 32px; border-bottom:1px solid #deded0; scroll-margin-top:28px; }
.study-card-top { display:flex; justify-content:space-between; align-items:center; margin-bottom:17px; font:700 11px/1.5 'DM Sans',sans-serif; letter-spacing:1.4px; }
.study-card-mark { color:var(--yellow); font-size:24px; line-height:1; }
.study-card h3 { font-size:21px; margin-bottom:18px; }
.study-card .study-summary { font-size:14px; line-height:2.1; }
.study-card details { margin-top:23px; }
.study-card summary { display:flex; justify-content:space-between; align-items:center; gap:12px; list-style:none; font-size:12px; font-weight:700; padding:8px 0; }
.study-card summary::-webkit-details-marker { display:none; }
.study-card summary>span { font-size:20px; transition:rotate .2s; }
.study-card details[open] summary>span { rotate:90deg; }
.study-evidence { display:grid; gap:20px; background:var(--pale); padding:24px; margin-top:12px; }
.study-evidence strong { font-size:12px; }
.study-evidence p { font-size:13px; line-height:1.95; overflow-wrap:anywhere; margin-top:6px; }
.study-evidence a { text-decoration:underline; text-underline-offset:3px; }
.external { white-space:nowrap; }
.research-editorial { display:grid; grid-template-columns:.8fr 1.2fr; gap:24px 70px; padding-block:80px; margin-top:40px; background:repeating-linear-gradient(130deg,var(--yellow) 0 3px,transparent 3px 9px) 0 0/100% 7px no-repeat; }
.research-editorial .eyebrow { grid-column:1/-1; }
.research-editorial div>p+p { margin-top:18px; }
.research-editorial a { display:inline-block; font-size:13px; font-weight:700; margin-top:22px; text-decoration:underline; text-underline-offset:6px; }

/* Diagnosis cards keep their own illustrations within the homepage's rhythm. */
.diagnosis-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:58px 6%; margin:48px 0 0; padding-bottom:40px; }
.diagnosis-tile { display:flex; flex-direction:column; position:relative; min-width:0; }
.diagnosis-tile:nth-child(even) { transform:translateY(48px); }
.diagnosis-tile img { order:-1; width:100%; aspect-ratio:1.5; object-fit:contain; margin-bottom:26px; transition:transform .3s; }
.diagnosis-tile:hover img { transform:translateY(-6px); }
.diagnosis-tile>div { position:relative; padding-top:22px; background:repeating-linear-gradient(130deg,var(--yellow) 0 3px,transparent 3px 9px) 0 0/100% 6px no-repeat; }
.diagnosis-tile .tile-number { float:right; display:grid; place-items:center; width:46px; height:46px; border-radius:50%; background:var(--yellow); font:600 20px/1 'DM Sans',sans-serif; }
.diagnosis-tile .tile-word { font:900 clamp(32px,3.8vw,56px)/1 'DM Sans',sans-serif; letter-spacing:-.05em; margin:0 0 20px; }
.diagnosis-tile h2 { font-size:clamp(22px,2vw,28px); line-height:1.8; margin-bottom:14px; }
.diagnosis-tile p:not(.tile-word) { font-size:14px; color:var(--muted); }
.diagnosis-tile strong { display:inline-block; font-size:12px; font-weight:700; padding:10px 0; margin-top:14px; border-bottom:1px solid var(--ink); }

/* Question and result screens use the same white, pale yellow and ink palette. */
.quiz-intro { padding:72px 0 50px; }
.quiz-intro h2 { margin:18px 0; }
.quiz-intro>p { max-width:70ch; }
.quiz-intro .quiet-note { margin-top:17px; }
.quiz-stage { padding:52px 0 72px; background:var(--pale); }
.quiz-panel { width:100%; margin:auto; padding:clamp(26px,4vw,56px); background:white; }
.quiz-progress { display:flex; justify-content:space-between; gap:10px; font:700 11px/1.6 'DM Sans',sans-serif; letter-spacing:.7px; }
.progress-track { height:5px; background:#f0f0e8; margin:18px 0 32px; }
.progress-track span { display:block; background:var(--yellow); height:100%; transition:width .25s; }
.quiz-panel .quiz-question { font-size:clamp(20px,2.3vw,28px); line-height:1.85; margin-bottom:16px; }
.quiz-question:focus,#result-title:focus { outline:0; }
.quiz-panel .question-help { font-size:13px; color:var(--muted); }
.answer-list { display:grid; gap:12px; margin:28px 0; }
.answer-option { display:block; position:relative; cursor:pointer; }
.answer-option input { position:absolute; opacity:0; width:1px; height:1px; }
.answer-option span { display:flex; align-items:center; gap:14px; padding:17px 20px; border:1px solid #dadacb; background:white; font-size:14px; font-weight:500; }
.answer-option span::before { content:''; flex:0 0 17px; height:17px; border:1px solid #a7a79c; border-radius:50%; background:white; }
.answer-option input:checked+span { border-color:var(--ink); background:var(--pale); }
.answer-option input:checked+span::before { background:var(--ink); box-shadow:inset 0 0 0 4px var(--yellow); border-color:var(--ink); }
.answer-option input:focus-visible+span { outline:3px solid #315ccc; outline-offset:4px; }
.quiz-actions,.result-actions { display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; align-items:center; }
.quiz-actions button,.result-actions button { padding:12px 21px; border:1px solid #deded0; background:white; border-radius:30px; font-size:13px; font-weight:700; min-height:46px; }
.quiz-actions .next-button,.result-actions .restart-button { background:var(--ink); color:white; border-color:var(--ink); }
.quiz-actions .reset-button { border-color:transparent; font-size:12px; color:var(--muted); }
.quiz-actions button:disabled { opacity:.4; cursor:default; }
.quiz-result { padding-bottom:72px; }
.result-banner { padding:70px 0; background:var(--pale); }
.result-banner-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.1fr); gap:45px; align-items:center; }
.result-banner h2 { margin:22px 0; }
.result-banner img { width:100%; max-height:500px; object-fit:contain; mix-blend-mode:multiply; }
.result-banner .result-lead { margin-bottom:22px; }
.result-body { padding-top:60px; }
.result-body>h2 { margin:17px 0 24px; }
.result-body .score-note { font-size:13px; background:var(--pale); padding:22px; }
.score-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px 40px; margin:32px 0; }
.score-item { padding:19px 0; border-bottom:1px solid #deded0; }
.score-item header { display:flex; justify-content:space-between; gap:10px; font-size:14px; font-weight:700; }
.score-track { height:8px; background:#f2f2e9; margin:15px 0 10px; }
.score-track span { display:block; height:100%; background:var(--yellow); }
.score-item p { font-size:11px; color:var(--muted); }
.result-guidance { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:36px; margin:48px 0; }
.result-guidance article { padding:26px 0; background:repeating-linear-gradient(130deg,var(--yellow) 0 3px,transparent 3px 9px) 0 0/100% 6px no-repeat; }
.result-guidance h3 { font-size:21px; margin-top:14px; }
.result-guidance ul { font-size:14px; line-height:2; }
.result-actions { justify-content:start; margin:30px 0 20px; }
.result-actions a { font-size:13px; font-weight:700; }
.quiz-evidence { padding:64px 0 76px; }
.quiz-evidence h2 { margin:18px 0; }
.quiz-evidence>p { max-width:80ch; }
.quiz-evidence ul { font-size:14px; line-height:2.2; }
.quiz-evidence a { text-decoration:underline; text-underline-offset:5px; }

@media(max-width:1100px) {
  .hero-grid { grid-template-columns:minmax(0,1fr) minmax(0,1.05fr); gap:20px; }
  .experience-type { font-size:clamp(62px,8vw,88px); }
  .experience-hero h1 { font-size:26px; }
  .experience-hero .hero-lead { font-size:14px; }
  .experience-hero .hero-lead br { display:none; }
  .research-routes { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .diagnosis-tile h2 { font-size:23px; }
}
@media(max-width:760px) {
  
  .experience-hero { padding:38px 0 50px; }
  .hero-grid { grid-template-columns:minmax(0,1fr); gap:20px; }
  .experience-hero-copy { display:contents; }
  .experience-hero-copy>.eyebrow { order:1; }
  .hero-grid>.hero-visual { order:2; }
  .experience-hero-copy>.experience-type { order:3; position:relative; z-index:1; }
  .experience-hero-copy>h1 { order:4; margin:0; }
  .experience-hero-copy>.hero-lead { order:5; }
  .experience-hero-copy>.readlink { order:6; justify-self:start; margin-top:0; }
  .experience-type,.quiz-hero .experience-type { font-size:clamp(58px,12vw,88px); margin:-38px 0 8px; }
  .experience-hero h1 { font-size:24px; }
  .hero-visual { max-width:600px; width:100%; margin:auto; }
  .hero-visual .dots { top:0; }
  .experience-intro,.diagnoses-intro { padding:62px 0; }
  .experience-site :where(main) p { font-size:14px; }
  .experience-site .eyebrow { font-size:11px; }
  .research-routes { grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px 24px; margin-top:30px; }
  .research-route { min-height:158px; }
  .research-route strong { font-size:15px; }
  .research-filters { grid-template-columns:1fr 1fr; gap:16px; }
  .research-filters label:first-child { grid-column:1/-1; }
  .research-filters button { font-size:12px; padding-inline:10px; }
  .research-category { padding:54px 0 18px; }
  .research-category-head { gap:16px; margin-bottom:15px; }
  .category-number { width:52px; height:52px; font-size:23px; }
  .research-category-head h2 { font-size:21px; }
  .category-spark { display:none; }
  .study-grid { grid-template-columns:minmax(0,1fr); gap:0; }
  .study-card h3 { font-size:19px; }
  .study-evidence { padding:20px; }
  .research-editorial { grid-template-columns:minmax(0,1fr); gap:24px; padding-block:60px; margin-top:15px; }
  .diagnosis-grid { grid-template-columns:minmax(0,1fr); gap:48px; padding:0; margin-top:32px; }
  .diagnosis-tile:nth-child(even) { transform:none; }
  .diagnosis-tile .tile-word { font-size:42px; }
  .diagnosis-tile h2 { font-size:24px; }
  .diagnosis-tile img { margin-bottom:20px; }
  .quiz-intro { padding:54px 0 38px; }
  .quiz-stage { padding:28px 0 42px; }
  .quiz-panel { padding:26px 20px; }
  .quiz-progress { font-size:10px; letter-spacing:0; flex-wrap:wrap; }
  .quiz-actions { gap:10px; }
  .quiz-actions button { padding:11px 14px; font-size:12px; }
  .quiz-actions .reset-button { order:3; width:100%; }
  .answer-option span { padding:15px 13px; font-size:13px; }
  .result-banner-grid,.score-grid,.result-guidance { grid-template-columns:minmax(0,1fr); }
  .result-banner { padding:48px 0; }
  .result-banner-grid { gap:28px; }
  .result-banner img { max-height:320px; }
  .result-body { padding-top:42px; }
  .result-guidance { gap:10px; }
  .quiz-evidence { padding:46px 0; }
}
@media(max-width:380px) {
  .experience-type,.quiz-hero .experience-type { font-size:53px; }
  .experience-hero h1,.diagnosis-tile h2 { font-size:21px; }
  .research-filters { grid-template-columns:minmax(0,1fr); }
  .section-heading { align-items:start; flex-direction:column; gap:10px; }
  .quiz-panel { padding-inline:15px; }
}
@media(prefers-reduced-motion:reduce) {
  .experience-site *, .experience-site *::before, .experience-site *::after { scroll-behavior:auto!important; transition:none!important; animation:none!important; }
}
