/* Berries Studios — studio site.
   Design source: NEW/"Berries Studios.dc.html" (Claude Design canvas).
   Plain CSS, hand-authored: this file is not compiled from main.scss. */

:root {
  --ink: #16241C;
  --ink-2: #1A2B21;
  --ink-3: #1C2E23;
  --ink-4: #1F3327;
  --ink-deep: #0B120E;
  --cream: #F4F1EC;
  --paper: #F1EDE6;
  --pink: #FF3D6E;
  --pink-soft: #FF9DB6;
  --pink-dark: #C4315C;
  --sage: #A6BCAE;
  --sage-dim: #8CA697;
  --sage-light: #CCDBD2;
  --sage-deep: #5E7A69;
  --mist: #DBE4DE;
  --green: #4ADE80;
  --green-soft: #7BE8A3;
  --amber: #FFB020;
  --amber-soft: #FFC978;
  --indigo: #7C8DFF;
  --indigo-soft: #A6B2FF;
  --edge: rgba(255, 255, 255, 0.1);
  --edge-strong: rgba(255, 255, 255, 0.24);
  --display: 'Space Grotesk', system-ui, sans-serif;
  --body: 'Instrument Sans', system-ui, sans-serif;
  --wrap: 1240px;
  --gutter: 32px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--cream); text-decoration: none; }
a:hover { color: var(--pink); }
::selection { background: var(--pink); color: var(--ink); }

img { max-width: 100%; }

.page { background: var(--ink); overflow-x: hidden; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* Brand icons rendered as CSS masks so they inherit currentColor. */
.icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.icon-steam {
  -webkit-mask-image: url('../assets/icons/steam.svg');
  mask-image: url('../assets/icons/steam.svg');
}
.icon-discord {
  -webkit-mask-image: url('../assets/icons/discord.svg');
  mask-image: url('../assets/icons/discord.svg');
}
.icon-switch {
  width: 16px;
  height: 16px;
  -webkit-mask-image: url('../assets/icons/nintendo-switch.png');
  mask-image: url('../assets/icons/nintendo-switch.png');
}

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 18px;
  border-radius: 100px;
  white-space: nowrap;
  border: 0;
  cursor: pointer;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}
.btn-solid { background: var(--cream); color: var(--ink); }
.btn-solid:hover { background: var(--pink); color: var(--ink); }
.btn-pink { background: var(--pink); color: var(--ink); }
.btn-pink:hover { background: var(--cream); color: var(--ink); }
.btn-outline { border: 1px solid var(--edge-strong); background: transparent; color: var(--cream); }
.btn-outline:hover { border-color: var(--cream); background: rgba(255, 255, 255, 0.06); color: var(--cream); }
.btn-dashed {
  border: 1px dashed rgba(255, 255, 255, 0.3);
  background: transparent;
  color: var(--sage);
  letter-spacing: 0.06em;
}
.btn-dashed:hover { border-color: var(--pink); color: var(--cream); }
.btn-lg { font-size: 15px; padding: 15px 28px; }
.btn-xl { font-size: 16px; padding: 16px 30px; }
.btn-quiet {
  padding: 15px 22px;
  color: var(--sage);
  background: transparent;
  border: 0;
}
.btn-quiet:hover { color: var(--cream); background: transparent; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* ------------------------------------------------------------ boot screen */

.boot {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  transition: opacity .55s ease;
}
.boot.is-done { opacity: 0; pointer-events: none; }
.boot img {
  display: block;
  width: min(320px, 62vw);
  aspect-ratio: 1601 / 662;
  object-fit: contain;
}
.boot-dots { display: flex; gap: 7px; }
.boot-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink);
  display: block;
  animation: bootPulse 1.1s ease-in-out infinite;
}
.boot-dots span:nth-child(2) { animation-delay: .18s; }
.boot-dots span:nth-child(3) { animation-delay: .36s; }

@keyframes bootPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ------------------------------------------------------- timeline rail/bar */

.rail,
.milebar { opacity: 0; transition: opacity .6s ease; }
.is-booted .rail,
.is-booted .milebar { opacity: 1; }

