.ref-detail { --ref-accent:#da0000; --ref-panel:#ececec; color:#575756; font-family:Arial,Helvetica,sans-serif; font-size:clamp(1rem,1.17vw,1.15rem); line-height:1.55; }
.ref-detail :where(h1,h2,h3,p,dl,dd,figure,ul) { margin:0; }
.ref-wrap { width:min(92.5%,1460px); margin-inline:auto; }
.ref-detail .ref-kicker { margin:0 0 .65rem; color:var(--ref-accent); font-size:clamp(.7rem,.88vw,.82rem); font-weight:700; line-height:1.3; text-transform:uppercase; letter-spacing:.01em; }
.ref-detail h2 { font-size:clamp(1.65rem,2.64vw,2.75rem); font-weight:700; line-height:1.13; letter-spacing:-.025em; }
.ref-hero { position:relative; isolation:isolate; display:grid; align-items:center; min-height:clamp(320px,35vw,570px); padding-block:clamp(50px,6vw,94px); background:#242424; color:#f0f0f0; }
.ref-cover,.ref-cover::after { position:absolute; inset:0; z-index:-1; }
.ref-cover { overflow:hidden; }
.ref-cover img { display:block; width:100%; height:100%; object-fit:cover; object-position:center; }
.ref-cover::after { content:""; z-index:0; background:linear-gradient(90deg,rgba(16,16,16,.94),rgba(16,16,16,.72) 34%,rgba(16,16,16,.27) 68%,rgba(16,16,16,.15)); }
.ref-detail .ref-hero .ref-kicker { color:white; margin-bottom:1.15rem; }
.ref-hero h1 { max-width:19ch; color:inherit; font-size:clamp(2.6rem,6.59vw,6.5rem); font-weight:700; line-height:1.09; letter-spacing:-.025em; text-wrap:wrap; overflow-wrap:break-word; hyphens:auto; }
.ref-hero-photo h1 { max-width:min(15ch,62%); }
.ref-main { padding-block:clamp(40px,5.7vw,88px) clamp(36px,4vw,68px); }
.ref-layout { display:grid; grid-template-columns:minmax(0,1.26fr) minmax(0,1fr); column-gap:7%; align-items:start; }
.ref-story { grid-area:1/1; min-width:0; }
.ref-intro p + p,.ref-body :is(p,ul,h3) + :is(p,ul,h3) { margin-top:.85rem; }
.ref-section { margin-top:clamp(38px,5vw,72px); }
.ref-story > :first-child { margin-top:0; }
.ref-section h2 { margin-bottom:clamp(18px,2vw,32px); }
.ref-rows :is(p,li) { padding:.65rem .25rem; border-block-end:1px solid #cbcbcb; }
.ref-rows { border-block-start:1px solid #cbcbcb; }
.ref-rows ul { padding:0; list-style:none; }
.ref-rows h3 { margin:1.15rem 0 .2rem; font-size:1.05em; }
.ref-body ul { padding-inline-start:1.15rem; }
.ref-body li + li { margin-top:.45rem; }
.ref-facts { grid-column:2; grid-row:1/span 2; background:var(--ref-panel); border-top:2px solid var(--ref-accent); padding:clamp(22px,2.9vw,46px); }
.ref-facts h2 { font-size:clamp(1.45rem,1.91vw,2.15rem); }
.ref-facts dl { margin-top:.6rem; }
.ref-facts dl>div { padding:clamp(12px,1.1vw,20px) 0; border-bottom:1px solid #c4c4c4; }
.ref-facts dt { font-size:.94em; margin-bottom:.58rem; }
.ref-facts dd,.ref-person { line-height:1.4; }
.ref-facts dd { font-size:1.125em; max-width:32ch; }
.ref-person { display:flex; align-items:flex-start; gap:clamp(15px,2.6vw,40px); margin-top:1.25rem; font-size:.93em; }
.ref-person img { flex:none; width:clamp(68px,8vw,112px); aspect-ratio:3/4; height:auto; object-fit:cover; }
.ref-person strong,.ref-person a { display:block; }
.ref-person a { display:flex; align-items:center; gap:.65rem; width:fit-content; color:inherit; text-decoration:none; padding-block:.2rem; }
.ref-person a:hover,.ref-person a:focus-visible { text-decoration:underline; }
.ref-person .ref-mail { color:var(--red,#c00); }
.ref-person .contact-icon { display:block; flex:none; width:1.1em; height:1.1em; }
.ref-availability { margin:.85rem 0 .45rem; }
.ref-detail .ref-gallery-title { grid-column:1; align-self:end; padding-top:clamp(44px,5.8vw,90px); }
.ref-gallery { margin-top:clamp(20px,3vw,45px); }
.ref-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(16px,2.8vw,44px) clamp(18px,3vw,48px); }
.ref-grid > * { width:auto; max-width:none; padding:0; margin:0; min-width:0; }
.ref-grid img { display:block; width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; }
.ref-grid a,.ref-grid .gallery-icon { display:block; }
.ref-grid figcaption { margin-top:.45rem; font-size:.9em; }
.ref-more summary { display:flex; align-items:center; justify-content:flex-end; gap:1.1rem; min-height:44px; color:var(--red,#c00); font-size:.88em; font-weight:650; cursor:pointer; list-style:none; }
.ref-more summary::-webkit-details-marker { display:none; }
.ref-cover-open { position:absolute; inset:0; cursor:zoom-in; }
.ref-hero-copy { position:relative; z-index:1; pointer-events:none; }
.ref-detail .ref-cover-open:focus-visible { outline-offset:-5px; }
.ref-grid [data-ref-image] { cursor:zoom-in; }
.ref-viewer:not([open]) { display:none; }
.ref-viewer[open] { display:grid; place-items:center; position:fixed; inset:0; width:100%; height:100%; max-width:none; max-height:none; margin:0; border:0; padding:clamp(10px,3vw,40px); background:transparent; color:#fff; }
.ref-viewer::backdrop { background:rgba(18,18,18,.96); }
.ref-viewer-stage { display:grid; justify-items:center; gap:4px; width:fit-content; max-width:100%; }
.ref-viewer-photo { display:block; width:auto; height:auto; max-width:100%; max-height:calc(100vh - 160px); max-height:calc(100dvh - 160px); object-fit:contain; }
.ref-viewer-controls { display:flex; align-items:center; gap:18px; min-height:44px; font-size:1rem; }
.ref-viewer button { display:grid; place-items:center; width:44px; height:44px; padding:0; color:#fff; background:transparent; border:1px solid transparent; cursor:pointer; }
.ref-viewer button:hover,.ref-viewer button:focus-visible { border-color:currentColor; }
.ref-viewer-close { justify-self:end; }
.ref-viewer-close span { position:relative; width:19px; height:19px; }
.ref-viewer-close span::before,.ref-viewer-close span::after { content:""; position:absolute; top:9px; left:0; width:19px; height:2px; background:currentColor; transform:rotate(45deg); }
.ref-viewer-close span::after { transform:rotate(-45deg); }
.ref-viewer [data-step] span { width:11px; height:11px; border-block-start:2px solid; border-inline-end:2px solid; transform:rotate(45deg); }
.ref-viewer [data-step="-1"] span { transform:rotate(-135deg); }
.ref-more .ref-collapse,.ref-more[open] .ref-expand { display:none; }
.ref-more[open] .ref-collapse { display:inline; }
.ref-related { display:grid; grid-template-columns:1.22fr 1fr; gap:6%; padding:clamp(26px,3.8vw,62px); margin-top:clamp(44px,6.5vw,98px); background:var(--ref-panel); }
.ref-related ul { list-style:none; padding:0; }
.ref-related li { border-top:1px solid #c4c4c4; }
.ref-related li:last-child { border-bottom:1px solid #c4c4c4; }
.ref-related a { display:flex; align-items:center; justify-content:space-between; gap:1em; min-height:48px; padding:.55em 0; text-decoration:none; color:inherit; }
.ref-related a:hover,.ref-related a:focus-visible,.ref-related svg { color:var(--red,#c00); }
.ref-detail :is(a,summary):focus-visible { outline:2px solid var(--red,#c00); outline-offset:3px; }
@media(max-width:900px) {
    .ref-layout { gap:0 4%; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); }
    .ref-person { flex-wrap:wrap; }
    .ref-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:680px) {
    .ref-wrap { width:calc(100% - 40px); }
    .ref-hero { min-height:270px; }
    .ref-hero h1,.ref-hero-photo h1 { max-width:100%; font-size:clamp(2.2rem,8.9vw,3.5rem); }
    .ref-cover::after { background:linear-gradient(90deg,rgba(16,16,16,.82),rgba(16,16,16,.45)); }
    .ref-layout,.ref-related { display:block; }
    .ref-facts { margin-top:32px; }
    .ref-related ul { margin-top:1.5rem; }
}
@media(max-width:480px) {
    .ref-grid { grid-template-columns:1fr; }
}
