/* ========== BALTomisin — Editorial Human Design ========== */

/* --- CSS Variables --- */
:root {
  --bg: #0c0c0e;
  --bg-elevated: #111114;
  --bg-card: #141418;
  --text: #e8e6e3;
  --text-secondary: #8a8885;
  --text-muted: #5c5a57;
  --accent: #a68a3c;
  --accent-hover: #c4a652;
  --border: rgba(255,255,255,0.06);
  --border-hover: rgba(166,138,60,0.25);
  --max-width: 1100px;
  --section-gap: 160px;
  --section-gap-mob: 100px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, textarea { font-family: inherit; font-size: inherit; }

.skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--accent); color: var(--bg);
  padding: 8px 16px; z-index: 10000; font-weight: 600; font-size: 14px;
}
.skip-link:focus { top: 0; }

/* --- Typography --- */
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; line-height: 1.05; color: var(--text); }
h1 { font-size: clamp(44px, 6vw, 76px); }
h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.1; }
h3 { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 20px; line-height: 1.35; }

.label {
  font-family: 'Inter', sans-serif;
  font-weight: 500; font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent);
}

.accent-word {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic; color: var(--accent);
}

p { color: var(--text-secondary); }
p.lead { font-size: 18px; line-height: 1.7; color: var(--text-secondary); }

/* --- Layout --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }
@media (max-width: 768px) { .container { padding: 0 20px; } }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  font-family: 'Inter', sans-serif; font-weight: 500; font-size: 14px;
  letter-spacing: 0.02em; border-radius: 2px;
  cursor: pointer; transition: all 0.25s ease;
}

.btn-primary {
  background: var(--accent); color: var(--bg);
}
.btn-primary:hover { background: var(--accent-hover); }

.btn-secondary {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* --- Cards (minimal) --- */
.card {
  border: 1px solid var(--border);
  padding: 40px;
  transition: border-color 0.3s ease;
}
.card:hover { border-color: var(--border-hover); }

/* --- Animations (only fade-up, no flashy stuff) --- */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* --- Navigation --- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: 72px; z-index: 1000;
  background: rgba(12, 12, 14, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 32px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}

.nav-brand {
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 16px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--text);
}
.nav-brand .dot {
  display: inline-block; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); margin: 0 2px 2px 1px;
}

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-link {
  font-weight: 400; font-size: 14px; color: var(--text-secondary);
  transition: color 0.2s ease; position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link.active::after {
  content: ''; position: absolute; bottom: -6px; left: 0; right: 0;
  height: 1px; background: var(--accent);
}

.nav-cta { padding: 10px 22px; font-size: 13px; }

/* Mobile nav */
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--text); transition: all 0.3s ease; }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-overlay {
  display: none; position: fixed; inset: 0;
  background: var(--bg); z-index: 999;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 28px; opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.nav-overlay.open { display: flex; opacity: 1; visibility: visible; }
.nav-overlay .nav-link { font-size: 28px; font-weight: 500; opacity: 0; transform: translateY(12px); }
.nav-overlay.open .nav-link { opacity: 1; transform: translateY(0); transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.nav-overlay.open .nav-link:nth-child(1) { transition-delay: 0.1s; }
.nav-overlay.open .nav-link:nth-child(2) { transition-delay: 0.15s; }
.nav-overlay.open .nav-link:nth-child(3) { transition-delay: 0.2s; }
.nav-overlay.open .nav-link:nth-child(4) { transition-delay: 0.25s; }
.nav-overlay.open .nav-link:nth-child(5) { transition-delay: 0.3s; }
.nav-overlay.open .nav-link:nth-child(6) { transition-delay: 0.35s; }

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px; margin-bottom: 64px;
}

.footer-brand { display: flex; flex-direction: column; gap: 20px; }
.footer-tagline { font-size: 14px; color: var(--text-secondary); line-height: 1.7; max-width: 260px; }

.footer-profile {
  display: flex; align-items: center; gap: 14px;
}
.footer-profile img {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
  border: 1px solid var(--border); opacity: 0.9;
}

.footer-socials { display: flex; gap: 18px; margin-top: 4px; }
.footer-socials a { font-size: 17px; color: var(--text-muted); transition: color 0.2s ease; }
.footer-socials a:hover { color: var(--accent); }

.footer-col h4 {
  font-family: 'Inter', sans-serif; font-weight: 500; font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 24px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--text-secondary); font-size: 14px; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--text-muted);
}

