/* ── BLACKLINE FINANCIAL · SHARED STYLES ──────────────────────────── */

:root {
  --black:   #15140F;
  --green:   #4C4A23;
  --cement:  #A6A286;
  --slate:   #515151;
  --cream:   #F7F6F2;
  --light:   #EFEFEA;
  --white:   #FFFFFF;
  --red:     #C75A55;

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--slate);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── TYPOGRAPHY UTILITIES ── */

.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  color: var(--black);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section-title em {
  font-style: italic;
  color: var(--green);
}

.section-sub {
  font-size: 16px;
  color: var(--slate);
  line-height: 1.75;
  max-width: 600px;
  margin-bottom: 48px;
}

/* ── BUTTONS ── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
}
.btn-primary:hover { background: #3a3817; }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--light);
  color: var(--slate);
}
.btn-outline:hover { border-color: var(--green); color: var(--green); }

.btn-ghost {
  background: transparent;
  color: var(--cement);
  padding-left: 0;
  padding-right: 0;
  letter-spacing: 0.08em;
}
.btn-ghost:hover { color: var(--white); }

.btn-ghost-dark {
  background: transparent;
  color: var(--cement);
  border: 1.5px solid rgba(166,162,134,0.25);
}
.btn-ghost-dark:hover { border-color: var(--cement); color: var(--white); }

.btn-sm { padding: 9px 20px; font-size: 11px; }

/* ── NAV ── */

.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--black);
  border-bottom: 1px solid rgba(166,162,134,0.08);
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 48px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--cement);
  transition: color 0.2s;
  text-decoration: none;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--white); }

/* Mobile nav toggle */
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cement);
  transition: all 0.2s;
}

.nav-mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--black);
  border-top: 1px solid rgba(166,162,134,0.1);
  padding: 24px 32px;
  gap: 20px;
}
.nav-mobile-menu a {
  font-size: 14px;
  font-weight: 500;
  color: var(--cement);
  letter-spacing: 0.06em;
}
.nav-mobile-menu.open { display: flex; }

/* ── FOOTER ── */

.footer {
  background: var(--black);
  border-top: 1px solid rgba(166,162,134,0.1);
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 64px 48px 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(166,162,134,0.1);
}

.footer-logo {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-logo span { color: var(--cement); }

.footer-tagline {
  font-size: 13px;
  color: rgba(166,162,134,0.55);
  line-height: 1.7;
  max-width: 280px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 13px;
  color: rgba(166,162,134,0.6);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(166,162,134,0.3);
  letter-spacing: 0.03em;
}

/* ── PAGE HERO (inner pages) ── */

.page-hero {
  background: var(--black);
  padding: 80px 64px 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(166,162,134,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(166,162,134,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}
.page-hero-inner {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}
.page-hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.page-hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--green);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.page-hero h1 em { font-style: italic; color: var(--cement); }
.page-hero p {
  font-size: 17px;
  color: rgba(166,162,134,0.75);
  max-width: 560px;
  line-height: 1.75;
}

/* ── DIVIDER ── */
.divider {
  height: 1px;
  background: var(--light);
  margin: 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-inner { padding: 0 32px; }
  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }
  .footer-inner { padding: 48px 32px 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(3, 1fr); }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .page-hero { padding: 64px 32px; }
}
@media (max-width: 600px) {
  .nav-inner { padding: 0 24px; }
  .footer-inner { padding: 40px 24px 20px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .page-hero { padding: 56px 24px; }
  .section-sub { margin-bottom: 32px; }
}
