/* BLVD Flicks — landing page
   Palette: night ink, photo-paper cream, sky blue. Type: Unbounded (display) + DM Sans (text). */

:root {
  --ink: #131015;
  --ink-2: #1c181f;
  --ink-3: #27222b;
  --paper: #f3ecdf;
  --paper-2: #fbf7f0;
  --blue: #4da3ff;
  --blue-on-paper: #1d5faf; /* blue is too light for text on cream; use this there */

  --text-on-ink: #f3ecdf;
  --muted-on-ink: #a8a09a;
  --muted-on-paper: #5e5650;
  --line-on-ink: rgba(243, 236, 223, 0.12);
  --line-on-paper: rgba(19, 16, 21, 0.12);

  --display: "Unbounded", system-ui, sans-serif;
  --text: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 12px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%; /* stop iOS enlarging text in landscape */
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text-on-ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* film grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
}

h2 { font-size: clamp(2rem, 5vw, 3.5rem); }

.accent { color: var(--blue); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-family: var(--text);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}

/* the "recording" light */
.rec {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(77, 163, 255, 0.2);
  animation: rec 1.6s ease-in-out infinite;
}
@keyframes rec { 50% { opacity: 0.35; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: var(--radius);
  border: 2px solid var(--blue);
  background: var(--blue);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(77, 163, 255, 0.6); }
.btn:active { transform: translateY(0); }
.btn:focus-visible, .site-nav a:focus-visible, .footer-nav a:focus-visible, .brand:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 3px;
}

.btn-ghost {
  background: transparent;
  color: var(--text-on-ink);
  border-color: var(--line-on-ink);
}
.btn-ghost:hover { border-color: var(--text-on-ink); box-shadow: none; }

.btn-ink { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-ink:hover { box-shadow: 0 10px 24px -12px rgba(19, 16, 21, 0.8); }
.btn-ink:focus-visible { outline-color: var(--ink); }

.btn-sm { padding: 10px 16px; font-size: 0.8125rem; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(19, 16, 21, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-on-ink);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

.brand img { height: 30px; width: auto; }

.site-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.site-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--muted-on-ink);
  transition: color 0.15s ease;
}
.site-nav a:hover { color: var(--text-on-ink); }

/* phone menu button: two bars that turn into an X */
.menu-btn {
  display: none;
  width: 44px; height: 44px;
  flex: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 2px solid var(--line-on-ink);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text-on-ink);
  cursor: pointer;
}
.menu-btn:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }
.menu-icon { position: relative; width: 18px; height: 12px; }
.menu-icon i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, top 0.2s ease;
}
.menu-icon i:first-child { top: 1px; }
.menu-icon i:last-child { top: 9px; }
.menu-open .menu-icon i:first-child { top: 5px; transform: rotate(45deg); }
.menu-open .menu-icon i:last-child { top: 5px; transform: rotate(-45deg); }

@media (max-width: 720px) {
  .header-row { gap: 10px; height: 64px; }
  .brand { margin-right: auto; }
  .brand img { height: 24px; }
  .menu-btn { display: inline-flex; }

  /* the links drop down under the header when the menu is open */
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--ink);
    border-bottom: 1px solid var(--line-on-ink);
    box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.8);
  }
  .menu-open .site-nav { display: flex; }
  .site-nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line-on-ink);
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--text-on-ink);
  }
  .site-nav a:last-child { border-bottom: 0; }
}
@media (max-width: 380px) {
  .brand img { height: 21px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 9vw, 112px);
  background:
    radial-gradient(60% 70% at 78% 45%, rgba(77, 163, 255, 0.16), transparent 70%),
    radial-gradient(40% 50% at 10% 0%, rgba(243, 236, 223, 0.05), transparent 70%),
    var(--ink);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}

.hero h1 {
  font-size: clamp(3.25rem, 8.4vw, 6.75rem);
  line-height: 0.94;
  margin-bottom: 28px;
}

