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

/* 3D scene */
#scene-container { width: 100%; height: 600px; border-radius: 8px; overflow: hidden; margin-top: 1rem; }
#scene-container canvas { display: block; width: 100%; height: 100%; }
.scene-info { margin-top: 0.75rem; font-size: 0.875rem; }
.scene-info__hint { color: #666; font-size: 0.8rem; margin-top: 0.25rem; }

/* ── Kin Kitchen brand tokens ──────────────────────────────────────────────────── */
:root {
  --ochre:        #C8813A;
  --ochre-dark:   #a86630;
  --ochre-light:  #e8a96a;
  --green:        #2D4A35;
  --green-light:  #3d6347;
  --cream:        #F5ECD7;
  --cream-dark:   #ede0c4;
  --charcoal:     #1C1C1C;
  --muted:        #6b6458;
  --panel-bg:     #111318;
  --card-bg:      #ffffff;
  --border:       #e4ddd2;
  --ig-bg:        #f7f2ea;
  --ig-border:    #d9cdb8;
  --radius:       14px;
  --radius-sm:    8px;
  --shadow:       0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg:    0 8px 40px rgba(0,0,0,0.14);
  --transition:   0.18s ease;
}

/* ── Base ──────────────────────────────────────────────────────────────── */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  min-height: 100vh;
  padding: 0 1rem 3rem;
}

/* ── Header ────────────────────────────────────────────────────────────── */
.site-header {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.25rem 0 1.75rem;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.site-header h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.5px;
}
.site-header .tagline {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ── Upload card ───────────────────────────────────────────────────────── */
.upload-card {
  max-width: 760px;
  margin: 0 auto 2rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.upload-card label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin-bottom: 0.6rem;
}
.upload-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}
input[type="file"] {
  flex: 1;
  min-width: 0;
  font-size: 0.875rem;
  color: var(--charcoal);
}
.btn-primary {
  padding: 0.65rem 1.5rem;
  background: var(--ochre);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 8px rgba(200,129,58,0.28);
}
.btn-primary:hover:not(:disabled) {
  background: var(--ochre-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(200,129,58,0.35);
}
.btn-primary:active:not(:disabled) { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.55; cursor: not-allowed; }

/* ── Progress steps ─────────────────────────────────────────────────────── */
.status-uploading {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.progress-steps {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.progress-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
  opacity: 0.45;
  transition: opacity 0.3s ease;
}
.progress-step--active {
  opacity: 1;
  color: var(--charcoal);
  font-weight: 600;
}
.progress-step--done {
  opacity: 0.6;
  color: var(--green);
}
.progress-step--done .progress-step__dot::after {
  content: '✓';
  font-size: 0.78rem;
  color: var(--green);
}
.progress-step--done .spinner { display: none; }
.progress-step__dot {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Spinners ───────────────────────────────────────────────────────────── */
.spinner {
  width: 18px; height: 18px;
  border: 2px solid var(--border);
  border-top-color: var(--ochre);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
}
.spinner--faint {
  border-top-color: var(--border);
  animation: none;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Error ──────────────────────────────────────────────────────────────── */
.status-error {
  max-width: 760px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  background: #fff5f5;
  border: 1px solid #fca5a5;
  border-radius: var(--radius);
  color: #dc2626;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.status-error__icon { font-size: 1.1rem; }

/* ── Result card ─────────────────────────────────────────────────────────── */
.result-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: fadeSlideUp 0.38s ease both;
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* Top media strip: photo + 3D viewer side by side */
.result-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 280px;
}
@media (max-width: 540px) {
  .result-media { grid-template-columns: 1fr; }
  .result-photo,
  .ar-viewer    { min-height: 220px; }
}

.result-photo {
  position: relative;
  overflow: hidden;
  background: #000;
}
.result-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.result-photo__label,
.ar-viewer__label {
  position: absolute;
  top: 0.6rem; left: 0.6rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.25rem 0.65rem;
  border-radius: 99px;
  pointer-events: none;
}
.result-photo__label {
  background: rgba(0,0,0,0.52);
  color: #fff;
}
.ar-viewer__label {
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.78);
}

/* 3D viewer */
.ar-viewer {
  position: relative;
  background: var(--panel-bg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}
.ar-canvas { display: block; width: 100%; height: 100%; }
.ar-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.6rem;
  color: rgba(255,255,255,0.45);
  font-size: 0.82rem;
}
.ar-loading .spinner {
  border-color: rgba(255,255,255,0.15);
  border-top-color: var(--ochre);
}

/* ── Detected ingredient chips ───────────────────────────────────────────── */
.result-info {
  padding: 1.25rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
}
.result-info__heading {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.65rem;
}
.ingredient-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.8rem;
  background: var(--cream);
  border: 1px solid #ddd5c8;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--charcoal);
  text-transform: capitalize;
  transition: background var(--transition), border-color var(--transition);
}
.chip:hover { background: var(--cream-dark); border-color: #c9bfaf; }
.chip__conf {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 400;
}

/* ── Indigenous context section ──────────────────────────────────────────── */
.indigenous-section {
  border-top: 1px solid var(--ig-border);
  background: var(--ig-bg);
  padding: 1.5rem;
}
.indigenous-section__header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
}
.indigenous-section__icon { font-size: 1.25rem; }
.indigenous-section__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: -0.2px;
}

/* Grid of info cards */
.indigenous-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}
@media (max-width: 540px) {
  .indigenous-grid { grid-template-columns: 1fr; }
}

