/* ===== State of Hospitality — Light Mode Design System ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,700;1,700&display=swap');

:root {
  --bg: #FAFAF8;
  --bg-alt: #F3F1ED;
  --bg-white: #FFFFFF;
  --ink: #1A1208;
  --ink-secondary: #4A4540;
  --ink-muted: #8A8580;
  --accent: #E8705A;
  --accent-dark: #D15A44;
  --accent-light: rgba(232,112,90,0.08);
  --purple: #9B7BBF;
  --purple-light: rgba(155,123,191,0.08);
  --border: rgba(0,0,0,0.08);
  --border-strong: rgba(0,0,0,0.12);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.1), 0 4px 16px rgba(0,0,0,0.06);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, system-ui, sans-serif;
  --gradient-brand: linear-gradient(135deg, #C94A3A 0%, #E8705A 18%, #D9855D 35%, #9B7BBF 55%, #5B3D8F 75%, #1B1464 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(232,112,90,0.06) 0%, rgba(155,123,191,0.06) 100%);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --max-w: 1100px;
  --max-w-text: 720px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== LUCIDE ICONS ===== */
.btn-icon { width: 16px; height: 16px; vertical-align: -2px; margin-right: 6px; }
.inline-icon { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }

/* ===== SCROLL PROGRESS ===== */
#progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0;
  background: var(--gradient-brand);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ===== GRADIENT DIVIDER ===== */
.gradient-divider {
  height: 1px; max-width: 600px; margin: 0 auto;
  background: linear-gradient(to right, transparent 0%, var(--accent) 30%, var(--purple) 70%, transparent 100%);
  opacity: 0.3;
}

/* ===== NAV ===== */
#nav {
  position: fixed; top: 0; left: 0; right: 0;
  display: none; align-items: center; justify-content: space-between;
  padding: 1rem 2.5rem;
  z-index: 1000;
  background: rgba(250,250,248,0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}
#nav.visible { display: flex; }
.nav-logo {
  display: flex; align-items: center;
}
.nav-logo-img {
  height: 28px; width: auto;
}
.nav-links { display: flex; list-style: none; gap: 2rem; }
.nav-links a {
  color: var(--ink-muted); text-decoration: none;
  font-size: 0.78rem; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  font-size: 0.78rem; font-weight: 700;
  padding: 8px 20px; border-radius: 100px;
  background: var(--ink); color: var(--bg);
  text-decoration: none; transition: all 0.2s;
  border: none;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  #nav { padding: 0.8rem 1.2rem; }
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gradient-brand); color: #fff;
  font-family: var(--sans); font-size: 0.9rem; font-weight: 700;
  padding: 14px 32px; border-radius: 100px;
  text-decoration: none; border: none; cursor: pointer;
  transition: all 0.25s; position: relative;
  box-shadow: 0 4px 16px rgba(232,112,90,0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(232,112,90,0.35); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-white); color: var(--ink);
  font-family: var(--sans); font-size: 0.85rem; font-weight: 600;
  padding: 12px 24px; border-radius: 100px;
  border: 1px solid var(--border-strong); cursor: pointer;
  transition: all 0.2s; text-decoration: none;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* ===== SEARCH SCREEN (State 1) ===== */
#search-screen {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 2rem; position: relative;
  background: var(--bg);
}
.search-screen-inner {
  max-width: 560px; width: 100%; text-align: center;
}
.search-logo {
  margin-bottom: 2.5rem;
}
.search-logo-img {
  height: 36px; width: auto; opacity: 0.7;
}
.search-title {
  font-family: var(--serif); font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15; font-weight: 700; margin-bottom: 0.75rem;
  color: var(--ink);
}
.search-subtitle {
  font-size: 1.05rem; color: var(--ink-muted);
  line-height: 1.7; margin-bottom: 2.5rem; max-width: 45ch; margin-left: auto; margin-right: auto;
}
.search-wrap {
  position: relative; margin-bottom: 1rem; text-align: left;
}
.search-input {
  width: 100%; padding: 1rem 1.4rem; padding-right: 3rem;
  background: var(--bg-white);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md); color: var(--ink);
  font-size: 1rem; font-family: var(--sans);
  transition: border-color 0.25s, box-shadow 0.25s;
  box-shadow: var(--shadow-sm);
}
.search-input:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(232,112,90,0.1), var(--shadow-md);
}
.search-input::placeholder { color: var(--ink-muted); opacity: 0.5; }

