/* ========================================
   Dear Human — Prototype Stylesheet
   Aigocy-inspired design system
   ======================================== */

/* --- Design Tokens --- */
:root {
  --accent: #d97757;
  --accent-hover: #c4644b;
  --bg-light: #f5f5f5;
  --bg-white: #ffffff;
  --bg-dark: #1a1a1a;
  --text-dark: #1a1a1a;
  --text-body: #555;
  --text-white: #ffffff;
  --radius-card: 16px;
  --radius-pill: 999px;
  --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 8px 32px rgba(0, 0, 0, 0.1);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, sans-serif;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

img, video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* --- Utilities --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pill {
  display: inline-block;
  padding: 6px 20px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.section-pill--light {
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.8);
}

.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 48px;
}

.section-heading--white {
  color: var(--text-white);
}

.text-center {
  text-align: center;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
  padding: 10px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-white);
  transition: color 0.3s;
}

.nav.scrolled .nav-logo {
  color: var(--text-dark);
}

.nav-logo svg {
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}

.nav.scrolled .nav-links a {
  color: var(--text-body);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  background: var(--text-white);
  color: var(--text-dark);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

.nav.scrolled .nav-cta {
  background: var(--bg-dark);
  color: var(--text-white);
}

.nav-cta:hover {
  opacity: 0.9;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  z-index: 1001;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav.scrolled .nav-hamburger span {
  background: var(--text-dark);
}

.nav-hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0a0a0b;
}

.hero__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(10,10,11,0.15) 0%, rgba(10,10,11,0.5) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 40px;
}

.hero__pill {
  border-color: rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.8);
}
.hero__pill::before { background: rgba(255,255,255,0.8); }

.hero__heading {
  font-family: var(--font-serif);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.1;
  color: #f0ece6;
  margin: 24px 0;
}

.hero__emphasis {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  font-size: 1.3em;
  color: #ffffff;
}

.hero__subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.6);
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  border: 1.5px solid var(--text-dark);
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-outline:hover { background: var(--bg-dark); color: white; }

.btn-outline--light {
  border-color: rgba(255,255,255,0.4);
  color: white;
}
.btn-outline--light:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
  color: white;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 14px;
  z-index: 2;
}

.hero__scroll svg {
  animation: bounce 2s infinite;
}

/* Progress bar */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  z-index: 9999;
  width: 0%;
  transition: width 0.1s linear;
}

/* Nav over hero */
.nav.over-hero .nav-logo,
.nav.over-hero .nav-links a {
  color: rgba(255,255,255,0.8);
}

.nav.over-hero .nav-logo svg text {
  fill: #fff;
}

.nav.over-hero .nav-links a:hover,
.nav.over-hero .nav-links a.active {
  color: var(--accent);
}

.nav.over-hero .nav-hamburger span {
  background: rgba(255,255,255,0.8);
}

/* Buttons (kept from hero for reuse) */
.btn-dark {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: var(--bg-dark);
  color: var(--text-white);
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s;
}

.btn-dark:hover {
  background: #333;
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: transparent;
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* --- Section Spacing --- */
.section {
  padding: 120px 0;
}

.section--light {
  background: var(--bg-light);
}

.section--white {
  background: var(--bg-white);
}

.section--dark {
  background: var(--bg-dark);
}

/* --- Mission / About --- */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 8px;
}

.mission-card-dark {
  background: var(--bg-dark);
  border-radius: var(--radius-card);
  padding: 40px;
  color: var(--text-white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 420px;
  position: relative;
  overflow: hidden;
}

.mission-globe {
  margin-bottom: 24px;
}

.mission-accent-dots {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}

.mission-accent-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.mission-label {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
}

.mission-card-dark h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.mission-card-dark .btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--accent);
  color: var(--text-white);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  width: fit-content;
  transition: background 0.2s;
}

.mission-card-dark .btn-accent:hover {
  background: var(--accent-hover);
}

.mission-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mission-card-white {
  background: var(--bg-white);
  border-radius: var(--radius-card);
  padding: 36px;
  box-shadow: var(--shadow-card);
  flex: 1;
}

.mission-card-white h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.mission-card-white p {
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.7;
}

.mission-quote {
  position: relative;
  padding-left: 24px;
}

.mission-quote .quote-mark {
  font-family: var(--font-serif);
  font-size: 72px;
  color: var(--accent);
  line-height: 1;
  position: absolute;
  top: -8px;
  left: 24px;
}

