:root {
  --navy: #1c355e;
  --navy-deep: #122840;
  --blue: #6a9bc3;
  --steel: #a8b8c8;

  --white: #ffffff;
  --off-white: #f6f7f8;
  --ink: #171d24;
  --body: #4c5562;
  --muted: #788391;
  --line: #d9dee4;

  --font: "Inter Variable", Inter, Arial, Helvetica, sans-serif;
  --width: 78rem;
  --gutter: clamp(1.1rem, 3vw, 2.25rem);
}

/* =========================================================
   BASE
   ========================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--body);
  background: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.7rem, 5vw, 4.7rem);
}

h2 {
  font-size: clamp(2rem, 3.3vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.7rem);
}

p {
  margin-top: 0;
  text-wrap: pretty;
}

summary {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.site-width {
  width: min(calc(100% - (2 * var(--gutter))), var(--width));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 999;
  transform: translateY(-180%);
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--navy-deep);
  text-decoration: none;
}

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

/* =========================================================
   TOP / HEADER
   ========================================================= */

.top-strip {
  color: #e4eaf0;
  background: var(--navy-deep);
  font-size: 0.76rem;
}

.top-strip__inner {
  display: flex;
  min-height: 2rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.top-strip p {
  margin: 0;
}

.top-strip a {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  min-height: 4.15rem;
  align-items: center;
  gap: 1.4rem;
}

.logo {
  color: var(--navy-deep);
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: .09em;
  text-decoration: none;
  white-space: nowrap;
}

.desktop-nav {
  display: none;
}

.desktop-nav > a,
.services-dropdown > summary {
  color: var(--ink);
  font-size: .83rem;
  font-weight: 650;
  text-decoration: none;
}

.services-dropdown {
  position: relative;
}

.services-dropdown > summary {
  list-style: none;
}

.services-dropdown > summary::-webkit-details-marker {
  display: none;
}

.services-dropdown > summary::after {
  content: " ▾";
  color: var(--muted);
  font-size: .7em;
}

.services-dropdown__menu {
  position: absolute;
  top: calc(100% + 1rem);
  left: -1rem;
  width: 25rem;
  padding: .35rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.services-dropdown__menu a {
  display: block;
  padding: .8rem 0;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  font-size: .86rem;
  font-weight: 620;
  text-decoration: none;
}

.services-dropdown__menu a:last-child {
  border-bottom: 0;
}

.header-cta {
  display: none;
  margin-left: .25rem;
  padding: .68rem .9rem;
  color: var(--white);
  background: var(--navy);
  border-radius: 2px;
  font-size: .76rem;
  font-weight: 750;
  text-decoration: none;
}

.header-cta:hover {
  background: var(--navy-deep);
}

.mobile-nav {
  position: relative;
  margin-left: auto;
}

.mobile-nav > summary {
  padding: .55rem .75rem;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: .8rem;
  font-weight: 700;
  list-style: none;
}

.mobile-nav > summary::-webkit-details-marker {
  display: none;
}

.mobile-nav nav {
  position: absolute;
  top: calc(100% + .6rem);
  right: 0;
  width: min(88vw, 22rem);
  padding: .6rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.mobile-nav nav a {
  display: block;
  padding: .8rem 0;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  font-size: .88rem;
  font-weight: 620;
  text-decoration: none;
}

.mobile-nav nav a:last-child {
  border-bottom: 0;
}

/* =========================================================
   HERO — full photograph + centered copy, like reference
   ========================================================= */

.hero {
  position: relative;
  min-height: clamp(31rem, 66vh, 45rem);
  display: grid;
  place-items: center;
  color: var(--white);
  background-color: #263343;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 15, 23, .58);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 58rem;
  padding-block: 5rem;
  text-align: center;
}

.hero h1 {
  max-width: 18ch;
  margin-inline: auto;
  color: var(--white);
  text-shadow: 0 1px 2px rgba(0,0,0,.22);
}

.hero p {
  max-width: 54ch;
  margin: 1.25rem auto 1.8rem;
  color: #f2f4f6;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
}

.hero__cta {
  display: inline-flex;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  padding: .8rem 1.15rem;
  color: var(--ink);
  background: var(--white);
  border-radius: 3px;
  font-size: .86rem;
  font-weight: 750;
  text-decoration: none;
}

.hero__cta:hover {
  background: #eef1f3;
}

/* =========================================================
   INTRO
   ========================================================= */

.intro-section {
  padding-block: clamp(4.5rem, 8vw, 7rem);
}

.narrow-centered {
  max-width: 56rem;
  text-align: center;
}

.narrow-centered h2 {
  max-width: 22ch;
  margin-inline: auto;
  margin-bottom: 1.4rem;
}

.narrow-centered p {
  max-width: 66ch;
  margin-inline: auto;
}

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

/* =========================================================
   SERVICES — photo tiles like reference
   ========================================================= */

.services-section {
  padding-block: 0 clamp(5rem, 8vw, 8rem);
  background: var(--off-white);
}

.section-heading {
  max-width: 52rem;
  margin: 0 auto 2.4rem;
  padding-top: clamp(4rem, 7vw, 6.5rem);
  text-align: center;
}

.section-heading h2 {
  margin-bottom: .8rem;
}

.section-heading p {
  margin-bottom: 0;
}

.section-heading--left {
  max-width: none;
  margin-inline: 0;
  text-align: left;
}

.service-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.4rem);
}

.service-tile {
  position: relative;
  min-height: clamp(22rem, 42vw, 32rem);
  display: flex;
  align-items: end;
  color: var(--white);
  background-color: #45515e;
  background-image: var(--tile-image);
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
}

.service-tile__shade {
  position: absolute;
  inset: 0;
  background: rgba(7, 15, 23, .28);
  transition: background-color .18s ease;
}

.service-tile:hover .service-tile__shade {
  background: rgba(7, 15, 23, .38);
}

.service-tile__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  background: rgba(7, 15, 23, .72);
}

