:root {
  --bg: #f1f1f1;
  --bg-strong: #d8d8d8;
  --surface: #5c615e;
  --surface-strong: #5c615e;
  --ink: #1f1f1f;
  --muted: #ffffff;
  --line: rgba(58, 80, 104, 0.35);
  --accent: #3a5068;
  --accent-strong: #516e8e;
  --accent-soft: rgba(58, 80, 104, 0.16);
  --shadow: 3px 3px 8px rgba(0, 0, 0, 0.28);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --site-width: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.2;
}

body::before {
  content: none;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-shell {
  width: min(calc(100% - 32px), var(--site-width));
  margin: 24px auto;
  position: relative;
  z-index: 1;
  background: transparent;
}

.page-home .site-shell,
.page-about .site-shell,
.page-contact .site-shell,
.page-legal .site-shell {
  max-width: 1024px;
}

.site-header,
.panel,
.cta-band,
.site-footer {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.site-header,
.panel,
.cta-band,
.site-footer,
.feature-image img {
  backdrop-filter: none;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 22px;
  border-radius: 0;
  background: var(--accent);
  position: sticky;
  top: 18px;
  z-index: 10;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
}

.brand-mark img {
  width: 150px;
}

.brand-kicker,
.eyebrow,
.section-label {
  margin: 0;
  text-transform: none;
  letter-spacing: 0.08em;
  font-size: 10pt;
  font-weight: bold;
  color: #ffffff;
}

.section-title {
  font-size: 28pt;
  font-weight: normal;
  letter-spacing: normal;
  margin-bottom: 16px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: #0067b8;
}

.nav-toggle-bars {
  display: grid;
  gap: 5px;
}

.nav-toggle-bars span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
}

.site-nav a,
.footer-links a {
  text-decoration: none;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 0;
  color: #ffffff;
  font-weight: bold;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: #0067b8;
  color: #ffffff;
  transform: none;
}

.site-nav .is-active {
  background: #0067b8;
  color: #fff;
}

main,
.page-stack {
  display: grid;
  gap: 0;
  margin-top: 10px;
}

.hero,
.content-grid,
.contact-cards {
  display: grid;
  gap: 0;
}

.page-home-main {
  gap: 0;
}

.hero {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
}

.hero-copy,
.page-intro {
  padding: 22px 6px 10px;
}

.hero-copy {
  background: var(--accent);
  padding: 30px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.page-intro {
  background: var(--accent-strong);
  padding: 20px 30px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero h1,
.page-intro h1,
.title-band h1,
.cta-band h2,
.legal-panel h2,
.legal-panel h3 {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.2;
  letter-spacing: normal;
  font-weight: normal;
}

.hero h1,
.page-intro h1,
.title-band h1 {
  margin: 12px 0 18px;
  font-size: 24pt;
  max-width: none;
  color: #ffffff;
}

.hero-text,
.page-intro p,
.section-intro,
.prose-panel p,
.legal-panel p,
.detail-list li {
  color: #ffffff;
  font-size: 12pt;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button,
.text-link,
.contact-link {
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 20px;
  border-radius: 0;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: none;
}

.button-primary {
  background: #464bbb;
  color: #fff;
  box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.58);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #7a8591;
}

.button-secondary {
  background: var(--accent);
  color: #fff;
  border-color: var(--line);
}

.hero-media,
.feature-image {
  position: relative;
}

.home-logo-band,
.home-image-band,
.title-band,
.spacer-band {
  background: var(--accent);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.home-logo-band,
.home-image-band,
.title-band,
.spacer-band,
.panel,
.cta-band,
.site-footer,
.page-intro {
  margin-top: 0;
}

.home-logo-band {
  padding: 10px;
  text-align: center;
}

.home-logo-band img {
  width: 50%;
  margin: 0 auto;
}

.home-image-band {
  padding: 10px;
}

.title-band {
  padding: 90px 20px;
  text-align: center;
}

.title-band h1 {
  margin: 0;
}

.spacer-band {
  min-height: 55px;
  padding: 10px;
}

.section-separator {
  background: var(--accent);
}

.hero-media::after,
.feature-image::after {
  content: none;
}

.hero-image,
.panel img,
.feature-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0;
}

.hero-image {
  min-height: 0;
}

.content-grid-home {
  grid-template-columns: 1fr;
  background: transparent;
}

.content-grid-contact {
  grid-template-columns: 50% 50%;
}

.panel {
  background: var(--surface);
  border-radius: 0;
  overflow: hidden;
}

.panel-profile {
  display: grid;
  grid-template-columns: 50% 50%;
  background: var(--surface-strong);
}

.panel-media-only img,
.portrait-frame img {
  height: 100%;
}

.panel-body {
  padding: 30px;
}

.panel-services {
  background: var(--surface-strong);
}

.panel-profile .panel-body,
.panel-profile .section-label,
.panel-profile p,
.panel-profile li {
  color: #ffffff;
}

.panel-services .panel-body,
.panel-services .section-label,
.panel-services .section-intro,
.panel-services li {
  color: #ffffff;
}

.panel-services .text-link {
  color: #80ffff;
}

.panel-services .text-link:hover {
  color: #ffffff;
}

.panel-body > :first-child,
.legal-panel > :first-child,
.prose-panel > :first-child {
  margin-top: 0;
}

.panel-body p,
.panel-body li,
.legal-panel p,
.legal-panel li,
.prose-panel p,
.prose-panel li {
  margin: 0 0 16px;
}

.wide-media {
  margin: 0 0 24px;
}

.wide-media img {
  width: 40%;
  min-width: 120px;
  float: right;
  margin: 0 10px 10px 10px;
}

.detail-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  position: relative;
  padding-left: 18px;
}

.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: none;
  transform: translateY(-50%);
}

.check-list {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.check-list li {
  margin: 0 0 10px;
  font-size: 12pt;
  line-height: 1.2;
  color: #ffffff;
}

.check-list li::before {
  content: "\2714\0020";
}

.text-link,
.contact-link {
  color: #80ffff;
  text-decoration: none;
}

.text-link:hover,
.contact-link:hover,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: #ffffff;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px;
  border-radius: 0;
  background: var(--accent);
  color: #ffffff;
}

.cta-band-simple {
  margin-top: 0;
}

.cta-band-simple .cta-copy h2 {
  margin-bottom: 0;
}

.cta-band .eyebrow {
  color: #ffffff;
}

.cta-band h2 {
  margin: 10px 0 14px;
  font-size: 14pt;
  max-width: none;
}

.cta-band p {
  margin: 0;
  max-width: 62ch;
  color: #ffffff;
  font-size: 11pt;
}

.cta-band-about {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 24px;
}

.cta-band-about h2 {
  margin: 0 0 18px;
  font-size: 24pt;
}

.cta-band-about p {
  max-width: none;
  font-size: 12pt;
  font-style: normal;
}

.cta-band-about .cta-line {
  white-space: nowrap;
}

.cta-band-about .cta-copy > p:first-of-type {
  margin-bottom: 18px;
}

.cta-band-about .cta-copy > p:nth-of-type(2),
.cta-band-about .cta-copy > p:nth-of-type(3) {
  font-style: italic;
}

.cta-band-about .button {
  margin-top: 0;
  align-self: flex-end;
}

.page-intro {
  max-width: 860px;
  color: #ffffff;
}

.page-about .page-intro,
.page-contact .page-intro,
.page-legal .page-intro {
  max-width: none;
  background: var(--surface);
}

.page-intro h1 {
  max-width: none;
}

.feature-image img {
  max-height: 420px;
  background: var(--accent);
}

.image-centered-band {
  text-align: center;
  background: #ffffff;
  padding: 10px;
}

.image-centered-band img {
  width: 74%;
  margin: 0 auto;
  background: #ffffff;
}

.page-about .image-centered-band img {
  width: min(100%, 760px);
  max-height: 340px;
  object-fit: cover;
}

.legal-panel,
.prose-panel {
  padding: 34px;
}

.legal-panel h2 {
  margin: 30px 0 12px;
  font-size: 18pt;
  color: #ffffff;
}

.legal-panel h3 {
  margin: 28px 0 10px;
  font-size: 14pt;
  color: #ffffff;
}

.legal-lead,
.legal-source {
  font-weight: 600;
}

.legal-panel p.legal-source {
  font-size: 10pt;
}

.contact-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 0;
  background: transparent;
}

