/* ============================================================
   Bring My Book to Life: Cinematic Brand CSS
   Brand: ink #120617 / plum #2a0f12 / ember #E2562B /
          gold #E8B23A / cream #F5ECDD / dim #d8c2bd
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Lato:wght@300;400;700&display=swap');

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --ink:    #120617;
  --plum:   #2a0f12;
  --ember:  #E2562B;
  --gold:   #E8B23A;
  --cream:  #F5ECDD;
  --dim:    #d8c2bd;
  --muted:  #9a7a74;
  --border: rgba(232,178,58,0.18);
  --border-ember: rgba(226,86,43,0.3);

  --ff-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --ff-body:    'Lato', system-ui, sans-serif;

  --max-w: 1140px;
  --section-py: 5rem;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  background: var(--ink);
  color: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ── Typography scale ────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  line-height: 1.1;
}
h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); font-weight: 900; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p  { font-size: 1rem; color: var(--dim); }

.eyebrow {
  font-family: var(--ff-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── Layout helpers ──────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.section-py { padding-block: var(--section-py); }

/* ── Divider rule ────────────────────────────────────────── */
.rule {
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--ember));
  border-radius: 2px;
  margin-block: 1.25rem;
}
.rule.center { margin-inline: auto; }

/* ── Navigation ──────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  background: linear-gradient(to bottom, rgba(18,6,23,0.92) 0%, transparent 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.site-nav.scrolled {
  background: rgba(18,6,23,0.97);
  border-bottom-color: var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.nav-brand {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.02em;
}
.nav-brand span { color: var(--gold); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--cream); }
.nav-cta {
  background: var(--ember);
  color: var(--cream) !important;
  padding: 0.45rem 1.1rem;
  border-radius: 4px;
  transition: background 0.2s, transform 0.15s !important;
}
.nav-cta:hover { background: #c94020 !important; transform: translateY(-1px); }

/* ── Hero ────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: min(100svh, 860px);
  display: flex;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 3rem;
  overflow: hidden;
  background:
    radial-gradient(120% 100% at 70% 10%, var(--plum) 0%, var(--ink) 55%, #0a0410 100%);
}

/* Ember glow (bottom right) */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 45% at 85% 95%, rgba(226,86,43,0.38) 0%, transparent 70%),
    radial-gradient(40% 30% at 15% 80%, rgba(232,178,58,0.10) 0%, transparent 60%);
  pointer-events: none;
}

/* Film-grain texture */
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-block: 3rem 4rem;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.8rem;
}
.hero-kicker::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}
.hero-title {
  max-width: 18ch;
  margin-bottom: 0.5rem;
  background: linear-gradient(160deg, var(--cream) 40%, rgba(245,236,221,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  color: var(--dim);
  margin-bottom: 2.5rem;
  max-width: 36ch;
  line-height: 1.4;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--ff-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  padding: 0.8rem 1.8rem;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(90deg, var(--gold) 0%, var(--ember) 100%);
  color: var(--ink);
  box-shadow: 0 4px 24px rgba(226,86,43,0.35);
}
.btn-primary:hover { box-shadow: 0 8px 32px rgba(226,86,43,0.5); }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ── Floating scroll cue ─────────────────────────────────── */
.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  z-index: 1;
}
.scroll-cue span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 1px solid var(--muted);
  border-bottom: 1px solid var(--muted);
  transform: rotate(45deg);
  animation: bounce 1.8s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.6; }
  50%       { transform: rotate(45deg) translateY(5px); opacity: 1; }
}

/* ── Promise ─────────────────────────────────────────────── */
#promise {
  background: var(--plum);
  border-top: 1px solid var(--border-ember);
  border-bottom: 1px solid var(--border);
  padding-block: 3.5rem;
}
.promise-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  text-align: center;
}
.promise-lead {
  font-family: var(--ff-display);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--cream);
  max-width: 64ch;
  margin-inline: auto;
  font-weight: 400;
  line-height: 1.5;
}
.promise-lead strong { color: var(--gold); font-weight: 700; }
.promise-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 2rem;
  list-style: none;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.promise-details li::before { content: '/ '; color: var(--ember); }

/* ── Doors ───────────────────────────────────────────────── */
#doors { padding-block: var(--section-py); }
.doors-header { text-align: center; margin-bottom: 3rem; }
.doors-header h2 { color: var(--cream); }
.doors-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .doors-grid { grid-template-columns: 1fr 1fr; }
}
.door-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2.5rem 2rem;
  background: rgba(42,15,18,0.4);
  overflow: hidden;
  transition: border-color 0.25s, transform 0.2s, box-shadow 0.25s;
  cursor: pointer;
}
.door-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: radial-gradient(60% 60% at 80% 100%, rgba(226,86,43,0.18) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}
.door-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.door-card:hover::before { opacity: 1; }
.door-num {
  font-size: 3rem;
  font-family: var(--ff-display);
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
}
.door-card h3 { color: var(--cream); margin-bottom: 0.5rem; }
.door-card p { font-size: 0.95rem; line-height: 1.6; }
.door-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 1.5rem;
  transition: gap 0.2s;
}
.door-card:hover .door-arrow { gap: 0.7rem; }
.door-primary { border-color: var(--border-ember); }
.door-primary .door-num { color: rgba(226,86,43,0.2); }