.search-spinner {
  position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
}
.spinner-dot {
  display: inline-block; width: 18px; height: 18px;
  border: 2px solid rgba(232,112,90,0.2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.search-results {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: var(--bg-white);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  overflow: hidden; max-height: 340px; overflow-y: auto;
  z-index: 100; box-shadow: var(--shadow-xl);
}
.search-result-item {
  padding: 12px 16px; cursor: pointer;
  transition: background 0.15s;
  border-bottom: 1px solid var(--border);
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--accent-light); }
.search-result-name { font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.search-result-address { font-size: 0.8rem; color: var(--ink-muted); margin-top: 2px; }
.search-result-rating { font-size: 0.75rem; color: var(--accent); margin-top: 3px; font-weight: 600; }

/* Place card */
.place-card {
  display: flex; align-items: center; gap: 14px;
  padding: 1rem 1.2rem; margin-bottom: 1rem;
  background: var(--bg-white); border: 1.5px solid var(--accent);
  border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
}
.place-card-info { flex: 1; text-align: left; }
.place-card-name { font-weight: 700; font-size: 1rem; }
.place-card-address { font-size: 0.8rem; color: var(--ink-muted); margin-top: 2px; }
.place-card-meta { display: flex; gap: 10px; margin-top: 4px; }
.place-rating { font-size: 0.8rem; font-weight: 700; color: var(--accent); }
.place-review-count { font-size: 0.75rem; color: var(--ink-muted); }
.place-clear {
  background: none; border: none; cursor: pointer;
  color: var(--ink-muted); font-size: 1.2rem;
  transition: color 0.2s;
}
.place-clear:hover { color: var(--accent); }

/* Context */
.context-section { margin-bottom: 1rem; text-align: left; }
.context-label { font-size: 0.85rem; font-weight: 600; margin-bottom: 0.5rem; display: block; }
.context-textarea {
  width: 100%; padding: 0.8rem 1rem;
  background: var(--bg-white); border: 1.5px solid var(--border);
  border-radius: var(--radius-md); color: var(--ink);
  font-size: 0.9rem; font-family: var(--sans);
  resize: none; outline: none;
  transition: border-color 0.2s;
}
.context-textarea:focus { border-color: var(--accent); }
.context-textarea::placeholder { color: var(--ink-muted); opacity: 0.5; }

.search-actions { display: flex; flex-direction: column; gap: 0.8rem; margin-top: 1.5rem; }
.search-submit { width: 100%; font-size: 1rem; padding: 1rem; border-radius: var(--radius-md); }
.search-submit:disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }
.search-skip {
  background: none; border: none; color: var(--ink-muted);
  font-size: 0.82rem; cursor: pointer; font-family: var(--sans);
  padding: 0.5rem; transition: color 0.2s;
}
.search-skip:hover { color: var(--ink); }

.search-footer {
  margin-top: 3rem; font-size: 0.72rem; color: var(--ink-muted); opacity: 0.4;
}

/* Gradient accent on bottom of search */
.search-screen-accent {
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-brand); opacity: 0.5;
}

/* ===== BUILD SCREEN (State 2) ===== */
#build-screen {
  display: none; position: fixed; inset: 0; z-index: 9000;
  background: var(--bg);
  flex-direction: column; align-items: center; justify-content: center;
  padding: 2rem; overflow-y: auto;
}
#build-screen.visible { display: flex; }

.build-inner {
  max-width: 560px; width: 100%; text-align: center;
}
.build-hotel-name {
  font-family: var(--serif); font-size: 1.3rem;
  font-weight: 700; margin-bottom: 1.5rem; color: var(--ink);
  opacity: 0; animation: fade-in-up 0.6s ease 0.2s forwards;
}

/* ---- Progress bar (top) ---- */
.build-progress-wrap {
  width: 100%; height: 4px; background: var(--border);
  border-radius: 4px; margin-bottom: 2rem; overflow: hidden; position: relative;
}
.build-progress-bar {
  height: 100%; width: 0%;
  background: var(--gradient-brand);
  border-radius: 4px;
  transition: width 1.2s cubic-bezier(0.4,0,0.2,1);
  position: relative;
}
.build-progress-bar::after {
  content: ''; position: absolute; right: 0; top: -3px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(232,112,90,0.5), 0 0 4px rgba(232,112,90,0.3);
  animation: progress-glow 1.5s ease-in-out infinite;
}
@keyframes progress-glow {
  0%, 100% { box-shadow: 0 0 8px rgba(232,112,90,0.4); }
  50% { box-shadow: 0 0 20px rgba(232,112,90,0.7), 0 0 40px rgba(232,112,90,0.2); }
}
.build-progress-label {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 6px; margin-bottom: 1.5rem;
}
.build-progress-pct {
  font-size: 0.7rem; font-weight: 700; color: var(--accent);
  font-family: var(--sans); font-variant-numeric: tabular-nums;
}
.build-progress-step {
  font-size: 0.65rem; color: var(--ink-muted); letter-spacing: 0.05em;
}

