/* Bob Kulture Productions — 1950s Googie roadside-sign style */

@font-face { font-family: "Shrikhand"; src: url("assets/fonts/shrikhand-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Yellowtail"; src: url("assets/fonts/yellowtail-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Alfa Slab One"; src: url("assets/fonts/alfa-slab-one-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("assets/fonts/work-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("assets/fonts/work-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("assets/fonts/work-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ink: #1D2240;
  --ink-deep: #0A0C1A;
  --red: #D42A2F;
  --cream: #FFF6E5;
  --yellow: #F6C12E;
  --paper: #EDE3CF;
  --shadow: 6px 7px 0 var(--ink-deep);
  --display: "Shrikhand", Georgia, serif;
  --script: "Yellowtail", cursive;
  --slab: "Alfa Slab One", Georgia, serif;
  --body: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1080px;
  --dots: radial-gradient(rgba(237, 227, 207, .13) 1.6px, transparent 1.8px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--ink);
  background-image: var(--dots);
  background-size: 24px 24px;
  color: var(--cream);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}
img, svg, iframe { max-width: 100%; display: block; }
img { height: auto; }
.brand img, .site-footer img { height: auto; }
a { color: var(--yellow); text-underline-offset: 3px; }
a:hover { color: var(--cream); }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: var(--ink-deep); padding: 8px 14px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-weight: 400; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-family: var(--display); font-size: clamp(2.4rem, 7vw, 4.4rem); text-shadow: 4px 5px 0 var(--ink-deep); }
h3 { font-family: var(--display); font-size: 1.5rem; color: var(--yellow); }
p { margin: 0 0 1em; }
.script { font-family: var(--script); font-size: clamp(1.7rem, 4.5vw, 2.5rem); color: var(--yellow); line-height: 1.2; margin: 0 0 .4em; }
.label { font-family: var(--slab); text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; color: var(--yellow); }
.placeholder { background: rgba(246, 193, 46, .16); color: var(--yellow); border: 1px dashed var(--yellow); padding: 0 .35em; border-radius: 3px; font-weight: 500; }

/* Header */
.site-header { background: var(--ink-deep); border-bottom: 4px solid var(--red); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.site-header .brand img { width: 84px; height: auto; }
.nav-toggle { display: none; background: var(--red); color: var(--cream); border: 3px solid var(--cream); border-radius: 999px; font: 700 .9rem var(--body); padding: 8px 14px; cursor: pointer; box-shadow: 3px 3px 0 var(--ink); }
.nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; font-family: var(--slab); text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; color: var(--cream); text-decoration: none; padding: 10px 16px; transform: rotate(-1.5deg); border: 2px solid transparent; border-radius: 999px; }
.nav a:hover { color: var(--yellow); }
.nav a[aria-current="page"] { background: var(--red); border-color: var(--cream); box-shadow: 3px 3px 0 var(--ink); }

/* Sections */
section, .section { padding: 72px 0; }
.band-deep {
  background-color: var(--ink-deep);
  background-image: radial-gradient(rgba(237, 227, 207, .07) 1.6px, transparent 1.8px);
  background-size: 24px 24px;
  clip-path: polygon(0 26px, 100% 0, 100% calc(100% - 26px), 0 100%);
  padding: 96px 0;
}
.band-paper { background: var(--paper); color: var(--ink-deep); }
.band-paper a { color: var(--red); }
.band-paper .script, .band-paper .label { color: var(--red); }

/* Tilted red sign panel for headings */
.sign {
  display: inline-block;
  background: var(--red);
  color: var(--cream);
  font-family: var(--display);
  font-size: clamp(1.7rem, 4.5vw, 2.6rem);
  padding: 8px 34px 12px;
  border-radius: 44px 12px 44px 12px;
  border: 4px solid var(--cream);
  outline: 4px solid var(--ink-deep);
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
  margin: 0 0 1.2rem;
}

/* Sparkle divider */
.sparkles { display: flex; justify-content: center; gap: 22px; color: var(--yellow); font-size: 1.3rem; padding: 6px 0; user-select: none; }
.sparkles span:nth-child(even) { font-size: .8rem; align-self: center; color: var(--cream); }

/* Buttons: arrow-shaped CTA */
.btn {
  display: inline-block;
  background: var(--red);
  color: var(--cream);
  font-family: var(--slab);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 1rem;
  text-decoration: none;
  padding: 14px 48px 14px 28px;
  border: 3px solid var(--cream);
  border-radius: 999px;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform .15s ease;
}
.btn::after { content: "➜"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); }
.btn:hover { color: var(--cream); transform: translate(-2px, -2px) rotate(-1deg); }
.btn.alt { background: var(--yellow); color: var(--ink-deep); border-color: var(--ink-deep); }
.btn.alt:hover { color: var(--ink-deep); }

/* Hero */
.hero { padding: 64px 0 80px; text-align: center; background: var(--dots) 0 0 / 24px 24px, radial-gradient(circle at 50% 0, #2a3160 0, var(--ink) 60%); }
.hero img.hero-logo { width: min(100%, 560px); margin: 0 auto 28px; filter: drop-shadow(0 0 0 transparent); }
.hero p.lead { max-width: 640px; margin: 0 auto 28px; font-size: 1.2rem; }
.hero .btn + .btn { margin-left: 18px; }
@media (max-width: 560px) { .hero .btn + .btn { margin: 18px 0 0; } }

/* Cards / grids */
.grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--ink-deep); border: 3px solid var(--cream); border-radius: 34px 10px 34px 10px; padding: 26px 28px; box-shadow: var(--shadow); }
.card:nth-child(odd) { transform: rotate(-.6deg); }
.card:nth-child(even) { transform: rotate(.6deg); }
.band-paper .card { background: var(--cream); color: var(--ink-deep); border-color: var(--ink-deep); box-shadow: 6px 7px 0 var(--red); }
.band-paper .card h3 { color: var(--red); }

/* Film tiles and player */
.poster {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: var(--ink-deep);
  border: 3px dashed var(--yellow);
  border-radius: 26px 8px 26px 8px;
  display: grid;
  place-items: center;
  color: var(--yellow);
  font-family: var(--slab);
  text-transform: uppercase;
  text-align: center;
  padding: 12px;
  overflow: hidden;
}
.poster img, .poster iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.poster .play { position: relative; z-index: 1; background: var(--red); color: var(--cream); border: 3px solid var(--cream); border-radius: 50%; width: 72px; height: 72px; font-size: 1.6rem; cursor: pointer; box-shadow: 4px 4px 0 var(--ink-deep); }
.poster .play[disabled] { cursor: not-allowed; opacity: .85; }
.film-meta { padding-top: 14px; }
.film-meta h3 { margin-bottom: .2em; }

/* Marquee-bulb border for the featured film */
.marquee {
  --bulb: 10px;
  position: relative;
  padding: 26px;
  background: var(--ink-deep);
  border: 4px solid var(--red);
  border-radius: 70px 18px 70px 18px;
  box-shadow: var(--shadow);
}
.marquee::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: var(--bulb) dotted var(--yellow);
  border-radius: 58px 10px 58px 10px;
  pointer-events: none;
  animation: chase 1.4s steps(2, jump-none) infinite;
}
@keyframes chase { 50% { border-color: var(--cream); } }

/* Contact */
.contact-big { font-family: var(--display); font-size: clamp(1.4rem, 5vw, 2.4rem); word-break: break-word; }
.social-list { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }

/* Footer */
.site-footer { background: var(--ink-deep); border-top: 4px solid var(--red); padding: 36px 0; text-align: center; font-size: .95rem; }
.site-footer img { width: 113px; margin: 0 auto 14px; }
.site-footer nav a { margin: 0 10px; }

/* Page title banner */
.page-title { padding: 56px 0 24px; text-align: center; }

/* Flicker on sign hover (optional motion) */
.sign:hover { animation: flicker .5s steps(1) 1; }
@keyframes flicker { 0%, 40%, 60% { filter: brightness(1.3); } 20%, 50%, 100% { filter: none; } }

/* Mobile nav */
@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink-deep); border-bottom: 4px solid var(--red); padding: 12px 16px 18px; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; }
  .nav a { transform: none; }
  section, .section { padding: 52px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee::before, .sign:hover { animation: none; }
  .btn { transition: none; }
}
