/* Awakeden Series prelaunch site */

:root {
  --bg: #f4eee1;
  --bg-elevated: #ebe1d0;
  --bg-card: #fdfaf3;
  --text: #2a2017;
  --text-dim: #6d5e48;
  --gold: #97761b;
  --gold-soft: #b08d2a;
  --gold-dim: rgba(151, 118, 27, 0.32);
  --crimson: #6e1e28;
  --border: rgba(86, 64, 30, 0.18);
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-ui: "DM Sans", system-ui, sans-serif;
  --header-h: 76px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* ── Ambient layers ── */
.ambient {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.mesh {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 80% 50% at 20% 10%, rgba(110, 30, 40, 0.06), transparent 55%),
    radial-gradient(ellipse 60% 40% at 85% 20%, rgba(212, 175, 55, 0.10), transparent 50%),
    radial-gradient(ellipse 100% 80% at 50% 100%, rgba(233, 222, 201, 0.55), transparent);
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 10s steps(8) infinite;
}

@keyframes grain-shift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-1.5%, 0.5%); }
}

.light-leak {
  position: absolute;
  top: -30vh;
  left: 50%;
  width: 140vw;
  height: 70vh;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.12) 0%, transparent 62%);
  animation: leak-pulse 14s ease-in-out infinite;
}

@keyframes leak-pulse {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-48%) scale(1.04); }
}

.site-header,
.ticker-wrap,
.hero,
.stats,
.section,
.page-hero,
.page-content,
.work-page,
.site-footer {
  position: relative;
  z-index: 1;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0  clamp(1rem, 4vw, 2.5rem);
  height: var(--header-h);
  background: rgba(244, 238, 225, 0.85);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--border);
}

.wordmark {
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  letter-spacing: 0.06em;
}

.wordmark-main { font-weight: 700; color: var(--gold); }
.wordmark-sub { font-weight: 500; opacity: 0.9; }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
}

.site-nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.25s;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--gold); }

/* ── Ticker ── */
.ticker-wrap {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: rgba(234, 224, 207, 0.7);
  padding: 0.7rem 0;
}

.ticker-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4rem;
  z-index: 2;
  pointer-events: none;
}

.ticker-fade--left {
  left: 0;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 100%);
}

.ticker-fade--right {
  right: 0;
  background: linear-gradient(270deg, var(--bg) 0%, transparent 100%);
}

.ticker {
  display: flex;
  width: max-content;
  animation: ticker-scroll 50s linear infinite;
}

.ticker:hover { animation-play-state: paused; }

.ticker-item {
  flex-shrink: 0;
  padding: 0 2.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
}

.ticker-item strong { color: var(--gold); font-weight: 600; }

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

/* ── Hero ── */
.hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1rem, 4vw, 2.5rem) clamp(3rem, 8vw, 5rem);
  max-width: 1240px;
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 920px) {
  .hero-grid { grid-template-columns: 1.05fr 0.85fr; }
}

.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.25rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 4.25rem);
  font-weight: 600;
  line-height: 1.05;
  margin: 0 0 1.5rem;
  letter-spacing: -0.01em;
}

.hero h1 em {
  font-style: normal;
  font-weight: 600;
  color: var(--text-dim);
  display: block;
  margin-top: 0.15em;
  font-size: 0.92em;
}

.hero-lead {
  font-size: 1.0625rem;
  color: var(--text-dim);
  max-width: 38ch;
  margin: 0 0 2rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.9rem 1.6rem;
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease-out);
}

.hero-cta:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: var(--gold);
  transform: translateY(-1px);
}

.hero-cta--disabled {
  opacity: 0.5;
  pointer-events: none;
}

.hero-mosaic {
  position: relative;
  aspect-ratio: 9 / 14;
  max-height: min(72vh, 640px);
  margin-inline: auto;
  width: 100%;
  max-width: 380px;
  border-radius: 2px;
  overflow: hidden;
  background: var(--bg-card);
  box-shadow:
    0 0 0 1px var(--border),
    0 24px 70px rgba(60, 44, 20, 0.20),
    0 0 80px rgba(212, 175, 55, 0.06);
}