/* ---- Phase header ---- */
.build-phase-label {
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.4rem;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.build-phase-spinner {
  display: inline-block; width: 12px; height: 12px;
  border: 1.5px solid rgba(232,112,90,0.2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.build-phase-title {
  font-family: var(--serif); font-size: 1.5rem;
  font-weight: 700; margin-bottom: 0.5rem; line-height: 1.3;
}
.build-phase-sub {
  font-size: 0.88rem; color: var(--ink-muted); margin-bottom: 1.5rem;
}

/* ---- Phase dots ---- */
.build-dots {
  display: flex; gap: 8px; justify-content: center; margin-bottom: 2rem;
}
.build-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border-strong);
  transition: all 0.5s cubic-bezier(0.4,0,0.2,1);
}
.build-dot.active {
  background: var(--accent); width: 28px; border-radius: 4px;
  box-shadow: 0 0 8px rgba(232,112,90,0.3);
}
.build-dot.done { background: var(--accent); opacity: 0.35; }

/* ---- Task list (live activity feed) ---- */
.build-tasks {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 1.5rem; text-align: left;
}
.build-task {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 14px; border-radius: var(--radius-sm);
  background: var(--bg-white); border: 1px solid var(--border);
  font-size: 0.78rem; color: var(--ink-muted);
  opacity: 0; transform: translateX(-12px);
  animation: task-in 0.35s ease forwards;
  transition: all 0.3s;
}
.build-task.done {
  border-color: rgba(76,175,80,0.2); background: rgba(76,175,80,0.04);
  color: var(--ink-secondary);
}
.build-task-icon {
  width: 18px; height: 18px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.build-task-icon .task-spinner {
  width: 14px; height: 14px;
  border: 1.5px solid var(--border-strong);
  border-top-color: var(--accent);
  border-radius: 50%; animation: spin 0.6s linear infinite;
}
.build-task-icon .task-check {
  color: #4CAF50; font-size: 14px; font-weight: 700;
}
.build-task-text { flex: 1; }
.build-task-status {
  font-size: 0.65rem; font-weight: 600; padding: 2px 8px;
  border-radius: 100px; flex-shrink: 0;
}
.build-task-status.running {
  background: rgba(232,112,90,0.08); color: var(--accent);
}
.build-task-status.done {
  background: rgba(76,175,80,0.08); color: #4CAF50;
}
@keyframes task-in {
  to { opacity: 1; transform: translateX(0); }
}

/* ---- Review empty states ---- */
.build-reviews {
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 1.5rem; overflow: hidden;
}
.build-review-empty {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px;
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.build-review-empty-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg-alt); flex-shrink: 0;
  position: relative; overflow: hidden;
}
.build-review-empty-avatar::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 25%, rgba(0,0,0,0.03) 50%, transparent 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.8s infinite;
}
.build-review-empty-lines { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.build-review-empty-line {
  height: 8px; border-radius: 4px;
  background: var(--bg-alt); position: relative; overflow: hidden;
}
.build-review-empty-line::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 25%, rgba(0,0,0,0.03) 50%, transparent 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.8s infinite;
}
.build-review-empty-line:nth-child(1) { width: 40%; }
.build-review-empty-line:nth-child(2) { width: 90%; }
.build-review-empty-line:nth-child(3) { width: 70%; }

/* Real review cards */
.build-review-card {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 12px 16px;
  text-align: left; box-shadow: var(--shadow-sm);
  opacity: 0; transform: translateY(12px) scale(0.98);
  animation: review-in 0.4s ease forwards;
}
@keyframes review-in {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.build-review-stars { font-size: 0.7rem; color: var(--accent); margin-bottom: 3px; letter-spacing: 1px; }
.build-review-text { font-size: 0.78rem; color: var(--ink-muted); line-height: 1.5; }
.build-review-author { font-size: 0.65rem; color: var(--ink-muted); opacity: 0.5; margin-top: 4px; }

.build-counter {
  font-size: 2.5rem; font-weight: 800; color: var(--accent);
  font-family: var(--sans); font-variant-numeric: tabular-nums;
  line-height: 1;
}
.build-counter-label { font-size: 0.78rem; color: var(--ink-muted); margin-top: 4px; }

/* ---- Image grid (phase 2) ---- */
.build-image-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  margin-bottom: 1.5rem; border-radius: var(--radius-md); overflow: hidden;
}
.build-image-slot {
  aspect-ratio: 4/3; background: var(--bg-alt);
  border-radius: var(--radius-sm); overflow: hidden;
  position: relative;
}
.build-image-slot img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.05);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.build-image-slot img.loaded { opacity: 1; transform: scale(1); }
.build-image-slot .skeleton-pulse {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg-alt) 25%, rgba(0,0,0,0.03) 50%, var(--bg-alt) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
}
.build-image-slot .img-icon {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: var(--ink-muted); opacity: 0.15; font-size: 1.2rem;
}
@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---- Website scan animation (phase 2) ---- */
.build-scan-wrap {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 16px 20px;
  margin-bottom: 1.5rem; text-align: left; overflow: hidden; position: relative;
}
.build-scan-url {
  font-size: 0.75rem; font-family: monospace; color: var(--ink-muted);
  margin-bottom: 8px;
}
.build-scan-lines {
  display: flex; flex-direction: column; gap: 5px;
}
.build-scan-line {
  height: 6px; border-radius: 3px;
  background: var(--bg-alt); position: relative; overflow: hidden;
}
.build-scan-line::after {
  content: ''; position: absolute;
  top: 0; left: -100%; width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(232,112,90,0.15), transparent);
  animation: scan-sweep 2s ease-in-out infinite;
}
.build-scan-line:nth-child(1) { width: 95%; animation-delay: 0s; }
.build-scan-line:nth-child(2) { width: 80%; }
.build-scan-line:nth-child(3) { width: 88%; }
.build-scan-line:nth-child(4) { width: 60%; }
.build-scan-line:nth-child(5) { width: 72%; }
@keyframes scan-sweep {
  0% { left: -40%; }
  100% { left: 140%; }
}

