/* ===== NAVIGATION ===== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 168, 83, 0.06);
}

.nav-brand {
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: 'Syne', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-cta {
  font-family: 'Syne', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg-deep);
  background: var(--gold);
  padding: 0.55rem 1.2rem;
  text-decoration: none;
  transition: background 0.2s ease;
}

.nav-cta:hover {
  background: var(--gold-light);
}

/* ===== SHARED BUTTONS ===== */
.btn-primary {
  display: inline-block;
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg-deep);
  background: var(--gold);
  padding: 0.9rem 2rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-primary:hover {
  background: var(--gold-light);
}

.btn-primary.btn-lg {
  padding: 1.1rem 2.5rem;
  font-size: 0.9rem;
}

.btn-secondary {
  display: inline-block;
  font-family: 'Syne', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(212, 168, 83, 0.3);
  padding: 0.7rem 1.5rem;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.btn-ghost {
  display: inline-block;
  font-family: 'Syne', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.7rem 1rem;
  transition: color 0.2s ease;
}

.btn-ghost:hover {
  color: var(--text-secondary);
}

/* ===== TAG PILLS ===== */
.tag-badge {
  display: inline-block;
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(212, 168, 83, 0.1);
  border: 1px solid rgba(212, 168, 83, 0.2);
  padding: 0.2rem 0.6rem;
  text-decoration: none;
}

.tag-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 900px;
  margin: 0 auto 3rem;
  padding: 0 1rem;
}

.tag-pill {
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  border: 1px solid rgba(212, 168, 83, 0.12);
  padding: 0.4rem 1rem;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.tag-pill:hover,
.tag-pill.active {
  border-color: var(--gold);
  color: var(--gold);
}

/* ===== MEMBER DISPLAY ===== */
.member-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.member-avatar {
  width: 2rem;
  height: 2rem;
  background: var(--gold-dim);
  border: 1px solid rgba(212, 168, 83, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--gold);
  flex-shrink: 0;
}

.member-avatar-lg {
  width: 3rem;
  height: 3rem;
  font-size: 1.1rem;
}

.member-avatar-xl {
  width: 4.5rem;
  height: 4.5rem;
  font-size: 1.6rem;
}

.member-name {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: color 0.2s ease;
}

.member-link:hover .member-name {
  color: var(--gold);
}

.member-tagline {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* ===== FEED PAGE ===== */
.feed-page {
  padding-top: 6rem;
  min-height: 100vh;
}

.feed-header {
  text-align: center;
  padding: 4rem 2rem 3rem;
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(212, 168, 83, 0.05) 0%, transparent 70%),
    var(--bg-deep);
}

.feed-header h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 1rem 0;
}

.feed-header h1 em {
  font-style: normal;
  color: var(--gold);
}

.feed-header p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
  font-weight: 300;
}

.feed-empty {
  text-align: center;
  padding: 5rem 2rem;
}

.feed-empty-text {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

/* ===== TESTIMONY GRID (FEED) ===== */
.testimony-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.testimony-card {
  background: var(--bg-card);
  border: 1px solid rgba(212, 168, 83, 0.06);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.3s ease;
}

.testimony-card:hover {
  border-color: rgba(212, 168, 83, 0.18);
}

.testimony-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  min-height: 1.4rem;
}

.testimony-card-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}

.testimony-card-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.testimony-card-title a:hover {
  color: var(--gold);
}

.testimony-card-excerpt {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
  flex-grow: 1;
}

.testimony-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(212, 168, 83, 0.06);
}

.testimony-date {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 3rem 2rem 5rem;
}

/* ===== SINGLE TESTIMONY PAGE ===== */
.testimony-page {
  padding-top: 6rem;
  min-height: 100vh;
}

.testimony-back {
  max-width: 760px;
  margin: 2rem auto 0;
  padding: 0 2rem;
}

.back-link {
  font-family: 'Syne', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--gold);
}

.testimony-full {
  max-width: 760px;
  margin: 2.5rem auto 0;
  padding: 0 2rem;
}

.testimony-full-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.testimony-full-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 2rem;
}

.testimony-full-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(212, 168, 83, 0.08);
  border-bottom: 1px solid rgba(212, 168, 83, 0.08);
  margin-bottom: 3rem;
}

