/* The Cognitive Shift — Shared Stylesheet
   Extracted from concept-e.html. See DESIGN-SYSTEM.md for full documentation. */


/* ========================================
   1. CSS Custom Properties
   ======================================== */
:root {
  /* Backgrounds */
  --bg: #1a2a22;
  --surface: #1f3028;
  --panel: #243830;

  /* Borders */
  --border: #2e4a3a;
  --border-light: #3a5a48;

  /* Cream palette (text hierarchy) */
  --cream: #f0e8d8;
  --cream-dim: #c8bfa8;
  --cream-muted: #988f7a;

  /* Gold accent */
  --gold: #c8a45c;
  --gold-light: #daba72;
  --gold-glow: rgba(200, 164, 92, 0.08);
  --gold-border: rgba(200, 164, 92, 0.2);

  /* Greens (muted UI text) */
  --green-text: #5a7a68;
  --muted: #4a6a58;

  /* White */
  --white: #f5efe5;
}


/* ========================================
   2. Reset
   ======================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }


/* ========================================
   3. Base Styles (body, links, headings)
   ======================================== */
body {
  background: var(--bg);
  color: var(--cream-dim);
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}


/* ========================================
   4. Layout: Topbar, Hero, Sections, Footer
   ======================================== */

/* --- Topbar --- */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0; z-index: 100;
  padding: 0.9rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(26, 42, 34, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.topbar-mark {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--cream);
  letter-spacing: 0.02em;
  text-decoration: none;
}
.topbar-mark:hover { color: var(--cream); }
.topbar-right {
  display: flex; align-items: center; gap: 1rem;
}
.topbar-nav {
  display: flex; align-items: center; gap: 1.5rem;
}
.topbar-nav a {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.topbar-nav a:hover { color: var(--cream); }
.topbar-badge {
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-border);
  padding: 0.25rem 0.6rem;
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10rem 2rem 5rem;
  text-align: center;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(16, 24, 18, 0.4) 100%);
  pointer-events: none;
}
.hero-content { max-width: 620px; position: relative; z-index: 1; }
.hero-crest {
  margin: 0 auto 2.5rem;
  width: 64px; height: 64px;
}
.hero-crest svg { width: 100%; height: 100%; }

/* --- Below Fold --- */
.below-fold {
  padding: 5rem 2rem 6rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.below-content { max-width: 580px; margin: 0 auto; text-align: center; }
.below-fold-split {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 4rem;
}
.below-fold-visual {
  flex: 0 0 320px;
  opacity: 0.9;
}
.below-fold-visual svg {
  width: 100%;
  height: auto;
}
.below-fold-text {
  flex: 1;
  text-align: left;
}
.below-fold-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--cream);
  margin-bottom: 1.25rem;
}
.below-fold-body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--cream-muted);
  margin-bottom: 0;
}

/* --- Bottom CTA --- */
.bottom-cta {
  padding: 4rem 2rem 5rem;
  text-align: center;
}
.bottom-epigraph {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--cream-muted);
  margin-bottom: 0.5rem;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}
.bottom-attribution {
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}
.bottom-attribution a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-border);
  transition: border-color 0.2s;
}
.bottom-attribution a:hover {
  border-color: var(--gold);
}
.bottom-cta .signup-form {
  max-width: 420px;
  margin: 0 auto;
}
.bottom-cta .signup-form input {
  border: 1px solid var(--border);
  background: var(--surface);
}

/* --- Page Header (inner pages) --- */
.page-header {
  padding: 8rem 2rem 3rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-header .section-label {
  margin-bottom: 1.5rem;
}
.page-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.page-subtitle {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--cream-muted);
  max-width: 480px;
  margin: 0 auto;
}

/* --- Content Section (inner pages) --- */
.content-section {
  padding: 4rem 2rem;
  max-width: 640px;
  margin: 0 auto;
}
.content-section p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--cream-dim);
  margin-bottom: 1.5rem;
}

/* --- Footer --- */
.footer {
  padding: 2rem;
  text-align: center;
  border-top: 1px solid var(--border);
}
.footer-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.footer-text {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}


/* ========================================
   5. Components: Signup Card, Signup Form,
      Reading List, Reading Item
   ======================================== */