.ig-card {
  background: var(--card-bg);
  border: 1px solid var(--ig-border);
  border-radius: var(--radius-sm);
  padding: 1rem;
}
.ig-card--inline { grid-column: 1 / -1; }
.ig-card--significance {
  border-left: 3px solid var(--ochre);
}
.ig-card__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ochre);
  margin-bottom: 0.5rem;
}
.ig-card__text {
  font-size: 0.875rem;
  color: var(--charcoal);
  line-height: 1.6;
}

/* Traditional names list */
.ig-names-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.ig-names-list li {
  font-size: 0.875rem;
  color: var(--charcoal);
  line-height: 1.5;
}
.ig-nation {
  font-weight: 600;
  color: var(--green);
}

/* Bullet lists */
.ig-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.ig-list li {
  font-size: 0.875rem;
  color: var(--charcoal);
  line-height: 1.5;
  padding-left: 1rem;
  position: relative;
}
.ig-list li::before {
  content: '·';
  position: absolute;
  left: 0.2rem;
  color: var(--ochre);
  font-weight: 700;
}

/* Recipes */
.ig-recipes {
  border-top: 1px solid var(--ig-border);
  padding-top: 1.1rem;
  margin-top: 0.25rem;
  margin-bottom: 1rem;
}
.ig-recipe-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.6rem;
}
.ig-recipe {
  background: var(--card-bg);
  border: 1px solid var(--ig-border);
  border-left: 3px solid var(--green);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
}
.ig-recipe__name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--green);
  margin-bottom: 0.25rem;
}
.ig-recipe__desc {
  font-size: 0.85rem;
  color: var(--charcoal);
  line-height: 1.55;
}
.ig-recipe__culture {
  font-size: 0.8rem;
  color: var(--gray);
  margin: 0.2rem 0;
}
.suggested-recipes__intro {
  font-size: 0.85rem;
  color: var(--gray);
  margin: 0.5rem 0 0.75rem;
}
.suggested-recipe__match {
  font-size: 0.8rem;
  color: var(--green);
  margin: 0.35rem 0 0;
}

/* Nutrition note */
.ig-nutrition {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  background: var(--card-bg);
  border: 1px solid var(--ig-border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}
.ig-nutrition__icon { font-size: 1rem; flex-shrink: 0; margin-top: 0.1rem; }

/* ── Gemini summary ──────────────────────────────────────────────────────── */
.result-summary {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--charcoal);
}
.result-summary strong { color: var(--green); }