.hero-mosaic::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  pointer-events: none;
  z-index: 2;
}

.hero-mosaic img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.hero-mosaic img.active { opacity: 1; }

.hero-mosaic-fallback,
.hero-mosaic:not(.loaded) .hero-mosaic-frame + .hero-mosaic-fallback {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(165deg, rgba(110, 30, 40, 0.35) 0%, transparent 45%),
    linear-gradient(15deg, rgba(212, 175, 55, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 50% 30%, rgba(212, 175, 55, 0.15), transparent 50%),
    #0e0c10;
  animation: fallback-shimmer 8s ease-in-out infinite alternate;
}

@keyframes fallback-shimmer {
  from { filter: brightness(0.95); }
  to { filter: brightness(1.08); }
}

/* ── Stats ── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: 1240px;
  margin: 0 auto 4rem;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  background: var(--border);
  border: 1px solid var(--border);
}

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

.stat {
  background: var(--bg-elevated);
  padding: 1.75rem 1rem;
  text-align: center;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 0.6rem;
}

.skeleton,
.skeleton-card {
  animation: skeleton-pulse 1.8s ease-in-out infinite;
}

@keyframes skeleton-pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.85; }
}

.skeleton-card {
  min-height: 380px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 2px;
}

.load-error {
  grid-column: 1 / -1;
  padding: 1.5rem;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.load-error code {
  color: var(--gold);
  font-size: 0.85em;
}

/* ── Sections ── */
.section {
  max-width: 1240px;
  margin: 0 auto 4.5rem;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  font-weight: 600;
  margin: 0;
}

.section-note {
  margin: -1rem 0 2rem;
  max-width: 52ch;
  font-size: 0.95rem;
  color: var(--text-dim);
}

.text-link {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
}

.text-link:hover { text-decoration: underline; }

/* ── Cards ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), border-color 0.3s, box-shadow 0.4s;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-dim);
  box-shadow: 0 16px 44px rgba(60, 44, 20, 0.16), 0 0 40px rgba(212, 175, 55, 0.05);
}

.card:hover::before { opacity: 1; }

.card-poster {
  position: relative;
  aspect-ratio: 9 / 14;
  overflow: hidden;
  background: #08080a;
}

.card-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 7s var(--ease-out);
}

.card:hover .card-poster img { transform: scale(1.07); }

.card-poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 7, 8, 0.85) 0%, transparent 45%);
  pointer-events: none;
}

.card-poster-fallback {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 50% 20%, rgba(212, 175, 55, 0.12), transparent 55%),
    linear-gradient(180deg, #141018, #0a0a0c);
}

.card-body { padding: 1.35rem 1.25rem 1.5rem; }

.card-body h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0.55rem 0 0.3rem;
  line-height: 1.15;
}

.card-ref { font-size: 0.78rem; color: var(--gold-soft); font-family: var(--font-display); }

.card-hook {
  font-size: 0.875rem;
  color: var(--text-dim);
  margin: 0.85rem 0 0;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 1px;
}

.status-planned { background: rgba(156, 144, 128, 0.12); color: var(--text-dim); }
.status-production { background: rgba(212, 175, 55, 0.15); color: var(--gold); }
.status-complete { background: rgba(110, 30, 40, 0.35); color: #e8c4c8; }
.status-live { background: rgba(60, 140, 80, 0.2); color: #8fd4a0; }

.card-kind {
  font-size: 0.65rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-left: 0.4rem;
}

/* ── Filters ── */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 0.5rem 1rem;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 1px;
  transition: all 0.25s;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212, 175, 55, 0.06);
}

/* ── Work page ── */
.work-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 2rem clamp(1rem, 4vw, 2.5rem) 4rem;
}