/* ── Studio services ─────────────────────────────────────── */
#studio {
  background: linear-gradient(180deg, var(--plum) 0%, rgba(18,6,23,0.6) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border-ember);
  padding-block: var(--section-py);
}
.studio-header { text-align: center; margin-bottom: 3.5rem; }
.studio-header h2 { color: var(--cream); }
.studio-header p { max-width: 54ch; margin-inline: auto; margin-top: 0.75rem; }

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 560px) { .pricing-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .pricing-grid { grid-template-columns: repeat(4, 1fr); } }

.price-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem 1.5rem;
  background: rgba(18,6,23,0.7);
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, transform 0.2s, box-shadow 0.25s;
}
.price-card:hover {
  border-color: rgba(232,178,58,0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}
.price-card.popular {
  border-color: var(--gold);
  background: rgba(42,15,18,0.6);
}
.popular-badge {
  position: absolute;
  top: -1px;
  right: 1.5rem;
  background: linear-gradient(90deg, var(--gold), var(--ember));
  color: var(--ink);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 0 0 6px 6px;
}
.price-icon {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  line-height: 1;
}
.price-card h3 { color: var(--cream); margin-bottom: 0.3rem; font-size: 1.1rem; }
.price-card .who { font-size: 0.82rem; color: var(--muted); margin-bottom: 1rem; font-style: italic; }
.price-amount {
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1.25rem;
}
.price-amount span { font-size: 1rem; font-weight: 400; color: var(--muted); }
.price-includes {
  list-style: none;
  flex: 1;
  margin-bottom: 1.5rem;
}
.price-includes li {
  font-size: 0.86rem;
  color: var(--dim);
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(245,236,221,0.05);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.price-includes li::before {
  content: '→';
  color: var(--ember);
  flex-shrink: 0;
  font-size: 0.75rem;
  margin-top: 0.1rem;
}
.price-cta {
  display: block;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.6rem;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  margin-top: auto;
}
.price-cta:hover { border-color: var(--gold); background: rgba(232,178,58,0.08); }
.price-card.popular .price-cta {
  background: linear-gradient(90deg, var(--gold), var(--ember));
  color: var(--ink);
  border: none;
}
.price-card.popular .price-cta:hover { opacity: 0.9; }

/* ── Proof / Examples (case study) ──────────────────────── */
#proof {
  padding-block: var(--section-py);
}
.proof-header { text-align: center; margin-bottom: 4rem; }
.proof-header h2 { color: var(--cream); }
.proof-header p { max-width: 52ch; margin-inline: auto; margin-top: 0.75rem; }
.proof-header a { color: var(--gold); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.proof-header a:hover { border-bottom-color: var(--gold); }

/* ── Example blocks ──────────────────────────────────────── */
.example-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-block: 1rem;
}
@media (min-width: 860px) {
  .example-block { grid-template-columns: 340px 1fr; align-items: start; gap: 3.5rem; }
  .example-block--trailers { grid-template-columns: 280px 1fr; }
  .example-block--shorts   { grid-template-columns: 280px 1fr; }
}

.example-label {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.example-num {
  font-family: var(--ff-display);
  font-size: 4rem;
  font-weight: 900;
  color: rgba(226,86,43,0.15);
  line-height: 1;
  letter-spacing: -0.04em;
  display: block;
  margin-bottom: 0.25rem;
}
.example-label h3 {
  color: var(--cream);
  margin-top: 0.35rem;
  margin-bottom: 0.5rem;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}
.example-desc {
  font-size: 0.93rem;
  color: var(--dim);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.proof-link {
  color: var(--gold);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.proof-link:hover { border-bottom-color: var(--gold); }

.example-cta {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ember);
  border-bottom: 1px solid rgba(226,86,43,0.35);
  padding-bottom: 0.15rem;
  transition: color 0.2s, border-color 0.2s;
}
.example-cta:hover { color: var(--gold); border-color: var(--gold); }

/* Section divider between examples */
.example-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border-ember) 30%, var(--border) 70%, transparent 100%);
  margin-block: 3.5rem;
}

