/* ============================================================
   Silver Screen Studio — Vintage Cinema theme
   Palette: warm amber / cream / deep charcoal
   ============================================================ */

:root {
  --charcoal:   #1a1612;   /* near-black, warm */
  --charcoal-2: #241f19;   /* raised surface */
  --cream:      #f4ead8;   /* paper / text on dark */
  --cream-dim:  #c9bca5;   /* muted text */
  --amber:      #d8a24a;   /* primary accent (gold) */
  --amber-deep: #b67c2c;
  --rust:       #8a4b2b;   /* secondary warm */
  --line:       rgba(216,162,74,0.22);

  --serif: "Playfair Display", Georgia, serif;
  --sans:  "Inter", system-ui, -apple-system, sans-serif;

  --maxw: 1120px;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--charcoal);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.1; margin: 0; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

.amber { color: var(--amber); }

/* ---------- Film-grain overlay ---------- */
.grain {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: 0.045; mix-blend-mode: overlay;
  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='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(20px, 5vw, 48px);
  background: rgba(26,22,18,0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--cream); }
.brand-mark { color: var(--amber); display: flex; animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.brand-text { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; letter-spacing: 0.3px; }
.brand-text em { color: var(--amber); font-weight: 500; }

.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); }
.nav-links a { font-size: 0.92rem; color: var(--cream-dim); transition: color 0.2s; }
.nav-links a:hover { color: var(--cream); }
.nav-cta {
  border: 1px solid var(--amber); color: var(--amber) !important;
  padding: 8px 18px; border-radius: 100px; transition: all 0.2s;
}
.nav-cta:hover { background: var(--amber); color: var(--charcoal) !important; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-block; font-family: var(--sans); font-weight: 500;
  font-size: 0.98rem; padding: 14px 30px; border-radius: 100px;
  cursor: pointer; transition: transform 0.18s, box-shadow 0.18s, background 0.2s;
  border: 1px solid transparent; text-align: center;
}
.btn-primary {
  background: linear-gradient(135deg, var(--amber), var(--amber-deep));
  color: var(--charcoal); font-weight: 600;
  box-shadow: 0 8px 24px rgba(216,162,74,0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(216,162,74,0.38); }
.btn-ghost { border-color: var(--line); color: var(--cream); }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }
.btn-block { display: block; width: 100%; }

/* ============ HERO ============ */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(70px, 13vh, 150px) clamp(20px, 5vw, 48px) clamp(60px, 10vh, 120px);
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(216,162,74,0.16), transparent 60%),
    radial-gradient(800px 500px at 80% 120%, rgba(138,75,43,0.18), transparent 55%),
    var(--charcoal);
}
.hero-inner { max-width: 880px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 3.5px; font-size: 0.78rem;
  color: var(--amber); font-weight: 500; margin: 0 0 22px;
}
.hero h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); font-weight: 900; letter-spacing: -1px; }
.lede {
  max-width: 620px; margin: 26px auto 0; color: var(--cream-dim);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin: 38px 0 20px; }
.hero-note { font-size: 0.85rem; color: var(--cream-dim); letter-spacing: 0.4px; }

/* Sprocket-hole film strips down the sides of the hero */
.sprockets {
  position: absolute; top: 0; bottom: 0; width: 30px; z-index: 1;
  background: var(--charcoal-2);
  border-left: 1px solid var(--line); border-right: 1px solid var(--line);
}
.sprockets::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(var(--charcoal) 38%, transparent 40%);
  background-size: 30px 38px; background-position: center;
}
.sprockets-left { left: 0; }
.sprockets-right { right: 0; }
@media (max-width: 720px) { .sprockets { display: none; } }

/* ---------- Animated vintage film strips behind the hero ---------- */
.film-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }

/* A soft warm projector-lamp flicker washes over the whole scene */
.film-bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(1100px 600px at 50% -8%, rgba(216,162,74,0.10), transparent 62%);
  animation: flicker 5.5s ease-in-out infinite;
}

/* Keep the centered headline crisp by dimming the film behind it */
.film-bg::before {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: radial-gradient(ellipse 60% 55% at 50% 48%, rgba(26,22,18,0.72), transparent 70%);
}

