/* Expanded personal writing stays within the original editorial popup layout. */
#story-dialog{width:min(1240px,calc(100vw - 36px))}
#story-dialog .dialog-layout{grid-template-columns:minmax(230px,.6fr) minmax(0,1.4fr)}
#story-dialog .dialog-copy{max-width:820px}
.story-tools{margin:25px 0 38px;padding:16px 18px;border:1px solid #c9c7b8;background:#e9e7dd}
.story-tools label{display:block;margin-bottom:8px;font-size:11px;font-weight:800;color:var(--forest)}
.story-tools select{display:block;width:100%;padding:11px;border:1px solid #8a9a8e;background:var(--paper-bright);color:var(--ink);font:13px var(--sans)}
.story-tools select:focus-visible{outline:3px solid var(--forest);outline-offset:3px}
.story-chapter{position:relative;margin:0 0 36px;padding-top:20px;border-top:1px solid #cecdbd;scroll-margin-top:20px}
.story-chapter-number{display:block;color:#a54132;font-size:10px;font-weight:850;letter-spacing:.12em;margin-bottom:10px}
.dialog-copy .story-chapter h3{font-size:1.4rem;letter-spacing:-.035em;margin:0 0 18px;line-height:1.15}
.dialog-copy .story-chapter p{font-size:.96rem;line-height:1.85;margin-bottom:17px}
.health-detail{padding:28px 0 18px;border-top:1px solid #cecdbd}
.dialog-copy .health-detail h3{margin:0 0 8px;font-size:1.45rem;line-height:1.15}
.dialog-copy .health-age{font-size:.7rem;color:#a54132;font-weight:800;margin-bottom:20px}
.dialog-copy .health-detail p:not(.health-age){font-size:.93rem;line-height:1.78;margin-bottom:18px}
.dialog-copy .health-detail p>strong{color:var(--forest)}
.health-detail small{display:inline-block;white-space:nowrap;margin-left:4px;font-size:10px}
.health-detail small a{color:#1c6049}
.work-card p{font-size:.74rem;line-height:1.55}
.work-card .poem-content-note{font-size:.67rem;color:#d7ded6}
.dialog-copy .poem-content-note{color:#53675d}
.gallery-frame,.look-card{cursor:default}
.gallery-frame img{filter:none}
.lookbook-grid .look-card img{transform:scale(1);object-fit:cover;object-position:50% 24%}
.extra-looks-grid .look-card img{object-fit:cover;object-position:50% 25%}
.look-card:hover img,.gallery-frame:hover img{transform:scale(1);filter:none}
.lookbook-heading,.gallery-kicker{pointer-events:none}
#lookbook .lookbook-heading,#extra-looks .lookbook-heading{top:auto;bottom:96px;left:clamp(15px,3vw,40px);max-width:min(430px,calc(100% - 30px));padding:12px 16px}
#lookbook .lookbook-heading h2,#extra-looks .lookbook-heading h2{font-size:clamp(20px,1.8vw,28px);line-height:1.05;letter-spacing:-.04em;margin-bottom:5px}
#lookbook .lookbook-heading p,#extra-looks .lookbook-heading p{font-size:.73rem}
@media(max-width:820px){#story-dialog .dialog-layout{grid-template-columns:minmax(180px,.5fr) minmax(0,1.5fr)}}
@media(max-width:620px){
 .slide-content{min-width:0;max-width:100%}
 .story-link{max-width:100%;overflow-wrap:anywhere}
 .gallery-grid{top:60px}
 #lookbook,#extra-looks{height:100dvh;min-height:100dvh;padding:60px 0 0}
 #lookbook .lookbook-grid,#extra-looks .lookbook-grid{height:100%}
 #lookbook .lookbook-heading,#extra-looks .lookbook-heading{bottom:64px;left:12px;max-width:calc(100% - 24px);padding:10px 12px}
 #story-dialog{width:calc(100vw - 14px)}
 #story-dialog .dialog-layout{grid-template-columns:1fr;grid-template-rows:minmax(145px,25dvh) minmax(0,1fr)}
 .story-tools{margin:22px 0 30px;padding:14px}
 .story-chapter{padding-top:17px;margin-bottom:26px}
 .dialog-copy .story-chapter h3{font-size:1.3rem}
 .dialog-copy .story-chapter p{font-size:.92rem;line-height:1.8}
 .health-detail{padding-top:23px}
 .dialog-copy .health-detail h3{font-size:1.3rem}
 .dialog-copy .health-detail p:not(.health-age){font-size:.9rem;line-height:1.75}
}
@media(max-width:350px){
 .story-link[href^="mailto:"]{font-size:.8rem;gap:.5rem;padding-inline:.65rem}
}

/* Real routes into the longer story and subject-specific reading. */
.story-routes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:22px 0}
.story-routes button{position:relative;min-width:0;min-height:100px;padding:15px 13px;border:1px solid #ffffff5c;background:#ffffff0c;color:var(--white);text-align:left;cursor:pointer}
.story-routes button>span:first-child{display:block;color:var(--acid);font-size:.66rem;line-height:1.3;margin-bottom:8px}
.story-routes button strong{display:block;padding-right:14px;font-size:.85rem;line-height:1.25;letter-spacing:-.025em}
.story-routes button>span:last-child{position:absolute;right:11px;bottom:10px;color:var(--acid);font-size:17px}
.story-routes button:hover{background:var(--acid);color:var(--ink);border-color:var(--acid)}
.story-routes button:hover strong,.story-routes button:hover span{color:var(--ink)}
.subject-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:22px 0}
.subject-card{min-width:0;padding:20px;border:1px solid #ffffff35;background:#ffffff08}
.subject-card h3{font-size:1.02rem;color:var(--acid);margin-bottom:11px}
.subject-card p{font-size:.89rem;line-height:1.6}
.subject-details{margin:20px 0 0;border-top:1px solid #ffffff45;border-bottom:1px solid #ffffff45}
.subject-details summary{padding:15px 1px;color:var(--acid);font-size:.87rem;font-weight:750;cursor:pointer}
.subject-details>p{font-size:.95rem;padding-bottom:16px}
.music-list{columns:2;column-gap:28px}
.music-list li{break-inside:avoid;margin-bottom:10px}
.diagnosis-list li{padding:0}
.diagnosis-list button{display:flex;justify-content:space-between;gap:12px;width:100%;padding:10px 12px;background:none;border:0;color:inherit;text-align:left;font:inherit;cursor:pointer}
.diagnosis-list button:hover{background:var(--acid);color:var(--ink)}
.secondary-link{margin-left:10px}
.measure-table-wrap{max-width:100%;overflow-x:auto;margin:24px 0 16px;scrollbar-color:#809286 transparent}
.measure-table{width:100%;border-collapse:collapse;min-width:520px;font-size:.82rem}
.measure-table caption{text-align:left;margin-bottom:12px;color:inherit;font-size:.75rem;letter-spacing:.04em}
.measure-table th,.measure-table td{padding:10px 12px;border-bottom:1px solid #ffffff35;color:var(--white);text-align:left;font-size:.82rem;line-height:1.4}
.measure-table th{width:auto}
.measure-table thead th{color:var(--acid);background:#ffffff0d;font-size:.7rem;text-transform:uppercase;letter-spacing:.08em}
.measure-table tbody th{width:22%;font-weight:750}
.dialog-copy .measure-table th,.dialog-copy .measure-table td{color:var(--ink);border-color:#c9c7b8}
.dialog-copy .measure-table thead th{color:var(--forest);background:#e9e7dd}
#measurements .panel>p,#sizes-features .panel>p{font-size:.9rem;max-width:80ch}
#measurements .measure-table-wrap,#sizes-features .measure-table-wrap{background:transparent;border:1px solid #ffffff35;margin:12px 0 8px}
#measurements .measure-table caption,#sizes-features .measure-table caption{padding:10px 12px 0}
@media(min-width:821px){
 #measurements .panel,#sizes-features .panel{padding:36px}
 #measurements .measure-table th,#measurements .measure-table td,#sizes-features .measure-table th,#sizes-features .measure-table td{padding-block:6px}
}
@media(max-width:620px){
 .subject-grid{grid-template-columns:1fr;gap:10px;margin:18px 0}
 .subject-card{padding:16px}
 .subject-card p{font-size:.86rem}
 .story-routes{gap:6px}
 .story-routes button{padding:12px 9px;min-height:110px}
 .story-routes button strong{font-size:.75rem}
 .story-routes button>span:first-child{font-size:.59rem}
 .music-list{columns:1}
 .secondary-link{margin:10px 0 0}
 #measurements .slide-content,#sizes-features .slide-content{width:100%}
 .measure-table th,.measure-table td{padding:9px 10px}
}
