/* Factual materials and process gallery. */
#world.world-gallery-section { display: block; padding: clamp(64px, 7vw, 110px) clamp(24px, 6vw, 96px); min-height: 0; }
#world .arctic-copy { max-width: none; }
#world .arctic-copy h2 { font-size: clamp(60px, 8vw, 120px); }
#world .coordinates { display: none; }
.world-gallery-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; border-top: 1px solid #ffffff40; margin: 40px 0 24px; padding-top: 24px; }
.world-gallery-intro > span, .world-gallery-note { font: 500 13px/1.6 var(--mono); letter-spacing: .08em; color: #c9cdd0; }
.world-gallery-intro p { margin: 0; max-width: 420px; color: #ddd; font-size: 16px; line-height: 1.6; }
.world-gallery { display: grid; grid-template-columns: 1.45fr 1fr; grid-template-rows: repeat(2, minmax(220px, 22vw)); gap: 18px; }
.world-tile { position: relative; display: block; overflow: hidden; min-width: 0; background: #070c10; border: 1px solid #ffffff40; color: #fff; text-decoration: none; }
.world-tile--wide { grid-row: span 2; }
.world-tile img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.world-tile--wide img { object-position: center; }
.world-tile::after { content: ""; position: absolute; inset: 25% 0 0; background: linear-gradient(transparent, #020507ed); pointer-events: none; }
.world-tile-caption { position: absolute; z-index: 1; inset: auto 0 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: clamp(20px, 2.5vw, 36px); }
.world-tile-caption small { display: block; font: 500 12px/1.6 var(--mono); letter-spacing: .09em; color: #d1d7dc; }
.world-tile-caption strong { display: block; font: 600 clamp(26px, 3vw, 44px)/1.1 var(--title); margin-top: 10px; }
.world-tile-caption b { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border: 1px solid #ffffff70; color: #fff; font-size: 25px; font-weight: 400; background: #080c0fb0; }
.world-tile:hover img, .world-tile:focus-visible img { transform: scale(1.025); }
.world-tile:hover .world-tile-caption b { background: #bc101c; border-color: #bc101c; }
.world-tile:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.world-gallery-note { margin: 20px 0 0; }
.world-tile.world-pending { opacity: 0; transform: translateY(20px); }
.world-tile { transition: opacity .65s ease, transform .65s ease; }
.world-tile:nth-child(2) { transition-delay: .1s; }
.world-tile:nth-child(3) { transition-delay: .2s; }
html.world-viewing, html.world-viewing body { overflow: hidden; }
.world-viewer { width: min(1200px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 20px; box-sizing: border-box; border: 1px solid #ffffff55; background: #080c10; color: #fff; }
.world-viewer::backdrop { background: #020406ee; }
.world-viewer[open] { animation: world-viewer-in .2s ease-out; }
.world-viewer-top, .world-viewer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; font: 500 13px/1.5 var(--mono); }
.world-viewer-top { padding-bottom: 14px; border-bottom: 1px solid #ffffff30; }
.world-viewer-bottom { padding-top: 14px; border-top: 1px solid #ffffff30; }
.world-viewer-bottom > span { color: #b9c1c8; font-size: 12px; }
.world-viewer button { background: #111820; border: 1px solid #ffffff50; color: #fff; padding: 10px 14px; min-height: 44px; cursor: pointer; font: 500 13px/1.5 var(--mono); }
.world-viewer button:hover { border-color: #f01624; }
.world-viewer button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.world-viewer figure { margin: 18px 0; }
.world-viewer figure > img { display: block; width: 100%; height: min(62dvh, 700px); object-fit: contain; background: #030609; }
.world-viewer figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding-top: 14px; }
.world-viewer figcaption strong { font: 600 30px/1.1 var(--title); text-transform: uppercase; }
.world-viewer figcaption > span { font-size: 14px; color: #c6cbd0; }
.world-viewer figure > img.is-loading { opacity: .35; }
@keyframes world-viewer-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 750px) {
  .world-gallery-intro { align-items: flex-start; flex-direction: column; gap: 12px; }
  .world-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; gap: 12px; }
  .world-tile { aspect-ratio: 1; }
  .world-tile--wide { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 9; }
  .world-tile-caption { padding: 16px; }
  .world-tile-caption b { width: 32px; height: 32px; font-size: 22px; }
  .world-viewer-bottom > span { display: none; }
}
@media (max-width: 480px) {
  .world-gallery { grid-template-columns: 1fr; }
  .world-tile, .world-tile--wide { grid-column: auto; aspect-ratio: 4 / 3; }
  .world-viewer { padding: 14px; }
  .world-viewer figcaption { display: block; }
  .world-viewer figcaption > span { display: block; margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .world-tile, .world-tile img, .world-viewer[open] { transition: none; animation: none; }
  .world-tile.world-pending { opacity: 1; transform: none; }
  .world-tile:hover img, .world-tile:focus-visible img { transform: none; }
}
#world.materials-section { background: #080b0e; padding-top: clamp(100px, 10vw, 160px); padding-bottom: clamp(100px, 10vw, 160px); }
#top > #world.materials-section { overflow: hidden; }
#top > #world > .materials-video { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; opacity: .22; filter: saturate(.3); pointer-events: none; }
#top > #world > .materials-shade { position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, #05080bb8, #05080b70 65%, #05080b8c); pointer-events: none; }
#world .materials-motion { display: block; margin: 24px 0 0 auto; min-height: 44px; padding: 10px 14px; border: 1px solid #ffffff40; background: #080c10e6; color: #ddd; font: 14px var(--body); cursor: pointer; }
#world .materials-motion[hidden] { display: none; }
#world .materials-motion:focus-visible { outline: 2px solid white; outline-offset: 4px; }
#world.materials-section .world-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: auto; }
#world .process-tile { display: flex; flex-direction: column; align-items: stretch; aspect-ratio: auto; padding: clamp(18px, 2vw, 30px); background: #0d1116; border-color: #ffffff26; }
#world .process-tile::after { display: none; }
#world .process-tile img { width: 110px; height: 130px; object-fit: contain; align-self: flex-start; margin-bottom: 30px; filter: grayscale(1); }
#world .process-tile .world-tile-caption { position: static; padding: 0; align-items: flex-start; gap: 10px; }
#world .process-tile .world-tile-caption strong { font-size: clamp(26px, 2.5vw, 38px); }
#world .process-tile .world-tile-caption b { width: 32px; height: 32px; border-color: #f0162466; color: #ff4350; }
.process-description { display: block; margin-top: 18px; font-size: 16px; line-height: 1.7; color: #bdc3cb; }
.materials-nikotek { display: grid; grid-template-columns: minmax(180px, .65fr) minmax(0, 1.35fr); gap: 30px; margin-top: 44px; padding: 28px; border-left: 2px solid #f01624; background: #ffffff05; }
.materials-nikotek span { font: 12px/1.6 var(--mono); color: #ff4350; }
.materials-nikotek h3 { font: 600 38px/1.1 var(--title); margin: 12px 0 0; }
.materials-nikotek p { margin: 0; font-size: 16px; line-height: 1.8; color: #c8cdd3; }
.materials-sources { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; color: #bcc2ca; font-size: 13px; }
.materials-sources button { min-height: 44px; border: 0; padding: 6px 0; background: none; color: #eee; font: inherit; text-decoration: underline; text-underline-offset: 5px; cursor: pointer; }
.materials-sources button:focus-visible { outline: 2px solid white; outline-offset: 4px; }
.process-viewer figure > img { max-width: 300px; height: min(40dvh, 300px); margin: auto; object-fit: contain; filter: grayscale(1); }
.process-viewer figcaption { align-items: flex-start; }
.process-viewer figcaption > span { max-width: 620px; line-height: 1.7; }
.process-viewer { width: min(900px, calc(100vw - 32px)); padding: clamp(18px, 3vw, 36px); overflow-y: auto; }
.process-viewer figure { display: grid; grid-template-columns: 100px minmax(0, 1fr); align-items: center; gap: 28px; margin: 30px 0; }
.process-viewer figure > img { width: 100px; height: 130px; background: none; }
.process-viewer figcaption { display: block; padding: 0; }
.process-viewer figcaption strong { font-size: clamp(30px, 4vw, 48px); }
.process-viewer figcaption > span { display: block; margin-top: 14px; font-size: 16px; }
.process-details { border-top: 1px solid #ffffff26; padding-top: 24px; }
.process-details h3 { margin: 0 0 14px; font: 600 28px/1.2 var(--title); }
.process-details p, .process-details dd { font-size: 16px; line-height: 1.75; color: #c8cdd3; }
.process-details dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 24px 0; }
.process-details dl > div { padding: 0 0 0 16px; border-left: 2px solid #f01624; }
.process-details dt { color: #fff; font: 500 14px/1.5 var(--mono); }
.process-details dd { margin: 10px 0 0; }
.process-details .process-detail-source { font-size: 13px; color: #939da8; margin: 24px 0; }
@media (max-width: 600px) {
  .process-viewer figure { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .process-viewer figure > img { margin: 0; width: 70px; height: 90px; }
  .process-details dl { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1100px) { #world.materials-section .world-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { #world.materials-section .world-gallery, .materials-nikotek { grid-template-columns: minmax(0, 1fr); } }
