:root {
  --color-navy: #0a2540;
  --color-navy-deep: #081a2d;
  --color-navy-mid: #1a365f;
  --color-text: #222222;
  --color-text-muted: #4c5864;
  --color-surface: #ffffff;
  --color-surface-soft: #f7f9fb;
  --color-surface-tint: #f2f5f8;
  --color-border: #d7dfe7;
  --color-border-strong: #bcc8d3;
  --color-shadow: rgba(10, 37, 64, 0.05);
  --font-family-base: "Inter", sans-serif;
  --container-width: 72rem;
  --content-width: 44rem;
  --list-width: 52rem;
  --radius-sm: 0.45rem;
  --radius-md: 0.7rem;
  --shadow-sm: 0 10px 22px var(--color-shadow);
  --transition: 180ms ease;
  --skyline-image: url("../City Skyline Night Photo.jpg");
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  font-family: var(--font-family-base);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fafc 48%, #ffffff 100%);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(10, 37, 64, 0.18);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  color: #ffffff;
  background-color: var(--color-navy);
  border-radius: var(--radius-sm);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-200%);
  transition:
    transform var(--transition),
    opacity var(--transition);
}

.skip-link:focus,
.skip-link:focus-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(215, 223, 231, 0.94);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 8rem;
}

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

.brand-lockup__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5.6rem;
  height: 4.65rem;
  padding: 0;
  background-color: #07090c;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 0.08rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  line-height: 0;
  overflow: hidden;
}

.brand-lockup__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  flex-shrink: 0;
  transform: scale(1.82);
  transform-origin: center;
  filter: drop-shadow(0 0 8px rgba(86, 191, 255, 0.08));
}