.work-hero {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .work-hero { grid-template-columns: 300px 1fr; }
}

.work-poster {
  aspect-ratio: 9 / 14;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(60, 44, 20, 0.18);
  background: var(--bg-card);
}

.work-poster img { width: 100%; height: 100%; object-fit: cover; }

.work-poster-fallback {
  width: 100%;
  height: 100%;
  min-height: 420px;
  background: radial-gradient(circle at 50% 25%, rgba(212, 175, 55, 0.15), transparent 50%), #0e0c10;
}

.ken-burns img {
  animation: ken-burns 20s ease-in-out infinite alternate;
}

@keyframes ken-burns {
  from { transform: scale(1); }
  to { transform: scale(1.06) translate(-1%, -0.5%); }
}

.work-meta h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.85rem);
  margin: 0.75rem 0 0.35rem;
  line-height: 1.08;
}

.work-ref { color: var(--gold); font-size: 1rem; font-family: var(--font-display); margin: 0; }
.work-hook { font-size: 1.125rem; color: var(--text-dim); margin: 1.25rem 0 0; line-height: 1.5; }
.work-kind { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dim); margin-left: 0.5rem; }
.work-cluster { margin-top: 1.25rem; }
.work-cluster a { color: var(--gold); }

.work-video {
  aspect-ratio: 9 / 16;
  max-width: 360px;
  margin: 0 auto 2.5rem;
  background: #000;
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.work-video iframe { width: 100%; height: 100%; border: 0; }

.work-video--soon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  aspect-ratio: auto;
  min-height: 100px;
  background: var(--bg-elevated);
}

.work-video--soon p { text-align: center; color: var(--text-dim); font-size: 0.9rem; margin: 0; }

.prose { font-size: 1.0625rem; line-height: 1.7; color: var(--text-dim); max-width: 60ch; }

/* ── About / pages ── */
.page-hero {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem clamp(1rem, 4vw, 2.5rem) 2rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  margin: 0 0 1rem;
}

.page-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem) 4rem;
}

.page-content p { color: var(--text-dim); margin: 0 0 1.25rem; }

.page-content h2 {
  font-family: var(--font-display);
  color: var(--text);
  margin-top: 2rem;
}

.roadmap-list { list-style: none; padding: 0; margin: 0; }

.roadmap-list li {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.roadmap-list h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 0 0 0.35rem;
  color: var(--text);
}

.roadmap-list .ref { color: var(--gold); font-size: 0.85rem; }

.cluster-progress { display: grid; gap: 0.65rem; }

.cluster-beat {
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.15rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s, transform 0.25s var(--ease-out);
}

.cluster-beat:hover {
  border-color: var(--gold-dim);
  transform: translateX(4px);
}

.cluster-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--gold);
  font-weight: 700;
}

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem clamp(1rem, 4vw, 2.5rem);
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-dim);
  background: rgba(234, 224, 207, 0.6);
}

.footer-url { color: rgba(212, 175, 55, 0.45); margin-top: 0.5rem; }

/* ── Work-page study section ── */
.study {
  max-width: 780px;
  margin: 3.5rem auto 0;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.study h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.3rem);
  font-weight: 600;
  margin: 0 0 1.5rem;
}

.study h3 {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin: 3rem 0 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}

.study-setting {
  font-size: 1.18rem;
  line-height: 1.75;
  margin: 0;
}

/* Prophecy → fulfilment device */
.prophecy {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: center;
  margin: 2.75rem 0 1rem;
}

.prophecy-col {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 1.5rem 1.5rem 1.25rem;
  box-shadow: 0 10px 30px rgba(60, 44, 20, 0.08);
}

.prophecy-tag {
  display: block;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.prophecy .scripture {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}

.prophecy .scripture p {
  font-size: 1.18rem;
}

.prophecy-meta {
  margin: 0.9rem 0 0;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--text-dim);
}

.prophecy-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--gold-dim);
  position: relative;
}