.rail {
  position: fixed;
  left: 30px;
  top: 68px;
  bottom: 0;
  z-index: 40;
  display: none;
  flex-direction: column;
  justify-content: center;
  pointer-events: none;
}
.rail-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 38px;
  padding: 30px 0;
}
.rail-line,
.rail-fill {
  position: absolute;
  left: 6px;
  width: 2px;
  border-radius: 2px;
}
.rail-line { top: 0; bottom: 0; background: rgba(255, 255, 255, 0.14); }
.rail-fill {
  top: 0;
  height: 0;
  background: linear-gradient(180deg, var(--pink), rgba(255, 61, 110, 0.4));
  box-shadow: 0 0 12px rgba(255, 61, 110, 0.45);
  transition: height .25s ease;
}
.rail-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  pointer-events: auto;
}
.rail-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(22, 36, 28, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.28);
  transition: transform .3s ease, background-color .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.rail-label {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--sage);
  opacity: 0.5;
  transition: opacity .3s ease, color .3s ease;
}
.rail-item.is-past .rail-dot {
  background: rgba(255, 61, 110, 0.45);
  border-color: rgba(255, 61, 110, 0.5);
}
.rail-item.is-active .rail-dot {
  background: var(--pink);
  border-color: var(--pink);
  box-shadow: 0 0 0 5px rgba(255, 61, 110, 0.16);
  transform: scale(1.35);
}
.rail-item.is-active .rail-label { color: var(--cream); opacity: 1; }

/* Over the light studio section the rail has to invert. */
.rail.on-light .rail-line { background: rgba(31, 51, 39, 0.18); }
.rail.on-light .rail-dot { background: rgba(241, 237, 230, 0.9); border-color: rgba(31, 51, 39, 0.32); }
.rail.on-light .rail-label { color: #4A5F53; }
.rail.on-light .rail-item.is-past .rail-dot {
  background: rgba(196, 49, 92, 0.5);
  border-color: rgba(196, 49, 92, 0.55);
}
.rail.on-light .rail-item.is-active .rail-dot {
  background: var(--pink-dark);
  border-color: var(--pink-dark);
  box-shadow: 0 0 0 5px rgba(196, 49, 92, 0.14);
}
.rail.on-light .rail-item.is-active .rail-label { color: var(--ink-4); }

.milebar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  background: rgba(18, 29, 23, 0.94);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.milebar-fill {
  display: block;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--pink), rgba(255, 61, 110, 0.4));
  transition: width .25s ease;
}
.milebar-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 11px 12px 13px;
}
.chip {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  padding: 8px 13px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: background-color .3s ease, border-color .3s ease;
}
.chip-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.35);
  transition: background-color .3s ease;
}
.chip-label {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--sage);
  transition: color .3s ease;
}
.chip.is-past .chip-dot { background: rgba(255, 61, 110, 0.7); }
.chip.is-active { background: var(--pink); border-color: var(--pink); }
.chip.is-active .chip-dot { background: var(--ink); }
.chip.is-active .chip-label { color: var(--ink); }

.bar-spacer { height: 184px; }

/* The rail only appears once the content column leaves room beside it. */
@media (min-width: 1560px) {
  .rail { display: flex; }
  .milebar { display: none; }
  .bar-spacer { height: 0; }
}

/* ----------------------------------------------------------------- header */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(22, 36, 28, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.site-header .wrap {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.site-header .brand { display: flex; align-items: center; gap: 10px; }
.site-header .brand img {
  display: block;
  width: 110px;
  height: 47px;
  flex-shrink: 0;
  object-fit: contain;
}
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--sage);
  transition: color .25s ease;
}
.site-nav a:hover { color: var(--cream); }
.site-nav .btn { font-size: 14px; letter-spacing: 0.02em; padding: 11px 19px; }
.site-nav .btn:hover { color: var(--ink); }

/* ------------------------------------------------------------------- hero */

.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: flex-end;
  padding: 150px 0 64px;
  overflow: hidden;
}
.hero-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 1.4s ease;
}
.hero-layer.is-active { opacity: 1; }
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 36, 28, 0.86) 0%, rgba(22, 36, 28, 0.54) 40%, rgba(22, 36, 28, 0.97) 100%);
}
.hero .wrap { position: relative; width: 100%; }

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.hero-kicker .rule {
  width: 28px;
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
  display: block;
}
.hero-kicker .place { font-size: 13px; color: var(--sage); }