.film-strip {
  position: absolute; left: -25%; width: 150%; height: 150px; opacity: 0.13;
  background-repeat: repeat-x; background-size: auto 150px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='150'%3E%3Crect width='120' height='150' fill='%23241f19'/%3E%3Crect x='0' width='2' height='150' fill='%233a3026'/%3E%3Crect x='10' y='30' width='100' height='90' fill='%231b1610'/%3E%3Crect x='11' y='12' width='18' height='10' rx='2' fill='%23d8a24a'/%3E%3Crect x='51' y='12' width='18' height='10' rx='2' fill='%23d8a24a'/%3E%3Crect x='91' y='12' width='18' height='10' rx='2' fill='%23d8a24a'/%3E%3Crect x='11' y='128' width='18' height='10' rx='2' fill='%23d8a24a'/%3E%3Crect x='51' y='128' width='18' height='10' rx='2' fill='%23d8a24a'/%3E%3Crect x='91' y='128' width='18' height='10' rx='2' fill='%23d8a24a'/%3E%3C/svg%3E");
}
.strip-a { top: 11%; transform: rotate(-7deg); animation: scrollA 46s linear infinite; }
.strip-b { bottom: 9%; transform: rotate(5deg);  animation: scrollB 60s linear infinite; }

/* Pan via background-position so it doesn't fight the rotate transform. 1200px = 10 tiles → seamless loop */
@keyframes scrollA { from { background-position-x: 0; }    to { background-position-x: -1200px; } }
@keyframes scrollB { from { background-position-x: -1200px; } to { background-position-x: 0; } }
@keyframes flicker {
  0%, 100% { opacity: 1; }
  45%      { opacity: 0.82; }
  47%      { opacity: 0.95; }
  62%      { opacity: 0.86; }
}

/* ============ TRUST STRIP ============ */
.trust {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.trust-item {
  background: var(--charcoal); padding: 24px 18px; text-align: center;
}
.trust-item strong { display: block; font-family: var(--serif); color: var(--amber); font-size: 1.2rem; }
.trust-item span { font-size: 0.85rem; color: var(--cream-dim); }
@media (max-width: 680px) { .trust { grid-template-columns: repeat(2, 1fr); } }

/* ============ SECTIONS ============ */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(64px, 9vh, 110px) clamp(20px, 5vw, 48px); }
.section-alt { max-width: none; background: var(--charcoal-2); }
.section-alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); text-align: center; }
.section-sub {
  text-align: center; color: var(--cream-dim); max-width: 640px;
  margin: 16px auto 0; font-size: 1.05rem;
}

/* ============ STEPS ============ */
.steps {
  list-style: none; padding: 0; margin: 50px 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.steps li {
  background: var(--charcoal-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 24px; position: relative;
}
.step-num { font-family: var(--serif); font-size: 2.4rem; color: var(--amber); opacity: 0.55; }
.steps h3 { font-size: 1.25rem; margin: 8px 0 10px; }
.steps p { color: var(--cream-dim); font-size: 0.95rem; margin: 0; }
@media (max-width: 880px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* ============ PRICING ============ */
.pricing-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 50px;
}
.price-card {
  background: var(--charcoal); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 24px; text-align: center;
  position: relative; transition: transform 0.2s, border-color 0.2s;
}
.price-card:hover { transform: translateY(-4px); border-color: var(--amber); }
.price-card.featured {
  border-color: var(--amber);
  background: linear-gradient(180deg, rgba(216,162,74,0.10), var(--charcoal));
}
.badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--amber); color: var(--charcoal); font-family: var(--sans);
  font-size: 0.7rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 100px; white-space: nowrap;
}
.reel-icon {
  display: block; width: 60px; height: 60px; margin: 0 auto 16px;
  color: var(--amber); animation: spin 14s linear infinite;
}
.reel-icon svg { display: block; width: 100%; height: 100%; }
.price-card h3 { font-size: 1.4rem; }
.price-meta { color: var(--cream-dim); font-size: 0.85rem; margin: 4px 0 16px; }
.price { font-family: var(--serif); font-size: 2.4rem; color: var(--cream); font-weight: 700; margin: 0; }
.price span { font-family: var(--sans); font-size: 0.9rem; color: var(--cream-dim); font-weight: 400; }
.price-fine { font-size: 0.78rem; color: var(--cream-dim); margin: 8px 0 0; }
@media (max-width: 880px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .pricing-grid { grid-template-columns: 1fr; } }

.bulk-note {
  margin-top: 40px; text-align: center; background: var(--charcoal);
  border: 1px dashed var(--line); border-radius: var(--radius); padding: 26px 28px;
}
.bulk-note p { margin: 0; }
.bulk-note a { color: var(--amber); border-bottom: 1px solid var(--amber); }
.bulk-note .fine { margin-top: 12px; font-size: 0.82rem; color: var(--cream-dim); }

