.site-header {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding-top: 24px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}

.brand {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}

.section-grid,
.card-grid {
  display: grid;
  gap: 22px;
}

.hero {
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: stretch;
}

.hero-copy,
.story-card,
.info-card,
.process-card {
  padding: 28px;
  background: var(--surface-soft);
  backdrop-filter: blur(10px);
}

.hero-copy {
  position: relative;
  overflow: hidden;
  padding: 42px;
  background:
    linear-gradient(135deg, rgba(255, 249, 240, 0.96), rgba(253, 236, 206, 0.82)),
    var(--paper);
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(211, 95, 45, 0.22), transparent 70%);
}

.hero-title {
  margin: 18px 0;
  font-size: clamp(52px, 9vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.06em;
  max-width: 8ch;
}

.lede,
.info-card p,
.process-card p,
.steps li,
.site-footer {
  color: var(--muted);
  line-height: 1.8;
}

.lede {
  max-width: 36rem;
  margin: 0 0 24px;
  font-size: 18px;
}

.prompt-box {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(32, 24, 19, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.58);
}

.prompt-label {
  font-size: 13px;
  color: var(--muted);
}

.prompt-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.prompt-row input {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(32, 24, 19, 0.12);
  border-radius: 16px;
  background: rgba(255, 251, 247, 0.92);
  color: var(--text);
}

.prompt-row button {
  border: 0;
  border-radius: 16px;
  padding: 0 18px;
  background: var(--accent);
  color: #fff9f3;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
  box-shadow: 0 12px 28px rgba(211, 95, 45, 0.28);
}

.prompt-row button:hover,
.chip:hover {
  transform: translateY(-1px);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  border: 1px solid rgba(32, 24, 19, 0.08);
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(255, 252, 247, 0.78);
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
}

.story-card {
  display: grid;
  gap: 18px;
  color: #f6eee4;
  background:
    radial-gradient(circle at top right, rgba(247, 200, 140, 0.16), transparent 30%),
    linear-gradient(180deg, #2c2520 0%, var(--surface) 100%);
}

.story-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.story-tag {
  padding: 6px 10px;
  border: 1px solid rgba(255, 248, 238, 0.14);
  border-radius: 999px;
  color: var(--accent-soft);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-title {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
}

.story-text,
.note span {
  margin: 0;
  color: rgba(246, 238, 228, 0.8);
  line-height: 1.9;
}

.story-notes {
  display: grid;
  gap: 10px;
}

.note {
  padding: 14px 16px;
  border: 1px solid rgba(255, 248, 238, 0.1);
  border-radius: 18px;
  background: rgba(255, 248, 238, 0.04);
}

.note strong {
  display: block;
  margin-bottom: 6px;
  color: #fff9f0;
  font-size: 13px;
}

.sections {
  display: grid;
  gap: 22px;
  margin-top: 24px;
}

.card-grid {
  grid-template-columns: repeat(3, 1fr);
}

.info-card h2,
.process-card h2 {
  margin: 0 0 14px;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.info-card p,
.process-card p {
  margin: 0;
}

.steps {
  margin: 18px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 28px;
  font-size: 13px;
  text-align: center;
}

@media (max-width: 980px) {
  .hero,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    width: min(100% - 20px, 1180px);
    padding-top: 18px;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-copy,
  .story-card,
  .info-card,
  .process-card {
    padding: 22px;
  }

  .prompt-row {
    grid-template-columns: 1fr;
  }

  .prompt-row button {
    min-height: 52px;
  }

  .site-footer {
    width: min(100% - 20px, 1180px);
  }
}
