/* Original section palettes, geometry, controls and dialog colors are preserved. */
:root{--selective-serif:'Iowan Old Style','Palatino Linotype','Book Antiqua',Georgia,serif}
body.evening{background:#241b18}
body.evening #susi-poems{--paper:#241b18;--ink:#f0e7d5;--quiet:#bdab95;--rule:#584638;--accent:#efc148;color-scheme:dark}
#susi-poems h1,#susi-poems .sp-brand,#susi-poems .sp-poem-title,#susi-poems .sp-atlas-head h2,#susi-poems .sp-dialog-title{font-family:var(--selective-serif)}
#susi-poems .sp-brand small{font-family:'Helvetica Neue',Arial,sans-serif}
#susi-poems .light-toggle{display:flex;align-items:center;gap:8px;flex-shrink:0;border:1px solid #d4c8b855;border-radius:24px;color:#f2eee5;background:transparent;padding:10px 13px;min-height:44px;font-size:11px;cursor:pointer}
.light-orb{display:block;width:13px;height:13px;background:#f4e3bd;border-radius:50%;box-shadow:0 0 0 3px #f4e3bd18}
.evening .light-orb{background:#ae784a;box-shadow:inset -4px -1px 0 #f4e3bd}
#susi-poems .sp-music-banner{margin:6px 0 28px}
#susi-poems .sp-music-index{display:none}
#susi-poems .sp-result{max-width:840px;width:calc(100% - 40px)}
#susi-poems .sp-result-grid{display:grid;grid-template-columns:minmax(0,1fr) 185px;align-items:start;gap:30px}
#susi-poems .sp-result-cover{margin:6px 0 0}
#susi-poems .sp-result-cover img{display:block;width:100%;height:auto;max-height:250px;object-fit:contain;object-position:left top}
#susi-poems .sp-result-cover figcaption{font:10px 'Helvetica Neue',Arial,sans-serif;letter-spacing:1.4px;color:#d4c8b8;margin-top:10px}
#susi-poems .sp-result-cover a{display:block}
#susi-poems .sp-result-actions{flex-wrap:wrap;gap:15px}
#susi-poems .sp-result-route b{white-space:normal}
#susi-poems .sp-result button:focus-visible,#susi-poems .sp-result a:focus-visible{outline-color:#f4e3bd}
#susi-poems .sp-seven-progress{font-variant-numeric:tabular-nums}
#susi-poems .sp-select option{background:var(--paper);color:var(--ink)}
/* Gateway: the exact Fibonacci paths are filled with individual golden surfaces. */
.poems-gateway #susi-poems main{padding:0 40px}
.gateway{position:relative;max-width:1480px;margin:auto;padding-top:32px}
.gateway-kicker{color:var(--quiet);font-size:10px;letter-spacing:1.8px;text-transform:uppercase;margin:0}
.gateway-main{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;min-height:680px;gap:2vw}
.gateway-copy{position:relative;z-index:1;padding:36px 0}
.gateway-prelude{color:var(--quiet);font-size:12px;margin:0 0 30px}
#susi-poems .gateway h1{font-size:clamp(56px,6.7vw,106px);line-height:1.03;letter-spacing:-.055em;max-width:790px}
.gateway h1 em{font-weight:400;color:#ae784a}
.evening .gateway h1 em{color:#ddb676}
.gateway-intro{font:clamp(18px,1.5vw,23px)/1.45 var(--selective-serif);margin:27px 0 33px}
#susi-poems .gateway-start{display:inline-flex;align-items:center;justify-content:space-between;gap:65px;min-height:54px;background:#fff2cc;color:#33241e;border:1px solid #cba226;padding:14px 20px;text-decoration:none;border-radius:2px;transition:background .2s}
#susi-poems .gateway-start:hover{background:#f8e5b5}
.gateway-footnote{font-size:11px;color:var(--quiet);margin:15px 0 0}
.gateway-resume{display:inline-block;margin-top:18px;font-size:12px}
.gateway-resume[hidden]{display:none}
.gold-stage{height:650px;display:flex;align-items:center;justify-content:center;min-width:0;isolation:isolate}
.gold-fibonacci{width:100%;max-width:none;flex-shrink:0;overflow:visible;transform:rotate(-90deg);filter:drop-shadow(15px 6px 16px #33241e20)}
.gold-cell{cursor:pointer;outline:none}
.gold-cell>path{stroke:#634936;stroke-width:.65;stroke-linejoin:round}
.gold-cell .gold-active{opacity:0;transition:opacity 650ms cubic-bezier(.2,.65,.2,1);pointer-events:none}
.gold-cell:hover .gold-active,.gold-cell:focus-visible .gold-active{opacity:1}
.gold-cell .gold-edge{stroke:#f4e3bd;stroke-opacity:.65;stroke-width:1.05;pointer-events:none}
.gold-cell:focus-visible .gold-edge{stroke:#fff2cc;stroke-opacity:1;stroke-width:5}
.gateway-bottom{display:flex;justify-content:space-between;align-items:center;gap:25px;border-top:1px solid var(--rule);padding:23px 0;color:var(--quiet);font-size:10px;letter-spacing:.7px}
.gateway-bottom p{font:italic 17px var(--selective-serif);letter-spacing:0;margin:0}
.journey-intro{display:grid;grid-template-columns:1fr 1fr;gap:8%;padding:90px 0}
#susi-poems .journey-intro h2{font:42px/1.15 var(--selective-serif);letter-spacing:-1.4px;margin-top:25px}
.journey-intro h2 em{color:var(--accent)}
.journey-intro ol{list-style:none;margin:0;padding:0}
.journey-intro li{display:flex;gap:25px;padding:0 0 25px;margin-bottom:25px;border-bottom:1px solid var(--rule)}
.journey-intro li:last-child{border:0;margin:0;padding:0}
.journey-intro li>span{font-size:11px;color:var(--accent);padding-top:5px}
.journey-intro h3{font:24px var(--selective-serif);margin:0 0 10px}
.journey-intro li p{font-size:13px;line-height:1.75;color:var(--quiet);max-width:450px;margin:0}
.poem-index{padding-bottom:85px}
.poem-index-heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-bottom:25px}
.poem-index-heading span{font-size:11px;color:var(--quiet)}
.poem-index-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:5%}
.poem-index-grid>a{display:grid;grid-template-columns:25px 1fr 20px;gap:12px;align-items:center;padding:22px 0;border-bottom:1px solid var(--rule);min-height:85px;text-decoration:none}
.poem-index-grid>a>span:first-child{font-size:10px;color:var(--quiet);grid-row:1/3}
.poem-index-grid strong{font:20px/1.25 var(--selective-serif)}
.poem-index-grid small{grid-column:2;grid-row:2;font-size:10px;color:var(--quiet);margin-top:-6px}
.poem-index-grid>a>span:last-child{grid-column:3;grid-row:1/3}
.poem-index-grid>a:hover strong{color:var(--accent)}
@media(min-width:1650px){.gateway-main{min-height:760px}.gold-stage{height:700px}.gold-fibonacci{width:105%}}
@media(max-width:1100px){#susi-poems .sp-header-label{display:none}.gold-stage{height:530px}.gateway-main{min-height:570px}#susi-poems .gateway h1{font-size:clamp(52px,6.6vw,78px)}#susi-poems .sp-site-nav{gap:20px}}
@media(max-width:700px){#susi-poems .sp-header{gap:12px;flex-wrap:wrap}#susi-poems .sp-brand-link{margin-right:auto}#susi-poems .sp-menu-toggle{margin:0}#susi-poems .light-toggle{padding:9px;font-size:10px;gap:6px}#susi-poems .sp-result{width:calc(100% - 24px);max-height:92dvh}#susi-poems .sp-result .sp-dialog-inner{padding:22px}#susi-poems .sp-result-grid{grid-template-columns:minmax(0,1fr) 105px;gap:16px}#susi-poems .sp-result-title{font-size:36px}#susi-poems .sp-result-reason{font-size:15px}#susi-poems .sp-result-actions{flex-direction:column;align-items:flex-start}#susi-poems .sp-result-cover img{max-height:145px}#susi-poems .sp-result-route{font-size:20px}.poems-gateway #susi-poems main{padding:0 24px}.gateway{padding-top:26px}.gateway-kicker{font-size:8px;letter-spacing:1px}.gateway-main{grid-template-columns:1fr;gap:0;min-height:0}.gateway-copy{padding:38px 0 8px}.gateway-prelude{font-size:11px;margin-bottom:20px}#susi-poems .gateway h1{font-size:clamp(46px,12vw,76px);letter-spacing:-.055em}.gateway-intro{font-size:19px;max-width:290px;margin:22px 0 26px}.gateway-footnote{font-size:10px}.gold-stage{height:410px;margin:0 0 10px}.gold-fibonacci{width:100%;max-width:390px}.gateway-bottom{align-items:flex-start;flex-direction:column;gap:12px;padding:20px 0}.journey-intro{grid-template-columns:1fr;gap:36px;padding:60px 0}#susi-poems .journey-intro h2{font-size:36px}.poem-index-heading{display:block}.poem-index-heading span{display:block;margin-top:15px}.poem-index-grid{grid-template-columns:1fr}.poem-index{padding-bottom:55px}}
@media(max-width:420px){.poems-gateway #susi-poems main{padding:0 18px}.gold-stage{height:365px}#susi-poems .sp-result-grid{display:block}#susi-poems .sp-result-cover{display:flex;align-items:center;gap:15px;margin:25px 0 0}#susi-poems .sp-result-cover a{width:110px;flex-shrink:0}#susi-poems .sp-result-cover img{max-height:140px}#susi-poems .sp-result-cover figcaption{margin:0}#susi-poems .sp-result-actions{flex-direction:row;align-items:center}#susi-poems .sp-result .sp-result-logo{font-size:55px}#susi-poems .sp-result-route{font-size:18px}}
@media(prefers-reduced-motion:reduce){.gold-cell .gold-active,#susi-poems .gateway-start{transition:none}html{scroll-behavior:auto}}

/* Give the mobile start action breathing room before the artwork. */
@media(max-width:700px){.poems-gateway .gateway-main{row-gap:12.5px}}

/* Mobile Fibonacci stays horizontal, with its original proportions. */
@media(max-width:700px){.poems-gateway .gold-stage{height:auto;min-height:0;margin:22px 0 18px}.poems-gateway .gold-fibonacci{transform:none;max-width:none;width:100%;height:auto;aspect-ratio:786 / 486}}
/* Desktop quiz entrance: show the original landscape composition. */
@media(min-width:701px){
 .poems-gateway .gateway-main{grid-template-columns:1fr 1.35fr;gap:4vw;min-height:clamp(420px,40vw,600px);padding:24px 0}
 .poems-gateway .gold-stage{height:auto;min-height:0}
 .poems-gateway .gold-fibonacci{transform:none;width:100%;height:auto;max-width:none;aspect-ratio:786 / 486}
}
