/* Studio home layout (visual refresh approved by Niklas 2026-10-09): game icons as navigation, image-led
   game sections, the "Since 2014" history. Tokens, header, buttons and frames come from studio.css. */

/* ── HERO: studio line + the three game icons; each icon jumps to its game below ── */
.intro {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter) clamp(2.5rem, 6vw, 4.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "copy shelf" "cta shelf";
  column-gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.intro-copy { grid-area: copy; align-self: end; }
.intro-cta { grid-area: cta; align-self: start; margin-top: 1.75rem; }
.wordmark {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--gold);
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0.02em;
}
.intro-copy p { margin-top: 0.85rem; font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 500; max-width: 28rem; color: var(--paper); line-height: 1.45; }

.icon-shelf {
  grid-area: shelf;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 148px));
  gap: clamp(1rem, 2.5vw, 2rem);
}
.icon-shelf a { display: grid; gap: 0.5rem; justify-items: start; color: inherit; text-decoration: none; border-radius: 12px; }
.shelf-icon {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 22%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
  margin-bottom: 0.35rem;
  transition: box-shadow 0.15s;
}
.icon-shelf a:hover .shelf-icon { box-shadow: 0 0 0 3px var(--accent); }
.icon-shelf .game-name { font-size: clamp(1.05rem, 1.6vw, 1.25rem); text-wrap: balance; }
.icon-shelf .status { font-size: 0.92rem; }

/* Anchor jumps land below the sticky header. */
.band { scroll-margin-top: var(--header-h); }

/* ── GAME BANDS: flat ground colour per game, each laid out for its own art ── */
.band { padding: clamp(3.5rem, 8vw, 6rem) var(--gutter); border-top: 1px solid rgba(255, 255, 255, 0.04); }
.band-dd1 { background: var(--dd1-ground); }
.band-dd2 { background: var(--dd2-ground); }
.band-dd1, .band-dd2 { --paper-dim: #A89F8C; }
.band-om  { background: var(--ground-hi); }
.band-inner { max-width: var(--wrap); margin: 0 auto; }
.game-title { font-size: clamp(2.3rem, 5vw, 3.4rem); margin: 0.5rem 0 1rem; }
.band-lede { font-size: clamp(1.15rem, 1.8vw, 1.35rem); font-weight: 600; color: var(--paper); margin-bottom: 0.75rem; }
.band p:not(.status):not(.band-lede) { color: var(--paper-dim); max-width: 34rem; }
.band p + p { margin-top: 0.75rem; }
.band-actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; align-items: center; margin-top: 1.75rem; }
.band-note { font-size: 0.85rem; margin-top: 1.5rem; }

.shots { list-style: none; display: grid; gap: clamp(0.75rem, 2vw, 1.25rem); }
.shots figure { display: grid; gap: 0.7rem; }
.shots figcaption { font-size: 0.92rem; color: var(--paper-dim); line-height: 1.45; }
.shots figcaption strong { display: block; color: var(--paper); font-weight: 700; font-size: 1rem; }

/* Digging Deep: copy beside three phone screens */
.band-dd1 .band-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.shots-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shots-3 figcaption { font-family: var(--font-label); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.95rem; }

/* Digging Deep 2: heading row, then the play loop as a filmstrip */
.band-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1rem, 5vw, 4.5rem); align-items: end; margin-bottom: clamp(2rem, 4vw, 3rem); }
.band-head .game-title { margin-bottom: 0; }
.shots-loop { grid-template-columns: repeat(3, minmax(0, 240px)); gap: clamp(0.75rem, 4vw, 3rem); }
.shots-loop figcaption { max-width: 15rem; }

