:root {
  --blue: #00477f;
  --blue-deep: #01365f;
  --green: #456a43;
  --green-soft: #e8efe5;
  --sand: #f7f3eb;
  --paper: #fffdf8;
  --ink: #172235;
  --muted: #687386;
  --line: rgba(23, 34, 53, 0.12);
  --shadow: 0 24px 70px rgba(10, 29, 50, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(69, 106, 67, 0.16), transparent 32rem),
    radial-gradient(circle at 80% 4rem, rgba(0, 71, 127, 0.10), transparent 30rem),
    var(--paper);
  font-family: "Aptos", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--blue);
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--blue);
  color: white;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 248, 0.86);
  border-bottom: 1px solid rgba(23, 34, 53, 0.08);
  backdrop-filter: blur(20px);
}

.nav-wrap {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(320px, 46vw);
  text-decoration: none;
}

.brand img {
  width: 100%;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.site-nav a {
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(69, 106, 67, 0.10);
  color: var(--ink);
}

.section-pad {
  padding-block: clamp(70px, 8vw, 118px);
}

.section-pad.compact {
  padding-top: 24px;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -10vw 0 auto;
  width: min(760px, 72vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 71, 127, 0.14), rgba(69, 106, 67, 0.08));
  filter: blur(8px);
  transform: translateY(45%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
  color: var(--ink);
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 6.45rem);
  font-weight: 500;
  letter-spacing: -0.055em;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

h3 {
  font-size: 1.28rem;
  letter-spacing: -0.02em;
}

.lead {
  max-width: 640px;
  margin-bottom: 32px;
  color: #435064;
  font-size: clamp(1.08rem, 1.45vw, 1.34rem);
}

.lead-small {
  max-width: 530px;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 760;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 14px 34px rgba(0, 71, 127, 0.24);
}

.button-primary:hover {
  background: var(--blue-deep);
  color: white;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--blue);
  border-color: rgba(0, 71, 127, 0.18);
}

.button-secondary:hover {
  background: white;
  box-shadow: 0 12px 28px rgba(10, 29, 50, 0.10);
}

.hero-card {
  position: relative;
  padding: clamp(18px, 2vw, 28px);
  border: 1px solid rgba(23, 34, 53, 0.10);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-card::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: -18px;
  width: 160px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.logo-panel {
  display: grid;
  place-items: center;
  min-height: 230px;
  padding: clamp(20px, 4vw, 38px);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(247,243,235,0.88));
  border: 1px solid rgba(69, 106, 67, 0.12);
}

.signature-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 15px 4px 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.signature-row strong {
  color: var(--green);
}

.split-card {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 6vw, 72px);
  padding: clamp(26px, 5vw, 56px);
  border: 1px solid rgba(23, 34, 53, 0.10);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 54px rgba(10, 29, 50, 0.08);
}

.prose {
  color: #455166;
  font-size: 1.05rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.muted-section {
  background: linear-gradient(180deg, rgba(232, 239, 229, 0.60), rgba(247, 243, 235, 0.32));
  border-block: 1px solid rgba(23, 34, 53, 0.06);
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.value-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid rgba(23, 34, 53, 0.10);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 48px rgba(10, 29, 50, 0.07);
}

.card-number {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 44px;
  border-radius: 50%;
  background: rgba(0, 71, 127, 0.08);
  color: var(--blue);
  font-weight: 800;
  font-size: 0.86rem;
}

.value-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.service-list {
  display: grid;
  gap: 14px;
}

.service-list > div {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.68);
}

.service-list span {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
  font-weight: 820;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.service-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-section {
  padding-top: 0;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.65fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: stretch;
  padding: clamp(28px, 5vw, 58px);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--blue), #0b5d9c 56%, var(--green));
  color: white;
  box-shadow: var(--shadow);
}

.contact-card h2,
.contact-card .eyebrow {
  color: white;
}

.contact-card p {
  color: rgba(255, 255, 255, 0.80);
  max-width: 620px;
}

.contact-details {
  display: grid;
  gap: 8px;
  padding: 26px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-style: normal;
}

.contact-details strong {
  margin-bottom: 4px;
  font-size: 1.1rem;
}

.contact-details a {
  color: white;
}

.text-link {
  margin-top: 12px;
  font-weight: 760;
}

.site-footer {
  padding-block: 34px;
  background: #0f1b2c;
  color: rgba(255, 255, 255, 0.76);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer strong {
  color: white;
}

.site-footer p {
  margin: 6px 0 0;
  font-size: 0.95rem;
}

.site-footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.86);
}

.legal-main {
  background:
    radial-gradient(circle at 10% 0%, rgba(69, 106, 67, 0.12), transparent 25rem),
    radial-gradient(circle at 80% 4rem, rgba(0, 71, 127, 0.10), transparent 28rem);
}

.legal-card {
  max-width: 860px;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 60px rgba(10, 29, 50, 0.08);
}

.legal-card h1 {
  font-size: clamp(2.5rem, 6vw, 5.4rem);
  margin-bottom: 34px;
}

.legal-card h2 {
  margin-top: 34px;
  margin-bottom: 10px;
  font-family: "Aptos", "Segoe UI", system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 820;
  letter-spacing: -0.02em;
}

.legal-card p {
  color: #455166;
}

.legal-card a {
  color: var(--blue);
}

.updated {
  color: var(--muted);
  font-size: 0.95rem;
}

.notice-box {
  margin-top: 34px;
  padding: 18px 20px;
  border-left: 4px solid var(--green);
  border-radius: 16px;
  background: rgba(69, 106, 67, 0.08);
}

.notice-box strong {
  color: var(--green);
}

.notice-box p {
  margin: 6px 0 0;
}

.error-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding-block: 40px;
}

.reveal {
  animation: rise 720ms ease both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 960px) {
  .nav-wrap {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 18px;
    gap: 12px;
  }

  .brand {
    width: min(340px, 84vw);
  }

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

  .hero-grid,
  .split-card,
  .service-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .value-card {
    min-height: unset;
  }

  .card-number {
    margin-bottom: 24px;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .site-header {
    position: static;
  }

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

  .section-pad {
    padding-block: 58px;
  }

  .section-pad.compact {
    padding-top: 12px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .signature-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .logo-panel {
    min-height: 180px;
  }

  .contact-card,
  .split-card,
  .legal-card {
    border-radius: 24px;
  }
}