/* ============ PACKAGES ============ */
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; align-items: stretch; }
.pkg-card {
  background: var(--charcoal-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 36px 30px; display: flex; flex-direction: column;
  position: relative;
}
.pkg-featured {
  border-color: var(--amber); transform: scale(1.03);
  background: linear-gradient(180deg, rgba(216,162,74,0.10), var(--charcoal-2));
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.pkg-card h3 { font-size: 1.8rem; }
.pkg-tag { color: var(--amber); font-size: 0.9rem; letter-spacing: 0.5px; margin: 4px 0 18px; }
.pkg-card .price { font-size: 1.9rem; text-align: left; margin-bottom: 18px; }
.pkg-card ul { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.pkg-card li {
  padding: 9px 0 9px 28px; position: relative; color: var(--cream-dim);
  font-size: 0.95rem; border-bottom: 1px solid rgba(216,162,74,0.10);
}
.pkg-card li::before {
  content: "✦"; position: absolute; left: 0; color: var(--amber); font-size: 0.8rem; top: 11px;
}
.pkg-card li em { color: var(--cream); font-style: italic; }
@media (max-width: 880px) {
  .pkg-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .pkg-featured { transform: none; }
}

/* ============ ADD-ONS ============ */
.addon-grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 48px;
}
.addon {
  flex: 0 1 calc((100% - 3 * 18px) / 4);
  background: var(--charcoal); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 22px; transition: border-color 0.2s, transform 0.2s;
}
.addon:hover { border-color: var(--amber); transform: translateY(-3px); }
.addon-price { font-family: var(--serif); font-size: 1.7rem; color: var(--amber); display: block; }
.addon-price small { font-size: 0.7rem; color: var(--cream-dim); }
.addon h4 { font-size: 1.1rem; margin: 6px 0 6px; }
.addon p { font-size: 0.86rem; color: var(--cream-dim); margin: 0; }
@media (max-width: 880px) { .addon { flex-basis: calc((100% - 18px) / 2); } }
@media (max-width: 440px) { .addon { flex-basis: 100%; } }

/* ============ QUOTE / CONTACT ============ */
.quote { background: var(--charcoal); }
.quote-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px);
  align-items: start; max-width: var(--maxw); margin: 0 auto;
}
.quote .section-title, .quote .section-sub { text-align: left; margin-left: 0; }
.quote-points { list-style: none; padding: 0; margin: 24px 0 0; }
.quote-points li {
  padding: 8px 0 8px 26px; position: relative; color: var(--cream-dim); font-size: 0.95rem;
}
.quote-points li::before { content: "→"; position: absolute; left: 0; color: var(--amber); }
.quote-contact { margin-top: 24px; color: var(--cream-dim); }
.quote-contact a { color: var(--amber); border-bottom: 1px solid var(--amber); }

.quote-form {
  background: var(--charcoal-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(24px, 4vw, 38px);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; color: var(--cream); margin-bottom: 7px; font-weight: 400; }
.field .opt { color: var(--cream-dim); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 9px;
  background: var(--charcoal); border: 1px solid var(--line); color: var(--cream);
  font-family: var(--sans); font-size: 0.95rem; transition: border-color 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--amber);
}
.field textarea { resize: vertical; }
.form-fine { font-size: 0.78rem; color: var(--cream-dim); text-align: center; margin: 14px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { text-align: center; margin: 14px 0 0; font-size: 0.92rem; min-height: 1.2em; }
.form-status.ok { color: var(--amber); }
.form-status.err { color: #e0795b; }
.form-status a { color: inherit; text-decoration: underline; }
@media (max-width: 820px) { .quote-inner { grid-template-columns: 1fr; } }

/* ============ FOOTER ============ */
.footer {
  border-top: 1px solid var(--line); background: var(--charcoal-2);
  padding: 50px clamp(20px, 5vw, 48px) 36px; text-align: center;
}
.footer-brand .brand-text { font-size: 1.5rem; }
.footer-brand p { color: var(--cream-dim); margin: 8px 0 0; font-style: italic; }
.footer-links { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin: 26px 0; }
.footer-links a { color: var(--cream-dim); font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--amber); }
.footer-fine { color: var(--cream-dim); font-size: 0.8rem; margin: 0; }

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .brand-mark, .reel-icon { animation: none; }
  .film-strip, .film-bg::after { animation: none; }
  html { scroll-behavior: auto; }
}