.brand-lockup__text {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.brand-lockup__name {
  color: var(--color-navy);
  font-size: 1.42rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.brand-lockup__descriptor {
  color: #5d6f82;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1.25;
  text-transform: uppercase;
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.3rem;
  width: 2.95rem;
  height: 2.95rem;
  padding: 0.72rem;
  color: var(--color-navy);
  background-color: #ffffff;
  border: 1px solid var(--color-border-strong);
  border-radius: 0.35rem;
  box-shadow: 0 4px 10px rgba(10, 37, 64, 0.04);
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  transition:
    transform var(--transition),
    opacity var(--transition);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(0.38rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-0.38rem) rotate(-45deg);
}

.site-nav {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 1rem;
  right: 1rem;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.7rem;
  background-color: rgba(255, 255, 255, 0.99);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

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

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.9rem;
  padding: 0.72rem 0.9rem;
  color: #314154;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 0.3rem;
  transition:
    color var(--transition),
    background-color var(--transition);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--color-navy);
  background-color: var(--color-surface-soft);
}

section[id] {
  scroll-margin-top: 6rem;
}

.hero,
.section--image {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero {
  padding: 7.4rem 0 6.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(135deg, rgba(10, 37, 64, 0.62), rgba(26, 54, 95, 0.52)),
    linear-gradient(rgba(12, 31, 58, 0.18), rgba(12, 31, 58, 0.22)),
    var(--skyline-image);
  background-size: cover;
  background-position: center 36%;
}

.hero__inner {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.hero h1 {
  color: #ffffff;
  font-size: clamp(3.4rem, 9vw, 5.7rem);
  line-height: 0.92;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.2);
}

.section-heading h2 {
  color: var(--color-navy);
  font-size: clamp(2.25rem, 6vw, 3.45rem);
  line-height: 1.02;
}

.hero__summary,
.section-copy p,
.service-item p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.85;
}

.hero__summary {
  max-width: 29rem;
  margin: 1.4rem auto 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.04rem;
  letter-spacing: -0.01em;
}

.section {
  padding: 0;
}

.section--surface {
  background-color: transparent;
}

.section--image {
  background:
    linear-gradient(135deg, rgba(10, 37, 64, 0.72), rgba(26, 54, 95, 0.63)),
    linear-gradient(rgba(10, 37, 64, 0.12), rgba(10, 37, 64, 0.18)),
    var(--skyline-image);
  background-size: cover;
  background-position: center 48%;
}

.section-block {
  padding: 5.2rem 0;
  border-bottom: 1px solid rgba(215, 223, 231, 0.92);
}

.section-block--contact {
  padding-bottom: 5.75rem;
}

.section-heading {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.section-copy {
  max-width: var(--content-width);
  margin: 1.85rem auto 0;
  text-align: center;
}

.section-copy--intro {
  margin-top: 1.35rem;
}

.section-copy p {
  color: var(--color-text-muted);
}

.section-copy p + p {
  margin-top: 1rem;
}

.service-list {
  max-width: var(--list-width);
  margin: 2.7rem auto 0;
  border-top: 1px solid var(--color-border);
}

.service-item {
  padding: 1.9rem 0;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.service-item h3 {
  margin: 0 0 0.8rem;
  color: var(--color-navy);
  font-size: 1.14rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.service-item p {
  color: var(--color-text-muted);
}

.section--image .section-block {
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.section--image .section-heading h2,
.section--image .section-copy p,
.section--image .service-item h3,
.section--image .service-item p {
  color: #ffffff;
}

.section--image .section-copy p,
.section--image .service-item p {
  color: rgba(255, 255, 255, 0.86);
}

.section--image .service-list,
.section--image .service-item {
  border-color: rgba(255, 255, 255, 0.18);
}

.contact-email-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.85rem;
  color: var(--color-navy);
  font-size: clamp(1.05rem, 3vw, 1.4rem);
  font-weight: 500;
  line-height: 1.25;
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.16em;
  text-decoration-color: rgba(10, 37, 64, 0.36);
  overflow-wrap: anywhere;
  word-break: break-word;
  transition:
    color var(--transition),
    text-decoration-color var(--transition);
}

.contact-email-link:hover,
.contact-email-link:focus-visible {
  color: var(--color-navy-deep);
  text-decoration-color: var(--color-navy-deep);
}

.section-block--contact {
  text-align: center;
}

.site-footer {
  background-color: transparent;
}

.site-footer__inner {
  display: grid;
  gap: 1rem;
  padding: 1.8rem 0 2.15rem;
  color: var(--color-text-muted);
  font-size: 0.93rem;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.site-footer__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.9rem;
  height: 3.1rem;
  background-color: #07090c;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 0.08rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  line-height: 0;
  overflow: hidden;
}

.site-footer__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  flex-shrink: 0;
  transform: scale(1.82);
  transform-origin: center;
  filter: drop-shadow(0 0 8px rgba(86, 191, 255, 0.08));
}

.site-footer__brand p {
  margin: 0;
  color: var(--color-navy);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-footer__brand span {
  color: var(--color-text-muted);
  font-size: 0.87rem;
}

.site-footer__inner > a {
  color: var(--color-text-muted);
  font-weight: 500;
  word-break: break-word;
}

.scroll-top-button {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  width: 2.85rem;
  height: 2.85rem;
  padding: 0;
  color: var(--color-navy);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  background-color: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--color-border-strong);
  border-radius: 0.35rem;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.5rem);
  transition:
    opacity var(--transition),
    transform var(--transition),
    background-color var(--transition),
    color var(--transition);
}

.scroll-top-button.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top-button:hover,
.scroll-top-button:focus-visible {
  color: #ffffff;
  background-color: var(--color-navy);
  border-color: var(--color-navy);
}

@media (max-width: 30rem) {
  .brand-lockup {
    gap: 0.8rem;
  }

  .brand-lockup__mark {
    width: 4.9rem;
    height: 4rem;
    border-radius: 0.06rem;
  }

  .brand-lockup__logo {
    transform: scale(1.85);
  }

  .brand-lockup__name {
    font-size: 1.22rem;
  }

  .brand-lockup__descriptor {
    font-size: 0.74rem;
    letter-spacing: 0.12em;
  }

  .hero {
    padding-top: 6.4rem;
    padding-bottom: 5.75rem;
  }

  .section-block {
    padding: 4.35rem 0;
  }
}

@media (min-width: 40rem) {
  .site-header__inner {
    min-height: 7.4rem;
  }

  .brand-lockup__mark {
    width: 5.9rem;
    height: 5rem;
  }

  .brand-lockup__logo {
    transform: scale(1.8);
  }

  .brand-lockup__name {
    font-size: 1.68rem;
  }

  .brand-lockup__descriptor {
    font-size: 0.93rem;
  }

  .hero {
    padding: 8.25rem 0 7.25rem;
  }

  .section-block {
    padding: 6.1rem 0;
  }

  .site-footer__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .site-footer__mark {
    width: 4.1rem;
    height: 3.35rem;
  }
}

@media (min-width: 64rem) {
  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.45rem;
    padding: 0;
    background-color: transparent;
    border: 0;
    box-shadow: none;
  }

  .site-nav a {
    min-height: auto;
    padding: 0.45rem 0.72rem;
  }

  .hero h1 {
    font-size: 5.65rem;
  }

  .section-copy {
    margin-top: 2rem;
  }

  .service-item {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.45fr);
    gap: 2rem;
    align-items: start;
    text-align: left;
  }

  .service-item h3 {
    margin-bottom: 0;
    font-size: 1.16rem;
  }
}

@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;
  }
}