/* ── Browser mockup ──────────────────────────────────────── */
.browser-mockup {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(232,178,58,0.22);
  box-shadow:
    0 2px 0 rgba(232,178,58,0.12),
    0 20px 60px rgba(0,0,0,0.55),
    0 4px 20px rgba(226,86,43,0.1);
  background: var(--plum);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 1rem;
  background: rgba(42,15,18,0.9);
  border-bottom: 1px solid rgba(232,178,58,0.12);
}
.browser-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}
.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(245,236,221,0.12);
}
.browser-dots span:nth-child(1) { background: #ff6058; }
.browser-dots span:nth-child(2) { background: #febc2e; }
.browser-dots span:nth-child(3) { background: #28c840; }
.browser-url {
  flex: 1;
  background: rgba(18,6,23,0.7);
  border: 1px solid rgba(232,178,58,0.12);
  border-radius: 4px;
  padding: 0.22rem 0.7rem;
  font-size: 0.72rem;
  color: var(--muted);
  font-family: var(--ff-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.02em;
}
.browser-screen {
  line-height: 0;
}
.browser-screen img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 480px;
  object-fit: cover;
  object-position: top;
}

/* ── Trailer grid (16:9) ─────────────────────────────────── */
.trailers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 580px) {
  .trailers-grid { grid-template-columns: 1fr 1fr; }
}
.trailer-wrap {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16/9;
  background: var(--plum);
}
.trailer-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.trailer-label {
  text-align: center;
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: var(--muted);
  font-style: italic;
}

/* ── Shorts grid (9:16 vertical) ─────────────────────────── */
.shorts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 600px;
}
@media (max-width: 479px) {
  .shorts-grid { grid-template-columns: 1fr; max-width: 300px; }
}
.short-item { display: flex; flex-direction: column; }
.short-wrap {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 9/16;
  background: var(--plum);
}
.short-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ── Enquiry form ────────────────────────────────────────── */
#enquiry {
  background: var(--plum);
  border-top: 1px solid var(--border-ember);
  padding-block: var(--section-py);
}
.enquiry-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 860px) {
  .enquiry-inner { grid-template-columns: 1fr 1.6fr; }
}
.enquiry-prose h2 { color: var(--cream); }
.enquiry-prose p { margin-top: 0.75rem; }
.enquiry-prose .rule { margin-top: 1.5rem; }
.enquiry-guarantees {
  list-style: none;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.enquiry-guarantees li {
  font-size: 0.9rem;
  color: var(--dim);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.enquiry-guarantees li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 0.45rem;
}

/* Form elements */
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 480px) { .form-row.two { grid-template-columns: 1fr 1fr; } }

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.field label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.field label .req { color: var(--ember); margin-left: 0.2em; }
.field input,
.field select,
.field textarea {
  font-family: var(--ff-body);
  font-size: 0.95rem;
  background: rgba(18,6,23,0.7);
  color: var(--cream);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0.7rem 0.9rem;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23d8c2bd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.2rem;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(232,178,58,0.12);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); }
.field textarea { resize: vertical; min-height: 110px; }

.gdpr-row {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-top: 0.5rem;
}
.gdpr-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 0.15rem;
  accent-color: var(--gold);
  cursor: pointer;
}
.gdpr-row label {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.gdpr-row a { color: var(--gold); }

.honeypot { position: absolute; left: -9999px; }

.form-status {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--gold);
  min-height: 1.4em;
}
.form-status.error { color: var(--ember); }

#studio-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: #0a0410;
  border-top: 1px solid var(--border);
  padding-block: 2.5rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.footer-brand {
  font-family: var(--ff-display);
  font-size: 0.95rem;
  color: var(--muted);
}
.footer-brand strong { color: var(--cream); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  list-style: none;
}
.footer-links a {
  font-size: 0.8rem;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-legal {
  font-size: 0.75rem;
  color: var(--muted);
  opacity: 0.6;
  width: 100%;
  text-align: center;
  margin-top: 0.5rem;
}

/* ── Animations ──────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* Only animate when JS has confirmed the page loaded (avoids headless invisible elements) */
.js-ready .fade-up {
  opacity: 0;
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.js-ready .delay-1 { animation-delay: 0.1s; }
.js-ready .delay-2 { animation-delay: 0.22s; }
.js-ready .delay-3 { animation-delay: 0.36s; }
.js-ready .delay-4 { animation-delay: 0.5s; }
.js-ready .delay-5 { animation-delay: 0.65s; }

/* ── Mobile nav toggle ───────────────────────────────────── */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

@media (max-width: 700px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10,4,16,0.98);
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    font-size: 1.2rem;
    transform: translateX(100%);
    transition: transform 0.3s;
    z-index: 99;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1rem; }
}

/* ── Utility ─────────────────────────────────────────────── */
.text-center { text-align: center; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
