/* =====================================================
   FIRECROWN — SHARED BASE STYLES
   Used across About, Brands, Events, Careers, Advertise, Contact.
   Homepage (front-page.php) has its own inline styles.
===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&family=DM+Mono:wght@400;500&display=swap');

:root {
  --orange: #E8541A;
  --orange-dim: #c44512;
  --black: #0A0A0A;
  --off-white: #F2EDE6;
  --warm-gray: #B8B0A6;
  --dark-card: #111111;
  --border: rgba(255,255,255,0.08);
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'DM Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* Defeat twentytwentyfive block-theme global background */
html, body.page, body {
  background: var(--black) !important;
  color: var(--off-white) !important;
  font-family: var(--font-body) !important;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* ── NAV ── */
.fc-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: rgba(10,10,10,0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.fc-nav .nav-logo img { height: 28px; width: auto; }
.fc-nav .nav-links { display: flex; gap: 32px; list-style: none; }
.fc-nav .nav-links a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--warm-gray);
  text-decoration: none;
  transition: color 0.2s;
}
.fc-nav .nav-links a:hover { color: var(--off-white); }
.fc-nav .nav-links a.current { color: var(--orange); }
.fc-nav .nav-cta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--orange);
  color: #fff;
  padding: 10px 22px;
  text-decoration: none;
  border: 0;
  transition: background 0.2s;
}
.fc-nav .nav-cta:hover { background: var(--orange-dim); }

/* ── REVEAL ON SCROLL ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── SHARED HERO PATTERN ── */
.fc-hero {
  padding: 180px 48px 100px;
  max-width: 1400px;
  margin: 0 auto;
}
.fc-hero .eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--orange);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.fc-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(64px, 10vw, 148px);
  line-height: 0.9;
  letter-spacing: -0.01em;
  max-width: 18ch;
}
.fc-hero h1 .orange { color: var(--orange); }
.fc-hero .lede {
  margin-top: 48px;
  max-width: 68ch;
  font-size: 20px;
  line-height: 1.5;
  color: var(--warm-gray);
}

/* ── SHARED SECTION PATTERN ── */
.fc-section {
  padding: 120px 48px;
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}
.fc-section .section-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-bottom: 32px;
}
.fc-section h2 {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 80px);
  line-height: 1;
  letter-spacing: -0.01em;
  max-width: 20ch;
}
.fc-section h2 .orange { color: var(--orange); }
.fc-section p.body {
  margin-top: 32px;
  max-width: 68ch;
  font-size: 18px;
  line-height: 1.6;
  color: var(--warm-gray);
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: var(--off-white);
  padding: 18px 32px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.2s ease;
}
.btn-primary:hover { background: var(--orange-dim); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--off-white);
  padding: 18px 32px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid var(--off-white);
  transition: all 0.2s ease;
}
.btn-ghost:hover { background: var(--off-white); color: var(--black); }

/* ── CLOSING SECTION ── */
.fc-closing {
  padding: 180px 48px;
  text-align: center;
  border-top: 1px solid var(--border);
}
.fc-closing h2 {
  font-family: var(--font-display);
  font-size: clamp(56px, 10vw, 140px);
  line-height: 0.9;
  letter-spacing: -0.01em;
  max-width: 20ch;
  margin: 0 auto;
}
.fc-closing h2 .orange { color: var(--orange); }
.fc-closing .btn-primary { margin-top: 48px; }

/* ── FOOTER ── */
.fc-footer {
  padding: 80px 48px 48px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 48px;
  align-items: start;
}
.fc-footer .footer-logo img { height: 40px; }
.fc-footer .footer-links { display: flex; gap: 32px; list-style: none; flex-wrap: wrap; }
.fc-footer .footer-links a {
  color: var(--warm-gray);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}
.fc-footer .footer-links a:hover { color: var(--orange); }
.fc-footer .footer-addr {
  font-size: 13px;
  color: var(--warm-gray);
  line-height: 1.6;
  text-align: right;
}
.fc-footer .footer-copy {
  grid-column: 1 / -1;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--warm-gray);
  letter-spacing: 0.08em;
}

/* ── MOBILE NAV (hamburger + overlay) ── */
.fc-nav .nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 10px 8px;
  cursor: pointer;
  z-index: 102;
  margin-left: auto;
  margin-right: 12px;
}
.fc-nav .nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--off-white);
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.2s ease;
  transform-origin: center;
}
body.nav-open { overflow: hidden; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .fc-nav { padding: 14px 20px; }
  .fc-nav .nav-toggle { display: block; }

  /* Overlay menu
     NOTE: explicit 100vw/100vh — .fc-nav has backdrop-filter which makes it
     the containing block for fixed descendants, so inset:0 would clip to the
     nav bar's height. */
  .fc-nav .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh; /* mobile Safari — account for URL bar */
    background: var(--black);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 36px;
    padding: 80px 20px;
    z-index: 101;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    visibility: hidden;
    overflow-y: auto;
  }
  .fc-nav.is-open .nav-links {
    transform: translateX(0);
    visibility: visible;
  }
  .fc-nav .nav-links a {
    font-family: var(--font-display);
    font-size: 44px;
    letter-spacing: 0.01em;
    line-height: 1;
  }
  .fc-nav.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .fc-nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .fc-nav.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Hide top-bar CTA on mobile — it's mirrored into the overlay by firecrown-nav.js */
  .fc-nav .nav-cta { display: none; }
  .fc-nav .nav-cta-mobile-link {
    background: var(--orange);
    color: var(--off-white);
    font-family: var(--font-body) !important;
    font-size: 16px !important;
    font-weight: 500;
    letter-spacing: 0.05em;
    padding: 16px 36px;
    border: 0;
    margin-top: 12px;
  }

  .fc-hero, .fc-section, .fc-closing { padding-left: 20px; padding-right: 20px; }
  .fc-hero { padding-top: 140px; }
  .fc-footer { grid-template-columns: 1fr; padding-left: 20px; padding-right: 20px; }
  .fc-footer .footer-addr { text-align: left; }
}

/* Very small phones */
@media (max-width: 480px) {
  .fc-nav { padding: 12px 16px; }
  .fc-hero { padding: 120px 16px 72px; }
  .fc-section { padding: 72px 16px; }
  .fc-closing { padding: 100px 16px; }
  .fc-footer { padding: 56px 16px 32px; }
  .fc-footer .footer-links { gap: 20px; }
}
