/* Single PA brand for the qualifier; add more themes alongside this if
   Hazy Goose ever picks up its own identity. */
/* PA Brand — Dark
   Source: Pixel Artworks Brand Guidelines
   Fonts: GRTSK Tera / GRTSK Regular (Atipo) + FK Grotesk Mono (Florian Karsten)

   This is the default theme — applied to :root so unset `data-brand` lands here.
   To make PA explicit, use `?brand=pa`. */
@font-face {
  font-family: 'Grtsk Tera';
  src: url('/fonts/GrtskTera-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Grtsk Tera';
  src: url('/fonts/GrtskTera-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Grtsk';
  src: url('/fonts/Grtsk-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'FK Grotesk Mono';
  src: url('/fonts/FKGroteskMono-Medium.woff2') format('woff2');
  font-weight: 400 500; font-style: normal; font-display: swap;
}
:root,
:root[data-brand="pa"] {
  /* Colours — dark */
  --color-bg:          #070707;
  --color-surface:     #0d0d0d;
  --color-surface-2:   #141414;
  --color-text:        #eaeae0;
  --color-border:      rgba(234, 234, 224, 0.25);
  --color-muted:       rgba(234, 234, 224, 0.35);
  --color-overlay:     rgba(234, 234, 224, 0.06);

  /* Control states */
  --color-on:          #eaeae0;
  --color-on-text:     #070707;
  --color-off:         transparent;
  --color-off-text:    #eaeae0;
  --color-triggered:   #eaeae0;

  /* Slider */
  --color-track:       rgba(234, 234, 224, 0.15);
  --color-fill:        #eaeae0;
  --color-thumb:       #eaeae0;

  /* Status */
  --color-connected:   #eaeae0;
  --color-disconnected:rgba(234, 234, 224, 0.3);

  /* Typography */
  --font-heading:      'Grtsk Tera', 'Arial Narrow', Arial, sans-serif;
  --font-body:         'Grtsk', Arial, sans-serif;
  --font-mono:         'FK Grotesk Mono', 'Courier New', monospace;

  /* Headline / button tracking (PA: subtle) */
  --tracking-button:   0.04em;
  --tracking-display:  0.04em;

  /* Corner radius (PA: sharp) */
  --radius-sm:         0;
  --radius-md:         0;
  --radius-pill:       0;

  /* Brand name shown in chrome (scheduler title, splash) */
  --brand-name:        'PA';
}
/* Structural tokens — brand-agnostic.
   Spacing, motion, layout primitives that stay constant across themes.
   Brand tokens (colour + typography + radius + logo) live in /themes/*.css. */
:root {
  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;

  /* Border width */
  --border-width: 1px;
  --border: var(--border-width) solid var(--color-border);

  /* Motion */
  --duration-fast: 60ms;
  --duration-base: 120ms;
  --easing: cubic-bezier(0.16, 1, 0.3, 1);
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body, #app {
  width: 100%;
  min-height: 100%;
}
body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}
input, textarea {
  font-family: inherit;
  color: inherit;
}

.build-badge[data-v-7aee33ee] {
  position: fixed;
  bottom: 4px;
  right: 7px;
  z-index: 9999;
  font-family: var(--font-mono, monospace);
  font-size: 9px;
  letter-spacing: 0.04em;
  color: var(--color-muted, #888);
  opacity: 0.4;
  pointer-events: none;
  white-space: nowrap;
}

.app[data-v-90f720f1] {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
/* Pixel field behind the form (lazy three.js canvas). */
.wizard-bg[data-v-90f720f1] {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  pointer-events: none;
}
.app-header[data-v-90f720f1],
.stage[data-v-90f720f1] { position: relative; z-index: 1;
}

/* ─── Header ────────────────────────────────────────────────────────────── */
.app-header[data-v-90f720f1] {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  border-bottom: var(--border);
}
.brand[data-v-90f720f1] {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-text);
  text-transform: uppercase;
}
.brand-symbol[data-v-90f720f1] {
  height: 18px;          /* > 15px brand minimum */
  width: auto;
  display: block;
}
.sub[data-v-90f720f1] {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.nav[data-v-90f720f1] {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
}
.nav-signout[data-v-90f720f1] {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color var(--duration-base) var(--easing);
}
.nav-signout[data-v-90f720f1]:hover { color: var(--color-text);
}

/* White CTA — the primary way into the idea space. The arrow drifts to nudge
   the eye; squared to match the editorial design language. */
.nav-cta[data-v-90f720f1] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-on-text);
  background: var(--color-on);
  border: 1px solid var(--color-on);
  text-decoration: none;
  transition: transform var(--duration-base) var(--easing),
              box-shadow var(--duration-base) var(--easing);
}
.nav-cta[data-v-90f720f1]:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px color-mix(in srgb, var(--color-on) 32%, transparent);
}
.nav-cta-arrow[data-v-90f720f1] {
  display: inline-block;
  animation: arrow-nudge-90f720f1 1.5s var(--easing) infinite;
}
@keyframes arrow-nudge-90f720f1 {
0%, 100% { transform: translateX(0);
}
50%      { transform: translateX(5px);
}
}
@media (prefers-reduced-motion: reduce) {
.nav-cta-arrow[data-v-90f720f1] { animation: none;
}
}
a.btn[data-v-90f720f1] { text-decoration: none; display: inline-flex; align-items: center;
}

/* ─── Stage / step layout ────────────────────────────────────────────────── */
.stage[data-v-90f720f1] {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-6);
}
/* Soft spotlight: darkens the busy pixels behind the copy column while leaving
   them vivid at the edges. Sits above the canvas, below the form (negative
   z-index within the stage's own stacking context). Single gradient — no blur,
   no per-frame cost. */