.contact-top-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 10px;
  gap: 0;
}

.contact-top-panel .panel,
.contact-top-panel .panel-media-only {
  border: 0;
  box-shadow: none;
  margin-top: 0;
  background: transparent;
}

.contact-top-panel .prose-panel,
.contact-card {
  background: var(--surface);
}

.contact-top-panel .prose-panel,
.contact-top-panel .prose-panel p,
.contact-card,
.contact-card .section-label,
.contact-card .contact-link,
.contact-card span,
.social-link {
  color: #ffffff;
}

.page-about .page-intro p,
.page-contact .prose-panel p {
  font-style: italic;
}

.page-contact .prose-panel {
  max-width: none;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: none;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 18px;
}

.contact-cards .panel.contact-card {
  overflow: visible;
}

.contact-separator {
  background: var(--accent);
}

.contact-link {
  font-size: 12pt;
}

.social-links {
  display: grid;
  gap: 10px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  border-radius: 0;
  background: transparent;
  text-decoration: none;
  color: #ffffff;
  font-weight: normal;
}

.social-link img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  border-radius: 0;
}

.contact-card .section-label {
  margin-bottom: 2px;
}

.contact-card .contact-link {
  display: inline-block;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 0;
  padding: 22px 26px;
  border-radius: 0;
  background: var(--accent);
}

