/* Jesus Run — landing (cinematic). Palette mirrors shared/brand/colors.json. */
:root {
  --ink: #3a2412;
  --ink-soft: #6b513a;
  --brand: #f4b86a;
  --sky-mid: #ffe9a8;
  --gold: #ffe066;
  --gold-soft: #fff3b0;
  --cream: #fff8dc;
  --papyrus: #f4e4bc;
  --sand: #c9a765;
  --dune: #d88a48;
  --red: #a8412a;
  --night: #2a1a0f;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --maxw: 1120px;
}

* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img { display: block; max-width: 100%; }
body { font-family: "Manrope", system-ui, -apple-system, sans-serif; color: var(--ink); line-height: 1.55; background: var(--papyrus); overflow-x: hidden; }
h1, h2, h3 { font-family: "Lilita One", system-ui, sans-serif; font-weight: 400; line-height: 1.04; }
.fat { font-family: "Bagel Fat One", system-ui, sans-serif; }
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }

/* ---------- language switcher ---------- */
.langs {
  position: fixed; z-index: 50; top: 14px; right: 14px; display: flex; gap: 4px; padding: 4px;
  background: rgba(255, 248, 220, 0.85); backdrop-filter: blur(6px);
  border: 2px solid var(--ink); border-radius: 999px; box-shadow: 0 4px 0 rgba(58, 36, 18, 0.22);
  font-family: "Fredoka", sans-serif; font-size: 0.8rem; font-weight: 700;
}
.langs button { border: 0; cursor: pointer; padding: 0.32rem 0.7rem; border-radius: 999px; background: transparent; color: var(--ink-soft); font: inherit; }
.langs button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }

/* ---------- store badges (stacked, large) ---------- */
.badges { display: flex; flex-direction: column; align-items: flex-start; gap: 0.85rem; }
.badge {
  display: inline-flex; align-items: center; gap: 0.85rem; padding: 0.85rem 1.5rem; min-width: 268px;
  border: 2px solid var(--ink); border-radius: 16px; background: var(--cream); color: var(--ink);
  text-decoration: none; cursor: pointer; box-shadow: 0 6px 0 rgba(58, 36, 18, 0.24);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.badge:hover { transform: translateY(-2px); box-shadow: 0 8px 0 rgba(58, 36, 18, 0.24); }
.badge:active { transform: translateY(2px); box-shadow: 0 4px 0 rgba(58, 36, 18, 0.24); }
.badge.is-coming-soon { cursor: default; opacity: 0.94; }
.badge.is-coming-soon:hover,
.badge.is-coming-soon:active { transform: none; box-shadow: 0 6px 0 rgba(58, 36, 18, 0.24); }
.badge .glyph { display: flex; }
.badge .glyph svg { width: 34px; height: 34px; fill: var(--ink); display: block; }
.badge .b-small { display: block; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }
.badge .b-big { display: block; font-family: "Lilita One", sans-serif; font-size: 1.32rem; line-height: 1.05; }

/* ===================== HERO ===================== */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(600px, 94svh, 900px); }
.hero .bg { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.hero .bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
/* scrims: angled-left for copy contrast + bottom to ground the scene */
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(80deg, rgba(20, 12, 7, 0.82) 0%, rgba(20, 12, 7, 0.48) 24%, rgba(20, 12, 7, 0.08) 46%, transparent 60%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, transparent 58%, rgba(20, 12, 7, 0.55) 100%); }

/* content area: copy (flow, left) + Jesus & phone (absolute, tracked to this box) */
.hero-inner { position: relative; z-index: 1; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); min-height: clamp(600px, 94svh, 900px); display: flex; align-items: center; }
.hero-copy { position: relative; z-index: 10; max-width: 430px; display: flex; flex-direction: column; gap: clamp(0.85rem, 2vw, 1.2rem); }
.kicker { font-family: "Fredoka", sans-serif; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: clamp(0.7rem, 1.7vw, 0.84rem); color: var(--gold-soft); display: inline-flex; align-items: center; gap: 0.5rem; }
.kicker::before { content: ""; width: 1.6rem; height: 3px; background: var(--gold); border-radius: 2px; }
.hero-logo { width: clamp(248px, 52vw, 430px); height: auto; margin-bottom: 0.2rem; filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.5)); }
.tagline { font-family: "Lilita One", sans-serif; font-weight: 400; margin: 0; font-size: clamp(2.1rem, 6.6vw, 4rem); line-height: 1.0; color: var(--gold); text-shadow: 0 2px 0 var(--ink), 0 5px 22px rgba(0, 0, 0, 0.55); -webkit-text-stroke: 1px rgba(58, 36, 18, 0.35); text-wrap: balance; }
.tagline .accent { color: var(--cream); }
.lede { max-width: 32ch; font-size: clamp(1.05rem, 2.9vw, 1.32rem); font-weight: 600; color: var(--cream); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7); }

/* Jesus — anchored to the right of the content box; height-based so he occupies only the right zone */
.hero-jesus { position: absolute; z-index: 1; right: clamp(-28px, -1vw, 24px); bottom: 0; height: clamp(440px, 76vh, 760px); width: auto; filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.5)); pointer-events: none; }

