:root {
  --navy: #062850;
  --navy-2: #0b4f93;
  --blue: #0b5cab;
  --light-blue: #eef6ff;
  --line: #cfe1f4;
  --text: #05284d;
  --muted: #58708c;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(6, 40, 80, .14);
  --radius-lg: 30px;
  --radius-md: 22px;
  --container: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  text-rendering: geometricPrecision;
}

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

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

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

.site-header {
  position: absolute;
  z-index: 20;
  top: 22px;
  left: 0;
  width: 100%;
  pointer-events: none;
}

.nav-shell {
  width: min(calc(100% - 48px), var(--container));
  height: 74px;
  margin: 0 auto;
  padding: 9px 14px 9px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 20px 50px rgba(6, 40, 80, .18);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  pointer-events: auto;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  overflow: hidden;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  object-position: center;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
}

.nav-links a {
  transition: color .2s ease, transform .2s ease;
}

.nav-links a:hover {
  color: var(--blue);
  transform: translateY(-1px);
}

.nav-cta,
.button-primary {
  color: #fff !important;
  background: linear-gradient(135deg, #0d62b9, #06498e);
  border: 1px solid rgba(255, 255, 255, .4);
  box-shadow: 0 16px 30px rgba(6, 71, 139, .28);
}

.nav-cta {
  padding: 16px 24px;
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  border: 0;
  background: var(--navy);
  color: #fff;
  border-radius: 999px;
  padding: 12px 16px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
}

.hero {
  position: relative;
  width: 100vw;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url("assets/chicago-acropolis-hero.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.02);
  animation: heroZoom 22s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(4, 31, 62, .84) 0%, rgba(4, 31, 62, .64) 44%, rgba(4, 31, 62, .34) 100%),
    linear-gradient(180deg, rgba(4, 31, 62, .18) 0%, rgba(4, 31, 62, .1) 52%, rgba(4, 31, 62, .72) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 18%;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255,255,255,0), #fff 100%);
}

.hero-inner {
  min-height: 100svh;
  padding: 150px 0 96px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
  align-items: center;
  gap: clamp(32px, 7vw, 120px);
}

.hero-copy {
  max-width: 820px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #d8ebff;
}

.hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(48px, 7.2vw, 108px);
  line-height: .92;
  letter-spacing: -.075em;
  font-weight: 900;
  max-width: 950px;
  text-shadow: 0 8px 34px rgba(0, 0, 0, .34);
}

.hero-text {
  max-width: 620px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, .92);
  font-size: clamp(17px, 1.35vw, 22px);
  line-height: 1.5;
  text-shadow: 0 4px 18px rgba(0,0,0,.26);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 23px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 15px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

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

.button-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px);
}

.stats-card {
  justify-self: end;
  width: min(100%, 390px);
  padding: 30px;
  border-radius: 28px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: 0 30px 80px rgba(5, 32, 68, .22);
  backdrop-filter: blur(18px);
  animation: floatCard 6s ease-in-out infinite;
}

.stat-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.stat-row:first-child {
  padding-top: 0;
}

.stat-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.stat-row strong {
  color: var(--blue);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -.06em;
}

.stat-row span {
  justify-self: end;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.tag-strip {
  width: 100%;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  background: #fff;
}

.tag-strip span {
  border: 1px solid var(--line);
  background: var(--light-blue);
  color: var(--blue);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 900;
}

.section {
  padding: clamp(74px, 8vw, 124px) 0;
}

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

.stack-head {
  max-width: 720px;
  display: block;
  text-align: left;
}

.section h2,
.work-style h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(38px, 5vw, 74px);
  line-height: .94;
  letter-spacing: -.07em;
  font-weight: 900;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: #9ac6ee;
  box-shadow: 0 26px 80px rgba(6, 40, 80, .18);
}

.card-number {
  color: var(--blue);
  font-weight: 900;
  font-size: 17px;
}

