:root {
  --bg: #f6f7f9;
  --bg-alt: #eceff3;
  --ink: #141a24;
  --muted: #5f6673;
  --line: #dde1e7;
  --brand: #13315c;
  --brand-ink: #ffffff;
  --accent: #c9a24a;
  --accent-ink: #0a1a33;
  --grad: linear-gradient(135deg, #0a1a33 0%, #13315c 45%, #1f5fa8 100%);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); }
img { display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(246, 247, 249, 0.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 650; font-size: 18px; letter-spacing: -0.01em; }
nav { display: flex; align-items: center; gap: 28px; }
nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
nav a:hover { color: var(--ink); }
nav a.nav-cta { color: var(--brand-ink); background: var(--grad); padding: 8px 16px; border-radius: 999px; }
nav a.nav-cta:hover { color: var(--brand-ink); opacity: 0.9; }

.hero { padding: 120px 0 112px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 13px; font-weight: 600; color: var(--accent); margin: 0 0 20px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.015em; line-height: 1.15; margin: 0; }
.hero h1 { font-size: clamp(38px, 6vw, 64px); max-width: 15em; }
.lede { font-size: 20px; color: var(--muted); max-width: 36em; margin: 24px 0 0; }
.hero-actions { display: flex; gap: 12px; margin-top: 40px; flex-wrap: wrap; }

.btn { display: inline-block; text-decoration: none; font-weight: 600; font-size: 16px; padding: 13px 24px; border-radius: 999px; border: 1px solid transparent; transition: opacity .15s, background .15s; }
.btn-primary { background: var(--grad); color: var(--brand-ink); }
.btn-primary:hover { opacity: 0.9; }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--bg-alt); }

.section { padding: 96px 0; border-top: 1px solid var(--line); }
.section-alt { background: var(--bg-alt); }
.section h2 { font-size: clamp(30px, 4vw, 40px); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); background: var(--bg-alt); border-radius: 999px; padding: 4px 10px; margin-bottom: 32px; }
.tag-live { color: var(--accent-ink); background: var(--accent); }
.card h3 { font-size: 24px; margin-bottom: 12px; }
.card p { color: var(--muted); margin: 0; }

.about { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
.about-body p { margin: 0 0 16px; font-size: 19px; }
.about-body p:last-child { margin: 0; color: var(--muted); }

.contact { text-align: center; }
.contact .lede { margin-left: auto; margin-right: auto; }
.contact-email { margin-top: 32px; }

.prose { max-width: 680px; }
.prose h1 { font-size: 44px; margin-bottom: 24px; }
.prose p { color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: 14px; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; }
.footer-inner p { margin: 0; }
.site-footer a { color: var(--muted); }

@media (max-width: 820px) {
  .cards, .about { grid-template-columns: 1fr; }
  .about { gap: 20px; }
  .hero { padding: 80px 0 72px; }
  .section { padding: 72px 0; }
  nav { gap: 18px; }
  nav a:not(.nav-cta) { display: none; }
}

.card { display: flex; flex-direction: column; }
.card-link { margin-top: 20px; font-weight: 600; font-size: 15px; text-decoration: none; }
.card-link:hover { text-decoration: underline; }
.card .tag, .card-link { align-self: flex-start; }

/* Blue gradient hero */
.hero { background: var(--grad); color: #fff; }
.hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.hero-text { flex: 1; min-width: 0; }
.hero .lede { color: rgba(255, 255, 255, 0.78); }
.hero .btn-primary { background: var(--accent); color: var(--accent-ink); }
.hero .btn-ghost { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.hero-logo { width: 280px; height: 280px; flex-shrink: 0; border-radius: 50%; box-shadow: 0 0 0 6px rgba(201, 162, 74, 0.55), 0 24px 60px rgba(0, 0, 0, 0.35); }
.brand img { border-radius: 50%; }
.section h2::after { content: ""; display: block; width: 48px; height: 3px; background: var(--accent); margin-top: 16px; border-radius: 2px; }
.contact h2::after { margin-left: auto; margin-right: auto; }
.site-footer { background: #0a1a33; color: #a9b1bd; border-top: 0; }
.site-footer a { color: #a9b1bd; }
@media (max-width: 820px) {
  .hero-inner { flex-direction: column-reverse; align-items: flex-start; gap: 32px; }
  .hero-logo { width: 120px; height: 120px; box-shadow: 0 0 0 4px rgba(201, 162, 74, 0.55); }
}
