:root {
  color-scheme: light;
  font-family: "Manrope", sans-serif;
  background: #faf8ff;
  color: #1a1b21;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(253, 152, 47, 0.12), transparent 32%),
    radial-gradient(circle at top right, rgba(15, 51, 135, 0.1), transparent 36%),
    #faf8ff;
  color: #1a1b21;
  font-family: "Manrope", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-shell {
  --surface: #faf8ff;
  --surface-soft: #f4f3fb;
  --surface-card: rgba(255, 255, 255, 0.88);
  --surface-border: rgba(68, 70, 82, 0.12);
  --text: #1a1b21;
  --text-muted: #4e5060;
  --primary: #0f3387;
  --primary-strong: #173f9d;
  --secondary: #8e4e00;
  --secondary-strong: #fd982f;
  --shadow-lg: 0 24px 60px rgba(15, 51, 135, 0.12);
  --shadow-md: 0 14px 36px rgba(26, 27, 33, 0.08);
  min-height: 100vh;
  color: var(--text);
}

.container {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(244, 243, 251, 0.9), rgba(250, 248, 255, 0.95));
}

.skip-link {
  position: absolute;
  top: -3rem;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
}

.skip-link:focus {
  top: 1rem;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(68, 70, 82, 0.08);
  background: rgba(250, 248, 255, 0.82);
  backdrop-filter: blur(18px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-mark {
  width: 2.75rem;
  height: 2.5rem;
  object-fit: contain;
}

.brand-text,
.section-heading h2,
.hero h1,
.info-card h3,
.footer h2,
.portfolio-label,
.fact-card span {
  font-family: "Space Grotesk", sans-serif;
}

.brand-text {
  color: var(--primary);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  color: var(--text-muted);
}

.topnav a {
  padding-bottom: 0.2rem;
  font-weight: 700;
}

.topnav a:hover,
.topnav a:focus-visible {
  color: var(--primary);
}

.topnav a:focus-visible,
.button:focus-visible,
.social-link:focus-visible,
.portfolio-card:focus-visible,
.contact-list a:focus-visible {
  outline: 2px solid var(--secondary-strong);
  outline-offset: 4px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.9rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
  box-shadow: var(--shadow-md);
}

.button-primary:hover {
  box-shadow: var(--shadow-lg);
}

.button-secondary {
  border-color: rgba(15, 51, 135, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
}

.button-secondary:hover {
  border-color: rgba(15, 51, 135, 0.24);
  background: #fff;
}

.button-compact {
  min-height: 2.75rem;
  padding: 0.8rem 1.15rem;
  border-radius: 0.9rem;
}

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

#hero-net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.7;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero::before {
  top: 4rem;
  right: -8rem;
  width: 24rem;
  height: 24rem;
  background: radial-gradient(circle, rgba(15, 51, 135, 0.14), transparent 68%);
}

.hero::after {
  left: -8rem;
  bottom: -4rem;
  width: 20rem;
  height: 20rem;
  background: radial-gradient(circle, rgba(253, 152, 47, 0.18), transparent 70%);
}

.hero-grid,
.footer-grid {
  display: grid;
  gap: 2.5rem;
}

.hero-grid {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 1.25rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(68, 70, 82, 0.08);
  border-radius: 999px;
  background: rgba(244, 243, 251, 0.9);
}

.eyebrow-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--secondary-strong);
  box-shadow: 0 0 0 0 rgba(253, 152, 47, 0.55);
  animation: pulse-dot 1.8s infinite;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  color: var(--primary);
  letter-spacing: -0.05em;
  line-height: 0.96;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(3.3rem, 8vw, 5.8rem);
}

.hero h1 span {
  color: var(--secondary);
}

.lead,
.section-heading p,
.info-card p,
.portfolio-action,
.footer p,
.detail-list,
.contact-list,
.band-copy {
  color: var(--text-muted);
  line-height: 1.72;
}

.lead {
  max-width: 40rem;
  margin: 1.5rem 0 2rem;
  font-size: 1.09rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-visual {
  position: relative;
  min-height: 28rem;
  padding: 1.25rem 0 2.5rem;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 1rem 2rem 2rem;
  z-index: 0;
  border-radius: 3rem;
  background:
    linear-gradient(145deg, rgba(253, 152, 47, 0.18), rgba(15, 51, 135, 0.08)),
    rgba(255, 255, 255, 0.5);
  transform: rotate(4deg);
}

.hero-card {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 2rem;
  background: #dfe4f5;
  box-shadow: var(--shadow-lg);
}

.hero-card img {
  width: 100%;
  aspect-ratio: 4 / 4.5;
  object-fit: cover;
  transition: opacity 1.2s ease;
}

.hero-card img.hero-fade {
  opacity: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 51, 135, 0.05), rgba(15, 51, 135, 0.4)),
    linear-gradient(135deg, rgba(253, 152, 47, 0.14), transparent 40%);
}