/* --- Signup Card --- */
.signup-card {
  max-width: 440px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.5rem;
}
.signup-card-header {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.signup-card-note {
  font-size: 0.68rem;
  color: var(--muted);
  margin-top: 0.75rem;
  font-style: italic;
}

/* --- Signup Form --- */
.signup-form {
  display: flex;
  gap: 0.5rem;
}
.signup-form input {
  flex: 1;
  border: 1px solid var(--border);
  background: var(--bg);
  padding: 0.8rem 1rem;
  font-family: 'Libre Franklin', sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--cream);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.signup-form input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(200, 164, 92, 0.1);
}
.signup-form input::placeholder { color: var(--muted); }
.signup-form button {
  background: var(--gold);
  border: none;
  padding: 0.8rem 1.4rem;
  color: var(--bg);
  font-family: 'Libre Franklin', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.signup-form button:hover { background: var(--gold-light); }

/* --- Reading List --- */
.reading-list { display: flex; flex-direction: column; gap: 0; text-align: left; }
.reading-item {
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.reading-item:last-child { border-bottom: 1px solid var(--border); }
.reading-num {
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--gold);
  min-width: 20px;
}
.reading-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.3rem;
}
.reading-item p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--cream-muted);
}


/* ========================================
   6. Typography Helpers
   ======================================== */
.hero-eyebrow {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.75rem;
}
.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--cream);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--cream-muted);
  max-width: 480px;
  margin: 0 auto;
}
.section-label {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3rem;
}


/* ========================================
   7. Decorative: Gold Rule, Diamond Shapes
   ======================================== */
.gold-rule {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 2.5rem auto;
}
.topbar-diamond {
  width: 6px; height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  opacity: 0.6;
}
.footer-diamond {
  width: 4px; height: 4px;
  background: var(--gold);
  transform: rotate(45deg);
  opacity: 0.3;
}


/* ========================================
   8. Utility Classes
   ======================================== */
/* (none yet) */


/* ========================================
   9. Responsive
   ======================================== */
@media (max-width: 600px) {
  /* Topbar */
  .topbar { padding: 0.75rem 1.25rem; }
  .topbar-nav { gap: 1rem; }
  .topbar-badge { display: none; }

  /* Landing page hero + below-fold + bottom CTA */
  .hero { padding: 8rem 1.5rem 3rem; }
  .below-fold { padding: 3rem 1.5rem 4rem; }
  .below-fold-split { flex-direction: column; gap: 2rem; }
  .below-fold-visual { flex: none; max-width: 240px; margin: 0 auto; }
  .below-fold-text { text-align: center; }
  .bottom-cta { padding: 3rem 1.5rem 4rem; }

  /* Signup form (all pages) */
  .signup-form { flex-direction: column; }

  /* Inner page headers + content sections */
  .page-header { padding: 6rem 1.5rem 2rem; }
  .content-section { padding: 3rem 1.5rem; }

  /* Article page */
  .article-header { padding: 6rem 1.5rem 1.5rem; }
  .article-content { padding: 1.5rem 1.5rem 3rem; }
  .author-bio-card { flex-direction: column; margin-left: 1.5rem; margin-right: 1.5rem; }

  /* Publication cards */
  .pub-card { padding: 1.25rem; }

  /* Newsletter modal */
  .modal-content { padding: 1.5rem; }
}


/* ========================================
   TODO STUBS — Future Page Styles
   ======================================== */

/* === Article Page === */

.article-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  padding: 8rem 2rem 2rem;
}
.article-header .article-publication-link {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}
.article-header .article-publication-link:hover {
  color: var(--gold-light);
}
.article-header h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 400;
  color: var(--cream);
  margin: 1.5rem 0 1.25rem;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--cream-muted);
  font-size: 0.8rem;
}
.article-meta-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
}
.article-meta-name {
  color: var(--cream-dim);
  font-weight: 400;
}
.article-meta-sep {
  color: var(--muted);
}
.article-meta-date {
  color: var(--cream-muted);
}