.prophecy-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  transform: translate(-60%, -50%) rotate(45deg);
}

@media (max-width: 640px) {
  .prophecy { grid-template-columns: 1fr; gap: 1rem; }
  .prophecy-arrow { justify-self: center; transform: rotate(90deg); }
}

/* The reading */
.reading p {
  font-size: 1.12rem;
  line-height: 1.8;
  margin: 0 0 1.25rem;
}

.reading .lead-para::first-letter {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 600;
  color: var(--gold);
  float: left;
  line-height: 0.82;
  padding: 0.1rem 0.7rem 0 0;
}

.reading .movement {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2.75rem 0 1.25rem;
}

.reading .movement::before {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 0.9rem;
}

/* Scripture blockquote */
.scripture {
  margin: 1.5rem 0;
  padding: 1.1rem 1.6rem;
  border-left: 3px solid var(--gold-dim);
  background: rgba(151, 118, 27, 0.05);
}

.scripture p {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-style: italic;
  line-height: 1.5;
  margin: 0 0 0.55rem;
}

.scripture cite {
  font-style: normal;
  color: var(--gold);
  font-size: 0.92rem;
  letter-spacing: 0.05em;
}

/* Closing gospel */
.study-close {
  margin: 2.75rem 0 0;
  padding: 1.75rem 1.9rem;
  background: rgba(151, 118, 27, 0.07);
  border-radius: 3px;
}

.study-close span {
  display: block;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 0.7rem;
}

.study-close p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.6;
  font-style: italic;
}

/* Cut-out subject that the narration text wraps around (shape-outside) */
.study-cutout {
  width: clamp(160px, 34%, 250px);
  margin: 0.25rem 0 0.5rem;   /* reset the browser's default 40px figure margin */
  shape-image-threshold: 0.5;
}

.study-cutout.cut-left {
  float: left;
  margin-right: 1.5rem;
  shape-margin: 1.1rem;
}

.study-cutout.cut-right {
  float: right;
  margin-left: 1.5rem;
  shape-margin: 1.1rem;
}

.study-cutout img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 24px rgba(40, 28, 12, 0.28));
}

/* Styled blocks must never overlap a floated cut-out: they start below it */
.reading .scripture,
.reading .movement,
.study-figure {
  clear: both;
}

/* Mobile: stop floating (it cramps the text); show centered, no wrap */
@media (max-width: 640px) {
  .study-cutout {
    float: none;
    width: min(72%, 280px);
    margin: 1.5rem auto;
    shape-outside: none !important;
  }
}

.study-figure {
  margin: 2.25rem auto;
  max-width: 420px;
  text-align: center;
}

.study-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--gold-dim);
  border-radius: 2px;
  box-shadow: 0 16px 44px rgba(60, 44, 20, 0.18);
}

.study-figure figcaption {
  margin-top: 0.7rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.study-note {
  margin-top: 2.25rem;
  font-size: 0.82rem;
  font-style: italic;
  color: var(--text-dim);
}

/* ── Kinetic: scroll-reveal cascade ── */
.reveal {
  opacity: 0;
  transform: translateY(56px) scale(0.965);
  transition:
    opacity 0.95s var(--ease-out),
    transform 1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 130ms);
}

.reveal.revealed {
  opacity: 1;
  transform: none;
}

/* ── Kinetic: hero entrance on load (CSS-only, no JS dependency) ── */
.hero-copy > * {
  opacity: 0;
  animation: rise-in 1.1s var(--ease-out) forwards;
}

.hero-copy > *:nth-child(1) { animation-delay: 0.1s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.3s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.5s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.72s; }

@keyframes rise-in {
  from { opacity: 0; transform: translateY(40px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .ticker, .grain, .light-leak, .ken-burns img, .status-production, .fallback-shimmer { animation: none !important; }
  .card:hover { transform: none; }
  .hero-mosaic img { transition: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-copy > * { opacity: 1; animation: none; }
}
