/* Transformation theme. Local/system font fallbacks; no added font requests. */
:root{--paper:#FAF6EF;--ink:#34312D;--accent:#9C4E3D;--line:#D8CBBF;--soft:#EEE5DC;--sky:#EAF2F6;--cta:#B95540;--cta-hover:#934331;--muted:#67584f}
body,header{background:var(--paper);color:var(--ink)}
.trial{background:var(--soft);color:#594337}
button.primary{background:var(--cta);border-color:var(--cta);color:#fff}
button.primary:hover{background:var(--cta-hover);border-color:var(--cta-hover)}
.eyebrow,.number{color:var(--accent)}
main.welcome{padding-top:48px}
.portrait-hero{grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:5%;align-items:center}
.hero-copy>.eyebrow{margin:0 0 16px}
.hero-script{font-family:"Snell Roundhand","Apple Chancery","Segoe Script",cursive;font-weight:400;font-size:clamp(38px,5.2vw,72px);line-height:1.3;letter-spacing:0;color:var(--accent);margin:0 0 12px;overflow-wrap:normal}
.hero-copy h1{font-family:"Yu Mincho","Hiragino Mincho ProN",Georgia,serif;font-size:clamp(32px,3.6vw,51px);line-height:1.6;letter-spacing:.02em;margin:0 0 18px}
.hero-theme{font-family:"Yu Mincho","Hiragino Mincho ProN",Georgia,serif;font-size:clamp(17px,1.55vw,22px);line-height:1.9;margin:0 0 18px;color:var(--accent)}
.hero-description{font-size:15px;line-height:1.95;margin-bottom:24px}
.hero-intro-start{font-size:16px;min-width:0;max-width:100%;padding:15px 24px}
.hero-photo{margin:0;min-width:0}.hero-photo img{height:540px;width:100%;object-fit:cover;object-position:center;border-radius:2px;box-shadow:none}
.hero-photo figcaption{font-family:inherit;font-style:normal;font-size:11px;line-height:1.7;color:var(--muted)}

.entry-flow{background:var(--soft);border-color:var(--line);box-shadow:none}
.start-card,.begin-section,.guide-callout,.prompt-panel{box-shadow:none;border-color:var(--line)}
.welcome .edition-picker button.edition-card{background:#fffdf9;border-color:var(--line)}
.welcome .edition-picker button.edition-card[aria-pressed=true]{background:var(--soft);border-color:var(--accent);box-shadow:0 3px 0 #be9485}
.welcome .edition-picker button.edition-card:hover{background:#f3e6dd;border-color:var(--accent)}
.save-option,.notice,.context{background:var(--soft)}
aside{background:#f4ede5}nav a[aria-current=page]{background:var(--soft);color:var(--accent)}
main:not(.welcome){background:var(--paper)}
main:not(.welcome) .edition-picker button.edition-card{box-shadow:none;border-radius:3px}
#question-heading{color:var(--ink)}#answer{background:#fffdf9;box-shadow:none}
.progress progress::-webkit-progress-value{background:var(--accent)}.progress progress::-moz-progress-bar{background:var(--accent)}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible,#edition-selection:focus-visible{outline-color:var(--accent)}
@media(max-width:1000px) and (min-width:761px){.hero-script{font-size:48px}.hero-copy h1{font-size:34px}.hero-photo img{height:520px}.hero-intro-start{font-size:14px;padding:14px 16px}}
@media(max-width:760px){
 main.welcome{padding-top:26px}.portrait-hero{display:flex;gap:0}.hero-copy{display:contents}
 .hero-copy>.eyebrow{order:0;margin-bottom:14px}.hero-script{order:1;font-size:clamp(36px,10.2vw,56px);margin:0 0 8px}
 .hero-copy h1{order:2;font-size:clamp(30px,8vw,40px);line-height:1.6;margin:0 0 14px}
 .hero-theme{order:3;font-size:16px;margin:0 0 20px}.hero-photo{order:4;margin:0 0 20px;width:100%}.hero-photo img{height:210px;object-position:center}.hero-photo figcaption{font-size:10px;text-align:left;margin-top:6px}
.hero-description{order:5;font-size:14px;margin:0 0 20px}
 .hero-intro-start{order:6;font-size:15px;width:100%;min-height:56px;padding:14px}.hero-caption{order:7;font-size:11px;margin-top:12px}
}
@media(max-width:360px){.hero-script{font-size:35px}.hero-copy h1{font-size:29px}.hero-theme{font-size:14px}.hero-photo img{height:180px}.hero-intro-start{font-size:14px}}

/* Desktop: preserve the full B6 frame so the person and aircraft remain visible. */
@media(min-width:761px){.hero-photo img{height:auto;aspect-ratio:1672/941;object-fit:contain;object-position:center}}
