@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500&display=swap');

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

:root {
  --charcoal: #1e1e1c;
  --charcoal-mid: #2c2c2a;
  --charcoal-light: #3a3a38;
  --gray: #888780;
  --gray-light: #b4b2a9;
  --blue: #378add;
  --blue-dark: #185fa5;
  --blue-deeper: #0c447c;
  --blue-light: #b5d4f4;
  --blue-pale: #e6f1fb;
  --white: #ffffff;
  --off-white: #f7f6f3;
  --border: rgba(255,255,255,0.08);
  --border-light: rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--off-white);
}

h1, h2, h3, h4 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  line-height: 1.2;
}

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* NAV */
nav {
  background: var(--charcoal);
  padding: 1.1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  color: var(--white);
  letter-spacing: -0.3px;
}

.logo span { color: var(--blue); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  font-size: 13px;
  font-weight: 400;
  color: var(--gray-light);
}

.nav-links a:hover { color: var(--white); }
.nav-links .nav-cta {
  background: var(--blue);
  color: var(--charcoal);
  padding: 7px 18px;
  border-radius: 99px;
  font-weight: 500;
}
.nav-links .nav-cta:hover { background: var(--blue-light); }

/* BUTTONS */
.btn {
  display: inline-block;
  background: var(--blue);
  color: var(--charcoal);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: 99px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn:hover { background: var(--blue-light); }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--blue-light);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  padding: 12px 28px;
  border-radius: 99px;
  border: 1px solid var(--blue-dark);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--blue); color: var(--white); }

.btn-dark {
  display: inline-block;
  background: var(--charcoal);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: 99px;
  border: none;
  cursor: pointer;
}
.btn-dark:hover { background: var(--charcoal-mid); }

/* SECTION LABELS */
.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

/* FOOTER */
footer {
  background: var(--charcoal);
  color: var(--gray);
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 1rem;
}

footer .logo { font-size: 16px; }
footer a { color: var(--gray); }
footer a:hover { color: var(--blue-light); }
.footer-links { display: flex; gap: 1.5rem; }

/* PAGE HERO (dark) */
.page-hero {
  background: var(--charcoal);
  padding: 4rem 2rem 3rem;
  text-align: center;
}
.page-hero h1 { font-size: 40px; color: var(--white); margin-bottom: 0.75rem; }
.page-hero p { color: var(--gray-light); max-width: 500px; margin: 0 auto; }

/* SECTION */
.section { padding: 3rem 2rem; max-width: 960px; margin: 0 auto; }
.section-wide { padding: 3rem 2rem; }

hr.divider { border: none; border-top: 1px solid var(--border-light); }

/* CARDS */
.card {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border-light);
  overflow: hidden;
}

/* PLACEHOLDER IMAGES */
.img-placeholder {
  background: var(--charcoal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 12px;
  font-family: 'DM Sans', sans-serif;
  text-align: center;
  padding: 1rem;
}

/* RESPONSIVE */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .page-hero h1 { font-size: 28px; }
}
