:root {
  --navy: #0f1724;
  --navy-2: #172033;
  --ink: #1c2430;
  --muted: #5c6777;
  --sand: #f4efe6;
  --paper: #fbf8f3;
  --gold: #d4a24a;
  --gold-2: #f0c36b;
  --sea: #2b6a7a;
  --sea-2: #3d8fa3;
  --line: rgba(255,255,255,.12);
  --shadow: 0 18px 50px rgba(15, 23, 36, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

.sans { font-family: "Outfit", system-ui, sans-serif; }

a { color: var(--sea); }
a:hover { color: #1e4f5c; }

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: relative;
  color: #fff;
  isolation: isolate;
  min-height: 420px;
  display: grid;
  align-items: end;
  overflow: hidden;
}
.site-header.compact { min-height: 280px; }
.site-header .bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15,23,36,.15) 0%, rgba(15,23,36,.72) 100%),
    url("https://fmcravey.com/images/pensacola3.jpeg") center/cover no-repeat; 
  z-index: -1;
} 
.site-header.home .bg {
  background:
    linear-gradient(180deg, rgba(15,23,36,.12) 20%, rgba(15,23,36,.78) 100%),
    url("https://fmcravey.com/images/pensacola3.jpeg") center/cover no-repeat; 
  z-index: -1;
} 
.topbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
}
.brand {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  letter-spacing: .02em;
  color: #fff;
  text-decoration: none;
  font-size: 1.15rem;
}
.brand span { color: var(--gold-2); }
nav ul {
  list-style: none;
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 8px;
  background: rgba(15,23,36,.38);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  border-radius: 999px;
}
nav a {
  color: #fff;
  text-decoration: none;
  font-family: "Outfit", sans-serif;
  font-size: .86rem;
  padding: 8px 12px;
  border-radius: 999px;
  display: block;
}
nav a:hover, nav a.active {
  background: rgba(255,255,255,.14);
  color: #fff;
}
.hero {
  padding: 0 0 42px;
}
.eyebrow {
  font-family: "Outfit", sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .72rem;
  color: var(--gold-2);
  margin: 0 0 8px;
}
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.05;
  margin: 0 0 10px;
  font-weight: 600;
}
.hero p {
  margin: 0;
  max-width: 38rem;
  color: rgba(255,255,255,.88);
  font-size: 1.08rem;
}

main { padding: 48px 0 72px; }

.intro-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: start;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.card img { width: 100%; height: 280px; object-fit: cover; display: block; }
.card .body { padding: 22px 24px 26px; }
.card h2 { margin: 0 0 8px; font-size: 1.45rem; }
.lede { color: var(--muted); margin: 0 0 16px; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin: 48px 0 18px;
}
.section-head h2 { margin: 0; font-size: 1.7rem; }
.section-head p { margin: 0; color: var(--muted); max-width: 34rem; }

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}
.link-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #eadfce;
  border-radius: 14px;
  padding: 16px 16px 18px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.link-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #d8c4a0;
  color: inherit;
}
.link-card .kicker {
  font-family: "Outfit", sans-serif;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sea);
  margin-bottom: 6px;
}
.link-card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.link-card p { margin: 0; color: var(--muted); font-size: .92rem; }

.group { margin-bottom: 28px; }
.group h3 {
  font-family: "Outfit", sans-serif;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sea);
  margin: 0 0 10px;
}

footer {
  background: var(--navy);
  color: rgba(255,255,255,.78);
  padding: 28px 0 36px;
  font-family: "Outfit", sans-serif;
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
footer a { color: var(--gold-2); text-decoration: none; }

.note {
  background: #fff7e8;
  border-left: 4px solid var(--gold);
  padding: 12px 14px;
  border-radius: 0 10px 10px 0;
  color: #5a4a2c;
  font-size: .95rem;
}

@media (max-width: 800px) {
  nav ul { flex-wrap: wrap; justify-content: flex-end; border-radius: 16px; }
  .intro-grid { grid-template-columns: 1fr; }
  .site-header, .site-header.compact { min-height: 360px; }
  .topbar { align-items: start; flex-direction: column; }
}
