/* Deep Seismic LLC / Velonia: the game's riso-print palette (game/src/palette.gd). */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/BricolageGrotesque.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Work Sans";
  src: url("/assets/fonts/WorkSans.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #e8e4d6;
  --card: #f3efe2;
  --ink: #1d1d1b;
  --muted: #5a5648;
  --orange: #d46a2a;
  --mustard: #e3c13e;
  --green: #57be3a;
  --turquoise: #5fd6d0;
  --pink: #c879a7;
  --blue: #3570e8;
  --rule: 3px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

a {
  color: var(--ink);
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: var(--blue);
}

h1,
h2,
h3 {
  font-family: "Bricolage Grotesque", "Work Sans", system-ui, sans-serif;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.6rem, 8vw, 4.4rem);
  font-weight: 800;
  margin: 0 0 0.3em;
}

h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2em 0 0.5em;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.35em;
}

p,
ul,
ol {
  margin: 0 0 1em;
}

li {
  margin-bottom: 0.4em;
}

.wrap {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* The stripes from the icon's sky. */
.stripes {
  height: 22px;
  background: linear-gradient(
    to bottom,
    var(--orange) 0 33%,
    var(--paper) 33% 50%,
    var(--mustard) 50% 100%
  );
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1.1rem 0;
  font-size: 0.95rem;
}

.top a {
  text-decoration: none;
}

.brand {
  font-family: "Bricolage Grotesque", "Work Sans", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.75rem;
  align-items: center;
  margin: 2.5rem 0 2rem;
}

.hero img {
  width: 168px;
  height: 168px;
  border: var(--rule);
  border-radius: 36px;
  box-shadow: var(--shadow);
  display: block;
}

.tagline {
  font-size: 1.3rem;
  margin: 0 0 0.4em;
}

.kicker {
  color: var(--muted);
  margin: 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.1rem;
  margin: 1.1rem 0 0;
}

.button {
  display: inline-block;
  background: var(--orange);
  color: var(--ink);
  border: var(--rule);
  border-radius: 12px;
  box-shadow: 4px 4px 0 var(--ink);
  padding: 0.5em 1.1em;
  font-family: "Bricolage Grotesque", "Work Sans", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
}

.button:hover {
  background: var(--mustard);
}

.button:active {
  box-shadow: 1px 1px 0 var(--ink);
  transform: translate(3px, 3px);
}

/* A status, not a button: no border or fill. */
.status {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.shot {
  margin: 0 0 2rem;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  border: var(--rule);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 0.5rem 0 1rem;
}

.gallery .shot {
  margin: 0;
}

.details {
  margin: 0 0 1rem;
}

.details dt {
  font-family: "Bricolage Grotesque", "Work Sans", sans-serif;
  font-weight: 700;
  margin-top: 0.9rem;
}

.details dd {
  margin: 0.15rem 0 0;
}

.cards {
  display: grid;
  gap: 1.1rem;
  margin: 2rem 0;
}

.card {
  background: var(--card);
  border: var(--rule);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 1.1rem 1.3rem 0.4rem;
}

.card.orange {
  border-left: 14px solid var(--orange);
}

.card.green {
  border-left: 14px solid var(--green);
}

.card.blue {
  border-left: 14px solid var(--blue);
}

.callout {
  scroll-margin-top: 1rem;
  background: var(--turquoise);
  border: var(--rule);
  border-radius: 14px;
  padding: 1.1rem 1.3rem 0.4rem;
  margin: 2.2rem 0;
}

.doc {
  margin: 2rem 0 3rem;
}

.doc h1 {
  font-size: clamp(2rem, 6vw, 3rem);
}

.updated {
  color: var(--muted);
  margin-top: -0.4em;
}

.doc h2 {
  border-top: var(--rule);
  padding-top: 0.9em;
  margin-top: 1.8em;
}

.summary {
  background: var(--card);
  border: var(--rule);
  border-radius: 14px;
  padding: 1rem 1.25rem 0.2rem;
}

footer {
  border-top: var(--rule);
  margin-top: 3rem;
  padding: 1.25rem 0 2.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  margin-bottom: 0.5rem;
}

@media (max-width: 560px) {
  html {
    font-size: 17px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 1.5rem;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .hero img {
    width: 128px;
    height: 128px;
    border-radius: 28px;
  }
}