.icon-line {
  margin-top: 36px;
  color: var(--blue);
  font-weight: 900;
  font-size: 38px;
  line-height: 1;
}

.service-card h3,
.process-card h3 {
  margin: 22px 0 10px;
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  letter-spacing: -.04em;
}

.service-card p,
.process-card p,
.why-list span,
.work-style p,
.contact-card {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
}

.work-style {
  padding: clamp(74px, 8vw, 122px) 0;
  background: var(--navy-2);
  color: #fff;
}

.work-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .85fr);
  gap: clamp(32px, 8vw, 110px);
  align-items: start;
}

.work-style .section-kicker,
.section-kicker.light {
  color: #cfe6ff;
}

.work-style h2 {
  color: #fff;
  max-width: 760px;
}

.work-style p {
  color: rgba(255, 255, 255, .9);
  max-width: 740px;
  margin-top: 18px;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.industry-grid span {
  min-height: 76px;
  display: flex;
  align-items: center;
  padding: 18px 22px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .32);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 900;
}

.process-section {
  background: #fff;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.process-card {
  border-top: 3px solid var(--blue);
  padding-top: 24px;
}

.process-card span {
  color: var(--blue);
  font-weight: 900;
  font-size: 18px;
}

.why-section {
  background: var(--light-blue);
}

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(480px, 1fr);
  gap: clamp(32px, 8vw, 120px);
  align-items: start;
}

.why-title h2 {
  max-width: 520px;
}

.why-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.why-list div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.why-list strong {
  color: var(--text);
  font-size: 15px;
}

.contact-section {
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(420px, 1fr);
  gap: clamp(32px, 8vw, 120px);
  align-items: start;
}

.contact-copy h2 {
  max-width: 620px;
}

.contact-button {
  margin-top: 28px;
}

.contact-cards {
  display: grid;
  gap: 18px;
}

.contact-card {
  min-height: 96px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.contact-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 900;
}

.contact-card a,
.contact-card strong {
  color: var(--text);
  font-size: 17px;
  font-weight: 900;
  word-break: break-word;
}

.site-footer {
  padding: 24px 0 38px;
  border-top: 1px solid var(--line);
}

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

.footer-inner img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-align: right;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1050px) {
  .hero-inner,
  .work-grid,
  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .stats-card {
    justify-self: start;
  }

  .services-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .site-header {
    top: 12px;
  }

  .nav-shell {
    height: 64px;
    padding: 8px 9px 8px 14px;
    position: relative;
  }

  .brand {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .97);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 14px;
  }

  .nav-cta {
    margin-top: 6px;
    text-align: center;
  }

  .hero {
    min-height: 820px;
  }

  .hero-bg {
    background-image: url("assets/chicago-acropolis-hero-mobile.jpg");
    background-position: center center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(4, 31, 62, .86) 0%, rgba(4, 31, 62, .56) 100%),
      linear-gradient(180deg, rgba(4, 31, 62, .24), rgba(4, 31, 62, .8));
  }

  .hero-inner {
    min-height: 820px;
    padding: 112px 0 70px;
    align-content: center;
  }

  .hero h1 {
    font-size: clamp(48px, 15vw, 72px);
    letter-spacing: -.08em;
  }

  .hero-text {
    font-size: 17px;
  }

  .stats-card {
    width: 100%;
    padding: 22px;
  }

  .stat-row strong {
    font-size: 40px;
  }

  .section {
    padding: 72px 0;
  }

  .services-grid,
  .process-grid,
  .industry-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .process-card {
    padding-bottom: 12px;
  }

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

  .footer-inner p {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero {
    min-height: 790px;
  }

  .hero-inner {
    min-height: 790px;
  }

  .tag-strip {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .tag-strip span {
    flex: 0 0 auto;
  }

  .section h2,
  .work-style h2 {
    font-size: 40px;
  }

  .contact-card a,
  .contact-card strong {
    font-size: 15px;
  }
}