/* --- Chatbot --- */
.chatbot-btn {
  position: fixed; bottom: 24px; right: 24px;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--accent); color: var(--bg);
  font-size: 20px; display: flex; align-items: center; justify-content: center;
  z-index: 900; transition: transform 0.3s ease, background 0.3s ease;
}
.chatbot-btn:hover { transform: scale(1.05); background: var(--accent-hover); }

.chatbot-panel {
  position: fixed; bottom: 88px; right: 24px;
  width: 360px; max-height: 480px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  z-index: 899; display: flex; flex-direction: column;
  overflow: hidden;
  opacity: 0; transform: translateY(16px);
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.chatbot-panel.open { opacity: 1; transform: translateY(0); visibility: visible; }

.chatbot-header {
  padding: 16px 20px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.chatbot-header span { font-weight: 600; font-size: 14px; color: var(--text); }
.chatbot-close { font-size: 16px; color: var(--text-muted); cursor: pointer; }
.chatbot-close:hover { color: var(--text); }

.chatbot-messages {
  flex: 1; overflow-y: auto; padding: 16px 20px;
  display: flex; flex-direction: column; gap: 10px;
}
.chatbot-message {
  max-width: 85%; padding: 10px 14px;
  border-radius: 10px; font-size: 13px; line-height: 1.5;
  animation: fadeIn 0.3s ease;
}
.chatbot-message.bot {
  align-self: flex-start; background: var(--bg-card); color: var(--text-secondary);
  border-bottom-left-radius: 3px;
}
.chatbot-message.user {
  align-self: flex-end; background: var(--accent); color: var(--bg);
  border-bottom-right-radius: 3px; font-weight: 500;
}

.chatbot-options {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px;
}
.chatbot-option {
  padding: 7px 14px;
  background: transparent; border: 1px solid var(--border);
  border-radius: 4px; color: var(--text-secondary);
  font-size: 12px; font-weight: 500; cursor: pointer;
  transition: all 0.2s ease;
}
.chatbot-option:hover { border-color: var(--accent); color: var(--accent); }

.chatbot-input-area {
  padding: 12px 20px; border-top: 1px solid var(--border); display: none;
}
.chatbot-input-area.active { display: flex; gap: 8px; }
.chatbot-input {
  flex: 1; padding: 9px 14px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 4px;
  color: var(--text); font-size: 13px;
}
.chatbot-input:focus { outline: none; border-color: var(--accent); }
.chatbot-input::placeholder { color: var(--text-muted); }
.chatbot-send {
  width: 34px; height: 34px; border-radius: 4px;
  background: var(--accent); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; transition: background 0.2s ease;
}
.chatbot-send:hover { background: var(--accent-hover); }

.typing-indicator { display: flex; gap: 4px; padding: 10px 14px; }
.typing-indicator span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted);
  animation: typingDot 1.4s ease-in-out infinite;
}
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-5px); }
}

/* --- Forms --- */
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block; font-weight: 500; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-muted); margin-bottom: 8px;
}
.form-control {
  width: 100%; padding: 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text); font-size: 15px;
  transition: border-color 0.3s ease;
}
.form-control:focus { outline: none; border-color: var(--accent); }
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { resize: vertical; min-height: 140px; }

/* --- Focus States --- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 1px solid var(--accent); outline-offset: 2px;
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ========== PAGE: HOME ========== */

/* Hero */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
}

#hero-canvas { display: none; }

.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(184,151,61,0.04) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 60%, rgba(184,151,61,0.03) 0%, transparent 60%);
  animation: heroGradShift 12s ease-in-out infinite alternate;
}

@keyframes heroGradShift {
  0% { transform: translateX(-2%) translateY(-1%); }
  100% { transform: translateX(2%) translateY(1%); }
}

.hero-inner {
  position: relative; z-index: 1;
  max-width: var(--max-width); margin: 0 auto;
  padding: 120px 32px 80px;
  display: grid; grid-template-columns: 1fr 0.8fr;
  gap: 80px; align-items: center;
}

