/* Shared studio identity; the research workspace keeps its own reading surfaces. */
@font-face {
  font-family: 'Warweaver Display';
  src: url('/fonts/barlow-condensed-latin-800-normal.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}

:root {
  --display: 'Warweaver Display', 'Arial Narrow', sans-serif;
  --studio-ink: #111f25;
  --studio-paper: #ece5d5;
  --studio-accent: #eb906e;
  --paper: #f0eadf;
  --surface: #fffaf1;
  --ink: #111f25;
  --muted: #596064;
  --line: #c8c5ba;
  --blue: #97422c;
  --brass: #eb906e;
}

.site-header {
  background: var(--studio-ink);
  border-bottom: 1px solid #415056;
  min-height: 104px;
}

.askjev-wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  flex-shrink: 0;
  padding: 4px 0;
  text-decoration: none;
}
.askjev-wordmark img {
  display: block;
  width: 178px;
  height: auto;
}
.askjev-wordmark > span {
  font: 9px/1.5 var(--mono);
  color: #bfc7c7;
  letter-spacing: .07em;
}
.askjev-wordmark:hover img {
  transform: translateY(-2px);
}
.askjev-wordmark img,
.primary {
  transition: transform 180ms ease, background-color 180ms ease;
}
.site-header nav .nav-new,
.primary {
  color: var(--ink);
  background: var(--studio-accent);
  border-color: #a94e35;
}
.primary {
  box-shadow: 0 3px 0 #a94e35;
}
.primary:hover:not(:disabled),
.site-header nav .nav-new:hover {
  color: var(--ink);
  background: #f3aa8c;
  border-color: #a94e35;
}
.site-header nav > a:hover,
.site-header nav .text-button:hover {
  color: #f3aa8c;
}
.product-home {
  gap: clamp(32px, 6vw, 88px);
  margin-top: 68px;
}
.home-intro {
  border: 0;
  padding-left: 0;
}
.home-intro::before {
  content: none;
}
.home-intro h1 {
  font: 800 clamp(54px, 5.8vw, 84px)/1.02 var(--display);
  letter-spacing: -.025em;
  text-transform: none;
}
.home-intro h1 em {
  color: #a4432b;
  font: bold italic .91em/1.1 Georgia, 'Times New Roman', serif;
  letter-spacing: -.055em;
}
.home-intro .eyebrow {
  color: #97422c;
}
.home-intro .subtitle {
  color: var(--muted);
  max-width: 420px;
  line-height: 1.75;
}
.search-panel,
.game-brief {
  background: var(--surface);
  border: 1px solid #b5b5ab;
  border-top: 4px solid var(--ink);
  box-shadow: 6px 6px 0 #dfd5c5;
}
.search-panel h2 {
  font-size: 32px;
  font-weight: 800;
}
.step-caption,
.input-hint,
.search-assurance,
.examples {
  color: var(--muted);
}
.step-dot {
  background: var(--ink);
  color: var(--studio-paper);
}
.examples button {
  background: #f2ede3;
  color: #3e4c50;
  border-color: #c8c5ba;
}
.search-panel textarea {
  border-color: #aeb2ac;
  background: #fffdf7;
}
.home-steps {
  border-color: #b4bbb6;
  border-top-width: 1px;
}
.home-steps > div > span {
  color: #97422c;
  border: 0;
  padding-left: 0;
}
.home-steps h3 {
  font-size: 21px;
  font-weight: 800;
}
.dialog-header {
  background: var(--studio-ink);
  border-bottom-color: var(--studio-accent);
}
.close-button {
  background: #293a40;
  border-color: #68777b;
}
.site-footer {
  border-color: #b4bbb6;
}
/* Carry the same materials into reports, account screens, and plan selection. */
.game-tile, .creator-card, .plan-card, .checkout-receipt {
  background: var(--surface);
  border-color: #b5b5ab;
}
.game-tile { box-shadow: 0 3px 0 #dfd5c5; }
.game-tile-mark {
  background: #eadbc9;
  color: #713d2f;
  border-color: #c9b39c;
}
.plan-card { border-top-color: var(--ink); }
.supporter-plan { background: #f4e2d4; border-top-color: #a4432b; }
.plan-stamp {
  transform: none;
  background: #a4432b;
  border-color: var(--surface);
  color: #fffaf1;
}
.weekly-badge {
  background: #edd1bd;
  border-color: #c4a28b;
  border-left-color: #a4432b;
}
.billing-switch, .workflow-tabs {
  background: #e7e0d3;
  border-color: #b5b5ab;
}
.billing-switch button { color: var(--ink); }
.billing-switch button[aria-pressed=true],
.workflow-tabs button[aria-selected=true],
.workflow-tabs button[aria-selected=true]:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--surface);
  box-shadow: inset 0 -3px 0 var(--studio-accent);
}
.billing-switch span { background: #f0bea1; color: #3f281f; }
.workflow-tabs button[aria-selected=true] > span { background: #425359; }
.workflow-tabs button:hover:not(:disabled):not([aria-selected=true]) {
  background: #d9d1c3;
  color: var(--ink);
}
.secondary, .quiet, .text-button { color: #34484f; }
.secondary:hover:not(:disabled), .quiet:hover:not(:disabled), .text-button:hover:not(:disabled) {
  color: var(--ink);
  background: #e7e0d3;
}
.site-header .text-button:hover:not(:disabled) { background: transparent; color: #f3aa8c; }
.report-access:not(.report-unlocked), .account-overview {
  background: #efe0ce;
  border-color: #c0ad94;
  border-left-color: #a4432b;
  box-shadow: none;
}
.project-heading { border-color: #b4bbb6; border-bottom-width: 1px; }
.promise-mark { color: #97422c; }
@media (max-width: 620px) {
  .site-header { gap: 16px; padding-top: 16px; }
  .askjev-wordmark img { width: 160px; }
  .product-home { margin-top: 40px; }
  .home-intro { padding: 0; }
  .home-intro h1 { font-size: clamp(52px, 12vw, 68px); }
  .search-panel h2 { font-size: 29px; }
}
@media (prefers-reduced-motion: reduce) {
  .askjev-wordmark img, .primary { transition: none; }
  .askjev-wordmark:hover img { transform: none; }
}

.site-footer {
  column-gap: 24px;
  row-gap: 14px;
}

.studio-attribution {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--studio-ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.studio-attribution img {
  flex-shrink: 0;
  width: 30px;
  height: 35px;
}

/* Older compact-footer rules hide spans; the ownership label must stay visible. */
.site-footer .studio-attribution > span {
  display: block;
}

.studio-attribution small {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}

.studio-attribution:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.studio-attribution:focus-visible {
  outline: 2px solid var(--studio-ink);
  outline-offset: 4px;
}

@media (max-width: 620px) {
  .studio-attribution {
    flex-basis: 100%;
  }
}