/* ── Storyboard AR overlays ────────────────────────────────────────────────── */
/* Container sits over the WebGL canvas, pointer-events: none so it never
   blocks clicks. Cards fade in/out individually via .aro--visible */
.ar-storyboard-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.75rem;
}

/* Shared card base */
.aro-name,
.aro-cultural,
.aro-recipe {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}
.aro--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Traditional name badge — top-centre ─────────── */
.aro-name {
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  background: rgba(17, 19, 24, 0.72);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(200, 129, 58, 0.45);
  border-radius: 99px;
  padding: 0.3rem 1rem 0.35rem;
}
.aro-nation {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ochre-light);
  line-height: 1;
}
.aro-word {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

/* ── Cultural use — bottom pill ────────────────────── */
.aro-cultural {
  align-self: flex-end;
  align-self: center;
  background: rgba(45, 74, 53, 0.82);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.9rem;
  max-width: 90%;
}
.aro-cultural span {
  font-size: 0.78rem;
  color: #e8f5e9;
  line-height: 1.4;
  font-style: italic;
  display: block;
  text-align: center;
}

/* ── Recipe card — centred, larger ──────────────────── */
.aro-recipe {
  align-self: center;
  background: rgba(17, 19, 24, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(200, 129, 58, 0.4);
  border-radius: var(--radius);
  padding: 0.75rem 1.1rem;
  max-width: 88%;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.aro-recipe__name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ochre-light);
  display: block;
  text-align: center;
}
.aro-recipe__desc {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  display: block;
  text-align: center;
}

/* ── Suggested recipes list ──────────────────────────────────────────────────── */
.suggested-recipes__intro {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0 0 1rem;
  padding: 0 1.5rem;
}
.suggested-recipes__list { padding: 0 1.5rem 1.5rem; }
.suggested-recipe__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.25rem;
}
.suggested-recipe__match {
  font-size: 0.78rem;
  color: var(--green);
  margin: 0.35rem 0 0;
}
.ig-recipe__culture {
  font-size: 0.75rem;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 0.3rem;
}
.ig-recipe__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.25rem;
}

/* Story button */
.story-btn {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green);
  background: var(--cream);
  border: 1px solid var(--ig-border);
  border-radius: var(--radius-sm);
  padding: 0.3rem 0.6rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}
.story-btn:hover { background: var(--green); color: #fff; border-color: var(--green); }

/* ── Story modal ─────────────────────────────────────────────────────────────── */
.story-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.story-modal--open { opacity: 1; visibility: visible; }
.story-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  cursor: pointer;
}
.story-modal__box {
  position: relative;
  max-width: 420px;
  width: 100%;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  border: 1px solid var(--border);
}
.story-modal__close {
  position: absolute;
  top: 0.75rem; right: 0.75rem;
  width: 2rem; height: 2rem;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
}
.story-modal__close:hover { color: var(--charcoal); background: var(--cream); }
.story-modal__title {
  font-size: 1.05rem;
  color: var(--green);
  margin: 0 0 1rem;
  padding-right: 2rem;
  font-weight: 700;
}
.story-modal__character {
  margin-bottom: 1rem;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--ig-bg) 0%, var(--cream-dark) 100%);
  border-radius: var(--radius-sm);
}
.story-character__figure { position: relative; width: 80px; height: 100px; }
.story-character__head {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.story-character__body {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 64px; height: 52px;
  border-radius: 32px 32px 16px 16px;
  background: var(--green-light);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.story-character__sound {
  position: absolute; top: 50%; left: 100%;
  width: 24px; height: 24px;
  margin-left: 8px;
  opacity: 0;
  background: radial-gradient(circle, var(--ochre-light) 0%, var(--ochre) 100%);
  border-radius: 50%;
  transform: translateY(-50%) scale(0.5);
  transition: opacity 0.15s, transform 0.15s;
}
.story-character--speaking .story-character__sound { opacity: 1; transform: translateY(-50%) scale(1); animation: story-pulse 0.6s ease-in-out infinite; }
.story-character--speaking .story-character__head  { animation: story-nod 1.2s ease-in-out infinite; }
@keyframes story-pulse { 0%, 100% { transform: translateY(-50%) scale(1); opacity: 1; } 50% { transform: translateY(-50%) scale(1.15); opacity: 0.85; } }
@keyframes story-nod   { 0%, 100% { transform: translateX(-50%) rotate(0deg); } 25% { transform: translateX(-50%) rotate(-2deg); } 75% { transform: translateX(-50%) rotate(2deg); } }
.story-modal__status { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.75rem; min-height: 1.25em; }
.story-modal__status--error { color: #b53c3c; }
.story-modal__audio { width: 100%; height: 40px; border-radius: var(--radius-sm); }

/* ── Powered-by logo carousel ──────────────────────────────────────────── */
.logo-cloud {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 0 20px;
  background: linear-gradient(to top, rgba(17,19,24,0.95) 0%, transparent 100%);
  pointer-events: none;
}

.logo-cloud__label {
  text-align: center;
  font-size: 10px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,236,215,0.35);
  margin-bottom: 10px;
}

/* Outer wrapper — clips overflow and holds blur overlays */
.logo-slider-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
}

/* The scrolling track — contains two identical sets of logos */
.logo-slider-track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  animation: logo-scroll 28s linear infinite;
  will-change: transform;
}