.hero-content { display: flex; flex-direction: column; gap: 28px; }
.hero-eyebrow { margin-bottom: 4px; }
.hero-headline { max-width: 580px; }
.hero-subtitle { font-size: 17px; line-height: 1.7; max-width: 480px; }

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.hero-trust {
  font-size: 12px; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-top: 8px;
}

.hero-image-wrap {
  display: flex; justify-content: center;
}
.hero-image {
  max-height: 540px; aspect-ratio: 3/4;
  border-radius: 4px; overflow: hidden;
  border: 1px solid var(--border);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

.hero-scroll {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  z-index: 2; opacity: 0.35;
}
.hero-scroll-line { width: 1px; height: 36px; background: var(--text-muted); }
.hero-scroll i { color: var(--text-muted); font-size: 12px; }

/* Section spacing */
section { padding: var(--section-gap) 0; }
@media (max-width: 768px) { section { padding: var(--section-gap-mob) 0; } }

/* Manifesto */
.manifesto-header { margin-bottom: 72px; }
.manifesto-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.manifesto-card { border: 1px solid var(--border); padding: 36px; }
.manifesto-card:hover { border-color: var(--border-hover); }

.manifesto-number {
  font-family: 'Playfair Display', serif; font-size: 40px;
  font-weight: 700; color: var(--accent); opacity: 0.25;
  line-height: 1; margin-bottom: 20px;
}
.manifesto-card h3 { margin-bottom: 12px; font-size: 18px; }
.manifesto-card p { font-size: 14px; line-height: 1.7; }

/* Contributions Preview */
.contributions-header { margin-bottom: 72px; }
.contributions-header p { margin-top: 16px; font-size: 17px; }

.contributions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.contribution-card {
  border: 1px solid var(--border); padding: 36px;
  background: var(--bg-elevated); transition: border-color 0.3s ease;
}
.contribution-card:hover { border-color: var(--border-hover); }

.contribution-card .icon {
  font-size: 24px; color: var(--accent); margin-bottom: 20px;
}
.contribution-card h3 { font-size: 17px; margin-bottom: 10px; }
.contribution-card p { font-size: 14px; line-height: 1.7; margin-bottom: 16px; }
.contribution-card a {
  color: var(--accent); font-weight: 500; font-size: 13px;
  display: inline-flex; align-items: center; gap: 6px;
}
.contribution-card a:hover { gap: 10px; transition: gap 0.2s ease; }

.contributions-cta { text-align: center; margin-top: 48px; }

/* Proof Strip */
.proof-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 56px 0; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.proof-value {
  font-family: 'Playfair Display', serif; font-size: 44px;
  font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: 10px;
}
.proof-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }

/* CTA Banner */
.cta-banner { text-align: center; }
.cta-banner h2 { margin-bottom: 16px; }
.cta-banner p { font-size: 17px; margin-bottom: 32px; max-width: 520px; margin-left: auto; margin-right: auto; }
.btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ========== PAGE: RESULTS ========== */
.page-hero {
  min-height: 50vh; display: flex; align-items: center;
  padding-top: 120px;
}
.page-hero-content { max-width: 640px; }
.page-hero h1 { margin-bottom: 20px; }
.page-hero .hero-subtitle { max-width: 540px; }

/* Impact Grid */
.impact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.impact-card {
  border: 1px solid var(--border); overflow: hidden;
  background: var(--bg-elevated); transition: border-color 0.3s ease;
}
.impact-card:hover { border-color: var(--border-hover); }

.impact-image { width: 100%; aspect-ratio: 16/9; overflow: hidden; }
.impact-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.impact-card:hover .impact-image img { transform: scale(1.03); }

