:root{--bg:#240507;--accent:#ff0004}
*{box-sizing:border-box}
html{background:var(--bg);scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--accent);font:400 16px/1.8 Absans,Arial,sans-serif}
a{color:inherit;text-decoration:none}
a:focus-visible{outline:1px solid var(--accent);outline-offset:5px}
header{position:sticky;top:0;z-index:10;padding:32px 4vw;display:flex;justify-content:space-between;align-items:center;gap:24px;background:#240507e6;backdrop-filter:blur(16px)}
header nav{display:flex;gap:28px}
header nav a{font-size:12px;text-transform:uppercase}
.union-page header .name,.union-page header .header-label,.union-page header nav .header-label{color:var(--accent)!important}
.centred-project .gallery-intro{padding-top:64px}
.union-page main.centred-project .subtitle{color:#fff}
.union-image{width:92%;max-width:1600px;margin:0 auto var(--gallery-space);display:flex;justify-content:center}
.union-image img{display:block;width:auto;max-width:100%;height:auto;max-height:min(76svh,820px);object-fit:contain}
.union-typography-pair{width:92%;max-width:1400px;display:flex;justify-content:center;align-items:center;gap:var(--gallery-gap);margin:0 auto var(--gallery-space)}
.union-typography-pair img{display:block;min-width:0;width:calc((100% - var(--gallery-gap))/2);height:auto;max-height:65svh;object-fit:contain}
.union-veins{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:0;margin:0 0 var(--gallery-space)}
.union-veins img{display:block;width:100%;height:auto}
.union-final img{max-height:85svh}
.project-navigation a{position:relative;display:flex;flex-direction:column;align-items:flex-start;color:var(--accent)}
.union-page .project-navigation .back-to-top .top-label{color:var(--accent)}
.project-end>p{max-width:760px;width:92%;margin:36px auto 60px;font-size:12px;line-height:1.8}
footer{padding:0 4vw 28px;font-size:12px}
@media(max-width:700px){header{padding:20px 6vw;gap:16px}header nav{gap:16px}.union-image,.union-typography-pair{width:88%}.union-typography-pair{flex-direction:column;gap:24px}.union-typography-pair img{width:100%;max-height:75svh}.union-image img{max-height:75svh}.union-veins{grid-template-columns:repeat(3,minmax(0,1fr))}.union-final img{max-height:85svh}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Preview: every image row follows the shared page margins, without cropping. */
.union-image,.union-typography-pair,.union-veins{width:92%;max-width:none;margin-left:auto;margin-right:auto}
.union-image img{width:100%;max-height:none}
.union-typography-pair img{max-height:none}
.union-final img{max-height:none}
@media(max-width:700px){.union-image,.union-typography-pair,.union-veins{width:88%}.union-image img,.union-typography-pair img,.union-final img{max-height:none}}

/* Match the other projects' left-aligned disclaimer. */
.union-page .project-end>p{margin-left:4vw;margin-right:auto;text-align:left}
@media(max-width:700px){.union-page .project-end>p{width:88%;margin-left:6vw}}

/* Final presentation: one landscape followed by an uncropped, equal-height pair. */
.union-presentation-pair{display:flex;align-items:flex-start;gap:var(--gallery-gap);width:92%;margin:0 auto var(--gallery-space)}
.union-presentation-pair img{display:block;min-width:0;width:0;height:auto;object-fit:contain}
.union-presentation-pair .union-balance-portrait{flex:0.6666666667 1 0%}
.union-presentation-pair .union-arms-portrait{flex:1.8503253796 1 0%}
@media(max-width:700px){.union-presentation-pair{width:88%}}

.union-image.union-presentation-top{margin-bottom:var(--gallery-gap)}
