/* v0.2.8 | Gallery and development journals */
.gallery-main{flex:1;min-width:0}#site-nav>a[aria-current=page]{color:#ff626b;position:relative}#site-nav>a[aria-current=page]::after{content:"";position:absolute;bottom:0;left:0;right:0;height:2px;background:#ed2532}.gallery-intro,.journal-hero,.gallery-section{padding:clamp(32px,5vw,78px) 5.4%;border-bottom:1px solid #414449}.gallery-intro{background:linear-gradient(110deg,#0a0b0d 5%,#101215 58%,#260d12),repeating-linear-gradient(135deg,transparent 0 18px,#fff1 18px 19px);position:relative;overflow:hidden}.gallery-intro:before{content:"";position:absolute;top:0;right:0;width:29%;height:4px;background:#b71927}.gallery-intro h1,.journal-copy h1{font-weight:950;font-style:italic;letter-spacing:-.055em;font-size:clamp(45px,6.8vw,100px);text-transform:uppercase;line-height:1;margin:12px 0 15px;overflow-wrap:anywhere}.gallery-main h1 span,.gallery-section h2 span{color:#ff4854}.gallery-lead{font-size:clamp(19px,2.1vw,30px);font-weight:800;text-transform:uppercase;letter-spacing:.025em;color:#ebedf0;margin:0 0 15px}.gallery-intro>p:not(.section-kicker):not(.gallery-lead),.journal-copy>p:not(.section-kicker):not(.gallery-lead):not(.project-status){max-width:750px;color:#cbd0d5;font-size:clamp(15px,1.25vw,18px);line-height:1.65}.gallery-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:27px}.gallery-section{background:linear-gradient(145deg,#16181b,#090a0b 70%)}.gallery-section h2{font-size:clamp(27px,3vw,46px);line-height:1.1;margin:0 0 20px;text-transform:uppercase;font-weight:900;font-style:italic;letter-spacing:-.04em}.gallery-empty{display:flex;align-items:center;gap:20px;padding:clamp(19px,3vw,34px);border:1px dashed #62666d;background:#101215;border-radius:2px 15px 2px 15px}.gallery-empty-icon{width:64px;flex:none;color:#ff626b}.gallery-empty-icon svg{display:block;width:100%;fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round}.gallery-empty h3,.journal-entry h3,.journal-focus h3{font-size:clamp(19px,1.7vw,25px);margin:0 0 9px;color:#f1f2f4}.gallery-empty p,.journal-entry>p:not(.project-status),.journal-focus p,.journal-explainer{color:#c3c9cf;line-height:1.65;margin:0;max-width:850px}.journal-hero{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(22px,4vw,65px);align-items:center;background:linear-gradient(120deg,#101215,#0a0b0d)}.journal-copy h1{font-size:clamp(40px,5vw,77px)}.journal-back{display:inline-flex;align-items:center;min-height:44px;color:#cbd0d5;font-weight:700;margin-bottom:16px}.journal-back:hover{color:#ff626b}.journal-copy .project-status{margin-top:24px}.journal-art{margin:0;border:1px solid #4b4f55;border-radius:2px 16px 2px 16px;overflow:hidden;background:#111316}.journal-art img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-bottom:2px solid #b71927}.journal-art figcaption{padding:12px 16px;font-size:13px;color:#cbd0d5;line-height:1.5}.journal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:22px}.journal-focus,.journal-entry{background:linear-gradient(145deg,#222428,#101215);border:1px solid #4b4f55;border-top:2px solid #b71927;padding:clamp(17px,2vw,27px);border-radius:2px 14px 2px 14px}.journal-focus>span{display:block;color:#ff747c;font-size:12px;font-weight:800;letter-spacing:.09em;margin-bottom:13px}.journal-entry{margin-bottom:18px}.journal-entry .project-status{margin-bottom:12px}.journal-log{background:#101215}.gallery-main a:focus-visible{outline:2px solid #ff7d83;outline-offset:4px}@media(max-width:900px){.gallery-intro,.journal-hero,.gallery-section{padding:32px 4%}.journal-hero{grid-template-columns:1fr}.journal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.journal-grid{grid-template-columns:1fr}.gallery-actions .action{width:100%}.gallery-empty{align-items:flex-start;flex-direction:column}.gallery-empty-icon{width:46px}.journal-copy h1{font-size:clamp(39px,11vw,62px)}}

/* v0.2.9 — original gallery hero, contrast protection and responsive crop. */
.gallery-intro-art{background:linear-gradient(90deg,rgba(7,8,10,.97) 0%,rgba(7,8,10,.91) 28%,rgba(7,8,10,.72) 49%,rgba(7,8,10,.12) 82%),url("../assets/gallery-hero-v029-v032.webp") center right/cover no-repeat,#090a0b;min-height:clamp(380px,34vw,570px);display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.gallery-intro-art h1{max-width:950px}.gallery-intro-art .hero-art-credit{position:absolute;right:5.4%;bottom:12px;font-size:10px!important;letter-spacing:.10em;text-transform:uppercase;background:#08090bdc;border:1px solid #53565c;padding:5px 9px;margin:0;color:#d4d7db!important}@media(max-width:900px){.gallery-intro-art{background-position:center right;min-height:390px;padding-bottom:58px;background-image:linear-gradient(90deg,rgba(7,8,10,.97),rgba(7,8,10,.80) 65%,rgba(7,8,10,.52)),url("../assets/gallery-hero-v029-v032.webp")}}@media(max-width:600px){.gallery-intro-art{background-image:linear-gradient(180deg,rgba(7,8,10,.76),rgba(7,8,10,.96)),url("../assets/gallery-hero-v029-v032.webp");background-position:65% center;min-height:0;padding-bottom:58px}.gallery-intro-art .gallery-actions{width:100%}}

/* Kraken Knuckles v0.3.0h — shared brand proportions. */
/* Increase the header emblem 15% relative to v0.3.0g; retain wordmark and footer proportions. */
.header .brand{gap:5px;align-items:center;justify-content:flex-start;}
.header .brand .header-emblem{width:33.6375%;flex:0 0 33.6375%;height:auto;}
.header .brand .brand-type{flex:0 1 calc(61% - 7px);min-width:0;}
.header .brand .wordmark{width:100%;height:auto;display:block;}
.footer-brand{gap:5px;align-items:center;justify-content:flex-start;}
.footer-brand>img{width:27%;flex:0 0 27%;height:auto;}
.footer-brand>span{flex:0 1 calc(64% - 6px);min-width:0;}
@media(max-width:600px){
  .header .brand{gap:3px;}
  .header .brand .header-emblem{width:31.05%;flex-basis:31.05%;}
  .header .brand .brand-type{flex-basis:calc(64% - 3px);}
}


/* v0.3.0i — unify metallic white / red hero headline treatment across pages. */
:root{
  --kk-metal-text: linear-gradient(#f3f3f3 5%, #c5c9cd 45%, #74797e 49%, #e6e8ea 52%, #a0a5aa 95%);
  --kk-red-text: linear-gradient(#f8323b, #bd101c 48%, #6e070d 50%, #dd1825 90%);
}

.gallery-intro h1,
.journal-copy h1,
.perf-hero h1 span,
.perf-hero h1 strong{
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  color:transparent !important;
  filter:drop-shadow(2px 3px 1px #000);
}

.gallery-intro h1,
.journal-copy h1,
.perf-hero h1 span{
  background-image:var(--kk-metal-text);
}

.gallery-intro h1 span,
.perf-hero h1 strong{
  background-image:var(--kk-red-text);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  color:transparent !important;
}