/* ---- Page preview skeleton (phase 3) ---- */
.build-page-preview {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px 20px;
  margin-bottom: 1.5rem; text-align: left;
  box-shadow: var(--shadow-md); overflow: hidden;
}
.build-page-hero-skel {
  width: 100%; height: 80px; border-radius: var(--radius-sm);
  background: var(--bg-alt); margin-bottom: 16px;
  position: relative; overflow: hidden;
}
.build-page-hero-skel::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 25%, rgba(0,0,0,0.03) 50%, transparent 75%);
  background-size: 200% 100%; animation: skeleton-shimmer 1.5s infinite;
}
.build-page-title-skel {
  height: 16px; width: 65%; border-radius: 8px;
  background: var(--bg-alt); margin-bottom: 12px;
  position: relative; overflow: hidden;
}
.build-page-title-skel::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 25%, rgba(0,0,0,0.03) 50%, transparent 75%);
  background-size: 200% 100%; animation: skeleton-shimmer 1.5s infinite;
}
.build-page-line-skel {
  height: 8px; border-radius: 4px;
  background: var(--bg-alt); margin-bottom: 8px;
  position: relative; overflow: hidden;
}
.build-page-line-skel::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 25%, rgba(0,0,0,0.03) 50%, transparent 75%);
  background-size: 200% 100%; animation: skeleton-shimmer 1.5s infinite;
}
.build-page-line-skel:nth-child(3) { width: 100%; }
.build-page-line-skel:nth-child(4) { width: 92%; }
.build-page-line-skel:nth-child(5) { width: 85%; }
.build-page-line-skel:nth-child(6) { width: 70%; }
.build-page-line-skel:nth-child(7) { width: 95%; }
.build-page-line-skel:nth-child(8) { width: 60%; }

/* Writing cursor */
.build-writing-cursor {
  display: inline-block; width: 2px; height: 14px;
  background: var(--accent); margin-left: 2px;
  animation: cursor-blink 0.8s step-end infinite;
  vertical-align: text-bottom;
}
@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Typing text */
.build-typing-text {
  font-size: 0.82rem; color: var(--ink-secondary); line-height: 1.7;
  text-align: left; min-height: 4em;
}

/* ---- Fun facts ---- */
.build-fact {
  margin-top: 1.5rem; font-size: 0.75rem; color: var(--ink-muted);
  max-width: 400px; margin-left: auto; margin-right: auto;
  line-height: 1.6; opacity: 0;
  transition: opacity 0.4s ease;
  padding: 10px 16px; border-radius: var(--radius-sm);
  background: rgba(232,112,90,0.03);
  border: 1px solid rgba(232,112,90,0.06);
}
.build-fact.visible { opacity: 1; }

.build-powered {
  margin-top: 1.5rem; font-size: 0.65rem; color: var(--ink-muted); opacity: 0.3;
}

/* ---- Generic animation helpers ---- */
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== ARTICLE PAGE (State 3) ===== */
#article-page { display: none; }
#article-page.visible { display: block; }

/* Hero image */
.hero-image-section {
  position: relative; width: 100%;
  height: 70vh; min-height: 400px; max-height: 600px;
  overflow: hidden; background: var(--bg-alt);
}
.hero-image-section img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-image-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.7) 15%,
    rgba(0,0,0,0.5) 35%,
    rgba(0,0,0,0.25) 55%,
    rgba(0,0,0,0.1) 75%,
    transparent 100%
  );
}
.hero-image-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 3rem 2.5rem; color: #fff;
}
.hero-image-badge {
  display: inline-block; font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 100px;
  background: rgba(232,112,90,0.9); margin-bottom: 1rem;
}
.hero-image-title {
  font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1; font-weight: 700; margin-bottom: 0.5rem;
  max-width: 700px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5), 0 1px 3px rgba(0,0,0,0.3);
}
.hero-image-meta {
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.9rem; opacity: 0.85;
}
.hero-image-rating { font-weight: 700; }

/* Section containers */
.section-white { background: var(--bg); padding: 5rem 2rem; }
.section-alt { background: var(--bg-alt); padding: 5rem 2rem; }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.section-text { max-width: var(--max-w-text); margin: 0 auto; }