.site-footer p {
  margin: 0;
  font-weight: bold;
  color: #ffffff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #ffffff;
}

@media (max-width: 920px) {
  .site-header {
    align-items: center;
    flex-wrap: wrap;
  }

  .brand-lockup {
    flex: 1 1 auto;
  }

  .js .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .js .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 12px;
  }

  .js .site-header.nav-open .site-nav {
    display: flex;
  }

  .js .site-nav a {
    width: 100%;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }
}

@media (max-width: 980px) {
  .hero,
  .content-grid-home,
  .content-grid-contact,
  .panel-profile,
  .contact-cards,
  .cta-band,
  .site-footer {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero h1,
  .page-intro h1,
  .title-band h1 {
    max-width: none;
  }

  .hero-image {
    min-height: 0;
  }

  .panel-profile .portrait-frame img {
    max-height: none;
  }

  .home-logo-band img,
  .image-centered-band img,
  .wide-media img {
    width: 100%;
    float: none;
    margin: 0 0 16px 0;
  }

  .page-about .page-intro,
  .page-about .legal-panel,
  .page-about .cta-band-about {
    padding-left: 24px;
    padding-right: 24px;
  }

  .page-about .image-centered-band {
    padding: 0;
  }

  .page-about .image-centered-band img {
    width: 100%;
    max-height: 300px;
  }

  .cta-band-about .cta-line {
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--site-width));
    margin: 10px auto 20px;
  }

  .site-header,
  .panel-body,
  .legal-panel,
  .prose-panel,
  .contact-card,
  .cta-band,
  .site-footer {
    padding: 22px;
  }

  .site-nav {
    gap: 8px;
  }

  .site-nav a {
    padding: 10px 0;
  }

  .hero-text,
  .page-intro p,
  .section-intro,
  .prose-panel p,
  .legal-panel p,
  .detail-list li {
    font-size: 12pt;
  }

  .brand-lockup {
    gap: 10px;
  }

  .brand-mark img {
    width: 118px;
  }

  .brand-kicker {
    font-size: 9pt;
  }

  .home-logo-band img {
    width: min(100%, 280px);
  }

  .title-band {
    padding: 44px 18px;
  }

  .page-about .page-intro,
  .page-about .legal-panel,
  .page-about .cta-band-about,
  .contact-top-panel,
  .contact-card {
    padding: 20px;
  }

  .page-about .image-centered-band img {
    max-height: 230px;
  }

  .cta-band-about h2,
  .hero h1,
  .page-intro h1,
  .title-band h1 {
    font-size: 20pt;
  }

  .site-footer,
  .footer-links {
    width: 100%;
  }
}