/* --- Article Content (rich text body) --- */
.article-content {
  max-width: 680px;
  margin: 0 auto;
  padding: 2rem 2rem 4rem;
}
.article-content p {
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 300;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--cream-dim);
  margin-bottom: 1.5rem;
}
.article-content h2,
.article-content h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--cream);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-weight: 400;
}
.article-content h2 {
  font-size: 1.5rem;
}
.article-content h3 {
  font-size: 1.2rem;
}
.article-content blockquote {
  border-left: 2px solid var(--gold);
  padding-left: 1.5rem;
  font-style: italic;
  color: var(--cream-muted);
  margin: 1.5rem 0;
}
.article-content code {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.2rem 0.4rem;
  font-size: 0.9em;
}
.article-content pre {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}
.article-content pre code {
  background: none;
  border: none;
  padding: 0;
}
.article-content img {
  max-width: 100%;
  border: 1px solid var(--border);
  margin: 1.5rem 0;
}
.article-content ul,
.article-content ol {
  color: var(--cream-dim);
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}
.article-content li {
  line-height: 1.8;
  margin-bottom: 0.25rem;
}
.article-content a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}
.article-content a:hover {
  color: var(--gold-light);
}

/* --- Author Bio Card --- */
.author-bio-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.5rem;
  margin-top: 3rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.author-bio-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.author-bio-info {
  flex: 1;
}
.author-bio-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  color: var(--cream);
  margin-bottom: 0.35rem;
}
.author-bio-name a {
  color: var(--cream);
  text-decoration: none;
  transition: color 0.2s;
}
.author-bio-name a:hover {
  color: var(--gold);
}
.author-bio-text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--cream-muted);
}

/* --- Article Loading / Error States --- */
.article-loading,
.article-error {
  text-align: center;
  padding: 8rem 2rem 4rem;
  max-width: 680px;
  margin: 0 auto;
}
.article-loading {
  color: var(--cream-muted);
  font-size: 0.95rem;
}
.article-error {
  color: var(--cream-muted);
  font-size: 1.1rem;
  font-family: 'Playfair Display', Georgia, serif;
}

/* === Newsletter Modal === */

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalFadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 42, 34, 0.8);
  z-index: 1000;
  animation: modalFadeIn 200ms ease;
}

.modal-overlay.fade-out {
  animation: modalFadeOut 200ms ease forwards;
}

.modal-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 440px;
  width: calc(100% - 2rem);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2rem;
  z-index: 1001;
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--cream-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.modal-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--cream);
  margin: 0;
}

.modal-content .gold-rule {
  margin: 1.25rem auto 1.5rem;
}

.modal-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.modal-bullets li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--cream-dim);
}

.modal-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
}

.modal-content .signup-form {
  margin-bottom: 0.75rem;
}

.modal-content .signup-form input {
  border: 1px solid var(--border);
  background: var(--bg);
}

.modal-already-subscribed {
  background: none;
  border: none;
  color: var(--cream-muted);
  font-size: 0.8rem;
  font-family: 'Libre Franklin', sans-serif;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
}

.modal-already-subscribed:hover {
  text-decoration: underline;
}

/* === Publication Page (Single Publication View) === */

.pub-hero-description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--cream-muted);
  max-width: 480px;
  margin: 0.5rem auto 0;
}
.pub-hero-description p {
  margin-bottom: 0.5rem;
}
.pub-hero-description p:last-child {
  margin-bottom: 0;
}
.pub-hero-owner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.pub-hero-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
}
.pub-hero-owner-name {
  font-size: 0.85rem;
  color: var(--cream-dim);
}
.pub-hero-owner-name a {
  color: var(--cream-dim);
  text-decoration: none;
  transition: color 0.2s;
}
.pub-hero-owner-name a:hover {
  color: var(--gold);
}

/* --- Publication Article Feed --- */
.pub-article-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: left;
}
.pub-article-item {
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
}
.pub-article-item:last-child {
  border-bottom: 1px solid var(--border);
}
.pub-article-item h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.3rem;
}
.pub-article-item h3 a {
  color: var(--cream);
  text-decoration: none;
  transition: color 0.2s;
}
.pub-article-item h3 a:hover {
  color: var(--gold);
}
.pub-article-excerpt {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--cream-muted);
  margin-bottom: 0.5rem;
}
.pub-article-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
}
.pub-article-author {
  color: var(--cream-dim);
}
.pub-article-sep {
  color: var(--muted);
}
.pub-article-date {
  color: var(--cream-muted);
}

/* === Publications Index === */

