/* Eiren · VNV canonical aesthetic refinement v1. Page-owned content only.
   Preserve poetic night-blue identity; no overrides of shared ecosystem chrome. */
:root{--r:7px;--r-small:7px;--serif:"Cinzel","Palatino Linotype",Georgia,serif;--sans:"Nunito","Brandon Grotesque","Avenir Next",Arial,sans-serif}
body{font-family:var(--sans);font-size:18px;line-height:1.68}
h1,h2,h3,.brand-copy strong,.section-label{font-family:var(--serif);font-weight:400}
.hero{min-height:0;padding:clamp(60px,7vw,95px) 0 clamp(54px,6vw,80px)}
.hero-inner{max-width:920px}
.hero .eyebrow{font:400 clamp(18px,2.6vw,33px)/1.35 var(--serif);letter-spacing:.055em;text-transform:none;color:#efdca5}
.hero h1{font:400 clamp(48px,7vw,66px)/1.15 var(--serif);letter-spacing:.025em;margin:15px 0 10px;color:#fff8e9}
.hero .role{font:400 clamp(18px,2.6vw,24px)/1.5 var(--sans);letter-spacing:.03em}
.hero .hero-copy{font-size:18px;line-height:1.75;max-width:790px;margin-top:22px}
.hero .signature{font-size:18px;margin-top:20px}
.hero-actions{gap:12px;align-items:stretch;margin-top:30px}
.hero-actions .button{min-width:175px}
:is(.button,button,input,textarea,select,.room,.mentor,.start-card,.welcome-card,.statement,.principle,.eiren-message,.eiren-chat-avatar){border-radius:7px}
:is(.button,button,input,textarea,select){font-family:var(--sans);font-size:16px;line-height:1.4}
:is(.button,button){min-height:44px;text-align:center}
.section{padding-block:clamp(44px,6vw,70px)}
.section-heading h2,.section h2{font:400 clamp(30px,4.3vw,44px)/1.27 var(--serif)}
.section-label,.section-copy,.room p,.mentor p,.principle span,.mentor .mentor-role,.mentor a,.room-links a,.eiren-chat-head p,.eiren-chat-status,.eiren-input-hint,.eiren-conversation-tools button,.footer-note,.footer-links a,.nav a,.brand-copy span{font-size:16px;line-height:1.6}
.room h3,.mentor h3,.start-card h3,.welcome-card h3{font-size:clamp(22px,2.5vw,33px);line-height:1.35}
.room-grid,.common-room,.learning-grid,.resource-grid{align-items:stretch;gap:17px}
.room,.mentor{display:flex;flex-direction:column;min-width:0}
.room-links,.mentor a{margin-top:auto}
:is(.room,.mentor,.start-card,.welcome-card,.statement){border-color:rgba(239,220,165,.26)}
.start-card,.welcome-card{min-width:0}
.eiren-compose-row,.eiren-conversation-tools{gap:10px}
#eirenMessages{max-width:100%;overflow-wrap:anywhere}
.eiren-message{max-width:94%;line-height:1.6}
.eiren-send{background:#202724;color:#fff8e9;border:1px solid #d8b96d}
.eiren-send:hover{background:#364039}
footer{background:#101d24;color:#fff8e9;font-size:16px}
.footer-grid{align-items:center;justify-content:center;flex-wrap:wrap;text-align:center}
.footer-note{color:#fff8e9}
.footer-links{justify-content:center}
@media(max-width:620px){.hero{padding:52px 0 48px}.hero-actions{flex-direction:column;align-items:stretch}.hero-actions .button{width:100%}.footer-grid{align-items:center}.footer-links{justify-content:center}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important}}


/* Literary workshop v2: refine Eiren's own content, not canonical VNV chrome. */
#begin .eiren-mode-row{display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:2px 0 8px}
#begin .eiren-mode-row label{font:400 18px/1.5 var(--sans);color:#fff8e9}
#begin #eirenConversationMode{appearance:auto;flex:1 1 220px;max-width:340px;min-height:44px;border:1px solid #786347;background:#fff8e9;color:#202724;padding:8px 11px;border-radius:7px;font:400 16px/1.4 var(--sans)}
#begin .eiren-mode-hint{font:400 16px/1.55 var(--sans);color:#f0e6d4;margin:0 0 12px;text-align:left}
#begin .eiren-chat-head{gap:14px}
#begin .eiren-chat-status{font:400 16px/1.5 var(--sans)}
#begin .eiren-compose{padding-bottom:15px}
#begin .eiren-compose-row textarea{font:400 18px/1.55 var(--sans)}
#begin .eiren-conversation-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:12px 18px}
#begin .eiren-conversation-tools button{width:100%;min-height:48px;font:400 16px/1.4 var(--sans)}
#begin #eirenMessages{scrollbar-gutter:stable;min-height:230px;max-height:min(55vh,560px)}
#begin .eiren-message{white-space:pre-wrap;overflow-wrap:anywhere}
#begin #eirenConversationStatus{font:400 16px/1.6 var(--sans);padding:4px 18px 17px}
@media(max-width:800px){#begin .eiren-conversation-tools{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:500px){#begin .eiren-conversation-tools{grid-template-columns:1fr}#begin .eiren-mode-row{align-items:stretch}#begin #eirenConversationMode{max-width:none}}

/* Chat contrast corrections: the composer is dark, so its labels must be cream. */
#begin .eiren-compose .eiren-mode-row label,
#begin .eiren-compose .prompt-label{color:#fff8e9}
#begin .eiren-compose .eiren-mode-hint,
#begin .eiren-compose .eiren-input-hint{color:#eee3d0}
#begin .eiren-chat-head h3{font-family:var(--serif);font-size:clamp(23px,2.2vw,33px);font-weight:400}
#eirenMessages p strong,#begin .eiren-input-hint,#begin .eiren-chat-status{font-size:16px}
#eirenMessages p{font-size:18px;line-height:1.65}
#eirenMessages{scroll-padding-bottom:18px}
@media(max-width:620px){#eirenMessages{height:min(48vh,460px)}#eirenMessages p{max-width:96%}}


/* Eiren chat 2026-11-13: contiguous feed/composer; one voice switch. */
#begin #eirenMessages{margin-bottom:0}
#begin .eiren-compose{padding:14px clamp(12px,2vw,22px) 14px}
#begin .eiren-compose .prompt-label{margin:0 0 9px}
#begin .eiren-compose .eiren-compose-row{display:flex;align-items:center;gap:10px}
#begin .eiren-compose-row textarea{flex:1 1 auto;min-width:0}
#begin .eiren-voice-toggle-slot{flex:0 0 auto;display:flex;align-items:center;justify-content:center}
#begin .eiren-voice-toggle-slot #eirenVoiceOnOff{min-height:48px;min-width:95px;width:auto;border-radius:7px;border:1px solid #b99556;background:#282637;color:#fff8e9;padding:8px 12px;font:400 16px/1.35 var(--sans);white-space:nowrap}
#begin .eiren-voice-toggle-slot #eirenVoiceOnOff[aria-pressed="true"]{background:#334b3d;border-color:#b99556;color:#fff8e9}
#begin .eiren-voice-toggle-slot #eirenVoiceOnOff:focus-visible{outline:3px solid #a76a16;outline-offset:3px}
#begin .eiren-compose .eiren-mode-row{margin:14px 0 7px}
#begin .eiren-compose .eiren-mode-hint{margin:0}
#begin .eiren-voice-dock{border-top:1px solid rgba(230,195,123,.24);background:#242136}
#begin #eirenVoiceDock #eiren-voice-controls{margin:0!important;border:0!important;border-radius:0;padding:16px clamp(12px,2vw,22px)!important;background:transparent;display:flex;flex-wrap:wrap;align-items:center;gap:10px}
#begin #eirenVoiceDock #eiren-voice-controls label{font:400 16px/1.5 var(--sans);color:#fff8e9}
#begin #eirenVoiceDock #eiren-voice-controls p{color:#f0e6d4}
#begin #eirenVoiceDock #eiren-voice-controls select{max-width:100%;flex:1 1 230px}
#begin #eirenVoiceDock #eiren-voice-controls button{flex:0 0 auto;min-height:44px;font:400 16px/1.35 var(--sans)}
@media(max-width:620px){
 #begin .eiren-compose .eiren-compose-row{flex-wrap:wrap}
 #begin .eiren-compose-row textarea{flex:1 1 100%;min-height:92px}
 #begin .eiren-voice-toggle-slot{flex:1 1 auto;justify-content:flex-start}
 #begin .eiren-voice-toggle-slot #eirenVoiceOnOff{min-width:120px}
 #begin .eiren-compose-row .eiren-send{flex:0 0 auto}
 #begin #eirenVoiceDock #eiren-voice-controls select{flex:1 1 100%}
}