/* Outmarbled: the collection screen large, courses underneath */
.band-om .band-inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.om-collection { display: grid; gap: 0.7rem; }
.om-collection figcaption { font-size: 0.85rem; color: var(--paper-dim); }
.shots-courses { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.shots-courses figcaption { font-family: var(--font-label); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.95rem; }

/* ── SINCE 2014: the studio history as layers of ground, newest on top ── */
.history { max-width: var(--wrap); margin: 0 auto; padding: clamp(4rem, 9vw, 7rem) var(--gutter) clamp(3rem, 6vw, 4rem); }
.history-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1rem, 5vw, 4.5rem); align-items: end; margin-bottom: 3.5rem; }
.history h2, .follow h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.history-head p { color: var(--paper-dim); font-size: 1.1rem; max-width: 30rem; }

.strata { list-style: none; }
.stratum {
  --steps: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='192' height='16'%3E%3Cpath d='M0 16V8H32V0H80V8H120V16H144V8H176V0H192V16Z'/%3E%3C/svg%3E");
  position: relative;
  display: grid;
  grid-template-columns: clamp(5.5rem, 14vw, 10rem) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: baseline;
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 3vw, 2.5rem);
  background: var(--layer);
}
/* A stepped, block-by-block top edge in the layer's own colour. */
.stratum::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: -15px;
  height: 16px;
  background: var(--layer);
  -webkit-mask: var(--steps) repeat-x left bottom / 192px 16px;
  mask: var(--steps) repeat-x left bottom / 192px 16px;
}
.stratum-now  { --layer: #2B3B4C; }
.stratum-2026 { --layer: #223040; }
.stratum-2014 { --layer: #1A2532; border-radius: 0 0 10px 10px; }
.stratum-2026::before { -webkit-mask-position: 64px bottom; mask-position: 64px bottom; }
.stratum-2014::before { -webkit-mask-position: 128px bottom; mask-position: 128px bottom; }
.stratum-year {
  font-family: var(--font-label);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1;
  color: var(--gold);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.stratum p { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--paper); max-width: 40rem; }

/* ── FOLLOW ── */
.follow { max-width: var(--wrap); margin: 0 auto; padding: clamp(2.5rem, 6vw, 4rem) var(--gutter) clamp(4rem, 8vw, 6rem); }
.follow > p { color: var(--paper-dim); margin-top: 0.6rem; }
.follow-list { list-style: none; display: flex; flex-wrap: wrap; margin-top: 1.5rem; border-top: 1px solid var(--seam); }
.follow-list li { border-bottom: 1px solid var(--seam); }
.follow-list a {
  display: block;
  padding: 0.9rem 1.5rem 0.9rem 0;
  margin-right: 1.5rem;
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
}
.follow-list a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 5px; }

/* ── Footer: same links, quieter frame ── */
.site-footer { border-top-color: var(--seam); }
.footer-col h2 { color: var(--paper-dim); font-family: var(--font-label); font-size: 0.95rem; letter-spacing: 0.08em; }
.footer-copy { border-top-color: var(--seam); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .band-dd1 .band-inner, .band-om .band-inner, .band-head, .history-head { grid-template-columns: minmax(0, 1fr); }
  .intro { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "shelf" "cta"; }
  .icon-shelf { margin-top: 2rem; }
  .shots-courses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .intro { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "shelf" "cta"; }
  .icon-shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; margin-top: 2rem; }
  .icon-shelf .game-name { font-size: 1rem; }
  .icon-shelf .status { font-size: 0.82rem; }
  .intro-cta .btn { width: 100%; }
  .shots-3 { gap: 0.6rem; }
  .shots-loop { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; }
  .shots-loop figcaption { font-size: 0.82rem; }
  .shots-courses { grid-template-columns: minmax(0, 1fr); }
  .stratum { grid-template-columns: minmax(0, 1fr); gap: 0.4rem; }
  .follow-list { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .follow-list li:last-child { grid-column: 1 / -1; }
  .follow-list a { margin-right: 0; padding-right: 0.5rem; overflow-wrap: anywhere; }
}

@media (max-width: 380px) {
  .icon-shelf .game-name { font-size: 0.9rem; }
  .intro-cta .btn { font-size: 0.92rem; padding: 12px 14px; }
}