.lede {
  max-width: 30rem;
  margin: 0 0 36px;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  color: var(--muted-on-ink);
}

.hero-art {
  position: relative;
  height: 600px;
  --strip-w: 196px;
}

/* ---------- photo strips ---------- */
.strip {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--strip-w);
  margin: 0;
  padding: 10px 10px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--paper-2);
  border-radius: 4px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 30px 60px -20px rgba(0, 0, 0, 0.75),
    0 12px 24px -12px rgba(0, 0, 0, 0.6);
}

.strip-bw {
  transform: translate(-96%, -52%) rotate(-8deg);
  filter: saturate(0);
}
.strip-color {
  transform: translate(-18%, -46%) rotate(5deg);
  animation: print 1.8s cubic-bezier(.22, .8, .25, 1) 0.3s both;
}

@keyframes print {
  from { clip-path: inset(0 0 100% 0); }
  to   { clip-path: inset(0 0 0 0); }
}

.shot {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 2px;
  overflow: hidden;
  background: radial-gradient(90% 90% at 50% 30%, #e9e5df, #b5aea6);
  color: #2b2729;
}
.shot svg, .booth-photo svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.strip-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 40px;
}
.strip-foot img { height: 13px; width: auto; }
.strip-date {
  font-family: var(--text);
  font-weight: 700;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: #6f6760;
}