/* floating phone — in the central gap between copy and Jesus */
.hero-phone { position: absolute; z-index: 2; display: none; left: 41%; bottom: 5%; width: clamp(150px, 14vw, 196px); filter: drop-shadow(0 26px 40px rgba(0, 0, 0, 0.55)); }
.phone { position: relative; border-radius: 28px; background: linear-gradient(160deg, #1c120a, #2c1c10); padding: 6px; border: 1.5px solid rgba(255, 243, 176, 0.18); box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.4); transform: rotate(-7deg); }
.phone img { border-radius: 22px; aspect-ratio: 336 / 770; object-fit: cover; width: 100%; }
.phone-notch { position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 34%; height: 6px; border-radius: 99px; background: rgba(0, 0, 0, 0.55); z-index: 2; }
@keyframes float { 0%, 100% { transform: rotate(-7deg) translateY(0); } 50% { transform: rotate(-7deg) translateY(-12px); } }
@media (prefers-reduced-motion: no-preference) { .phone { animation: float 5.5s ease-in-out infinite; } }

/* desktop: bigger Jesus, phone shown in the central gap */
@media (min-width: 820px) {
  .hero-jesus { height: clamp(560px, 88vh, 880px); }
}
@media (min-width: 992px) { .hero-phone { display: block; } }

/* mobile: stack copy then Jesus; phone bottom-left */
@media (max-width: 819px) {
  .hero { min-height: 0; }
  .hero::before { background: linear-gradient(180deg, rgba(20, 12, 7, 0.9) 0%, rgba(20, 12, 7, 0.72) 42%, rgba(20, 12, 7, 0.2) 72%, transparent 100%); }
  .hero-inner { display: block; min-height: 0; padding-top: clamp(90px, 17vw, 118px); padding-bottom: 0; }
  .hero-copy { max-width: none; }
  .hero-jesus { position: relative; right: auto; bottom: auto; height: auto; width: clamp(280px, 84vw, 440px); margin: -6% auto 0; display: block; }
  .hero-phone { display: block; left: 4%; bottom: 2%; width: clamp(108px, 30vw, 138px); }
}

/* ===================== SHOWCASE ===================== */
.showcase { padding-block: clamp(2.6rem, 7vw, 4.5rem); background: linear-gradient(180deg, var(--sky-mid), var(--papyrus)); }
.showcase .head { display: flex; align-items: baseline; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.eyebrow { font-family: "Fredoka", sans-serif; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.76rem; color: var(--red); }
.showcase h2 { font-size: clamp(1.7rem, 5vw, 2.6rem); }
.strip { display: flex; gap: clamp(0.9rem, 2.5vw, 1.5rem); overflow-x: auto; padding: 0.4rem 0 1.4rem; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.strip figure { flex: 0 0 auto; height: clamp(280px, 46vw, 380px); scroll-snap-align: center; border: 4px solid var(--ink); border-radius: 22px; overflow: hidden; background: var(--ink); box-shadow: 0 12px 26px rgba(58, 36, 18, 0.26); }
.strip figure img { height: 100%; width: auto; }
.strip figure:nth-child(odd) { transform: rotate(-1.4deg); }
.strip figure:nth-child(even) { transform: rotate(1.4deg); }
.strip::-webkit-scrollbar { height: 8px; }
.strip::-webkit-scrollbar-thumb { background: var(--sand); border-radius: 999px; }

/* ===================== FOOTER (stile Claude Design) ===================== */
.footer { background: var(--night); color: var(--papyrus); padding: clamp(3rem, 6vw, 4.5rem) 0 1.6rem; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem 3rem; align-items: flex-start; }
.footer-brand { max-width: 560px; }
.footer-brand .f-logo { width: auto; height: clamp(40px, 6vw, 48px); margin-bottom: 0.9rem; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45)); }
.f-tagline { font-size: 0.95rem; line-height: 1.55; font-weight: 600; color: rgba(244, 228, 188, 0.72); max-width: none; margin-bottom: 1.1rem; }
.mini-stores { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.mini-store { display: inline-flex; align-items: center; gap: 0.45rem; font-family: "Fredoka", sans-serif; font-weight: 600; font-size: 0.82rem; color: var(--papyrus); border: 1.5px solid rgba(244, 228, 188, 0.26); border-radius: 11px; padding: 0.45rem 0.75rem; }
.mini-store svg { width: 15px; height: 15px; fill: currentColor; opacity: 0.9; }
.mini-store em { font-style: normal; font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); opacity: 0.95; }
.footer-col h4 { font-family: "Fredoka", sans-serif; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(244, 228, 188, 0.55); margin-bottom: 0.9rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a { font-size: 0.98rem; font-weight: 600; color: var(--papyrus); opacity: 0.85; text-decoration: none; transition: opacity 0.15s, color 0.15s; }
.footer-col a:hover { opacity: 1; color: var(--gold); }
.footer-bottom { margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.2rem; border-top: 1px solid rgba(244, 228, 188, 0.14); display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.82rem; font-weight: 600; color: rgba(244, 228, 188, 0.5); }
.flang { display: flex; gap: 4px; padding: 4px; background: rgba(244, 228, 188, 0.08); border: 1.5px solid rgba(244, 228, 188, 0.18); border-radius: 999px; font-family: "Fredoka", sans-serif; font-weight: 700; font-size: 0.8rem; }
.flang button { border: 0; cursor: pointer; padding: 0.3rem 0.75rem; border-radius: 999px; background: transparent; color: rgba(244, 228, 188, 0.6); font: inherit; }
.flang button[aria-pressed="true"] { background: var(--gold); color: var(--ink); }
@media (max-width: 640px) { .footer-grid { gap: 1.8rem; } }

/* ---------- motion (progressive enhancement) ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); }
.js .in .reveal { opacity: 1; transform: none; transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .in .reveal:nth-child(2) { transition-delay: 0.07s; }
.js .in .reveal:nth-child(3) { transition-delay: 0.14s; }
.js .in .reveal:nth-child(4) { transition-delay: 0.21s; }
.js .in .reveal:nth-child(5) { transition-delay: 0.28s; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .js .reveal, .js .in .reveal { opacity: 1; transform: none; transition: none; } }