.testimony-full-body {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text-primary);
  font-weight: 300;
}

.testimony-full-body p {
  margin-bottom: 1.5rem;
}

.testimony-cta {
  max-width: 760px;
  margin: 4rem auto 5rem;
  padding: 3rem 2rem;
  border-top: 1px solid rgba(212, 168, 83, 0.08);
  text-align: center;
}

.testimony-cta-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.testimony-cta-text strong {
  color: var(--text-primary);
}

/* ===== FORM PAGE ===== */
.form-page {
  padding-top: 6rem;
  min-height: 100vh;
}

.form-header {
  text-align: center;
  padding: 4rem 2rem 3rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(212, 168, 83, 0.05) 0%, transparent 70%),
    var(--bg-deep);
}

.form-header h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  margin: 1rem 0;
  line-height: 1.1;
}

.form-header h1 em {
  font-style: normal;
  color: var(--gold);
}

.form-header p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto;
  font-weight: 300;
}

.form-errors {
  max-width: 720px;
  margin: 1.5rem auto 0;
  padding: 0 2rem;
}

.form-error {
  color: var(--accent-warm);
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.testimony-form {
  max-width: 720px;
  margin: 2.5rem auto 5rem;
  padding: 0 2rem;
}

.form-section {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(212, 168, 83, 0.06);
}

.form-section:last-of-type {
  border-bottom: none;
}

.form-section-title {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  opacity: 0.8;
}

.form-field {
  margin-bottom: 1.8rem;
}

.form-label {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
}

.required {
  color: var(--gold);
}

.form-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
  font-weight: 300;
}

.form-input,
.form-textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid rgba(212, 168, 83, 0.12);
  color: var(--text-primary);
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1rem;
  font-weight: 300;
  padding: 0.85rem 1rem;
  transition: border-color 0.2s ease;
  outline: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: rgba(212, 168, 83, 0.4);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-textarea {
  resize: vertical;
  min-height: 200px;
  line-height: 1.7;
}

.tag-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tag-check {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}

.tag-check input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  accent-color: var(--gold);
  cursor: pointer;
}

.tag-check-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.tag-check:hover .tag-check-label {
  color: var(--gold);
}

.form-actions {
  text-align: center;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.form-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 420px;
  font-weight: 300;
}

/* ===== PROFILE PAGE ===== */
.profile-page {
  padding-top: 6rem;
  min-height: 100vh;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
  padding-bottom: 5rem;
}

.profile-header {
  text-align: center;
  padding: 4rem 0 3rem;
  border-bottom: 1px solid rgba(212, 168, 83, 0.08);
  margin-bottom: 3rem;
}

.profile-name {
  font-family: 'Syne', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  margin: 1.2rem 0 0.5rem;
}

.profile-tagline {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 1rem;
}

.profile-tagline em {
  font-style: italic;
  color: var(--text-primary);
}

.profile-count {
  font-family: 'Syne', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
}

/* ===== TESTIMONY LIST (PROFILE) ===== */
.testimony-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.testimony-list-item {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid rgba(212, 168, 83, 0.06);
  transition: border-color 0.3s ease;
}

.testimony-list-item:hover {
  border-color: rgba(212, 168, 83, 0.18);
}

.testimony-list-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0.6rem 0 0.7rem;
}

.testimony-list-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.testimony-list-title a:hover {
  color: var(--gold);
}

/* ===== 404 PAGE ===== */
.not-found-page {
  padding-top: 6rem;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-left: 2rem;
  padding-right: 2rem;
  gap: 1.5rem;
}

.not-found-page h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
}

.not-found-page p {
  color: var(--text-secondary);
  max-width: 420px;
  font-weight: 300;
}

/* ===== LANDING PAGE NAV OVERRIDE ===== */
/* The hero on the landing page sits below the fixed nav */
body.has-nav .hero {
  padding-top: 5rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .site-nav {
    padding: 1rem 1.25rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .testimony-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }

  .testimony-full,
  .testimony-back,
  .testimony-cta {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .testimony-form,
  .form-errors {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .testimony-full-author {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-actions {
    align-items: stretch;
    text-align: left;
  }

  .btn-primary.btn-lg {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .nav-link {
    display: none;
  }
}