.section-heading {
  display: grid;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  max-width: 14ch;
  font-size: clamp(2.3rem, 4vw, 3.3rem);
}

.section-heading-inline {
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 28rem);
  align-items: end;
}

.section-kicker-light {
  color: rgba(255, 255, 255, 0.72);
}

.cards-grid,
.portfolio-grid,
.facts-grid {
  display: grid;
  gap: 1.3rem;
}

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

.info-card,
.portfolio-card {
  border: 1px solid var(--surface-border);
  background: var(--surface-card);
  box-shadow: var(--shadow-md);
}

.info-card {
  min-height: 100%;
  padding: 2rem;
  border-radius: 1.6rem;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 51, 135, 0.18);
  box-shadow: var(--shadow-lg);
}

.info-card-emphasis {
  background: linear-gradient(180deg, rgba(15, 51, 135, 0.97), rgba(23, 63, 157, 0.96));
  color: #fff;
}

.info-card-emphasis p {
  color: rgba(255, 255, 255, 0.78);
}

.card-icon {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--primary);
  font-size: 2rem;
}

.info-card-emphasis .card-icon {
  color: var(--secondary-strong);
}

.info-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.45rem;
}

.portfolio-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.portfolio-card {
  display: flex;
  min-height: 9.5rem;
  padding: 1.6rem;
  border-radius: 1.4rem;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.portfolio-card:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 51, 135, 0.24);
  box-shadow: var(--shadow-lg);
}

.portfolio-label {
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 700;
}

.portfolio-action {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(253, 152, 47, 0.22), transparent 30%),
    linear-gradient(135deg, #0d2a6e, #123998 52%, #173a87);
}

#band-net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.5;
}

.section-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 2.75rem 2.75rem;
  mask-image: radial-gradient(circle at center, black 32%, transparent 90%);
  opacity: 0.4;
}

.band-panel {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}

.band-panel h2 {
  margin: 1rem auto 0;
  max-width: 12ch;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.3rem, 4vw, 3.5rem);
  letter-spacing: -0.05em;
  line-height: 1;
}

.band-copy {
  max-width: 42rem;
  margin: 1.25rem auto 0;
  color: rgba(255, 255, 255, 0.76);
}

.facts-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.fact-card {
  padding: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.fact-card span {
  display: block;
  margin-bottom: 0.35rem;
  color: #fff;
  font-size: 1.75rem;
  font-weight: 700;
}

.fact-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer {
  border-top: 1px solid rgba(68, 70, 82, 0.08);
}

.footer-grid {
  grid-template-columns: 1.2fr 1fr 1fr;
  align-items: start;
  padding: 4rem 0 2rem;
}

.brand-footer {
  margin-bottom: 1rem;
}

.footer h2 {
  margin: 0 0 1rem;
  color: var(--primary);
  font-size: 1.1rem;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid rgba(15, 51, 135, 0.12);
  border-radius: 999px;
  background: rgba(15, 51, 135, 0.05);
  color: var(--primary);
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.social-link:hover {
  transform: translateY(-2px);
  background: var(--primary);
  color: #fff;
}

.detail-list,
.contact-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-list div,
.contact-list li {
  display: grid;
  gap: 0.15rem;
}

.detail-list dt,
.contact-list span {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.detail-list dd {
  margin: 0;
}

.contact-list a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0 3rem;
  border-top: 1px solid rgba(68, 70, 82, 0.08);
  color: var(--text-muted);
  font-size: 0.95rem;
}

#solutions,
#portfolio,
#contact {
  scroll-margin-top: 6rem;
}

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(253, 152, 47, 0.55);
  }

  70% {
    box-shadow: 0 0 0 0.7rem rgba(253, 152, 47, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(253, 152, 47, 0);
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .section-heading-inline,
  .footer-grid,
  .cards-grid,
  .portfolio-grid,
  .facts-grid {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .section-heading h2,
  .band-panel h2 {
    max-width: none;
  }

  .hero-visual {
    max-width: 42rem;
    margin: 0 auto;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 4rem 0;
  }

  .topbar-inner {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .topnav {
    order: 3;
    width: 100%;
    gap: 1rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(68, 70, 82, 0.08);
    margin-top: 0.5rem;
  }

  .button-compact {
    font-size: 0.85rem;
    min-height: 2.4rem;
    padding: 0.55rem 1rem;
  }

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

  .hero-card img {
    aspect-ratio: 4 / 4.8;
  }

  .info-card,
  .portfolio-card {
    border-radius: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