.impact-body { padding: 32px; }
.impact-role {
  display: block; font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--accent); margin-bottom: 10px;
}
.impact-body h3 { margin-bottom: 12px; font-size: 20px; }
.impact-metrics { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.metric-badge {
  padding: 5px 10px; border: 1px solid var(--border);
  font-size: 12px; font-weight: 500; color: var(--accent);
}
.impact-body p { font-size: 14px; line-height: 1.7; }

/* Timeline */
.timeline { position: relative; max-width: 720px; margin: 0 auto; }
.timeline-line {
  position: absolute; left: 50%; top: 0; bottom: 0;
  width: 1px; background: var(--border);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; padding-bottom: 56px;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-item:nth-child(odd) .timeline-content { grid-column: 1; text-align: right; }
.timeline-item:nth-child(odd) .timeline-dot-wrap { grid-column: 2; justify-self: start; }
.timeline-item:nth-child(even) .timeline-content { grid-column: 2; text-align: left; }
.timeline-item:nth-child(even) .timeline-dot-wrap { grid-column: 1; justify-self: end; }

.timeline-dot-wrap { position: relative; }
.timeline-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--accent);
  position: absolute; top: 6px; transform: translateX(-50%);
}

.timeline-content h4 {
  font-family: 'Playfair Display', serif; font-size: 22px;
  color: var(--text); margin-bottom: 8px; font-weight: 700;
}
.timeline-content p { font-size: 14px; line-height: 1.7; }

/* ========== PAGE: CONTRIBUTIONS ========== */
.contribution-detail {
  border: 1px solid var(--border); padding: 56px; margin-bottom: 24px;
  background: var(--bg-elevated); transition: border-color 0.3s ease;
}
.contribution-detail:hover { border-color: var(--border-hover); }

.contribution-detail-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.contribution-detail:nth-child(even) .contribution-detail-inner { direction: rtl; }
.contribution-detail:nth-child(even) .contribution-detail-inner > * { direction: ltr; }

.contribution-icon { font-size: 36px; color: var(--accent); margin-bottom: 24px; opacity: 0.7; }
.contribution-detail h3 { font-family: 'Playfair Display', serif; font-size: 28px; margin-bottom: 28px; }

.contribution-value { margin-bottom: 20px; }
.contribution-value h4 {
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--accent); margin-bottom: 8px;
}
.contribution-value p { font-size: 14px; line-height: 1.7; }

.contribution-detail .btn-primary { margin-top: 8px; }

.contribution-visual {
  display: flex; align-items: center; justify-content: center;
  min-height: 260px; background: var(--bg);
  border: 1px solid var(--border);
}
.contribution-visual i { font-size: 64px; color: var(--accent); opacity: 0.15; }

/* ========== PAGE: STRATEGIC ========== */
.offerings-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.offering-card {
  border: 1px solid var(--border); padding: 44px;
  background: var(--bg-elevated); transition: border-color 0.3s ease;
}
.offering-card:hover { border-color: var(--border-hover); }

.offering-tag {
  display: inline-block; padding: 5px 12px;
  border: 1px solid var(--border); border-radius: 2px;
  font-size: 11px; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--accent); margin-bottom: 20px;
}
.offering-card h3 { font-family: 'Playfair Display', serif; font-size: 26px; margin-bottom: 16px; }
.offering-card > p { font-size: 15px; line-height: 1.7; margin-bottom: 20px; }

.offering-value { padding: 16px 0; border-top: 1px solid var(--border); margin-bottom: 20px; }
.offering-value p { font-size: 13px; color: var(--text-muted); font-style: italic; }

.philosophy { text-align: center; }
.philosophy h2 { margin-bottom: 64px; }
.philosophy-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px;
  max-width: 840px; margin: 0 auto 48px;
}
.philosophy-item h4 {
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 16px;
  color: var(--text); margin-bottom: 10px;
}
.philosophy-item p { font-size: 14px; line-height: 1.7; }

/* ========== PAGE: ABOUT ========== */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.story-content h3 { font-family: 'Playfair Display', serif; font-size: 28px; margin-bottom: 24px; }
.story-content p { font-size: 15px; line-height: 1.8; margin-bottom: 18px; }

.story-image {
  border-radius: 4px; overflow: hidden;
  border: 1px solid var(--border); max-width: 360px; margin: 0 auto;
}
.story-image img { width: 100%; height: auto; object-fit: cover; }

.manifesto-full { max-width: 700px; margin: 0 auto; }
.manifesto-full h2 { text-align: center; margin-bottom: 64px; }

