/* Gard Partners. Colors and fonts carried over from the Squarespace site. */
:root {
  --navy: #0F2A4D;      /* Squarespace accent hsl(216.77, 67.39%, 18.04%) */
  --mist: #DDE7E9;      /* light accent hsl(189.23, 22.81%, 88.82%) */
  --ink: #111418;
  --muted: #4A5361;
  --line: #D9DEE4;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Poppins, system-ui, sans-serif; color: var(--ink); background: #fff; font-size: 17px; line-height: 1.65; }
h1, h2, h3 { font-family: Manrope, Poppins, sans-serif; font-weight: 600; line-height: 1.2; margin: 0 0 .5em; }
a { color: var(--navy); }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.site-header .logo img { height: 26px; width: auto; }
.site-header nav a { margin-left: 32px; text-decoration: none; color: var(--ink); font-size: 16px; }
.site-header nav a[aria-current="page"], .site-header nav a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 6px; }
.menu-btn { display: none; background: none; border: 0; font: inherit; font-size: 15px; color: var(--ink); cursor: pointer; }

/* Hero */
.hero { position: relative; min-height: 78vh; display: grid; place-items: center; text-align: center; color: #fff; background: #333 center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.hero .wrap { position: relative; max-width: 820px; }
.hero h1 { font-family: Poppins, sans-serif; font-weight: 500; font-size: clamp(30px, 4.6vw, 52px); margin-bottom: 18px; }
.hero p { font-size: clamp(17px, 1.8vw, 21px); margin: 0; }

/* Sections */
section.band { padding: 88px 0; }
section.band.navy { background: var(--navy); color: #fff; }
section.band.navy a { color: #fff; }
section.band.mist { background: var(--mist); }
.eyebrow { font-family: Poppins, sans-serif; font-style: italic; font-weight: 600; font-size: 19px; margin: 0 0 28px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.grid3 h3 { font-size: 22px; }
.grid3 p { margin: 0; color: inherit; opacity: .9; }
.stack h3 { font-size: 18px; margin: 26px 0 4px; }
.stack p { margin: 0; }
.lead { font-size: 20px; max-width: 820px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 40px; }
.checks li { padding-left: 32px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--navy); font-weight: 700; }
.figure { padding: 48px 0 0; }
.figure img { width: 100%; height: auto; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { border: 1px solid var(--line); padding: 28px; background: #fff; }
.card h3 { font-size: 22px; }
.card p { margin: 0; color: var(--muted); }

/* Page heads */
.page-head { background: var(--navy); color: #fff; padding: 84px 0 64px; text-align: center; }
.page-head h1 { font-family: Poppins, sans-serif; font-weight: 500; font-size: clamp(32px, 4vw, 46px); margin: 0; }

/* Investments */
.invest { max-width: 820px; margin: 0 auto; }
.invest details { border-bottom: 1px solid var(--line); }
.invest summary { cursor: pointer; list-style: none; padding: 24px 0; font-size: 22px; font-weight: 500; display: flex; justify-content: space-between; align-items: center; }
.invest summary::-webkit-details-marker { display: none; }
.invest summary::after { content: "+"; font-size: 26px; color: var(--navy); }
.invest details[open] summary::after { content: "–"; }
.invest .body { padding: 0 0 26px; color: var(--muted); }
.invest .body p { margin: 0 0 10px; }
.invest .body ul { margin: 0; padding-left: 20px; }

/* Team */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.person img, .person .ph { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--mist); padding: 8px; border: 2px solid var(--navy); }
.person .ph { display: grid; place-items: center; font-family: Manrope, sans-serif; font-size: 56px; color: var(--navy); }
.person h3 { font-family: Poppins, sans-serif; font-weight: 500; font-size: 20px; margin: 16px 0 2px; }
.person p { margin: 0; text-transform: none; color: var(--muted); font-size: 15px; letter-spacing: .02em; }

/* Contact */
.contact { text-align: center; }
.contact h1 { font-family: Poppins, sans-serif; font-weight: 500; font-size: 44px; }
.contact p { font-size: 20px; margin: 6px 0; }

/* Policies */
.policies { max-width: 820px; margin: 0 auto; }
.policy { padding: 24px 0 48px; border-bottom: 1px solid var(--line); }
.policy h2 { font-size: 30px; margin-top: 24px; }
.policy h3 { font-size: 18px; margin: 28px 0 6px; }
.policy p, .policy li { color: #2b313a; font-size: 16px; }
.toc { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.toc a { color: #fff; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 15px; }
.site-footer .logo-big img { height: auto; width: min(420px, 80%); margin-bottom: 26px; }
.site-footer p { margin: 0 0 6px; }
.site-footer .legal { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 22px; color: var(--muted); }
.site-footer .legal a { color: var(--muted); }

@media (max-width: 860px) {
  .grid3, .cards, .team { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
  .menu-btn { display: block; }
  .site-header nav { display: none; position: absolute; top: 84px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 28px 20px; }
  .site-header nav.open { display: block; }
  .site-header nav a { display: block; margin: 12px 0 0; font-size: 20px; }
  section.band { padding: 64px 0; }
}