.hero h1 {
  margin: 0;
  max-width: 15ch;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(46px, 8.4vw, 132px);
  line-height: 0.9;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero-lede {
  margin: 34px 0 0;
  max-width: 52ch;
  font-size: 19px;
  line-height: 1.6;
  color: var(--sage-light);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 14px;
  margin-top: 40px;
}
.hero-actions .btn { font-size: 15px; padding: 15px 28px; gap: 10px; }
.hero-actions .btn-quiet { padding: 15px 22px; gap: 9px; }
.platform-pair {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-left: 11px;
  border-left: 1px solid rgba(22, 36, 28, 0.22);
  opacity: 0.75;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 44px;
  margin-top: 72px;
  padding-top: 28px;
  border-top: 1px solid var(--edge);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat b {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.stat span {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-dim);
}
.hero-switcher {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
  align-self: flex-end;
}
.hero-switcher .now {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
}
.hero-dots { display: flex; gap: 8px; }
.hero-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--cream);
  cursor: pointer;
  opacity: 0.28;
  transition: opacity .4s ease;
}
.hero-dots button.is-active { opacity: 1; }

/* ------------------------------------------------------------------ games */

.games-intro { padding: 110px 0 0; }
.games-intro .head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.games-intro h2 {
  margin: 16px 0 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1;
  letter-spacing: -0.03em;
}
.games-intro p {
  margin: 0;
  max-width: 38ch;
  font-size: 16px;
  line-height: 1.6;
  color: var(--sage);
}

.game { background: var(--ink); padding: 0 0 74px; }
.game.alt { background: var(--ink-2); }

.game-rule {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 38px 0 34px;
}
.game-rule .num {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--sage-deep);
}
.game-rule .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.03));
}

.game-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 52px;
  align-items: center;
}
/* Image right, copy left — the design alternates per title. */
.game-body.reverse .gallery { order: 2; }

.gallery {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--edge);
  aspect-ratio: 16 / 9;
  background: var(--ink-4);
  cursor: pointer;
}
.gallery-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-size: cover;
  background-position: center;
  transition: opacity .5s ease;
}
.gallery-layer.is-active { opacity: 1; }
.gallery-dots {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 100px;
  background: rgba(22, 36, 28, 0.64);
  backdrop-filter: blur(6px);
}
.gallery-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cream);
  display: block;
  opacity: 0.3;
  transition: opacity .4s ease;
}
.gallery-dots span.is-active { opacity: 1; }

.status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-bottom: 20px;
}
.status-row .when { font-size: 14px; line-height: 1.5; color: var(--sage); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: block;
  background: currentColor;
}
.badge-released {
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.32);
  color: var(--green-soft);
}
.badge-released i { background: var(--green); }
.badge-demo {
  background: rgba(255, 176, 32, 0.12);
  border: 1px solid rgba(255, 176, 32, 0.32);
  color: var(--amber-soft);
}
.badge-demo i { background: var(--amber); }
.badge-concept {
  background: rgba(124, 141, 255, 0.12);
  border: 1px solid rgba(124, 141, 255, 0.32);
  color: var(--indigo-soft);
}
.badge-concept i { background: var(--indigo); }

.game h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.genre {
  margin: 14px 0 0;
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.5;
  color: var(--pink);
}
.game-copy {
  margin: 22px 0 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--sage-light);
}
.game-note {
  margin: 26px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--sage);
}
.game-note a { border-bottom: 1px solid rgba(255, 255, 255, 0.3); }

.factgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 20px 24px;
  margin: 32px 0 0;
  padding: 24px 0;
  border-top: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
}
.fact { display: flex; flex-direction: column; gap: 6px; }
.fact dt,
.fact-key {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-dim);
}
.fact-key.ask { color: var(--pink-soft); }
.fact dd,
.fact-val {
  margin: 0;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
}
.game .btn-row { margin-top: 28px; }

/* ----------------------------------------------------------------- studio */

