/* Bell Frontier, Inc. phase one. Two files, no dependencies. */

:root {
  --navy: #1F3864;
  --red: #C00000;
  --cream: #FAF3E0;
  --charcoal: #2A2A2A;
  --paper: #FCFCFB;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--paper);
  color: var(--charcoal);
  line-height: 1.6;
  font-size: 1.0625rem;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top bar: slim in-page anchor nav, no hamburger */

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(252, 252, 251, 0.96);
  border-bottom: 1px solid #e4e2dc;
}

.topbar nav {
  max-width: 1080px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 16px;
}

.wordmark {
  color: var(--navy);
  font-weight: bold;
  letter-spacing: 0.04em;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}

.nav-links a {
  color: var(--navy);
  text-decoration: none;
  font-size: 0.9rem;
}

.nav-links a:hover { text-decoration: underline; }

a:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Hero: CSS-only horizon at dusk, navy into deep red. No images. */

.hero {
  position: relative;
  min-height: 88svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 55% at 50% 100%, rgba(192, 0, 0, 0.55) 0%, rgba(192, 0, 0, 0) 60%),
    linear-gradient(to bottom,
      #131f3a 0%,
      #1F3864 38%,
      #4a3457 62%,
      #8c2b33 78%,
      #C00000 92%,
      #7a1010 100%);
}

.hero-media::after {
  /* land line at the horizon */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 7%;
  background: #10131c;
}

.hero-content {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: 96px 24px;
  color: var(--cream);
}

.kicker {
  color: var(--cream);
  letter-spacing: 0.22em;
  font-size: 0.85rem;
  font-weight: bold;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2rem, 5.2vw, 3.4rem);
  line-height: 1.12;
  color: #ffffff;
  max-width: 18ch;
  margin-bottom: 20px;
}

.subline {
  max-width: 56ch;
  font-size: 1.1rem;
  margin-bottom: 34px;
}

.button {
  display: inline-block;
  background: var(--red);
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  padding: 13px 28px;
  border-radius: 3px;
}

