:root {
  --navy: #1B3D5C;
  --sky: #2D6AA0;
  --flame: #E8712A;
  --green: #2A7D4A;
  --mist: #EFF5FB;
  --frost: #F7FAFE;
  --slate: #3E5467;
  --body-text: #6B7D8F;
  --border-light: #E8ECF0;
  --white: #FFFFFF;
  --bg: var(--frost);
  --surface: var(--white);
  --surface-alt: var(--navy);
  --text: var(--navy);
  --muted: var(--body-text);
  --border: var(--border-light);
  --brand: var(--sky);
  --shadow: 0 12px 28px rgba(27, 61, 92, 0.06);
  --radius: 8px;
  --container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(45, 106, 160, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, #ffffff 0%, var(--frost) 100%);
  background-size: 72px 72px, auto;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(var(--container), calc(100% - 2rem)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(217, 226, 239, 0.88);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}
.brand-lockup { font-size: 1.08rem; font-weight: 800; }
.nav-links { display: flex; gap: 1.25rem; align-items: center; }
.nav-links a { color: var(--muted); font-weight: 700; font-size: 0.95rem; }
.nav-links a.active, .nav-links a:hover { color: var(--text); }
.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  font-weight: 800;
}

.hero {
  padding: 5.5rem 0 2.75rem;
}
.home-hero {
  border-bottom: 1px solid rgba(217, 226, 239, 0.65);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  background: #FEF2E8;
  color: var(--flame);
  border: 1px solid rgba(232, 113, 42, 0.18);
  border-radius: 999px;
  padding: 0.42rem 0.75rem;
  font-weight: 800;
  font-size: 0.86rem;
}
.hero h1,
.detail-hero h1,
.page-hero h1 {
  font-size: clamp(2.8rem, 6vw, 6.4rem);
  line-height: 1.02;
  letter-spacing: 0;
  margin: 1rem 0;
}
.hero h1 { max-width: 980px; }
.hero-lede,
.detail-hero p,
.page-hero p {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 68ch;
}

.section { padding: 2.4rem 0 3rem; }
.final-section { padding-bottom: 5rem; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  line-height: 1.08;
  margin: 0;
}
.section-head p { color: var(--muted); margin: 0; }

.tile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 300px));
  gap: 1.25rem;
}
.tile-grid.single {
  grid-template-columns: minmax(220px, 300px);
  max-width: 300px;
}
.logo-tile {
  position: relative;
  display: grid;
  align-content: space-between;
  gap: 0.8rem;
  aspect-ratio: 1 / 1;
  min-height: 0;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.logo-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 5px solid var(--brand);
}
.logo-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(232, 113, 42, 0.42);
  box-shadow: 0 18px 36px rgba(27, 61, 92, 0.12);
}
.logo-box {
  min-height: 104px;
  display: grid;
  place-items: center;
  background: var(--frost);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.85rem;
}
.logo-box img { max-height: 70px; max-width: 88%; width: auto; }
.tile-copy { display: grid; gap: 0.2rem; }
.tile-copy span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}
.tile-copy h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.2;
}
.fire-tile::before { border-color: var(--flame); }
.ezp-tile::before { border-color: var(--green); }

.detail-hero {
  padding: 4.5rem 0 3.25rem;
  border-bottom: 1px solid rgba(217, 226, 239, 0.65);
}
.detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}
.back-link {
  display: inline-flex;
  margin-bottom: 1.15rem;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.92rem;
}
.back-link:hover { color: var(--text); }
.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.2rem;
  border-radius: 8px;
  font-weight: 800;
  border: 1px solid transparent;
}
.btn-primary { background: var(--flame); color: white; }
.btn-primary:hover { background: #c4651e; }
.btn-secondary { background: white; border-color: var(--border); }
.identity-panel {
  min-height: 330px;
  display: grid;
  place-items: center;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.identity-panel img { max-height: 140px; width: auto; }
.fire-panel { background: linear-gradient(135deg, var(--navy), var(--sky)); }
.ezp-panel { background: linear-gradient(180deg, #ffffff 0%, var(--frost) 100%); }
.ezp-panel img { max-height: 150px; }

.grid-2,
.grid-3 {
  display: grid;
  gap: 1.2rem;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.feature,
.detail-card,
.brand-card,
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem;
}
.feature h2,
.feature h3 { margin-top: 0.4rem; }
.feature p,
.panel p,
.brand-card p,
.detail-card p,
.brand-card ul,
.detail-card ul {
  color: var(--muted);
}
.kicker {
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.page-hero { padding: 4rem 0 2rem; }
.logo-box.dark { background: var(--surface-alt); }
.band {
  background: #142033;
  color: white;
  padding: 3rem 0;
}
.band p { color: rgba(255,255,255,0.8); }

.footer {
  padding: 2rem 0 3rem;
  color: var(--muted);
}
.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}
.footer-address {
  margin-top: 0.25rem;
  font-style: normal;
  color: var(--body-text);
  font-size: 0.92rem;
}
.footer-nav { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-nav a:hover { color: var(--text); }

@media (max-width: 900px) {
  .tile-grid,
  .detail-grid,
  .grid-2,
  .grid-3 { grid-template-columns: 1fr; }
  .tile-grid { max-width: 300px; }
  .tile-grid.single { max-width: 300px; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    right: 1rem;
    top: calc(100% + 0.5rem);
    flex-direction: column;
    align-items: stretch;
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    min-width: 240px;
  }
  .nav-links.open { display: flex; }
  .footer-wrap { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .hero { padding-top: 3.5rem; }
  .hero h1,
  .detail-hero h1 { font-size: 3rem; }
  .identity-panel { min-height: 240px; }
}
