/* 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%}}

/* v0.3.0b — News page refresh */
.news-intro{
  min-height:clamp(420px,37vw,620px);
}
.news-intro-art{
  background:
    linear-gradient(90deg,rgba(7,8,10,.97) 0%,rgba(7,8,10,.94) 24%,rgba(7,8,10,.78) 48%,rgba(7,8,10,.35) 72%,rgba(7,8,10,.15) 100%),
    radial-gradient(circle at 78% 22%,rgba(133,10,24,.35) 0%,rgba(133,10,24,0) 36%),
    url('../assets/news-hero-v031-v032.webp') center right/cover no-repeat,
    #090a0b;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  padding-bottom:clamp(38px,4vw,70px);
}
.news-intro h1{max-width:760px}
.news-intro>p:not(.section-kicker):not(.gallery-lead){max-width:760px}
.news-hero-panels{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  width:min(100%,980px);
  margin-top:30px;
}
.news-hero-card{
  background:linear-gradient(145deg,rgba(22,24,27,.92),rgba(10,11,13,.94));
  border:1px solid #55595f;
  border-top:2px solid #b71927;
  border-radius:2px 14px 2px 14px;
  padding:16px 18px;
  backdrop-filter:blur(2px);
  box-shadow:0 16px 38px rgba(0,0,0,.24);
}
.news-hero-card span,
.news-feature-aside .section-kicker,
.news-heading-note,
.news-next-panel span{
  display:block;
  color:#ff747c;
  font-size:12px;
  font-weight:800;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.news-hero-card strong{
  display:block;
  margin:8px 0 9px;
  font-size:20px;
  line-height:1.22;
  font-weight:900;
  font-style:italic;
  text-transform:uppercase;
  letter-spacing:-.03em;
}
.news-hero-card p{
  margin:0;
  color:#cfd3d8;
  line-height:1.55;
  font-size:14px;
}
.news-meta{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px 16px;
  margin:0 0 14px;
  font-size:12px;
  font-weight:750;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#c5c8ce;
}
.news-meta span{color:#ff626b}
.news-heading-split{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
}
.news-heading-note{
  max-width:420px;
  font-size:13px;
  color:#c3c8ce;
  line-height:1.65;
  text-transform:none;
  letter-spacing:0;
  font-weight:600;
}
.news-feature{
  display:grid;
  grid-template-columns:minmax(0,1.6fr) minmax(290px,.8fr);
  border:1px solid #4b4f55;
  border-top:3px solid #b71927;
  border-radius:2px 18px 2px 18px;
  overflow:hidden;
  background:linear-gradient(120deg,#1a1c20,#101215);
  margin:25px 0 45px;
  box-shadow:0 22px 55px rgba(0,0,0,.22);
}
.news-feature-copy,
.news-feature-aside{padding:clamp(22px,3vw,44px)}
.news-feature h3,
.news-story h3{
  font-weight:900;
  font-style:italic;
  text-transform:uppercase;
  line-height:1.08;
  letter-spacing:-.03em;
  margin:0 0 16px;
}
.news-feature h3{font-size:clamp(31px,3.3vw,52px)}
.news-feature-copy>p:not(.news-meta),
.news-story>p:not(.news-meta),
.news-notice>p:not(.section-kicker){
  color:#cbd0d5;
  line-height:1.68;
  max-width:820px;
}
.news-feature-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:22px;
}
.news-feature-aside{
  background:
    linear-gradient(180deg,rgba(18,19,22,.98),rgba(17,18,20,.98)),
    repeating-linear-gradient(135deg,#17181d 0 18px,#202126 18px 19px);
  border-left:1px solid #4b4f55;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.news-feature-aside strong{
  font-size:clamp(24px,2.4vw,37px);
  font-style:italic;
  line-height:1.05;
  margin:10px 0 14px;
}
.news-feature-aside p:not(.section-kicker){
  color:#d0d4d8;
  line-height:1.6;
  margin:0 0 18px;
}
.news-bullet-list{
  margin:0;
  padding-left:18px;
  color:#c6cbd0;
  line-height:1.75;
}
.news-article-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
}
.news-story{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  min-width:0;
  padding:clamp(22px,2.5vw,33px);
  border:1px solid #4b4f55;
  border-top:2px solid #b71927;
  border-radius:2px 15px 2px 15px;
  background:linear-gradient(145deg,#16181b,#101215 70%);
  scroll-margin-top:20px;
  transition:transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.news-story:hover{
  transform:translateY(-3px);
  border-color:#6a7077;
  box-shadow:0 16px 35px rgba(0,0,0,.18);
}
.news-story h3{font-size:clamp(24px,2.1vw,33px)}
.news-story .news-read{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:auto;
  min-height:44px;
  text-transform:uppercase;
  font-size:13px;
  font-weight:800;
  letter-spacing:.05em;
}
.news-story .news-read span{color:#ff4854}
.news-archive-heading{margin-top:10px}
.news-feature{scroll-margin-top:20px}
.news-notice{background:linear-gradient(105deg,#101214,#171a1d 58%,#2b0b12)}
.news-next-grid{
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(280px,.9fr);
  gap:22px;
  align-items:start;
}
.news-next-grid h2{margin-bottom:16px}
.news-next-grid p:last-child{margin-bottom:0}
.news-next-panel{
  border:1px solid #4a4e54;
  border-top:2px solid #b71927;
  border-radius:2px 14px 2px 14px;
  background:rgba(10,11,13,.54);
  padding:20px 22px;
}
.news-next-panel ul{
  margin:14px 0 0;
  padding-left:18px;
  color:#cbd0d5;
  line-height:1.8;
}
@media(max-width:1024px){
  .news-hero-panels{grid-template-columns:repeat(2,minmax(0,1fr));max-width:720px}
  .news-hero-card.compact{grid-column:1/-1}
}
@media(max-width:900px){
  .news-intro-art{
    background:
      linear-gradient(180deg,rgba(7,8,10,.76),rgba(7,8,10,.92) 48%,rgba(7,8,10,.98) 100%),
      url('../assets/news-hero-v031-v032.webp') center right/cover no-repeat,
      #090a0b;
  }
  .news-feature{grid-template-columns:1fr}
  .news-feature-aside{border-left:0;border-top:1px solid #4b4f55}
  .news-next-grid{grid-template-columns:1fr}
}
@media(max-width:800px){
  .news-article-grid{grid-template-columns:1fr}
}
@media(max-width:640px){
  .news-hero-panels{grid-template-columns:1fr}
  .news-heading-note{max-width:none}
  .news-feature-actions .action{width:100%}
}
@media(max-width:600px){
  .news-intro{min-height:0}
}

/* v0.3.0d — align primary hero copy with the service-page reference.
   Only loaded by Gallery, News and About; other pages are unaffected. */
.gallery-main > .gallery-intro.gallery-intro-art,
.news-main > .gallery-intro.news-intro-art,
.about-main > .gallery-intro.about-intro {
  padding-top: 28px;
  justify-content: flex-start;
}
.about-main > .gallery-intro.about-intro { align-items: flex-start; }
@media (max-width: 600px) {
  .gallery-main > .gallery-intro.gallery-intro-art,
  .news-main > .gallery-intro.news-intro-art,
  .about-main > .gallery-intro.about-intro { padding-top: 23px; }
}

/* 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;
}