.studio {
  position: relative;
  background: var(--paper);
  color: var(--ink-4);
  padding: 120px 0 70px;
  overflow: hidden;
}
.studio-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(31, 51, 39, 0.13) 1px, transparent 1px);
  background-size: 22px 22px;
}
.studio-glow {
  position: absolute;
  left: -160px;
  bottom: -180px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(196, 49, 92, 0.09) 0%, rgba(196, 49, 92, 0) 68%);
}
.studio .wrap { position: relative; }
.studio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 80px;
  align-items: start;
}
.studio .eyebrow { color: var(--pink-dark); }
.studio h2 {
  margin: 16px 0 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 20ch;
}
.studio p.lede {
  margin: 28px 0 0;
  font-size: 18px;
  line-height: 1.65;
  color: #2E4038;
  max-width: 50ch;
}
.studio p.lede + p.lede { margin-top: 20px; }

.capabilities {
  display: grid;
  gap: 1px;
  background: rgba(46, 33, 64, 0.16);
  margin-top: 44px;
  border-top: 1px solid rgba(46, 33, 64, 0.14);
  border-bottom: 1px solid rgba(46, 33, 64, 0.14);
}
.capability {
  background: var(--paper);
  padding: 22px 0;
  display: flex;
  gap: 20px;
  align-items: baseline;
}
.capability > span {
  font-family: var(--display);
  font-size: 13px;
  color: var(--pink-dark);
  min-width: 28px;
}
.capability h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.3;
}
.capability p {
  margin: 6px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: #3A4C42;
}

.studio-side { display: flex; flex-direction: column; gap: 20px; }
.studio-side .gallery {
  aspect-ratio: 4 / 3;
  border: 0;
  background: #E3DED4;
  box-shadow: 0 20px 50px -30px rgba(31, 51, 39, 0.6);
}
.studio-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.studio-card {
  border: 1px solid rgba(46, 33, 64, 0.14);
  border-radius: 16px;
  padding: 24px;
}
.studio-card b {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: block;
}
.studio-card span { font-size: 15px; line-height: 1.45; color: #4A5F53; }

.motto {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: var(--ink);
  color: var(--cream);
  padding: 32px 34px;
}
.motto img {
  position: absolute;
  right: -18px;
  bottom: -14px;
  width: 210px;
  aspect-ratio: 1601 / 662;
  opacity: 0.13;
  pointer-events: none;
  object-fit: contain;
}
.motto .eyebrow { font-size: 12px; color: var(--pink-soft); }
.motto h3 {
  position: relative;
  margin: 14px 0 0;
  max-width: 20ch;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.motto p {
  position: relative;
  margin: 16px 0 0;
  max-width: 34ch;
  font-size: 15px;
  line-height: 1.6;
  color: var(--sage);
}

/* --------------------------------------------------------------- partners */

.partners { background: var(--ink); padding: 120px 0; }
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 80px;
  align-items: start;
}
.partners h2 {
  margin: 16px 0 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 22ch;
}
.partners p.lede {
  margin: 28px 0 0;
  font-size: 18px;
  line-height: 1.65;
  color: var(--sage-light);
  max-width: 48ch;
}
.partners p.sub {
  margin: 20px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--sage);
  max-width: 46ch;
}
.partners .btn-row { margin-top: 36px; }

.roadmap-panel {
  border: 1px solid var(--edge);
  border-radius: 20px;
  padding: 8px 32px 32px;
  background: var(--ink-3);
}
.roadmap-panel h3 {
  margin: 0;
  padding: 24px 0;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-dim);
}
.roadmap-row {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 8px 22px;
  padding: 20px 0;
  border-top: 1px solid var(--edge);
}
.roadmap-row .when {
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--sage);
  padding-top: 2px;
}
.roadmap-row .when.now { color: var(--pink); }
.roadmap-row .body { display: flex; flex-direction: column; gap: 5px; }
.roadmap-row .title-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}
.roadmap-row .title-line b {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
}
.roadmap-row .title-line span {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-dim);
}
.roadmap-row .title-line span.hot { color: var(--pink); }
.roadmap-row .desc { font-size: 14px; line-height: 1.5; color: var(--sage-dim); }

/* ---------------------------------------------------------------- contact */

