/* ============================================
   SCANLON INVESTIGATIONS GROUP — Shared CSS
   Dark authoritative theme: navy + gold
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Barlow:wght@300;400;500;600&family=Barlow+Condensed:wght@500;600;700&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --navy:     #0a1628;
  --navy-mid: #112240;
  --navy-lt:  #1a3254;
  --gold:     #c9a84c;
  --gold-lt:  #e8c97a;
  --gold-dk:  #a07830;
  --white:    #f5f3ef;
  --grey:     #9aa4b8;
  --grey-lt:  #d0d6e2;
  --red:      #b03030;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Barlow', sans-serif;
  --font-caps:    'Barlow Condensed', sans-serif;

  --transition: 0.3s ease;
  --shadow-gold: 0 0 30px rgba(201,168,76,0.15);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--grey-lt);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-lt); }
ul { list-style: none; }

/* ---------- Utility ---------- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}
.text-center { text-align: center; }
.text-left   { text-align: left; }
.gold { color: var(--gold); }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--white);
  line-height: 1.2;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 600; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }
p  { margin-bottom: 1rem; color: var(--grey-lt); font-weight: 300; }
p:last-child { margin-bottom: 0; }
strong { color: var(--white); font-weight: 600; }

/* ---------- Gold Divider ---------- */
.gold-rule {
  display: block;
  width: 60px; height: 3px;
  background: var(--gold);
  margin: 16px 0 24px;
}
.gold-rule.center { margin: 16px auto 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-caps);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 36px;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
  z-index: 0;
}
.btn:hover::before { transform: scaleX(1); }
.btn:hover { color: var(--navy); border-color: var(--gold); }
.btn span { position: relative; z-index: 1; }

.btn-solid {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-solid::before { background: var(--gold-lt); }
.btn-solid:hover { color: var(--navy); }

/* ---------- Section Headings ---------- */
.section-label {
  font-family: var(--font-caps);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.section-heading { margin-bottom: 8px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,22,40,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 108px;
}
.site-logo img {
  height: 64px;
  width: auto;
}
.site-logo .logo-text {
  display: flex;
  flex-direction: column;
}
.site-logo .logo-name {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.03em;
  line-height: 1;
}
.site-logo .logo-sub {
  font-family: var(--font-caps);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 5px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  font-family: var(--font-caps);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-lt);
  padding: 10px 20px;
  position: relative;
  transition: color var(--transition);
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 20px; right: 20px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.main-nav a:hover,
.main-nav a.active { color: var(--gold); }
.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-caps);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.35);
  padding: 11px 22px;
  transition: all var(--transition);
}
.header-cta svg { width: 18px; height: 18px; flex-shrink: 0; }
.header-cta:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--grey-lt);
  transition: all var(--transition);
}

/* ---------- Page Hero Banner ---------- */
.page-hero {
  position: relative;
  height: 340px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-top: 108px;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.35);
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,22,40,0.9) 0%, rgba(10,22,40,0.3) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 1;
  padding: 0 0 48px;
  width: 100%;
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 4px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-caps);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 12px;
}
.breadcrumb a { color: var(--grey); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { color: var(--gold); font-size: 0.6rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: #060e1c;
  border-top: 1px solid rgba(201,168,76,0.2);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand .logo-text .logo-name { font-size: 1.5rem; }
.footer-brand p {
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--grey);
  line-height: 1.7;
}
.footer-towns {
  font-size: 0.8rem;
  color: var(--grey);
  line-height: 1.9;
  margin-top: 12px;
}
.footer-col h5 {
  font-family: var(--font-caps);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-nav li { margin-bottom: 10px; }
.footer-nav a {
  font-size: 0.9rem;
  color: var(--grey);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-nav a::before {
  content: '';
  display: block;
  width: 16px; height: 1px;
  background: var(--gold);
  flex-shrink: 0;
  transition: width var(--transition);
}
.footer-nav a:hover { color: var(--white); }
.footer-nav a:hover::before { width: 24px; }

.footer-contact li {
  font-size: 0.88rem;
  color: var(--grey);
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
}
.footer-contact li strong {
  color: var(--grey-lt);
  min-width: 60px;
  font-size: 0.82rem;
  font-family: var(--font-caps);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-contact a { color: var(--grey); }
.footer-contact a:hover { color: var(--gold); }

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid rgba(201,168,76,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey);
  font-size: 0.9rem;
  transition: all var(--transition);
}
.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,0.1);
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--grey);
  margin: 0;
}
.footer-bottom a { color: var(--grey); }
.footer-bottom a:hover { color: var(--gold); }
.footer-license {
  font-family: var(--font-caps);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: rgba(154,164,184,0.5);
  text-transform: uppercase;
}

/* ---------- Scroll To Top ---------- */
.scroll-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 44px; height: 44px;
  background: var(--navy-mid);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 500;
  transition: all var(--transition);
  font-size: 1rem;
}
.scroll-top:hover {
  background: var(--gold);
  color: var(--navy);
}
.scroll-top.visible { display: flex; }

/* ---------- Check List ---------- */
.check-list { margin: 16px 0; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--grey-lt);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-weight: 300;
}
.check-list li:last-child { border-bottom: none; }
.check-icon {
  width: 18px; height: 18px;
  border: 1.5px solid var(--gold);
  flex-shrink: 0;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.check-icon::after {
  content: '';
  width: 6px; height: 10px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg) translate(-1px, -2px);
}

/* ---------- Subscribe Bar ---------- */
.subscribe-section {
  background: var(--navy-mid);
  border-top: 1px solid rgba(201,168,76,0.15);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  padding: 64px 0;
}
.subscribe-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.subscribe-text h3 { margin-bottom: 8px; }
.subscribe-form {
  display: flex;
  gap: 0;
}
.subscribe-form input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.25);
  border-right: none;
  color: var(--white);
  padding: 14px 20px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition);
}
.subscribe-form input::placeholder { color: var(--grey); }
.subscribe-form input:focus { border-color: var(--gold); }
.subscribe-form button {
  font-family: var(--font-caps);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 14px 28px;
  cursor: pointer;
  transition: background var(--transition);
}
.subscribe-form button:hover { background: var(--gold-lt); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .subscribe-inner { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 768px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 108px; left: 0; right: 0;
    background: var(--navy);
    border-top: 1px solid rgba(201,168,76,0.15);
    padding: 24px;
    gap: 4px;
  }
  .main-nav.open a { padding: 12px 0; }
  .main-nav.open a::after { left: 0; right: 0; bottom: 8px; }
  .header-cta.open {
    display: flex;
    margin: 0 24px 24px;
  }
  .footer-grid { grid-template-columns: 1fr; }
  .page-hero { height: 260px; }
}
@media (max-width: 480px) {
  .subscribe-form { flex-direction: column; }
  .subscribe-form input { border-right: 1px solid rgba(201,168,76,0.25); }
}
