/* Gillig Investments — shared styles for all public pages */
:root {
  --navy: #1f4639;
  --navy-2: #2d5a4a;
  --gold: #b8924a;
  --ink: #1c2733;
  --muted: #5a6b7b;
  --line: #e3e7ec;
  --bg: #f7f8fa;
  --card: #ffffff;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
.sans { font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
a { color: inherit; }

/* Header / nav */
header { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 50; }
.nav {
  max-width: 1100px; margin: 0 auto; padding: 2px 24px;
  display: flex; align-items: center;
}
.brand { display: flex; align-items: center; text-decoration: none; gap: 14px; flex: 0 0 auto; }
.brand img { height: 140px; width: auto; }
.brand-text { font-size: 16px; letter-spacing: .5px; }
.brand-text b { color: #fff; }
.brand-text span { color: var(--gold); }
.nav-links {
  flex: 1; display: flex; justify-content: center; align-items: center; gap: 30px;
}
.nav-links a {
  font-family: -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 14px; text-decoration: none; color: #cdd8e4;
  letter-spacing: .3px;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links .portal-btn {
  border: 1px solid var(--gold); color: var(--gold);
  padding: 8px 16px; border-radius: 4px;
}
.nav-links .portal-btn:hover { background: var(--gold); color: var(--navy); }

/* Hero (home only) */
.hero { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 90px 24px; }
.hero-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.hero h1 { font-size: 44px; line-height: 1.2; font-weight: normal; }
.hero .rule { width: 60px; height: 3px; background: var(--gold); margin: 24px auto; }
.hero p { font-size: 19px; color: #d4dde7; }
.hero .hero-cta { margin-top: 30px; }
.hero .hero-cta a {
  font-family: -apple-system, sans-serif; font-size: 15px; text-decoration: none;
  padding: 13px 26px; border-radius: 4px; margin: 0 8px; display: inline-block;
}
.hero .hero-cta .primary { background: var(--gold); color: var(--navy); }
.hero .hero-cta .ghost { border: 1px solid #43617f; color: #d4dde7; }

/* Page intro band (inner pages) */
.page-head { background: var(--navy); color: #fff; padding: 54px 24px; }
.page-head-inner { max-width: 1100px; margin: 0 auto; }
.page-head .eyebrow { color: var(--gold); }
.page-head h1 { font-size: 34px; font-weight: normal; margin-top: 6px; }

section { max-width: 1100px; margin: 0 auto; padding: 64px 24px; }
.eyebrow {
  font-family: -apple-system, "Segoe UI", sans-serif;
  text-transform: uppercase; letter-spacing: 2px; font-size: 12px;
  color: var(--gold); font-weight: 600; margin-bottom: 10px;
}
h2 { font-size: 30px; font-weight: normal; color: var(--navy); margin-bottom: 18px; }
.lead { font-size: 18px; color: var(--muted); max-width: 760px; }
p.body { font-size: 17px; color: var(--ink); max-width: 760px; margin-top: 16px; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 36px; }
.member { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 28px; text-align: center; }
.avatar {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 16px;
  background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; letter-spacing: 1px;
}
.member h3 { color: var(--navy); font-size: 20px; font-weight: normal; }
.member .role {
  font-family: -apple-system, sans-serif; font-size: 13px;
  text-transform: uppercase; letter-spacing: 1px; color: var(--gold); margin: 6px 0 12px;
}
.member p { font-size: 15px; color: var(--muted); text-align: left; }

/* Tombstones */
.tomb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.tombstone {
  border: 1px solid var(--line); border-top: 4px solid var(--navy);
  border-radius: 6px; padding: 26px 24px; background: #fff;
  display: flex; flex-direction: column; min-height: 180px;
}
.tombstone.realized { border-top-color: var(--gold); }
.tomb-sector { font-family: -apple-system, sans-serif; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.tombstone h3 { font-size: 22px; font-weight: normal; color: var(--navy); margin: 8px 0; }
.tomb-blurb { font-size: 15px; color: var(--muted); flex: 1; }
.tomb-meta {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--line); padding-top: 12px; margin-top: 14px;
  font-family: -apple-system, sans-serif; font-size: 13px; color: var(--muted);
}
.pill { font-size: 11px; letter-spacing: .5px; padding: 3px 10px; border-radius: 20px; text-transform: uppercase; }
.pill.active { background: #e8f1ea; color: #2c6b46; }
.pill.realized { background: #f3ecdc; color: #8a6a26; }

.note {
  font-family: -apple-system, sans-serif; font-size: 13px; color: var(--muted);
  background: #fbf9f4; border: 1px solid #efe6d2; border-radius: 6px;
  padding: 14px 18px; margin-top: 30px;
}

/* Contact */
.contact { text-align: center; }
.contact a.cta {
  display: inline-block; margin-top: 18px; background: var(--navy); color: #fff;
  text-decoration: none; font-family: -apple-system, sans-serif; font-size: 15px;
  padding: 14px 30px; border-radius: 4px; letter-spacing: .3px;
}

footer {
  background: var(--navy); color: #9fb1c4; text-align: center;
  font-family: -apple-system, sans-serif; font-size: 13px; padding: 30px 24px;
}
footer .disc { max-width: 760px; margin: 12px auto 0; color: #7d92a8; font-size: 12px; }

/* Long-form content (About / principles) */
.prose { max-width: 840px; }
.block { border-top: 1px solid var(--line); padding-top: 34px; margin-top: 42px; }
.block:first-of-type { border-top: none; padding-top: 0; margin-top: 28px; }
.subhead {
  font-family: -apple-system, "Segoe UI", sans-serif; text-transform: uppercase;
  letter-spacing: 1.5px; font-size: 13px; color: var(--gold); font-weight: 700; margin: 24px 0 8px;
}
.prose ul { list-style: none; margin: 12px 0 0; padding: 0; }
.prose li { position: relative; padding-left: 20px; margin-bottom: 11px; color: var(--muted); font-size: 16px; }
.prose li:before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }
.prose li b { color: var(--ink); font-weight: 600; }
.mission-statement { font-size: 22px; line-height: 1.5; color: var(--navy); font-style: italic; max-width: 780px; }

.expertise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.expertise .card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 8px; padding: 22px; }
.expertise h4 { color: var(--navy); font-weight: normal; font-size: 18px; margin-bottom: 12px; }
.expertise ul { margin: 0; }

@media (max-width: 820px) {
  .team-grid, .tomb-grid, .expertise { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .nav-links a:not(.portal-btn) { display: none; }
}