.contact { padding: 40px 0 0; }
.contact-grid {
  border-top: 1px solid var(--edge);
  padding: 96px 0 64px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 64px;
  align-items: end;
}
.contact-mail {
  display: block;
  margin-top: 20px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(22px, 2.7vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.contact p {
  margin: 26px 0 0;
  max-width: 44ch;
  font-size: 17px;
  line-height: 1.6;
  color: var(--sage);
}
.social {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}
.social a {
  font-size: 16px;
  color: var(--sage);
  padding: 9px 0;
  border-bottom: 1px solid var(--edge);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: color .25s ease;
}
.social a:hover { color: var(--cream); }

.colophon {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0 40px;
  border-top: 1px solid var(--edge);
}
.colophon .left {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--sage-dim);
}
.colophon .left img {
  display: block;
  width: 92px;
  aspect-ratio: 1601 / 662;
  object-fit: contain;
}
.colophon .left a { color: var(--sage-dim); }
.colophon .left a:hover { color: var(--cream); }
.colophon .motto-line {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-dim);
}

/* --------------------------------------------------------------- lightbox */

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 18, 14, 0.94);
  backdrop-filter: blur(10px);
  cursor: zoom-out;
}
.overlay[hidden] { display: none; }

.lightbox {
  z-index: 130;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 40px 24px;
}
.lightbox-stage {
  position: relative;
  width: min(1500px, 94vw);
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: var(--ink-4);
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.8);
  cursor: default;
}
.lightbox-img {
  position: absolute;
  inset: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.round-btn {
  position: absolute;
  border: 0;
  border-radius: 50%;
  background: rgba(22, 36, 28, 0.72);
  color: var(--cream);
  font-family: var(--display);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .25s ease;
}
.round-btn:hover { background: var(--pink); }
.lb-prev,
.lb-next {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  font-size: 22px;
}
.lb-prev { left: 14px; }
.lb-next { right: 14px; }
.lb-close { right: 14px; top: 14px; width: 40px; height: 40px; font-size: 17px; }
.lightbox-caption {
  display: flex;
  align-items: center;
  gap: 18px;
  cursor: default;
}
.lightbox-caption .title {
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
}
.lightbox-caption .count { font-size: 13px; color: var(--sage-dim); }

/* ----------------------------------------------------------------- modals */

.modal-scroll {
  background: rgba(11, 18, 14, 0.9);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 28px 20px;
  overflow-y: auto;
}
.modal-roadmap { z-index: 110; }
.modal-pitch { z-index: 120; }

.sheet {
  position: relative;
  width: min(940px, 100%);
  background: var(--ink-3);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 40px 40px 36px;
  cursor: default;
  box-shadow: 0 40px 140px -40px rgba(0, 0, 0, 0.85);
}
.modal-pitch .sheet { width: min(1020px, 100%); }
.sheet-close {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 15px;
  z-index: 2;
}

.sheet h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.sheet-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 12px;
}
.badge-neutral {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 6px 13px;
  font-size: 12px;
}
.sheet-genre {
  margin: 10px 0 0;
  font-family: var(--display);
  font-size: 15px;
  line-height: 1.45;
  color: var(--pink);
}
.sheet-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 28px 34px;
  margin-top: 26px;
}
.sheet-summary { margin: 0; font-size: 16px; line-height: 1.65; color: var(--sage-light); }
.spec {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.spec-row {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 14px;
  align-items: baseline;
}
.spec-row dt {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-dim);
}
.spec-row dd { margin: 0; font-size: 14px; line-height: 1.5; color: var(--mist); }
.spec-row.ask dt { color: var(--pink-soft); }
.spec-row.ask dd { color: var(--cream); }
.sheet-team { margin: 20px 0 0; font-size: 14px; line-height: 1.55; color: var(--sage-dim); }

.shots { display: flex; flex-direction: column; gap: 12px; }
.shot-main {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background-color: var(--ink);
  background-size: cover;
  background-position: top center;
}
.shot-thumbs { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.shot-thumbs div {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background-color: var(--ink);
  background-size: cover;
  background-position: center;
  cursor: pointer;
}

.sheet h4 {
  margin: 34px 0 0;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-dim);
}
.sheet-intro { margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: var(--sage); }