.manifesto-item {
  display: grid; grid-template-columns: 72px 1fr; gap: 28px;
  padding-bottom: 48px; position: relative;
}
.manifesto-item:not(:last-child)::after {
  content: ''; position: absolute; left: 36px; top: 52px; bottom: 0;
  width: 1px; background: var(--border);
}
.manifesto-item-number {
  font-family: 'Playfair Display', serif; font-size: 32px;
  font-weight: 700; color: var(--accent); opacity: 0.3; line-height: 1;
}
.manifesto-item h3 { font-family: 'Playfair Display', serif; font-size: 22px; margin-bottom: 10px; }
.manifesto-item p { font-size: 15px; line-height: 1.8; }
.manifesto-cta { text-align: center; margin-top: 32px; }

/* ========== PAGE: CONTACT ========== */
.contact-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.contact-card {
  border: 1px solid var(--border); padding: 44px;
  text-align: center; background: var(--bg-elevated);
  transition: border-color 0.3s ease;
}
.contact-card:hover { border-color: var(--border-hover); }

.contact-card .icon { font-size: 28px; color: var(--accent); margin-bottom: 20px; opacity: 0.8; }
.contact-label { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.15em; color: var(--accent); margin-bottom: 8px; }
.contact-handle { font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 12px; }
.contact-desc { font-size: 13px; color: var(--text-secondary); margin-bottom: 24px; line-height: 1.6; }
.contact-card .btn { width: 100%; justify-content: center; }

.contact-form-section { max-width: 560px; margin: 0 auto; text-align: center; }
.contact-form-section h3 { font-family: 'Playfair Display', serif; font-size: 28px; margin-bottom: 8px; }
.contact-form-section > p { color: var(--text-secondary); margin-bottom: 40px; }

/* ========== RESPONSIVE ========== */

@media (max-width: 1024px) {
  :root { --section-gap: 100px; }

  .hero-inner { gap: 48px; grid-template-columns: 1fr 0.7fr; }
  .manifesto-grid { grid-template-columns: repeat(2, 1fr); }
  .contributions-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .contribution-detail-inner { grid-template-columns: 1fr; }
  .contribution-detail:nth-child(even) .contribution-detail-inner { direction: ltr; }
  .offerings-grid { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-methods { grid-template-columns: 1fr; }
  .philosophy-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta-desktop { display: none; }
  .nav-toggle { display: flex; }

  .hero-inner {
    grid-template-columns: 1fr; text-align: center;
    padding-top: 100px;
  }
  .hero-content { align-items: center; }
  .hero-headline { max-width: 100%; }
  .hero-subtitle { max-width: 100%; }
  .hero-ctas { justify-content: center; }
  .hero-trust { text-align: center; }
  .hero-image { max-height: 380px; max-width: 280px; margin: 0 auto; }

  .manifesto-grid { grid-template-columns: 1fr; }
  .contributions-grid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; gap: 32px; }
  .impact-grid { grid-template-columns: 1fr; }

  .timeline-line { left: 14px; }
  .timeline-item {
    grid-template-columns: 1fr; gap: 12px;
    padding-left: 36px;
  }
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content { grid-column: 1; text-align: left; }
  .timeline-item:nth-child(odd) .timeline-dot-wrap,
  .timeline-item:nth-child(even) .timeline-dot-wrap { grid-column: 1; justify-self: start; }
  .timeline-dot { left: 0; transform: translateX(calc(-50% - 22px)); }

  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .chatbot-panel { width: calc(100vw - 32px); right: 16px; bottom: 76px; }

  .page-hero { min-height: 40vh; text-align: center; }
  .page-hero-content { margin: 0 auto; }

  .manifesto-item { grid-template-columns: 56px 1fr; gap: 16px; }
  .manifesto-item:not(:last-child)::after { left: 28px; }

  .contribution-detail { padding: 32px; }
  .contribution-detail h3 { font-size: 22px; }
  .offering-card { padding: 32px; }
  .offering-card h3 { font-size: 20px; }
  .story-content h3 { font-size: 22px; }
}

@media (max-width: 480px) {
  h1 { font-size: 36px; }
  h2 { font-size: 26px; }
  .btn { padding: 12px 24px; font-size: 13px; }
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .proof-value { font-size: 32px; }
  .manifesto-number { font-size: 32px; }
  .contribution-icon { font-size: 28px; }
  .timeline-content h4 { font-size: 18px; }
}
