:root {
  --brand-blue: #225ca8;
  --brand-blue-dark: #123f78;
  --ink: #111827;
  --muted: #5d6878;
  --line: #dbe7f6;
  --surface: #ffffff;
  --wash: #f5f9ff;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--wash);
}

body {
  min-height: 100vh;
  margin: 0;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top, rgba(34, 92, 168, 0.11), transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, var(--wash) 100%);
}

.home-page {
  background:
    radial-gradient(circle at 16% 16%, rgba(34, 92, 168, 0.18), transparent 28rem),
    radial-gradient(circle at 84% 18%, rgba(34, 197, 94, 0.14), transparent 22rem),
    radial-gradient(circle at 52% 92%, rgba(249, 115, 22, 0.1), transparent 30rem),
    linear-gradient(180deg, #ffffff 0%, #f3f8ff 45%, #eaf3ff 100%);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 78px;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(219, 231, 246, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.header-logo {
  display: block;
  width: 150px;
  max-width: 44vw;
  height: auto;
}

.page-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: calc(78px + clamp(2rem, 5vw, 5rem)) 1.25rem clamp(2rem, 5vw, 5rem);
}

.home-hero {
  position: relative;
  width: min(100%, 1120px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: center;
}

.home-hero::after {
  content: "";
  position: absolute;
  right: -3rem;
  top: 50%;
  z-index: -1;
  width: min(44vw, 430px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 40%, rgba(255, 255, 255, 0.82), transparent 28%),
    conic-gradient(from 160deg, rgba(34, 92, 168, 0.22), rgba(22, 163, 74, 0.2), rgba(249, 115, 22, 0.18), rgba(34, 92, 168, 0.22));
  filter: blur(1px);
  transform: translateY(-50%);
  opacity: 0.72;
}

.intro {
  width: min(100%, 760px);
  text-align: center;
}

.home-hero .intro {
  position: relative;
  width: min(100%, 920px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 350px;
  padding: clamp(1rem, 3vw, 2rem) 0;
  text-align: left;
}

.home-hero .intro::before {
  content: "";
  position: absolute;
  inset: 8% auto auto -2rem;
  width: 7px;
  height: 72%;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand-blue), #16a34a, #f97316);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  margin: 0 0 1rem;
  padding: 0 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--brand-blue-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 720px;
  margin: 0 auto;
  color: var(--ink);
  font-size: clamp(2.05rem, 5vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.home-hero h1 {
  margin: 0;
  font-size: clamp(2.55rem, 6.5vw, 5.25rem);
  line-height: 0.98;
}

.summary {
  max-width: 650px;
  margin: 1.25rem auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.16rem);
  line-height: 1.75;
}

.home-hero .summary {
  margin-left: 0;
  margin-right: 0;
}

.contact-panel {
  width: min(100%, 860px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(34, 92, 168, 0.14);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(236, 253, 245, 0.92), rgba(239, 246, 255, 0.92)),
    rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 44px rgba(18, 63, 120, 0.1);
}

.contact-avatar {
  width: 56px;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 28%;
  border: 3px solid #ffffff;
  box-shadow: 0 10px 24px rgba(18, 63, 120, 0.16);
}

.contact-kicker {
  display: block;
  margin-bottom: 0.22rem;
  color: #087443;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-panel h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.25rem, 2.6vw, 1.65rem);
  line-height: 1.12;
}

.contact-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #16a34a, #0f8b7e);
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(22, 163, 74, 0.26);
}

.contact-button:hover {
  background: linear-gradient(135deg, #15803d, #0f766e);
}

@media (min-width: 901px) {
  .page-shell {
    place-items: center;
    padding-inline: clamp(2rem, 5vw, 5rem);
  }

  .home-hero {
    width: min(100%, 1180px);
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: clamp(2rem, 5vw, 4rem);
  }

  .home-hero .intro {
    min-height: 460px;
    padding-block: 3.5rem;
  }

  .home-hero .intro::before {
    left: -2.25rem;
    width: 8px;
  }

  .home-hero h1 {
    max-width: 840px;
    font-size: clamp(4.25rem, 6vw, 6rem);
  }

  .home-hero .summary {
    max-width: 710px;
    font-size: 1.18rem;
  }

  .contact-panel {
    width: 100%;
    grid-template-columns: 1fr;
    justify-items: start;
    align-self: center;
    padding: 2rem;
    border-radius: 32px;
    background:
      radial-gradient(circle at 100% 0%, rgba(34, 197, 94, 0.22), transparent 13rem),
      radial-gradient(circle at 0% 100%, rgba(249, 115, 22, 0.16), transparent 12rem),
      rgba(255, 255, 255, 0.92);
    box-shadow: 0 26px 80px rgba(18, 63, 120, 0.14);
  }

  .contact-avatar {
    width: 72px;
    margin-bottom: 0.35rem;
  }

  .contact-panel h2 {
    font-size: 2.35rem;
  }

  .contact-panel p {
    margin-top: 0.25rem;
    font-size: 1.02rem;
    line-height: 1.7;
  }

  .contact-button {
    width: 100%;
    margin-top: 0.4rem;
  }
}

@media (max-width: 900px) {
  .home-hero::after {
    display: none;
  }

  .home-hero .intro {
    min-height: auto;
  }

  .contact-panel {
    grid-template-columns: auto minmax(0, 1fr);
    border-radius: 24px;
  }

  .contact-panel p,
  .contact-button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 540px) {
  .site-header {
    min-height: 68px;
  }

  .header-logo {
    width: 128px;
  }

  .page-shell {
    place-items: start center;
    padding-top: calc(68px + 1.25rem);
  }

  .home-hero .intro {
    padding: 1.35rem 0;
  }

  .home-hero .intro::before {
    inset: 0 auto auto 0;
    width: 100%;
    height: 5px;
  }

  .contact-panel {
    padding: 1rem;
    border-radius: 18px;
  }

  .contact-avatar {
    width: 48px;
  }

  .eyebrow {
    font-size: 0.72rem;
  }
}