/* ===== PULL QUOTE ===== */
.pull-quote {
  max-width: var(--max-w-text); margin: 0 auto; padding: 4rem 2rem;
  text-align: center;
}
.pull-quote p {
  font-family: var(--serif); font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  line-height: 1.6; color: var(--ink-secondary);
}
.pull-quote em {
  background: var(--gradient-brand);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pull-quote cite {
  display: block; margin-top: 1.5rem;
  font-size: 0.75rem; font-style: normal;
  color: var(--ink-muted); letter-spacing: 0.05em;
}

/* ===== CHAPTER HEADER ===== */
.chapter {
  display: flex; align-items: flex-end; gap: 1.5rem;
  max-width: var(--max-w-text); margin: 0 auto 2rem; padding: 0;
}
.chapter-num {
  font-family: var(--serif); font-size: clamp(3rem, 8vw, 5rem);
  line-height: 1; font-weight: 700;
  background: var(--gradient-brand);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; opacity: 0.3;
}
.chapter-meta { flex: 1; }
.chapter-label {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ink-muted); margin-bottom: 4px;
}
.chapter-title {
  font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.25; color: var(--ink);
}
.personalized-badge {
  display: inline-block; font-size: 0.55rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 100px;
  background: var(--accent-light); color: var(--accent);
  margin-left: 8px; vertical-align: middle;
}

.section-intro {
  max-width: var(--max-w-text); color: var(--ink-muted);
  font-size: 1rem; line-height: 1.85;
  margin: 0 auto 3rem;
}

/* ===== SHIFT CARDS ===== */
.shifts {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem; max-width: var(--max-w); margin: 0 auto;
}
.shift-card {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.8rem;
  transition: all 0.3s ease; box-shadow: var(--shadow-sm);
}
.shift-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.shift-icon { display: block; margin-bottom: 1rem; }
.shift-icon svg, .shift-icon i { width: 24px; height: 24px; color: var(--accent); }
.shift-title { font-weight: 700; font-size: 1rem; margin-bottom: 0.6rem; line-height: 1.3; color: var(--ink); }
.shift-body { font-size: 0.85rem; color: var(--ink-muted); line-height: 1.7; margin-bottom: 1rem; }
.shift-tag {
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 100px;
}
.tag-now { background: var(--accent-light); color: var(--accent); }
.tag-emerging { background: var(--purple-light); color: var(--purple); }
.tag-future { background: rgba(0,0,0,0.04); color: var(--ink-muted); }

/* ===== STORY BLOCKS ===== */
.story-block {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; max-width: var(--max-w); margin: 0 auto;
  align-items: center;
}
.story-block.reverse { direction: rtl; }
.story-block.reverse > * { direction: ltr; }
.story-eyebrow {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
}
.story-heading {
  font-family: var(--serif); font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  line-height: 1.3; margin-bottom: 1.2rem; color: var(--ink);
}
.story-body { font-size: 0.92rem; color: var(--ink-muted); line-height: 1.8; margin-bottom: 0.8rem; }
.story-highlight {
  font-size: 0.92rem; font-weight: 600; color: var(--ink);
  padding: 1.2rem 1.5rem; border-radius: var(--radius-md);
  background: var(--accent-light);
  border-left: 3px solid var(--accent); line-height: 1.7; margin-top: 1rem;
}
.story-image {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.story-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 768px) {
  .story-block, .story-block.reverse { grid-template-columns: 1fr; gap: 2rem; direction: ltr; }
}

/* ===== VIS BARS ===== */
.vis-bars { padding: 1rem 0; }
.vis-bar-label-top {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-muted); margin-bottom: 6px;
}
.vis-bar-row { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.vis-bar-label { font-size: 0.75rem; font-weight: 600; color: var(--ink-muted); min-width: 65px; text-align: right; }
.vis-bar-track { flex: 1; height: 8px; background: rgba(0,0,0,0.04); border-radius: 4px; overflow: hidden; }
.vis-bar-fill {
  height: 100%; border-radius: 4px;
  width: var(--bar-w, 50%);
  background: var(--gradient-brand);
  transition: width 1.5s cubic-bezier(0.4,0,0.2,1);
}
.vis-bar-val { font-size: 0.75rem; font-weight: 700; color: var(--accent); min-width: 55px; }
.vis-bar-source { font-size: 0.6rem; color: var(--ink-muted); opacity: 0.5; margin-top: 4px; }

/* ===== VIS SHIFT ITEMS ===== */
.vis-shift-anim { display: flex; flex-direction: column; gap: 8px; }
.vis-shift-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-radius: var(--radius-md);
  background: var(--bg-white); border: 1px solid var(--border);
  opacity: 0; transform: translateX(-16px);
  transition: all 0.5s ease; box-shadow: var(--shadow-sm);
}
.vis-shift-item.visible { opacity: 1; transform: translateX(0); }
.vis-shift-icon { font-size: 1.3rem; flex-shrink: 0; }
.vis-shift-icon svg, .vis-shift-icon i { width: 20px; height: 20px; color: var(--accent); }
.vis-shift-text { display: flex; flex-direction: column; gap: 2px; }
.vis-shift-text strong { font-size: 0.85rem; color: var(--ink); }
.vis-shift-text span { font-size: 0.75rem; color: var(--ink-muted); }