/* backdrop tones (shared with booth cards) */
.tone-bw   { background: radial-gradient(90% 90% at 50% 30%, #ece8e2, #a9a29a); color: #29252a; }
.tone-sky  { background: radial-gradient(90% 90% at 50% 25%, #d3e8ff, #74aef0); color: #173d6b; }
.tone-pink { background: radial-gradient(90% 90% at 50% 25%, #ffd0dd, #f48bab); color: #7c2444; }
.tone-lilac { background: radial-gradient(90% 90% at 50% 25%, #e6dcff, #a68cf2); color: #3b2a78; }
.tone-teal { background: radial-gradient(90% 90% at 50% 25%, #b4ece1, #3db5a2); color: #0f4a40; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-art { height: 480px; --strip-w: 160px; }
}
@media (max-width: 480px) {
  /* buttons share the row evenly, and each takes the full width once they wrap */
  .cta-row .btn { flex: 1 1 150px; }
  .lede { margin-bottom: 28px; }
  .hero-art { height: 420px; --strip-w: 138px; }
  .strip-bw { transform: translate(-90%, -52%) rotate(-8deg); }
  .strip-color { transform: translate(-14%, -46%) rotate(5deg); }
  .strip-foot { height: 32px; }
  .strip-foot img { height: 10px; }
  .strip-date { font-size: 0.5625rem; }
}

/* ---------- marquee ---------- */
.marquee {
  background: var(--blue);
  color: var(--ink);
  overflow: hidden;
  border-block: 2px solid var(--ink);
}
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  padding: 18px 0;
  animation: marquee 32s linear infinite;
}
.marquee-track span {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1rem, 2vw, 1.375rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding: 0 28px;
}
/* sprocket hole as separator */
.marquee-track i {
  width: 14px; height: 10px;
  border-radius: 3px;
  background: var(--ink);
  flex: none;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }

.section h2 { max-width: 16ch; }

.section-lede {
  max-width: 34rem;
  margin: 20px 0 0;
  font-size: 1.125rem;
  color: var(--muted-on-ink);
}

.paper {
  background: var(--paper);
  color: var(--ink);
}
.paper .eyebrow { color: var(--blue-on-paper); }

/* steps */
.steps {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step {
  position: relative;
  padding: 32px 28px 32px;
  background: var(--paper-2);
  border: 1px solid var(--line-on-paper);
  border-radius: var(--radius);
}
.step-num {
  position: absolute;
  top: 28px;
  right: 28px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.875rem;
  color: var(--blue-on-paper);
}
.step-icon {
  width: 48px; height: 48px;
  margin-bottom: 40px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.step h3 { font-size: 1.375rem; margin-bottom: 10px; }
.step p { margin: 0; color: var(--muted-on-paper); }

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 12px; margin-top: 40px; }
  .step-icon { margin-bottom: 24px; }
}
/* on phones each step becomes a compact row: icon on the left, words on the right */
@media (max-width: 560px) {
  .step {
    display: grid;
    grid-template-columns: 40px 1fr;
    column-gap: 18px;
    padding: 22px 20px;
  }
  .step-icon { grid-row: span 2; width: 40px; height: 40px; margin: 2px 0 0; }
  .step-num { top: 22px; right: 20px; }
  .step h3 { font-size: 1.1875rem; margin-bottom: 6px; padding-right: 32px; }
  .step p { font-size: 1rem; }
}

/* booths */
.booths {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.booth-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease;
}
.booth-photo img { width: 100%; height: 100%; object-fit: cover; }
.booth:hover .booth-photo { transform: translateY(-4px) rotate(-1deg); }
.booth:nth-child(even):hover .booth-photo { transform: translateY(-4px) rotate(1deg); }
.booth-photo svg { inset: auto 0 0 0; height: 78%; }

.booth-name {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 16px 0 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
}
.booth-name span { color: var(--blue); font-size: 0.8125rem; }

@media (max-width: 960px) { .booths { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .booths { gap: 24px 12px; margin-top: 40px; }
  .booth-name { gap: 8px; margin-top: 10px; font-size: 0.875rem; }
  .booth-name span { font-size: 0.75rem; }
}

/* visit */
.visit-section { padding-top: 0; }
.visit {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  grid-template-areas: "head info" "cta info";
  gap: 32px 56px;
  padding: clamp(32px, 6vw, 64px);
  border-radius: calc(var(--radius) * 2);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(255, 255, 255, 0.18), transparent 60%),
    var(--blue);
  color: var(--ink);
}
.visit-head { grid-area: head; }
.visit .eyebrow { color: var(--ink); }
.visit .cta-row { grid-area: cta; align-self: end; }

.visit-info {
  grid-area: info;
  margin: 0;
  display: grid;
  align-content: center;
}
.visit-info > div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 16px;
  padding: 20px 0;
  border-top: 2px solid rgba(19, 16, 21, 0.18);
}
.visit-info > div:last-child { border-bottom: 2px solid rgba(19, 16, 21, 0.18); }
.visit-info dt {
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-top: 4px;
}
.visit-info dd {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.0625rem, 2vw, 1.375rem);
  line-height: 1.3;
}

@media (max-width: 860px) {
  .visit { grid-template-columns: 1fr; grid-template-areas: "head" "info" "cta"; }
  .visit-info > div { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line-on-ink);
  padding: 40px 0;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 40px;
}
.footer-logo { height: 24px; width: auto; }
.footer-nav { display: flex; gap: 24px; }
.footer-nav a {
  text-decoration: none;
  font-size: 0.9375rem;
  color: var(--muted-on-ink);
}
.footer-nav a:hover { color: var(--text-on-ink); }
.fine { margin: 0 0 0 auto; font-size: 0.875rem; color: var(--muted-on-ink); }

@media (max-width: 720px) {
  .footer-row { gap: 16px 24px; }
  .footer-logo { width: 100%; max-width: 180px; height: auto; }
  .footer-nav a { display: inline-block; padding: 10px 0; } /* bigger tap targets */
  .fine { margin-left: 0; width: 100%; }
}

/* ---------- touch screens ---------- */
/* phones fire :hover on tap and keep it, so the lift effects would stick */
@media (hover: none) {
  .btn:hover { transform: none; box-shadow: none; }
  .booth:hover .booth-photo, .booth:nth-child(even):hover .booth-photo { transform: none; }
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rec, .strip-color, .marquee-track { animation: none; }
  .btn, .booth-photo, .menu-icon i { transition: none; }
}