.pub-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: left;
}
.pub-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.5rem;
  margin-bottom: 1rem;
  text-decoration: none;
  transition: border-color 0.2s;
}
.pub-card:hover {
  border-color: var(--gold-border);
}
.pub-card-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.4rem;
}
.pub-card-description {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--cream-muted);
  margin-bottom: 0.75rem;
}
.pub-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
}
.pub-card-owner {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

/* --- Publications Loading / Empty States --- */
.pub-loading {
  text-align: center;
  color: var(--cream-muted);
  font-size: 0.95rem;
  padding: 2rem 0;
}
.pub-empty {
  color: var(--cream-muted);
  font-size: 0.95rem;
  font-style: italic;
}

/* === Author Profile === */

.author-profile-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
}
.author-profile-avatar-placeholder {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 1px solid var(--gold-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.author-profile-avatar-placeholder span {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  color: var(--gold);
  font-weight: 400;
}
.author-profile-bio {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--cream-muted);
  max-width: 480px;
  margin: 0.75rem auto 0;
}
.author-not-found {
  text-align: center;
  padding: 8rem 2rem 4rem;
}
.author-not-found .page-title {
  margin-bottom: 1rem;
}
.author-not-found .page-subtitle {
  margin: 0 auto;
}
.author-articles-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: left;
}
.author-article-item {
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
}
.author-article-item:last-child {
  border-bottom: 1px solid var(--border);
}
.author-article-item h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.3rem;
}
.author-article-item h3 a {
  color: var(--cream);
  text-decoration: none;
  transition: color 0.2s;
}
.author-article-item h3 a:hover {
  color: var(--gold);
}
.author-article-excerpt {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--cream-muted);
  margin-bottom: 0.5rem;
}
.author-article-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
}
.author-article-pub {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}
.author-article-pub:hover {
  color: var(--gold-light);
}
.author-article-sep {
  color: var(--muted);
}
.author-article-date {
  color: var(--cream-muted);
  font-size: 0.8rem;
}
.author-no-articles {
  font-size: 0.95rem;
  color: var(--cream-muted);
  font-style: italic;
}

/* === Post-Signup Questions Page === */

.signup-q-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8rem 2rem 4rem;
  text-align: center;
}
.signup-q-hero-content {
  max-width: 520px;
}
.signup-q-eyebrow {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.signup-q-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.signup-q-body {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--cream-muted);
  max-width: 480px;
  margin: 0 auto;
}
.signup-q-back-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}
.signup-q-back-link:hover {
  color: var(--gold-light);
}

/* --- Questions Form Card --- */
.signup-q-card {
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2rem;
}
.signup-q-card form {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.signup-q-field {
  text-align: left;
}
.signup-q-label {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.6rem;
}
.signup-q-required {
  color: var(--gold);
  font-size: 0.85em;
}

/* --- Form Inputs --- */
.signup-q-input {
  display: block;
  width: 100%;
  border: 1px solid var(--border);
  background: var(--bg);
  padding: 0.8rem 1rem;
  font-family: 'Libre Franklin', sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--cream);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.signup-q-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(200, 164, 92, 0.1);
}
.signup-q-input::placeholder {
  color: var(--muted);
}
.signup-q-textarea {
  resize: vertical;
  min-height: 5rem;
  line-height: 1.7;
}

/* --- URL Group --- */
.signup-q-url-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.signup-q-url-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.signup-q-url-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-muted);
  min-width: 72px;
  flex-shrink: 0;
}
.signup-q-url-row .signup-q-input {
  flex: 1;
}

/* --- Note & Error --- */
.signup-q-note {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.6rem;
  font-style: italic;
}
.signup-q-error {
  font-size: 0.85rem;
  color: #c0886a;
  padding: 0.6rem 0.8rem;
  border: 1px solid rgba(192, 136, 106, 0.25);
  background: rgba(192, 136, 106, 0.06);
}

/* --- Submit Button --- */
.signup-q-submit {
  background: var(--gold);
  border: none;
  padding: 0.9rem 1.6rem;
  color: var(--bg);
  font-family: 'Libre Franklin', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
}
.signup-q-submit:hover {
  background: var(--gold-light);
}
.signup-q-submit:disabled {
  opacity: 0.7;
  cursor: default;
}

@media (max-width: 600px) {
  .signup-q-hero { padding: 6rem 1.5rem 3rem; }
  .signup-q-card { padding: 1.5rem; }
  .signup-q-url-row { flex-direction: column; align-items: stretch; gap: 0.25rem; }
  .signup-q-url-label { min-width: unset; }
}

/* === 404 Page === */
/* TODO: Error state layout, illustration area,
   navigation suggestions, search prompt */
