:root {
  --navy: #011b3c; --navy-soft: #0b2952; --ivory: #fce7bb;
  --ivory-band: #f4ecdc; --crimson: #fc2e23; --paper: #f7f5f0;
  --white: #ffffff; --ink: #17212d; --muted: #4b5563; --rule: #ddd8ce;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
}

a {
  color: var(--navy); text-underline-offset: 3px;
  text-decoration-color: rgba(1, 27, 60, 0.35);
}
a:hover { color: var(--crimson); text-decoration-color: var(--crimson); }

.wrap { max-width: 1080px; margin: 0 auto; padding-left: 32px;
  padding-right: 32px; }

.splash {
  background: var(--navy); color: #ffffff;
  border-bottom: 4px solid var(--crimson);
}

.utilbar { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.utilbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 14px; padding-bottom: 14px;
}

.wordmark {
  font-family: var(--serif); font-size: 0.92rem; letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.85); text-decoration: none;
}
.wordmark:hover { color: var(--ivory); }

#topbar { display: flex; align-items: center; }
#topbar #who-bar {
  float: none; margin: 0; height: auto; font-size: 0.92rem; color: #ffffff;
}
#topbar #who-bar > #who-login {
  color: var(--ivory); padding-bottom: 0;
  text-decoration-color: rgba(252, 231, 187, 0.55);
}
#topbar #who-bar > #who-login:hover { color: #ffffff; }
#topbar #who-bar > #who-username { color: #ffffff; }

#contents {
  background: rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
#contents ul {
  display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none;
  margin: 0 auto; padding-top: 10px; padding-bottom: 10px; font-size: 0.9rem;
}
#contents a {
  color: var(--ivory); text-decoration-color: rgba(252, 231, 187, 0.4);
}
#contents a:hover { color: #ffffff; }

.splash-hero {
  display: grid; grid-template-columns: 280px minmax(0, 1fr);
  align-items: center; gap: 56px; padding-top: 64px; padding-bottom: 72px;
}

.splash-emblem {
  display: flex; align-items: center; justify-content: center;
  padding: 16px; border-radius: 50%;
  background: radial-gradient(
    circle, rgba(252, 231, 187, 0.1) 0%, rgba(1, 27, 60, 0) 70%);
}
.splash-emblem img { display: block; width: 248px; height: 248px; }

.splash-copy h1 {
  margin: 0 0 20px; font-family: var(--serif); font-weight: normal;
  font-size: clamp(2.2rem, 4.4vw, 3.35rem); line-height: 1.08;
  color: #ffffff; letter-spacing: -0.01em;
}
.splash-copy h1 sup { font-size: 0.45em; vertical-align: super; }

.lead {
  margin: 0 0 26px; max-width: 54ch; font-size: 1.12rem; line-height: 1.65;
  color: rgba(255, 255, 255, 0.86);
}

.splash-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
}
.splash-contact {
  display: inline-block; margin: 0; padding: 10px 18px;
  border: 1px solid rgba(252, 231, 187, 0.45); border-radius: 4px;
  background: rgba(255, 255, 255, 0.05); color: var(--ivory);
  font-size: 0.98rem;
}
.splash-contact strong, .splash-contact a {
  color: #ffffff; text-decoration-color: rgba(252, 231, 187, 0.55);
}
.splash-contact a:hover { color: var(--ivory); }
.splash-call {
  color: var(--ivory); font-size: 0.96rem;
  text-decoration-color: rgba(252, 231, 187, 0.55);
}
.splash-call:hover { color: #ffffff; }

.band { padding: 72px 0; }
.band-paper { background: var(--paper); }
.band-white { background: var(--white); }
.band-ivory {
  background: var(--ivory-band); padding: 36px 0;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}

h2, h3 {
  font-family: var(--serif); color: var(--navy); font-weight: normal;
  margin-top: 0;
}
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.16; }
h3 { font-size: 1.28rem; line-height: 1.25; margin-bottom: 10px; }
p { margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }

.kicker {
  margin: 0 0 10px; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--crimson);
}
.section-lead {
  font-size: 1.08rem; line-height: 1.65; color: var(--muted); max-width: 56ch;
}

.flagship {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 48px; align-items: start;
}
.flagship-intro h2 { margin-bottom: 16px; }

.cta-pill {
  display: inline-block; margin-top: 22px; padding: 10px 18px;
  background: var(--navy); color: var(--ivory); border-radius: 4px;
  font-size: 0.96rem;
}
.cta-pill a {
  color: #ffffff; text-decoration-color: rgba(252, 231, 187, 0.55);
}
.cta-pill a:hover { color: var(--ivory); }

.cap-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px; list-style: none; margin: 0; padding: 0;
}
.cap-grid li {
  background: var(--white); border: 1px solid var(--rule);
  border-top: 3px solid var(--crimson); padding: 20px 22px;
}
.cap-grid strong {
  display: block; font-family: var(--serif); font-size: 1.08rem;
  font-weight: normal; color: var(--navy); margin-bottom: 6px;
}
.cap-grid span { color: var(--muted); font-size: 0.95rem; }

.strip {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
}
.strip-copy h2 { font-size: 1.45rem; margin-bottom: 6px; }
.strip-copy p { max-width: 60ch; color: var(--muted); }

.cta-btn {
  flex: 0 0 auto; display: inline-block; padding: 12px 24px;
  background: var(--navy); color: var(--ivory); text-decoration: none;
  font-weight: 600; border-radius: 4px; white-space: nowrap;
}
.cta-btn:hover { background: var(--navy-soft); color: #ffffff; }

.section-head { margin-bottom: 40px; }
.section-head h2 { margin-bottom: 12px; }

.pillars {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px; counter-reset: pillar;
}
.pillar {
  border-top: 2px solid var(--navy); padding-top: 18px;
  counter-increment: pillar;
}
.pillar::before {
  content: "0" counter(pillar); display: block; font-family: var(--serif);
  font-size: 1.8rem; line-height: 1; color: rgba(1, 27, 60, 0.22);
  margin-bottom: 10px;
}
.pillar p { color: var(--muted); font-size: 0.96rem; }
.dl-link { margin-top: 14px; color: var(--ink); word-break: break-word; }

.consult-head {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px; align-items: start; margin-bottom: 40px;
}
.consult-email { margin-top: 14px; color: var(--navy); }

.cases {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.case-card {
  background: var(--white); border: 1px solid var(--rule);
  border-left: 4px solid var(--navy); padding: 28px 30px;
}
.case-card h3 { font-size: 1.38rem; margin-bottom: 12px; }
.case-card p { color: var(--muted); }

.fun-strip {
  background: var(--white); border-top: 1px solid var(--rule);
  padding: 26px 0;
}
.fun-inner {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 20px;
}
.fun-inner h2 { font-size: 1.05rem; margin: 0; }
.fun-inner p { font-size: 0.93rem; color: var(--muted); margin: 0; }

.site-footer {
  background: var(--navy); color: rgba(255, 255, 255, 0.72);
  padding: 36px 0; text-align: center; font-size: 0.9rem;
}
.site-footer a {
  color: var(--ivory); text-decoration-color: rgba(252, 231, 187, 0.45);
}
.site-footer a:hover { color: #ffffff; }
.trademark { font-size: 0.84rem; color: rgba(255, 255, 255, 0.56); }

@media (max-width: 860px) {
  .splash-hero, .flagship, .consult-head { grid-template-columns: 1fr; }
  .splash-hero { gap: 28px; padding-top: 40px; padding-bottom: 48px; }
  .splash-emblem { justify-content: flex-start; padding: 0; background: none; }
  .splash-emblem img { width: 176px; height: 176px; }
  .pillars, .cases { grid-template-columns: 1fr; }
  .strip { flex-direction: column; align-items: flex-start; gap: 18px; }
}

@media (max-width: 600px) {
  .wrap { padding-left: 18px; padding-right: 18px; }
  .band { padding: 44px 0; }
  .cap-grid { grid-template-columns: 1fr; }
}