.service-tile h3 {
  margin-bottom: .7rem;
  color: var(--white);
}

.service-tile p {
  margin-bottom: 0;
  color: #f0f3f5;
  font-size: .96rem;
  line-height: 1.55;
}

/* =========================================================
   SPLIT
   ========================================================= */

.split-section {
  padding-block: clamp(5rem, 9vw, 8.5rem);
}

.split-layout {
  display: grid;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.split-copy {
  max-width: 40rem;
}

.split-copy h2 {
  margin-bottom: 1.3rem;
}

.simple-link {
  display: inline-block;
  margin-top: .8rem;
  color: var(--ink);
  font-size: .88rem;
  font-weight: 700;
  text-decoration-thickness: 2px;
}

.split-image {
  margin: 0;
}

.split-image img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 5px;
}

.split-image__placeholder {
  display: flex;
  min-height: 28rem;
  aspect-ratio: 5 / 4;
  flex-direction: column;
  justify-content: end;
  padding: 1.5rem;
  background: #dfe4e8;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.split-image__placeholder span {
  margin-bottom: .35rem;
  color: var(--navy);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
}

.split-image__placeholder p {
  max-width: 32ch;
  margin-bottom: 0;
  color: var(--body);
  font-size: .9rem;
}

/* =========================================================
   DARK PHOTO BAND
   ========================================================= */

.scope-band {
  position: relative;
  color: var(--white);
  background-color: var(--navy-deep);
  background-image: var(--band-image);
  background-size: cover;
  background-position: center;
}

.scope-band__overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 20, 34, .78);
}

.scope-band__content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  padding-block: clamp(4.75rem, 8vw, 7.5rem);
}

.scope-band h2 {
  max-width: 19ch;
  margin-bottom: 1rem;
  color: var(--white);
}

.scope-band__content > div:first-child p {
  max-width: 52ch;
  color: #e6ebef;
}

.scope-points {
  border-top: 1px solid rgba(255,255,255,.25);
}

.scope-points p {
  margin: 0;
  padding: 1rem 0;
  color: #e6ebef;
  border-bottom: 1px solid rgba(255,255,255,.25);
}

.scope-points strong {
  color: var(--white);
}

/* =========================================================
   PROCESS
   ========================================================= */

.process-section {
  padding-block: 0 clamp(5rem, 8vw, 8rem);
}

.process-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.process-list > li > span {
  color: var(--navy);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.process-list h3 {
  margin-bottom: .45rem;
  font-size: 1.15rem;
}

.process-list p {
  max-width: 55ch;
  margin-bottom: 0;
}

/* =========================================================
   ASSESSMENT
   ========================================================= */

.assessment-section {
  padding-block: clamp(4rem, 7vw, 6rem);
  background: var(--off-white);
  border-top: 1px solid var(--line);
}

.assessment-layout {
  display: grid;
  gap: 1.8rem;
  align-items: center;
}

.assessment-layout h2 {
  margin-bottom: .8rem;
}

.assessment-layout p {
  max-width: 52ch;
  margin-bottom: 0;
}

.assessment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem 1.2rem;
  align-items: center;
}