.mission-quote blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-dark);
  padding-top: 32px;
}

/* --- Beliefs / Values --- */
.beliefs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.belief-card {
  background: var(--bg-white);
  border-radius: var(--radius-card);
  padding: 36px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s, transform 0.3s;
}

.belief-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.belief-icon {
  width: 56px;
  height: 56px;
  background: var(--bg-dark);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.belief-icon svg {
  width: 24px;
  height: 24px;
  color: var(--text-white);
}

.belief-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.belief-card p {
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.7;
}

/* --- Stories Carousel (Aigocy Works style) --- */
.stories-carousel {
  padding: 120px 0;
  background: #faf9f7;
  overflow: hidden;
}

.stories-carousel-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 60px;
  align-items: start;
}

.stories-carousel-left {
  position: sticky;
  top: 200px;
}

.stories-carousel-heading {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text-dark);
  margin: 24px 0 32px;
}

.stories-carousel-arrows {
  display: flex;
  gap: 12px;
}

.carousel-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid #ddd;
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: var(--text-dark);
}

.carousel-arrow:hover:not(:disabled) {
  border-color: var(--text-dark);
  background: var(--text-dark);
  color: white;
}

.carousel-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

.stories-carousel-viewport {
  overflow: hidden;
}

.stories-carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s ease;
}

.stories-card {
  flex-shrink: 0;
  width: 380px;
  min-height: 420px;
  background: white;
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s, box-shadow 0.3s;
}

.stories-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.stories-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}

.stories-card-icon svg {
  width: 24px;
  height: 24px;
}

.stories-card-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
}

.stories-card-excerpt {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-body);
  flex: 1;
}

.stories-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
}

.stories-card-location {
  padding: 6px 16px;
  border: 1.5px solid #ddd;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.stories-card-step {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 700;
  color: rgba(0,0,0,0.06);
  line-height: 1;
}

.stories-card-step span {
  font-size: 24px;
  color: rgba(0,0,0,0.15);
}

/* --- Manifesto Live Section --- */
.manifesto-live {
  padding: 120px 0;
  background: var(--bg-white);
}

.manifesto-live-header {
  margin-bottom: 8px;
}

.manifesto-live-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.manifesto-avatar-card {
  background: var(--bg-dark);
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 420px;
  overflow: hidden;
}

.manifesto-avatar-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.avatar-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.avatar-label .avatar-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.avatar-label.speaking .avatar-dot {
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.avatar-name {
  color: rgba(255,255,255,0.6);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
}

.avatar-video {
  width: 100%;
  max-height: 280px;
  border-radius: var(--radius-card);
  object-fit: cover;
  background: #000;
}

.avatar-video.playing {
  box-shadow: 0 0 30px rgba(217, 119, 87, 0.2);
}

.manifesto-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s;
}

.manifesto-play-btn:hover { opacity: 0.85; }