.button:hover { background: #a30000; }

/* Sections */

.section { padding: 84px 0; }

.section h2 {
  color: var(--navy);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 22px;
}

.section p { max-width: 70ch; }

.band { background: var(--cream); }

/* Cards */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.card {
  background: #ffffff;
  border: 1px solid #e4e2dc;
  border-radius: 4px;
  padding: 26px 24px;
}

.card h3 {
  color: var(--red);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

/* Contact */

address { font-style: normal; }

address p { margin-bottom: 8px; }

.contact-name { font-weight: bold; color: var(--navy); }

#contact a { color: var(--navy); }

/* in-copy and footer links (affiliate cross-link) */
.section p a, .footer a { color: var(--navy); }

.phone { white-space: nowrap; }

/* Footer */

.footer {
  border-top: 1px solid #e4e2dc;
  padding: 26px 0 34px;
}

.footer p {
  font-size: 0.85rem;
  color: #5a5a5a;
}

/* Small screens: single column, comfortable rhythm, no hamburger */

@media (max-width: 480px) {
  .section { padding: 60px 0; }
  .hero-content { padding: 72px 24px; }
  .nav-links a { font-size: 0.85rem; }
}

/* Mockup A: lockup masthead */
.brand-lockup { height: 72px; width: auto; display: block; }
.topbar nav { padding: 10px 24px; }
@media (max-width: 480px) {
  .brand-lockup { height: 54px; }
}

/* Phase 1.5 film hero */

.hero.film { display: block; min-height: 100svh; padding: 0; }

.stage {
  position: relative;
  height: 100svh;
  overflow: hidden;
  background: #10131c;
}

.stage-photo, .stage-blueprint {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.stage-blueprint { opacity: 0; transition: opacity 1.9s ease; }
.chord .stage-blueprint { opacity: 1; }
.instant .stage-blueprint { transition: none; }

.pulse {
  position: absolute; height: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192,0,0,0.42) 0%, rgba(192,0,0,0.16) 45%, rgba(192,0,0,0) 70%);
  opacity: 0; pointer-events: none;
}
.chord .pulse { animation: breathe 4.2s ease-in-out 1.6s infinite; }
.instant .pulse { animation-delay: 0.2s; }
@keyframes breathe {
  0%, 100% { opacity: 0.35; transform: translate(-50%, -50%) scale(0.96); }
  50%      { opacity: 0.8;  transform: translate(-50%, -50%) scale(1.05); }
}

.ray {
  position: absolute; inset: -20%;
  background: linear-gradient(115deg, rgba(255,214,150,0) 30%, rgba(255,214,150,0.35) 50%, rgba(255,214,150,0) 70%);
  transform: translateX(-120%);
  pointer-events: none;
}
.chord .ray { animation: sweep 2.2s ease-out 1.5s 1 forwards; }
.instant .ray { animation-duration: 0.01s; animation-delay: 0s; }
@keyframes sweep { to { transform: translateX(120%); } }

.sheet-border {
  position: absolute; inset: 18px;
  border: 1px solid rgba(250,243,224,0.55);
  opacity: 0; transition: opacity 1.2s ease 2.2s;
  pointer-events: none;
}
.chord .sheet-border { opacity: 1; }
.instant .sheet-border { transition-delay: 0.1s; }
.tick { position: absolute; width: 14px; height: 14px; }
.tick.t1 { top: -1px; left: -1px; border-top: 2.5px solid #FAF3E0; border-left: 2.5px solid #FAF3E0; }
.tick.t2 { top: -1px; right: -1px; border-top: 2.5px solid #FAF3E0; border-right: 2.5px solid #FAF3E0; }
.tick.t3 { bottom: -1px; left: -1px; border-bottom: 2.5px solid #FAF3E0; border-left: 2.5px solid #FAF3E0; }
.tick.t4 { bottom: -1px; right: -1px; border-bottom: 2.5px solid #FAF3E0; border-right: 2.5px solid #FAF3E0; }

.titleblock {
  position: absolute; right: 34px; bottom: 34px;
  border: 1px solid rgba(250,243,224,0.55);
  background: rgba(16,19,28,0.55);
  padding: 12px 16px 9px;
  opacity: 0; transition: opacity 1.2s ease 2.5s;
  text-align: center;
}
.chord .titleblock { opacity: 1; }
.instant .titleblock { transition-delay: 0.15s; }
.tb-lockup { width: 150px; height: auto; display: block; margin: 0 auto 4px; }
.tb-line { color: #FAF3E0; font-size: 0.5rem; letter-spacing: 0.24em; opacity: 0.85; }

.chord-copy {
  position: absolute; left: 0; right: 0; top: 50%;
  transform: translateY(-58%);
  opacity: 0; transition: opacity 1.4s ease 2.6s;
}
.chord .chord-copy { opacity: 1; }
.instant .chord-copy { transition-delay: 0.2s; }
.chord-copy .subline { text-shadow: 0 1px 14px rgba(16,19,28,0.8); }
.chord-copy h1 { text-shadow: 0 1px 18px rgba(16,19,28,0.85); }

/* hero film video (sits under the photo; photo hides while video mode is active) */
.stage-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.has-video .stage-photo { opacity: 0; }

.unmute {
  position: absolute; left: 34px; bottom: 34px; z-index: 7;
  display: none;
  border: 1px solid rgba(250,243,224,0.55);
  background: rgba(16,19,28,0.55);
  color: #FAF3E0;
  font-family: inherit;
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 999px;
  cursor: pointer;
}
.has-video .unmute { display: block; }
.unmute:hover { background: rgba(16,19,28,0.8); }

/* section dividers: plain hairlines (end ticks removed 2026-08-25, read as artifacts) */
.rule-tick { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.rule-tick span {
  display: block; position: relative;
  border-top: 1px solid #DDD8CA;
}

/* card icons */
.card-icon { width: 40px; height: 31px; display: block; margin-bottom: 10px; }

@media (max-width: 640px) {
  .titleblock { right: 16px; bottom: 16px; padding: 9px 12px 7px; }
  .tb-lockup { width: 108px; }
  .sheet-border { inset: 10px; }
  .unmute { left: 16px; bottom: 16px; }
}

/* anchor jumps clear the sticky header */
.section, .hero.film { scroll-margin-top: 130px; }