.assessment-primary {
  display: inline-flex;
  min-height: 3.1rem;
  align-items: center;
  padding: .78rem 1rem;
  color: var(--white);
  background: var(--navy);
  border-radius: 3px;
  font-size: .84rem;
  font-weight: 750;
  text-decoration: none;
}

.assessment-primary:hover {
  background: var(--navy-deep);
}

.assessment-phone {
  color: var(--ink);
  font-size: .88rem;
  font-weight: 700;
}

/* =========================================================
   FOOTER — heavy navy like reference
   ========================================================= */

.site-footer {
  padding: clamp(3.5rem, 6vw, 5rem) 0 5.5rem;
  color: #d3dce4;
  background: var(--navy-deep);
}

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

.logo--footer {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-grid > div:first-child p {
  max-width: 38ch;
}

.footer-button {
  display: inline-flex;
  margin-top: .7rem;
  padding: .72rem .9rem;
  color: var(--navy-deep);
  background: var(--white);
  border-radius: 2px;
  font-size: .8rem;
  font-weight: 750;
  text-decoration: none;
}

.site-footer nav,
.footer-location {
  display: grid;
  align-content: start;
  gap: .5rem;
}

.site-footer strong {
  margin-bottom: .3rem;
  color: var(--white);
  font-size: .78rem;
}

.site-footer nav a {
  color: #dbe3e9;
  font-size: .83rem;
  text-decoration: none;
}

.site-footer nav a:hover {
  text-decoration: underline;
}

.footer-location p {
  margin: 0;
  font-size: .83rem;
}

.footer-bottom {
  display: grid;
  gap: .5rem;
  margin-top: 2.7rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,.16);
  font-size: .75rem;
}

.footer-bottom p {
  margin-bottom: 0;
}

/* =========================================================
   MOBILE ACTIONS
   ========================================================= */

.mobile-actions {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 120;
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.mobile-actions a {
  display: grid;
  min-height: 3.5rem;
  place-items: center;
  padding: .65rem;
  color: var(--navy-deep);
  font-size: .8rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.mobile-actions a:first-child {
  color: var(--white);
  background: var(--navy);
}

/* =========================================================
   TABLET
   ========================================================= */

@media (min-width: 48rem) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-layout {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  }

  .scope-band__content {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(3rem, 7vw, 7rem);
    align-items: start;
  }

  .assessment-layout {
    grid-template-columns: minmax(0, 1.15fr) auto;
    gap: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr .72fr .72fr;
  }

  .footer-bottom {
    grid-template-columns: auto 1fr;
    gap: 2rem;
  }

  .footer-bottom p:last-child {
    text-align: right;
  }
}

/* =========================================================
   DESKTOP
   ========================================================= */

@media (min-width: 64rem) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    margin-left: auto;
  }

  .header-cta {
    display: inline-flex;
  }

  .mobile-nav {
    display: none;
  }

  .service-tile {
    min-height: 29rem;
  }

  .process-list li {
    grid-template-columns: 4rem minmax(0, 1fr);
    padding: 1.75rem 0;
  }

  .site-footer {
    padding-bottom: 3rem;
  }

  .mobile-actions {
    display: none;
  }
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 32rem) {
  .top-strip__inner p {
    max-width: 22ch;
  }

  .hero {
    min-height: 34rem;
  }

  .hero h1 {
    max-width: 14ch;
    font-size: clamp(2.55rem, 11vw, 3.35rem);
  }

  .hero__cta {
    width: 100%;
  }

  .service-tile {
    min-height: 24rem;
  }

  .assessment-primary {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

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

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

/* =========================================================
   SITEWIDE QA PATCH — MOBILE UTILITY BAR
   Keeps the service area readable without turning the top strip
   into a three-line block on small screens.
   ========================================================= */

.top-strip__area {
  white-space: nowrap;
}

@media (max-width: 47.99rem) {
  .top-strip__descriptor {
    display: none;
  }

  .top-strip__inner {
    gap: .75rem;
  }

  .top-strip__inner p {
    max-width: none !important;
    white-space: nowrap;
  }
}


/* =========================================================
   SITEWIDE QA PATCH — HOMEPAGE OVERFLOW
   The placeholder's min-height + aspect-ratio forced the page
   wider than the viewport at tablet/mobile sizes.
   ========================================================= */

.split-layout > *,
.split-image {
  min-width: 0;
}

.split-image__placeholder {
  width: 100%;
  min-height: 0;
  aspect-ratio: 5 / 4;
}

@media (min-width: 48rem) and (max-width: 63.99rem) {
  .split-layout {
    grid-template-columns: 1fr;
  }
}