.timeline {
  position: relative;
  margin: 24px 0 0;
  padding-left: 26px;
  border-left: 2px solid rgba(255, 255, 255, 0.14);
}
.timeline-item { position: relative; padding-bottom: 26px; }
.timeline-item .bullet {
  position: absolute;
  left: -31px;
  top: 3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--ink-3);
}
.timeline-item .label {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.timeline-item h5 {
  margin: 6px 0 0;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}
.timeline-item p { margin: 6px 0 0; font-size: 14px; line-height: 1.55; color: var(--sage); }

.sheet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.sheet-actions .btn { font-size: 15px; padding: 13px 24px; }
.sheet-actions .btn-pink { padding: 14px 26px; }
.sheet-caveat { margin: 16px 0 0; font-size: 13px; line-height: 1.55; color: var(--sage-dim); }

/* pitch pack modal */
.pitch-lede {
  margin: 16px 0 0;
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.65;
  color: var(--sage-light);
}
.modal-pitch .sheet > h3 {
  margin: 12px 0 0;
  font-size: clamp(26px, 3.4vw, 40px);
  letter-spacing: -0.03em;
  max-width: 22ch;
}
.pitch-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px 24px;
  margin: 28px 0 0;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.pitch-facts .fact { gap: 5px; }
.pitch-game {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px 34px;
  padding: 32px 0;
  border-bottom: 1px solid var(--edge);
}
.pitch-game h4 {
  margin: 14px 0 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--cream);
}
.pitch-game .genre { margin: 8px 0 0; font-size: 15px; line-height: 1.45; }
.pitch-game .summary { margin: 14px 0 0; font-size: 15px; line-height: 1.65; color: var(--sage-light); }
.pitch-game .spec { margin-top: 18px; padding-top: 0; border-top: 0; }
.pitch-game .spec-row { grid-template-columns: 96px 1fr; }
.pitch-mini {
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.pitch-mini > span {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-dim);
}
.pitch-mini .timeline { margin-top: 14px; padding-left: 22px; }
.pitch-mini .timeline-item { padding-bottom: 16px; }
.pitch-mini .timeline-item .bullet { left: -27px; width: 8px; height: 8px; }
.pitch-mini .timeline-item .label { font-size: 11px; }
.pitch-mini .timeline-item .title {
  display: block;
  margin-top: 3px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}
.pitch-mini .timeline-item .desc {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--sage);
}
.pitch-closing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  padding: 32px 0 0;
}
.pitch-closing h4 { margin: 0; }
.pitch-closing p { margin: 12px 0 0; font-size: 15px; line-height: 1.65; color: var(--sage-light); }
.modal-pitch .sheet-actions { margin-top: 32px; padding-top: 26px; }
.modal-pitch .sheet-actions .btn-pink { font-size: 16px; padding: 15px 28px; }
.sheet-actions .aside { font-size: 14px; line-height: 1.5; color: var(--sage-dim); }

/* -------------------------------------------- long-form pages (GDPR etc.) */

.prose { padding: 140px 0 40px; }
.prose h1 {
  margin: 16px 0 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 20ch;
}
.prose-body { max-width: 74ch; margin-top: 40px; }
.prose-body h2 {
  margin: 44px 0 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.prose-body p,
.prose-body li { font-size: 16px; line-height: 1.7; color: var(--sage-light); }
.prose-body p { margin: 14px 0 0; }
.prose-body ul { margin: 14px 0 0; padding-left: 20px; }
.prose-body li { margin-top: 6px; }
.prose-body a { border-bottom: 1px solid rgba(255, 255, 255, 0.3); }

/* ---------------------------------------------------------------- reveals */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .boot-dots span { animation: none; }
}

/* ------------------------------------------------------------ small print */

@media (max-width: 900px) {
  .site-nav { gap: 18px; }
  .site-nav a:not(.btn) { display: none; }
  .studio-grid,
  .partners-grid { gap: 56px; }
}

@media (max-width: 760px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .hero { padding: 118px 0 44px; min-height: 0; }
  .games-intro { padding: 64px 0 0; }
  .game { padding-bottom: 46px; }
  .game-rule { padding: 26px 0 22px; }
  .game-body { gap: 28px; }
  /* Stacked: image always leads, whichever side it sits on at desktop. */
  .game-body.reverse .gallery { order: -1; }
  .studio { padding: 64px 0 40px; }
  .studio-grid { gap: 40px; }
  .partners { padding: 64px 0; }
  .partners-grid { gap: 44px; }
  .contact-grid { padding: 56px 0 40px; gap: 36px; }
  .hero .btn,
  .game .btn { min-height: 46px; }
  .hero-meta { margin-top: 44px; }
  .hero-switcher { margin-left: 0; }
  .sheet { padding: 32px 22px 28px; }
  .spec-row { grid-template-columns: 92px 1fr; }
}