.logo-slider-track:hover { animation-play-state: paused; }

@keyframes logo-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Individual logo pill */
.logo-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  opacity: 0.55;
  transition: opacity 0.2s;
}

.logo-item:hover { opacity: 0.9; }

.logo-item img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(1.1);
}

.logo-item span {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: rgba(245,236,215,0.7);
}

/* Progressive blur fade — left and right edges */
.logo-blur {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  pointer-events: none;
  z-index: 2;
}

.logo-blur--left {
  left: 0;
  background: linear-gradient(to right, rgba(17,19,24,0.95) 0%, transparent 100%);
}

.logo-blur--right {
  right: 0;
  background: linear-gradient(to left, rgba(17,19,24,0.95) 0%, transparent 100%);
}

/* ── Generate Video button ─────────────────────────────────────────────────── */
.btn-generate-video {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1.5px solid var(--ochre);
  color: var(--ochre);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 10px;
  padding: 11px 18px;
  cursor: pointer;
  margin: 18px 0 10px;
  transition: background 0.18s, color 0.18s;
  width: 100%;
  justify-content: center;
}
.btn-generate-video:hover { background: var(--ochre); color: #fff; }
.btn-generate-video:disabled { opacity: 0.45; cursor: not-allowed; }

/* ── Video wrap ──────────────────────────────────────────────────────────── */
.story-video-wrap {
  margin: 8px 0 18px;
  width: 100%;
}

.story-video-loading {
  padding: 22px 0 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

@keyframes shimmer-sweep {
  0%   { background-position: 100% center; }
  100% { background-position: 0% center; }
}

.shimmer-text {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background-image:
    linear-gradient(90deg,
      transparent calc(50% - var(--spread, 80px)),
      #fff         50%,
      transparent  calc(50% + var(--spread, 80px))
    ),
    linear-gradient(#a1855a, #a1855a);
  background-size: 250% 100%, auto;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: shimmer-sweep 2s linear infinite;
  background-repeat: no-repeat, padding-box;
}

.shimmer-bar-track {
  width: 80%;
  max-width: 260px;
  height: 4px;
  background: rgba(200,129,58,0.18);
  border-radius: 99px;
  overflow: hidden;
}

@keyframes shimmer-progress {
  0%   { width: 0%; }
  60%  { width: 85%; }
  100% { width: 100%; }
}

.shimmer-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--ochre), var(--ochre-light));
  border-radius: 99px;
  animation: shimmer-progress 4s cubic-bezier(0.4,0,0.2,1) forwards;
}

.story-video {
  width: 100%;
  min-height: 360px;
  border-radius: 12px;
  background: #000;
  display: block;
  object-fit: contain;
}