/* ===== TIMELINE ===== */
.timeline { max-width: var(--max-w-text); margin: 0 auto; }
.tl-item {
  display: flex; gap: 2rem; padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}
.tl-year {
  font-family: var(--serif); font-size: 2rem;
  font-weight: 700; min-width: 68px; flex-shrink: 0;
  background: var(--gradient-brand);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; opacity: 0.5;
}
.tl-content-text { flex: 1; }
.tl-label { font-weight: 700; font-size: 1rem; margin-bottom: 0.5rem; line-height: 1.3; color: var(--ink); }
.tl-desc { font-size: 0.85rem; color: var(--ink-muted); line-height: 1.7; }
.tl-quote {
  font-size: 0.82rem; font-style: italic;
  color: var(--ink-muted); margin-top: 0.8rem;
  padding-left: 1rem; border-left: 2px solid var(--accent);
}

/* ===== GALLERY STRIP ===== */
.gallery-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 4px; width: 100%; margin: 0;
}
.gallery-strip img {
  width: 100%; height: 200px; object-fit: cover;
  transition: transform 0.3s; cursor: default;
}
.gallery-strip img:hover { transform: scale(1.02); }

@media (max-width: 768px) {
  .gallery-strip { grid-template-columns: 1fr; }
  .gallery-strip img { height: 200px; }
}

/* ===== IMPACT CARDS ===== */
.impact-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem; max-width: var(--max-w); margin: 2rem auto 0;
}
.impact-card {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.8rem;
  transition: all 0.3s ease; box-shadow: var(--shadow-sm);
}
.impact-card:hover { box-shadow: var(--shadow-md); }
.impact-card.impact-highlighted { border-color: var(--accent); background: var(--accent-light); }
.impact-card-icon { margin-bottom: 8px; }
.impact-card-icon svg, .impact-card-icon i { width: 24px; height: 24px; color: var(--accent); opacity: 0.7; }
.impact-q {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.8rem;
}
.impact-a { font-weight: 700; font-size: 0.95rem; line-height: 1.3; margin-bottom: 0.8rem; color: var(--ink); }
.impact-body { font-size: 0.82rem; color: var(--ink-muted); line-height: 1.7; }

/* ===== PERSONAL NOTE ===== */
.personal-note {
  max-width: var(--max-w-text); margin: 0 auto 2rem; padding: 1.5rem 2rem;
  background: var(--accent-light);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.personal-note-label {
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.5rem;
}
.personal-note p { font-size: 0.92rem; color: var(--ink-secondary); line-height: 1.7; }

/* ===== HONEST SECTION ===== */
.honest-inner { max-width: var(--max-w-text); margin: 0 auto; }
.honest-label {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ink-muted); margin-bottom: 1rem;
}
.honest-title {
  font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.25; margin-bottom: 1rem; color: var(--ink);
}
.honest-grid { display: flex; flex-direction: column; gap: 1.2rem; margin-top: 3rem; }
.honest-item {
  padding: 1.5rem 2rem;
  border-left: 2px solid var(--border);
  transition: border-color 0.3s;
}
.honest-item:hover { border-color: var(--accent); }
.honest-item-personalized {
  border-color: var(--accent); background: var(--accent-light);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.honest-item-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.5rem; line-height: 1.4; color: var(--ink); }
.honest-item-body { font-size: 0.85rem; color: var(--ink-muted); line-height: 1.7; }

/* ===== PROGNOSIS ===== */
.prognose-section { max-width: var(--max-w-text); margin: 0 auto; }
.prognose-toggle { display: flex; gap: 0.5rem; margin: 2rem 0; }
.prognose-toggle-btn {
  flex: 1; padding: 12px 16px;
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius-md); color: var(--ink-muted);
  font-family: var(--sans); font-size: 0.85rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
}
.prognose-toggle-btn.active { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }
.prognose-content {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow-sm);
}
.prognose-headline { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 1.5rem; line-height: 1.3; color: var(--ink); }
.prognose-points { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.prognose-point { display: flex; gap: 1rem; align-items: flex-start; }
.prognose-point-num {
  font-family: var(--serif); font-size: 1.2rem;
  min-width: 28px; flex-shrink: 0;
  background: var(--gradient-brand);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; opacity: 0.5;
}
.prognose-point p { font-size: 0.88rem; color: var(--ink-muted); line-height: 1.7; }
.prognose-summary {
  font-size: 0.88rem; font-weight: 600; color: var(--ink);
  padding: 1rem 1.2rem; border-radius: var(--radius-sm);
  background: var(--accent-light);
  border-left: 3px solid var(--accent); line-height: 1.6;
}

/* ===== ACTION CARDS ===== */
.actions-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem; max-width: var(--max-w); margin: 2rem auto 0;
}
.action-card {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.8rem;
  transition: all 0.3s; box-shadow: var(--shadow-sm);
}
.action-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.action-num {
  font-family: var(--serif); font-size: 2.5rem; font-weight: 700;
  background: var(--gradient-brand);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; opacity: 0.25; margin-bottom: 0.8rem;
}
.action-title { font-weight: 700; font-size: 1rem; line-height: 1.3; margin-bottom: 0.8rem; color: var(--ink); }
.action-body { font-size: 0.82rem; color: var(--ink-muted); line-height: 1.7; }