.manifesto-text-card {
  background: var(--bg-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  max-height: 420px;
  display: flex;
  flex-direction: column;
}

.manifesto-text-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 0 24px;
  scrollbar-width: none;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.manifesto-text-scroll::-webkit-scrollbar { display: none; }

.manifesto-text-fade-top,
.manifesto-text-fade-bottom {
  position: absolute;
  left: 0;
  right: 0;
  height: 60px;
  pointer-events: none;
  z-index: 2;
}

.manifesto-text-fade-top {
  top: 0;
  background: linear-gradient(to bottom, white, transparent);
}

.manifesto-text-fade-bottom {
  bottom: 0;
  background: linear-gradient(to top, white, transparent);
}

.manifesto-cue {
  font-family: var(--font-serif);
  font-size: 21px;
  line-height: 1.4;
  color: var(--text-dark);
  font-style: italic;
  font-weight: 700;
  text-align: center;
  padding: 4px 0;
  position: absolute;
  left: 24px;
  right: 24px;
  top: 50%;
  transform: translateY(30px);
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}

.cue-em {
  font-size: 1.3em;
  font-weight: 900;
  color: var(--accent);
}

.manifesto-cue.active {
  opacity: 1;
  transform: translateY(-50%);
  pointer-events: auto;
}

.manifesto-cue.past {
  opacity: 0;
  transform: translateY(-130%);
}

.manifesto-cue.section-break {
  /* no visual change needed — absolute positioned */
}

/* --- FAQ --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  gap: 16px;
}

.faq-toggle {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: var(--bg-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.3s;
}

.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  background: var(--text-white);
  border-radius: 1px;
}

.faq-toggle::before {
  width: 14px;
  height: 2px;
}

.faq-toggle::after {
  width: 2px;
  height: 14px;
  transition: transform 0.3s;
}

.faq-item.open .faq-toggle {
  transform: rotate(180deg);
}

.faq-item.open .faq-toggle::after {
  transform: scaleY(0);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 28px 24px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
}

/* --- Newsletter CTA --- */
.cta-section {
  background: linear-gradient(135deg, #c4644b, #d97757, #e8956e);
  padding: 100px 0;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.cta-left .section-pill {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--text-white);
}

.cta-left h2 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  font-style: italic;
  color: var(--text-white);
  line-height: 1.2;
  margin-bottom: 24px;
}

.cta-email {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
}

.cta-email svg {
  flex-shrink: 0;
}

.cta-card {
  background: var(--bg-white);
  border-radius: var(--radius-card);
  padding: 40px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}

.cta-card h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.cta-card p {
  color: var(--text-body);
  font-size: 15px;
  margin-bottom: 24px;
}

.cta-form {
  display: flex;
  gap: 12px;
}

.cta-form input {
  flex: 1;
  padding: 14px 20px;
  border: 1px solid #e0e0e0;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-family: var(--font-sans);
  outline: none;
  transition: border-color 0.2s;
}

.cta-form input:focus {
  border-color: var(--accent);
}

.cta-form button {
  padding: 14px 28px;
  background: var(--bg-dark);
  color: var(--text-white);
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s;
}

.cta-form button:hover {
  background: #333;
}

/* --- Footer --- */
.footer {
  background: var(--bg-light);
  padding: 80px 0 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.footer-watermark {
  font-family: var(--font-serif);
  font-size: clamp(80px, 12vw, 180px);
  font-weight: 700;
  color: var(--text-dark);
  opacity: 0.04;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.footer-links a {
  font-size: 15px;
  color: var(--text-body);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-copy {
  font-size: 14px;
  color: var(--text-body);
  position: relative;
  z-index: 1;
}

/* --- Mobile Responsive --- */
/* --- Stories Feed Page --- */
.stories-page {
  padding-top: 100px;
  min-height: 100vh;
  background: var(--bg-light);
}

.stories-page .nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
  padding: 10px 0;
}

.stories-page .nav .nav-logo {
  color: var(--text-dark);
}

.stories-page .nav .nav-links a {
  color: var(--text-body);
}

.stories-page .nav .nav-links a:hover,
.stories-page .nav .nav-links a.active {
  color: var(--accent);
}

.stories-page .nav .nav-cta {
  background: var(--bg-dark);
  color: var(--text-white);
}

.stories-page .nav .nav-hamburger span {
  background: var(--text-dark);
}

.stories-header {
  text-align: center;
  padding: 40px 0 32px;
}

.stories-header .section-heading {
  margin-bottom: 16px;
}

.stories-subtitle {
  font-size: 17px;
  color: var(--text-body);
  max-width: 500px;
  margin: 0 auto;
}

/* Search */
.stories-search {
  max-width: 500px;
  margin: 0 auto 40px;
  position: relative;
  padding: 0 24px;
}

.search-icon {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
}

.search-input {
  width: 100%;
  padding: 14px 16px 14px 48px;
  border: 1.5px solid #ddd;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  background: white;
}

.search-input:focus {
  border-color: var(--accent);
}

.stories-feed-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.story-feed-card {
  background: white;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s, box-shadow 0.3s, opacity 0.4s;
  display: block;
}

.story-feed-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.story-feed-body {
  padding: 24px;
}

.story-feed-category {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.category-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.category-icon svg {
  width: 16px;
  height: 16px;
}

.category-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.story-feed-title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.story-feed-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-body);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.story-feed-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #999;
  margin-bottom: 10px;
}

.story-feed-dot { color: #ccc; }

.story-feed-location {
  font-weight: 500;
}

.story-feed-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.story-feed-tag {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
}

@media (max-width: 900px) {
  .stories-feed-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .stories-feed-grid { grid-template-columns: 1fr; padding: 0 20px; }
  .stories-search { padding: 0 20px; }
}

@media (max-width: 900px) {
  .stories-carousel-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .stories-carousel-left { position: static; }
  .stories-card { width: 300px; min-height: 360px; }
}

/* --- Mobile Responsive --- */
/* --- Story Detail Pages --- */
.story-page { padding-top: 80px; background: var(--bg-light); }

.story-hero { padding: 80px 0 60px; text-align: center; }
.story-hero-category { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 24px; }
.story-hero-icon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.story-hero-icon svg { width: 24px; height: 24px; }
.story-hero-location { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.story-hero-title { font-family: var(--font-serif); font-size: clamp(36px, 5vw, 56px); font-weight: 400; line-height: 1.1; max-width: 700px; margin: 0 auto 20px; }
.story-hero-excerpt { font-size: 18px; color: var(--text-body); max-width: 600px; margin: 0 auto 20px; line-height: 1.6; }
.story-hero-meta { display: inline-block; padding: 6px 16px; border: 1.5px solid #ddd; border-radius: 999px; font-size: 13px; color: var(--text-body); }

.story-video-section { padding: 0 0 60px; }
.video-placeholder { max-width: 1000px; margin: 0 auto; aspect-ratio: 16/9; background: #1a1a1a; border-radius: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: rgba(255,255,255,0.4); font-size: 16px; }
.video-placeholder-sub { font-size: 13px; color: rgba(255,255,255,0.25); }

.story-content { padding: 60px 0; background: white; }
.story-details-heading { font-family: var(--font-serif); font-size: clamp(28px, 4vw, 42px); font-weight: 400; margin-bottom: 40px; max-width: 800px; margin-left: auto; margin-right: auto; }
.story-text { max-width: 800px; margin: 0 auto; }
.story-text p { font-size: 17px; line-height: 1.8; color: var(--text-body); margin-bottom: 24px; }
.story-text ol { max-width: 800px; margin: 0 auto 24px; padding-left: 24px; }
.story-text ol li { font-size: 17px; line-height: 1.8; color: var(--text-body); margin-bottom: 8px; }

.story-source-section { padding: 40px 0 0; background: white; }
.story-source { max-width: 800px; margin: 0 auto; padding: 32px; background: var(--bg-light); border-radius: 16px; border-left: 4px solid var(--accent); }
.story-source-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: #999; margin-bottom: 12px; }
.story-source-text { font-size: 15px; line-height: 1.7; color: var(--text-body); margin-bottom: 12px; }
.story-source-text a { color: var(--accent); text-decoration: underline; }
.story-source-note { font-size: 13px; font-style: italic; color: #999; }

.story-tags-section { padding: 40px 0; background: white; }
.story-tags-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: #999; margin-bottom: 16px; max-width: 800px; margin-left: auto; margin-right: auto; }
.story-tags-list { max-width: 800px; margin: 0 auto; display: flex; gap: 10px; flex-wrap: wrap; }
.story-tag-pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; }

.story-image-section { padding: 0 0 60px; background: white; }
.image-placeholder { max-width: 1000px; margin: 0 auto; height: 400px; border-radius: 24px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); font-size: 16px; font-style: italic; }

.story-nav-section { padding: 60px 0; background: var(--bg-light); }
.story-nav-links { max-width: 800px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.story-nav-link { display: block; padding: 24px; background: white; border-radius: 16px; text-decoration: none; box-shadow: 0 2px 20px rgba(0,0,0,0.05); transition: transform 0.3s, box-shadow 0.3s; }
.story-nav-link:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.story-nav-direction { display: block; font-size: 12px; color: #999; margin-bottom: 8px; }
.story-nav-title { font-family: var(--font-serif); font-size: 18px; font-weight: 700; color: var(--text-dark); }
.story-nav-next { text-align: right; }

@media (max-width: 768px) {
  .story-nav-links { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-white);
    padding: 20px 24px;
    gap: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 var(--radius-card) var(--radius-card);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    color: var(--text-dark) !important;
    font-size: 16px;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .hero__content {
    padding: 0 24px;
  }

  .mission-grid {
    grid-template-columns: 1fr;
  }

  .beliefs-grid {
    grid-template-columns: 1fr;
  }

  .cta-grid {
    grid-template-columns: 1fr;
  }

  .cta-form {
    flex-direction: column;
  }

  .manifesto-live-grid { grid-template-columns: 1fr; }

  .manifesto-avatar-card { height: auto; min-height: 300px; }

  .manifesto-text-card { height: 350px; }

  .section {
    padding: 80px 0;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 16px;
  }
}