.stage[data-v-90f720f1]::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    62% 56% at 50% 44%,
    color-mix(in srgb, var(--color-bg) 80%, transparent) 0%,
    color-mix(in srgb, var(--color-bg) 50%, transparent) 48%,
    transparent 78%);
}
.progress[data-v-90f720f1] {
  width: 100%;
  max-width: 640px;
  height: 2px;
  background: var(--color-overlay);
  margin-bottom: var(--space-6);
}
.progress-fill[data-v-90f720f1] {
  height: 100%;
  background: var(--color-on);
  transition: width var(--duration-base) var(--easing);
}
.step[data-v-90f720f1] {
  width: 100%;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  animation: fadeUp-90f720f1 240ms var(--easing);
}
@keyframes fadeUp-90f720f1 {
from { opacity: 0; transform: translateY(8px);
}
to   { opacity: 1; transform: none;
}
}
.step-counter[data-v-90f720f1] {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted);
}
h1[data-v-90f720f1] {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--color-text);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5),
               0 0 18px color-mix(in srgb, var(--color-bg) 70%, transparent);
}
.lede[data-v-90f720f1] {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-muted);
}

/* ─── Form fields ───────────────────────────────────────────────────────── */
.form-field[data-v-90f720f1] {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-2);
}
.form-field label[data-v-90f720f1] {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
}
input[type="text"][data-v-90f720f1],
input[type="email"][data-v-90f720f1],
textarea[data-v-90f720f1] {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text);
  background: var(--color-surface);
  border: var(--border);
  outline: none;
  transition: border-color var(--duration-base) var(--easing);
}
input[data-v-90f720f1]:focus, textarea[data-v-90f720f1]:focus {
  border-color: var(--color-text);
}
textarea[data-v-90f720f1] { resize: vertical; min-height: 120px; line-height: 1.5;
}
.counter[data-v-90f720f1] {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.counter-hint[data-v-90f720f1] { opacity: 0.7;
}

/* ─── Choice buttons ───────────────────────────────────────────────────── */
.choices[data-v-90f720f1] {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.choice[data-v-90f720f1] {
  text-align: left;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text);
  background: var(--color-surface);
  border: var(--border);
  cursor: pointer;
  transition: all var(--duration-base) var(--easing);
}
.choice[data-v-90f720f1]:hover { border-color: var(--color-muted);
}
.choice.is-selected[data-v-90f720f1] {
  background: var(--color-on);
  color: var(--color-on-text);
  border-color: var(--color-on);
}

/* ─── Action buttons ───────────────────────────────────────────────────── */
.actions[data-v-90f720f1] {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.actions-end[data-v-90f720f1] { justify-content: flex-end;
}
.btn[data-v-90f720f1] {
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  border: var(--border);
  cursor: pointer;
  transition: all var(--duration-base) var(--easing);
}
.btn-primary[data-v-90f720f1] {
  background: var(--color-on);
  color: var(--color-on-text);
  border-color: var(--color-on);
}
.btn-primary[data-v-90f720f1]:hover:not(:disabled) { opacity: 0.85;
}
.btn-ghost[data-v-90f720f1] {
  background: transparent;
  color: var(--color-muted);
  border-color: transparent;
}
.btn-ghost[data-v-90f720f1]:hover:not(:disabled) {
  color: var(--color-text);
  background: var(--color-overlay);
}

/* ─── Review screen ────────────────────────────────────────────────────── */
.review[data-v-90f720f1] {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--space-2) var(--space-4);
  padding: var(--space-4);
  background: var(--color-surface);
  border: var(--border);
}
.review dt[data-v-90f720f1] {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--color-muted);
  padding-top: 4px;
}
.review dd[data-v-90f720f1] {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text);
  white-space: pre-wrap;
}
.error[data-v-90f720f1] {
  padding: var(--space-3);
  background: rgba(232, 80, 80, 0.1);
  border-left: 2px solid rgba(232, 80, 80, 0.8);
  color: var(--color-text);
  font-size: 13px;
}
.step-success h1[data-v-90f720f1] { font-size: 40px;
}