/* ===== CTA FINAL ===== */
.cta-section {
  position: relative; padding: 6rem 2rem;
  overflow: hidden; text-align: center;
}
.cta-bg-image {
  position: absolute; inset: 0;
}
.cta-bg-image img {
  width: 100%; height: 100%; object-fit: cover;
  filter: blur(8px); transform: scale(1.1);
}
.cta-bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(201,74,58,0.85) 0%, rgba(91,61,143,0.85) 100%);
}
.cta-content {
  position: relative; z-index: 1;
  max-width: 600px; margin: 0 auto; color: #fff;
}
.cta-eyebrow {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  opacity: 0.7; margin-bottom: 1rem;
}
.cta-title {
  font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2; margin-bottom: 1.2rem;
}
.cta-sub { font-size: 1rem; opacity: 0.85; line-height: 1.7; margin-bottom: 2rem; }
.cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--accent-dark);
  font-family: var(--sans); font-size: 1rem; font-weight: 700;
  padding: 16px 36px; border-radius: 100px;
  text-decoration: none; border: none; cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.3); }

/* ===== SHARE ===== */
.share-section { max-width: var(--max-w-text); margin: 0 auto; padding: 0 2rem; }
.share-inner {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem; text-align: center;
  box-shadow: var(--shadow-sm);
}
.share-title { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 0.5rem; }
.share-body { font-size: 0.85rem; color: var(--ink-muted); line-height: 1.6; margin-bottom: 1.5rem; }
.share-link-row { display: flex; gap: 8px; }
.share-link-input {
  flex: 1; padding: 10px 14px;
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--ink);
  font-family: var(--sans); font-size: 0.8rem; outline: none;
}
.share-link-copy {
  padding: 10px 18px; border-radius: var(--radius-sm);
  background: var(--ink); color: var(--bg);
  font-family: var(--sans); font-size: 0.8rem; font-weight: 700;
  border: none; cursor: pointer; transition: opacity 0.2s;
}
.share-link-copy:hover { opacity: 0.8; }

/* ===== FLOATING RESTART ===== */
.floating-restart {
  position: fixed; bottom: 2rem; left: 2rem;
  display: none; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 100px;
  background: var(--bg-white); color: var(--ink);
  font-family: var(--sans); font-size: 0.78rem; font-weight: 600;
  border: 1.5px solid var(--border); cursor: pointer; z-index: 500;
  box-shadow: var(--shadow-lg);
  transition: all 0.2s;
}
.floating-restart:hover { transform: translateY(-2px); border-color: var(--accent); }
.floating-restart-icon svg, .floating-restart-icon i { width: 14px; height: 14px; }

/* ===== DARK SIDE ===== */
.dark-side-trigger {
  position: fixed; bottom: 2rem; right: 2rem;
  display: none; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 100px;
  background: #2A2A30; color: rgba(255,255,255,0.85);
  font-family: var(--sans); font-size: 0.78rem; font-weight: 600;
  border: none; cursor: pointer; z-index: 500;
  box-shadow: var(--shadow-lg);
  transition: all 0.2s;
}
.dark-side-trigger:hover { transform: translateY(-2px); }
.dark-side-trigger-icon svg, .dark-side-trigger-icon i { width: 14px; height: 14px; }

