:root {
  --bg: #080705;
  --panel: rgba(17, 14, 11, 0.92);
  --paper: #e8dcc7;
  --ink: #f3eadc;
  --muted: #b9a58a;
  --orange: #f38b1f;
  --line: rgba(239, 218, 190, 0.22);
  --shadow: rgba(0, 0, 0, 0.55);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--ink); font-family: Inter, Manrope, system-ui, sans-serif; }
body { overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; background: url('assets/images/pattern.jpg?v=20260428045829') center top / 280px auto repeat, radial-gradient(circle at 50% 0%, rgba(243,139,31,.16), transparent 32%), linear-gradient(180deg, #0f0d0b, #050403 74%); z-index: -3; }
body::after { content: ""; position: fixed; inset: 0; background: url('assets/images/start_bg.jpg?v=20260428045829') center/cover; opacity: .03; filter: blur(10px) grayscale(1); z-index: -2; }
.noise { position: fixed; inset: 0; pointer-events: none; opacity: .18; z-index: 20; background-image: repeating-radial-gradient(circle at 0 0, rgba(255,255,255,.16) 0 1px, transparent 1px 7px); mix-blend-mode: overlay; }
.app-shell { width: min(438px, 100%); min-height: 100svh; margin: 0 auto; position: relative; padding: calc(env(safe-area-inset-top, 0px) + 18px) 20px calc(env(safe-area-inset-bottom, 0px) + 20px); border: 1px solid rgba(255,255,255,.1); border-bottom: 0; border-radius: 28px 28px 0 0; box-shadow: 0 0 80px var(--shadow); overflow: hidden; background: rgba(5, 4, 3, 0.82); }
.topbar { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 5; }
.brand-logo { width: 70px; height: 70px; object-fit: contain; filter: invert(1) brightness(1.35) contrast(.95); opacity: .96; }
.menu-button { background: none; border: 0; color: var(--ink); font-size: 22px; letter-spacing: 1px; cursor: pointer; padding: 6px; }
.app-shell.is-hero .topbar { justify-content: flex-end; }
.app-shell.is-hero .brand-logo { opacity: 0; width: 0; margin: 0; pointer-events: none; }
.screen { display: none; min-height: calc(100svh - 96px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); padding-top: 8px; animation: reveal .55s ease both; }
.screen.is-active { display: block; }
.screen.hero.is-active { display: flex; flex-direction: column; }
@keyframes reveal { from { opacity: 0; transform: translateY(20px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
.kicker { color: var(--orange); text-transform: uppercase; font-weight: 900; font-size: 12px; letter-spacing: .1em; margin-top: 8px; }
h1, h2, .story-title { font-family: Georgia, 'Times New Roman', serif; line-height: .92; letter-spacing: -.045em; margin: 18px 0 18px; text-transform: lowercase; }
h1 { font-size: clamp(72px, 19vw, 102px); margin: 18px 0 22px; }
h1 span, h2 span, .story-title span { color: var(--orange); }
h2, .story-title { font-size: 52px; }
.hero-poster {
  width: 100%;
  margin: 6px 0 0;
  border-radius: 26px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(5, 4, 3, 0.04), rgba(5, 4, 3, 0.18)),
    rgba(8, 7, 5, 0.72);
  flex: 0 0 auto;
}
.hero-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: clamp(320px, 54svh, 540px);
  object-fit: contain;
  object-position: center top;
}
.hero-actions {
  margin-top: auto;
  padding-top: 12px;
  padding-bottom: max(5svh, 24px);
}
.scribble { color: var(--orange); font: 22px/1.04 'Comic Sans MS', 'Bradley Hand', cursive; width: 180px; margin: 0 0 14px; transform: rotate(-4deg); }
.cta { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 56px; border: 0; border-radius: 12px; background: linear-gradient(180deg, #f79b34, #ee841c); color: #100905; text-transform: uppercase; text-decoration: none; font-weight: 950; font-size: 22px; letter-spacing: .02em; box-shadow: 0 18px 42px rgba(240,132,34,.22); cursor: pointer; }
.cta.ghost { background: rgba(255,255,255,.06); color: var(--ink); border: 1px solid var(--line); }
.cta.insta { font-size: 19px; gap: 8px; }
small { display: block; text-align: center; color: var(--paper); opacity: .85; margin-top: 8px; font-size: 11px; }
.tape { display: inline-block; margin: 10px 0 16px; padding: 9px 28px; background: var(--paper); color: #21180f; text-transform: uppercase; font-size: 13px; letter-spacing: .08em; transform: rotate(-2deg); box-shadow: 0 8px 20px rgba(0,0,0,.35); }
.link-stack { display: grid; gap: 12px; }
.street-card { position: relative; min-height: 86px; display: grid; grid-template-columns: 48px 1fr 24px; gap: 14px; align-items: center; padding: 16px 14px; border: 1px solid rgba(232, 220, 199, 0.16); border-radius: 18px; background: linear-gradient(135deg, rgba(54,41,30,.82), rgba(18,14,10,.9)); color: var(--ink); text-decoration: none; overflow: hidden; box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.street-card::after { content:""; position:absolute; inset:0; background: radial-gradient(circle at 86% 50%, rgba(240,132,34,.18), transparent 28%); opacity:.8; }
.street-card > * { position: relative; z-index: 2; }
.icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(240,132,34,.13); color: var(--orange); font-size: 32px; font-weight: 900; }
b { display: block; text-transform: uppercase; font-size: 17px; line-height: 1.05; }
em { display: block; color: var(--paper); font-style: normal; font-size: 13px; margin-top: 5px; opacity: .92; }
i { font-style: normal; color: var(--orange); font-size: 28px; font-weight: 700; }
.polaroid { background: var(--paper); padding: 14px 14px 42px; margin: 32px auto; width: 86%; color: #1a120b; box-shadow: 0 22px 54px rgba(0,0,0,.55); position: relative; }
.polaroid::before { content: ""; position: absolute; width: 120px; height: 32px; background: rgba(207,184,145,.75); top: -18px; left: 50%; transform: translateX(-50%) rotate(-2deg); }
.polaroid img { width: 100%; aspect-ratio: 1/1.04; object-fit: cover; display: block; filter: sepia(.12) contrast(1.05); }
.polaroid figcaption { font: 25px/1.1 'Comic Sans MS', cursive; text-align: center; margin-top: 16px; }
.tilt-left { transform: rotate(-2deg); }
.tilt-right { transform: rotate(2.5deg); }
.respect { color: var(--orange); font: 28px/1.1 'Comic Sans MS', cursive; transform: rotate(-3deg); margin: 0 0 24px; }
.letter { position: relative; margin-top: 34px; padding: 28px 28px 34px; background: var(--paper); color: #1b1209; transform: rotate(-3deg); box-shadow: 0 24px 60px rgba(0,0,0,.55); }
.letter p { margin: 0; font-size: 22px; }
.letter strong { display: block; font-family: Georgia, serif; font-size: 34px; line-height: .98; margin: 6px 0 6px; }
.letter small { color: #1b1209; opacity: .86; text-align: left; margin-top: 18px; }
.stamp { position: absolute; right: 20px; bottom: 18px; width: 92px; height: 92px; border: 3px solid rgba(42,23,12,.62); border-radius: 50%; display: grid; place-items: center; text-align: center; text-transform: uppercase; font-weight: 900; font-size: 11px; transform: rotate(16deg); color: rgba(42,23,12,.65); }
.share p { color: var(--paper); font-size: 18px; }
@media (min-width: 760px) { .app-shell { margin-top: 24px; margin-bottom: 24px; min-height: calc(100svh - 48px); border-radius: 34px; } }
@media (max-width: 380px) {
  .app-shell { padding: 12px 18px 18px; }
  .brand-logo { width: 64px; height: 64px; }
  .screen { min-height: calc(100svh - 90px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); }
  .hero-image { max-height: clamp(300px, 49svh, 430px); }
  .hero-actions { padding-top: 10px; }
  .scribble { width: 170px; font-size: 20px; margin: 0 0 10px; }
  .cta { min-height: 52px; font-size: 21px; }
}
@media (max-height: 820px) {
  .hero-image { max-height: clamp(300px, 47svh, 420px); }
  .hero-actions { padding-top: 10px; padding-bottom: max(4.5svh, 18px); }
  .scribble { margin: 0 0 10px; font-size: 20px; }
  .cta { min-height: 52px; font-size: 21px; }
  small { margin-top: 6px; }
}
@media (max-height: 740px) {
  .hero-image { max-height: clamp(280px, 44svh, 360px); }
  .hero-actions { padding-top: 8px; padding-bottom: max(4svh, 14px); }
  .scribble { width: 160px; font-size: 18px; margin: 0 0 8px; }
  .cta { min-height: 48px; font-size: 19px; }
  .menu-button { font-size: 20px; padding: 4px; }
  small { margin-top: 4px; }
}
