/* Mangaka Days holding page. "Evening studio" palette from the in-game theme
   (docs/superpowers/specs/2026-09-29-brand-ui-restyle-design.md). */

@font-face {
  font-family: "Lilita One";
  src: url("/fonts/LilitaOne-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  color-scheme: dark;
  --wash: #221a1c;
  --surface: #2e2426;
  --hover: #43363a;
  --line: #5a4644;
  --text: #f6ead2;
  --muted: #c9b79a;
  --mint: #a8f8e0;
  --mint-base: #50c0b0;
  --gold: #f0c878;
  --gold-base: #b88048;
  --ink: #4b2c2a;
  --display: "Lilita One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--wash);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--body);
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

a { color: var(--mint); }
a:hover { color: var(--text); }
a:focus-visible, .slab:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* Hero: softened studio art with the logo on top. */
.hero {
  min-height: min(86vh, 860px);
  display: grid;
  place-items: center;
  padding: 48px 16px 72px;
  text-align: center;
  background:
    linear-gradient(to bottom, rgb(34 26 28 / 0) 55%, var(--wash) 100%),
    url("/img/studio.webp") center 55% / cover no-repeat,
    var(--wash);
  /* The studio art is lightly pixelated; keep the blocks crisp when scaled up. */
  image-rendering: pixelated;
}

.hero h1 { margin: 0; }

.logo {
  width: clamp(260px, 46vw, 560px);
  margin: 0 auto;
  filter: drop-shadow(0 6px 18px rgb(0 0 0 / 0.35));
}

.tagline,
.coming {
  font-family: var(--display);
  margin: 0;
  text-shadow:
    0 2px 0 var(--ink), 0 -2px 0 var(--ink), 2px 0 0 var(--ink), -2px 0 0 var(--ink),
    0 4px 0 var(--ink);
}

.tagline {
  margin-top: 20px;
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
}

.coming {
  display: inline-block;
  margin-top: 18px;
  padding: 6px 18px 8px;
  border: 2px solid var(--mint);
  border-radius: 999px;
  background: rgb(34 26 28 / 0.6);
  color: var(--mint);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  text-shadow: none;
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

section { margin: 0 0 64px; }

h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--gold); }
h3 { font-size: 1.3rem; color: var(--mint); }

/* Screenshot and pitch side by side on wide screens. */
.intro {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 40px;
  align-items: center;
  margin-top: -24px;
}

.shot { margin: 0; }

.shot img {
  border: 3px solid var(--ink);
  border-radius: 14px;
  box-shadow: 0 6px 0 var(--ink), 0 14px 32px rgb(0 0 0 / 0.4);
}

.shot figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.pitch p { margin: 0 0 1em; }

/* Calm, visible pointer to the full AI disclosure in the footer. */
.pitch .ai-note {
  margin: 1.4em 0 0;
  padding: 12px 16px;
  border: 2px solid var(--mint);
  border-radius: 12px;
  background: rgb(168 248 224 / 0.07);
  color: var(--text);
}

.ai-note a { color: var(--mint); font-weight: 600; }

#ai { scroll-margin-top: 24px; }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.features article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 22px 8px;
}

.features p { color: var(--muted); margin: 0 0 1em; }

.follow {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px 24px;
  text-align: center;
}

.follow > p { margin: 0 0 22px; color: var(--muted); }

.buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 26px;
}

/* Gold slab buttons, as in the game's main actions. */
.slab {
  display: inline-block;
  padding: 12px 26px 13px;
  text-align: center;
  border: 3px solid var(--ink);
  border-radius: 14px;
  background: var(--gold);
  box-shadow: 0 5px 0 var(--gold-base), 0 5px 0 3px var(--ink);
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.25rem;
  text-decoration: none;
  transition: transform 80ms ease, box-shadow 80ms ease;
}

.slab:hover { color: var(--ink); background: #f6d590; }

/* Social links: square icon slabs, brand marks from Simple Icons (CC0). */
.slab.icon {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  padding: 0;
}

.slab.icon svg { width: 30px; height: 30px; }

.slab:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 var(--gold-base), 0 1px 0 3px var(--ink);
}

/* "How we used AI": one row per tool, so it can be skimmed. */
.ai-card {
  background: var(--surface);
  border: 2px solid var(--mint);
  border-radius: 18px;
  padding: 32px 28px 20px;
}

.ai-card > p { margin: 0 0 20px; }

.ai-card dl { margin: 0; display: grid; }

.ai-card dl > div {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: 4px 20px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.ai-card dt { font-family: var(--display); font-size: 1.15rem; color: var(--mint); }
.ai-card dd { margin: 0; }
.ai-card .not-ai dt { color: var(--gold); }

.contact { margin: 0; color: var(--muted); }
.contact a { overflow-wrap: anywhere; }

footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 16px 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}

footer p { margin: 0 0 0.8em; }
footer strong { color: var(--text); }
.small { font-size: 0.8rem; }

@media (max-width: 760px) {
  .hero { min-height: 0; padding: 56px 16px 64px; }
  .intro { grid-template-columns: 1fr; gap: 24px; margin-top: 0; }
  section { margin-bottom: 48px; }
  .follow { padding: 28px 16px; }
  .ai-card { padding: 24px 16px 12px; }
  .ai-card dl > div { grid-template-columns: 1fr; }
  .buttons { gap: 10px; }
  .slab.icon { width: 52px; height: 52px; }
  .slab.icon svg { width: 24px; height: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .slab { transition: none; }
}
