/* PROMPT/LIVING — museum placard meets terminal */

:root {
  --bg: #0a0a0b;
  --panel: #111113;
  --text: #ece7db;
  --muted: #9b9587;
  --accent: #c9a25e;
  --line: #232326;
  --serif: "Cormorant Garamond", Georgia, serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { display: block; max-width: 100%; height: auto; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 11, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.wordmark {
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--text);
  font-size: 0.95rem;
  white-space: nowrap;
}
.wordmark span { color: var(--accent); }
.wordmark:hover { text-decoration: none; }

.nav-links { display: flex; gap: 1.5rem; margin-left: auto; }
.nav-links a {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-links a:hover { color: var(--text); text-decoration: none; }

.nav-ig {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  white-space: nowrap;
}

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

.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.2rem, 7vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: 0.02em;
}
.hero h1 span { color: var(--accent); font-weight: 400; }

.tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--text);
  margin-top: 1rem;
}

.lede {
  color: var(--muted);
  margin-top: 1.25rem;
  max-width: 34rem;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

.btn {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.9rem 1.7rem;
  border: 1px solid var(--accent);
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
.btn:hover { text-decoration: none; }
.btn-solid { background: var(--accent); color: #0a0a0b; }
.btn-solid:hover { background: #dbb56f; }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: rgba(201, 162, 94, 0.12); }

.hero-figure img {
  width: 100%;
  border: 1px solid var(--line);
}

/* museum placard */
.placard {
  border: 1px solid var(--line);
  border-top: none;
  background: var(--panel);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.placard-no {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--accent);
}
.placard-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.5;
  color: var(--text);
}

/* ---------- sections ---------- */

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
  border-top: 1px solid var(--line);
}

.section-head { margin-bottom: 3rem; max-width: 46rem; }
.section-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.1;
}
.section-sub { color: var(--muted); margin-top: 1rem; }

/* steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.step-no {
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.75rem;
  margin-bottom: 1.25rem;
}
.step h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}
.step p { color: var(--muted); font-size: 0.98rem; }

/* gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}
.artwork img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--line);
}

/* ---------- form ---------- */

.prompt-form {
  max-width: 42rem;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 2.5rem;
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.field { margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.field label {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.field label .optional { color: #6b675e; text-transform: none; letter-spacing: 0.02em; }

.field input,
.field textarea {
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  width: 100%;
  border-radius: 0;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.field input::placeholder,
.field textarea::placeholder { color: #5c584f; }

.form-note {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: 1.25rem;
}

.form-status {
  margin-top: 1rem;
  font-family: var(--mono);
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--accent);
  display: none;
}
.form-status.show { display: block; }
.form-status.error { color: #d98a7e; }

/* ---------- sponsors ---------- */

.sponsor-body { max-width: 46rem; }
.sponsor-body > p { color: var(--muted); margin-bottom: 2rem; }

.sponsor-perks { list-style: none; margin-bottom: 2.5rem; }
.sponsor-perks li {
  font-family: var(--serif);
  font-size: 1.35rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 1rem;
}
.sponsor-perks li::before {
  content: "—";
  color: var(--accent);
  font-family: var(--mono);
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-title {
  font-family: var(--serif);
  font-size: 1.4rem;
}
.footer-links { font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.06em; }
.footer-copy {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* ---------- reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 3.5rem; gap: 2.5rem; }
  .steps { grid-template-columns: 1fr; gap: 2rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-ig { margin-left: auto; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .prompt-form { padding: 1.5rem; }
  .field-row { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 1.25rem; }
  .nav { padding: 0.9rem 1.25rem; }
}