.ds-overlay {
  position: fixed; inset: 0; z-index: 9500;
  background: #1E1E24; color: #EEEAE6;
  overflow-y: auto; opacity: 0;
  transition: opacity 0.5s;
}
.ds-overlay.ds-visible { opacity: 1; }
.ds-close-top {
  position: fixed; top: 1rem; right: 1.5rem;
  background: none; border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.5); padding: 8px 16px;
  border-radius: 100px; font-size: 0.75rem; font-weight: 600;
  font-family: var(--sans); cursor: pointer; z-index: 10;
  transition: all 0.2s;
}
.ds-close-top:hover { border-color: rgba(255,255,255,0.3); color: rgba(255,255,255,0.8); }
.ds-inner { max-width: 700px; margin: 0 auto; padding: 5rem 2rem; }
.ds-warning-icon svg, .ds-warning-icon i { width: 40px; height: 40px; color: rgba(232,180,140,0.6); margin-bottom: 1.5rem; }
.ds-headline { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.3; margin-bottom: 1.5rem; }
.ds-headline-red { color: rgba(232,180,140,0.85); }
.ds-intro { font-size: 1rem; line-height: 1.8; color: rgba(238,234,230,0.55); margin-bottom: 2.5rem; }
.ds-danger-card {
  padding: 1.5rem 2rem; margin-bottom: 1rem;
  border-left: 2px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03); border-radius: 0 8px 8px 0;
}
.ds-danger-timeframe { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(232,180,140,0.7); margin-bottom: 0.3rem; }
.ds-danger-title { font-weight: 700; margin-bottom: 0.5rem; color: rgba(238,234,230,0.9); }
.ds-danger-body { font-size: 0.88rem; color: rgba(238,234,230,0.5); line-height: 1.7; }
.ds-closing { text-align: center; margin-top: 3rem; }
.ds-closing-line { width: 40px; height: 1px; background: rgba(255,255,255,0.08); margin: 0 auto 1.5rem; }
.ds-closing-quote { font-family: var(--serif); font-size: 1.1rem; font-style: italic; color: rgba(238,234,230,0.5); margin-bottom: 2rem; line-height: 1.6; }
.ds-cta-btn {
  display: inline-block; padding: 14px 28px; border-radius: 100px;
  background: var(--gradient-brand); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 0.9rem; margin-bottom: 1rem;
}
.ds-close-bottom {
  display: block; margin: 0.5rem auto 0; background: none; border: none;
  color: rgba(255,255,255,0.3); font-size: 0.82rem; cursor: pointer;
  font-family: var(--sans);
}

/* ===== ERROR OVERLAY ===== */
.error-overlay {
  position: fixed; inset: 0; z-index: 9100;
  display: flex; align-items: center; justify-content: center;
  background: rgba(250,250,248,0.9); backdrop-filter: blur(12px);
}
.error-card {
  max-width: 440px; width: 90%; text-align: center;
  background: var(--bg-white); padding: 3rem 2.5rem;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-xl);
}
.error-icon svg, .error-icon i { width: 48px; height: 48px; color: var(--accent); margin-bottom: 1rem; }
.error-title { font-family: var(--serif); font-size: 1.4rem; margin-bottom: 0.8rem; }
.error-message { font-size: 0.9rem; color: var(--ink-muted); line-height: 1.6; margin-bottom: 2rem; }
.error-actions { display: flex; flex-direction: column; gap: 0.8rem; }
.error-skip { background: none; border: none; color: var(--ink-muted); font-size: 0.82rem; cursor: pointer; font-family: var(--sans); }

/* ===== FOOTER ===== */
footer {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  padding: 2rem 2.5rem; font-size: 0.7rem; color: var(--ink-muted);
  border-top: 1px solid var(--border); background: var(--bg);
}
footer a { color: var(--ink-muted); text-decoration: none; }
footer a:hover { color: var(--ink); }
.footer-brand { display: flex; align-items: center; gap: 0.5rem; }
.footer-logo { height: 18px; width: auto; opacity: 0.5; }

/* ===== FADE-UP ANIMATION ===== */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== EXPERIMENT DISCLAIMER ===== */
.experiment-teaser { max-width: var(--max-w-text); margin: 2rem auto; padding: 0 2rem; }
.experiment-inner {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem; text-align: center;
  box-shadow: var(--shadow-sm);
}
.experiment-body { font-size: 0.78rem; color: var(--ink-muted); line-height: 1.6; }
.experiment-built-with { font-size: 0.68rem; color: var(--ink-muted); opacity: 0.4; margin-top: 0.8rem; }
.experiment-built-with a { color: var(--ink); text-decoration: none; }

/* ===== PLACEHOLDER IMAGES ===== */
.story-img-placeholder { min-height: 300px; background: var(--bg-alt); }
img:not([src]), img[src=""] { display: none; }

/* ===== DISABLED BUTTON ===== */
.btn-primary:disabled, .search-submit:disabled {
  opacity: 0.45; cursor: not-allowed; transform: none;
  box-shadow: none; filter: grayscale(0.3);
}
.btn-primary:disabled:hover { transform: none; box-shadow: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-image-section { height: 50vh; min-height: 300px; }
  .hero-image-content { padding: 2rem 1.5rem; }
  .section-white, .section-alt { padding: 3rem 1.5rem; }
  .shifts { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: 1fr; }
  .actions-grid { grid-template-columns: 1fr; }
  .story-block { flex-direction: column; }
  .story-image { max-width: 100%; }
  .timeline { padding-left: 1rem; }
  .honest-grid { grid-template-columns: 1fr; }
  .cta-title { font-size: 1.5rem; }
  footer { flex-direction: column; text-align: center; padding: 1.5rem; }

  /* Stack floating buttons vertically on mobile */
  .floating-restart { bottom: 5.5rem; left: 1rem; right: 1rem; width: auto; font-size: 0.78rem; }
  .dark-side-trigger { bottom: 1rem; left: 1rem; right: 1rem; width: auto; font-size: 0.78rem; }
}

