:root {
  color-scheme: light;
  --paper: #ffffff;
  --wash: #f3f6f9;
  --wash-2: #eef3f8;
  --line: #dbe3ec;
  --line-dark: #26354b;
  --ink: #0d1730;
  --ink-2: #14243d;
  --muted: #53657c;
  --muted-2: #879bb5;
  --slate: #34445b;
  --slate-2: #4f6380;
  --navy: #0f172a;
  --navy-2: #111d33;
  --button: #2f4058;
  --shadow: 0 8px 26px rgba(15, 23, 42, 0.08);
  --radius: 4px;
  --page: min(1472px, calc(100% - 56px));
  --header-height: 96px;
  --heading: "Oswald", "Arial Narrow", Impact, sans-serif;
  --body: "DM Sans", Inter, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

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

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  transform: translateY(-140%);
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--paper);
  padding: 10px 14px;
  transition: transform 180ms ease;
}

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

.page-shell {
  width: var(--page);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--header-height);
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(246, 249, 252, 0.92);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.08);
}

.nav-shell {
  width: var(--page);
  height: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 38px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
  color: var(--ink);
}

.brand-logo {
  display: block;
  width: auto;
  object-fit: contain;
}

.brand-logo-header {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(219, 227, 236, 0.9);
  background: var(--paper);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.brand-logo-footer {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(219, 227, 236, 0.9);
  background: var(--paper);
}

.brand-name,
.footer-logo-text {
  color: var(--ink-2);
  font-family: var(--heading);
  font-size: 1.52rem;
  font-weight: 700;
  line-height: 0.94;
  text-transform: uppercase;
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 42px);
  color: var(--slate);
  font-size: 0.94rem;
  font-weight: 600;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  padding-block: 7px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--button);
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 14px 28px;
  font-family: var(--heading);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.header-cta,
.button-dark {
  background: var(--button);
  color: var(--paper);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.14);
}

.button-ghost {
  border-color: rgba(47, 64, 88, 0.42);
  color: var(--paper);
  background: rgba(47, 64, 88, 0.12);
}

.button-light {
  background: var(--paper);
  color: var(--ink);
}

.button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.header-cta:hover,
.header-cta:focus-visible,
.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  background: var(--navy-2);
  color: var(--paper);
}

.button-light:hover,
.button-light:focus-visible {
  background: var(--wash-2);
  color: var(--ink);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  background: #8fb1d1;
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(10px) saturate(0.96);
  transform: scale(1.05);
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(242, 247, 251, 0.98) 0%, rgba(179, 205, 229, 0.72) 42%, rgba(35, 106, 176, 0.4) 100%),
    linear-gradient(180deg, rgba(111, 166, 213, 0.4), rgba(8, 24, 45, 0.28));
}

.hero-content {
  padding-block: clamp(92px, 12vw, 142px) clamp(92px, 12vw, 130px);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  color: var(--slate);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 7px;
  line-height: 1.2;
  text-transform: uppercase;
}

.kicker span {
  width: 32px;
  height: 2px;
  background: currentColor;
}

.kicker-dark {
  color: var(--ink-2);
}

.kicker-light {
  color: #9db5d2;
}

.hero h1,
.about-copy h2,
.split-heading h2,
.section-heading h2,
.contact-section h2 {
  margin: 0;
  font-family: var(--heading);
  font-weight: 700;
  line-height: 1.06;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 860px;
  color: var(--ink);
  font-size: clamp(3.75rem, 5vw, 5.5rem);
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero h1 span:nth-child(n + 2) {
  color: rgba(15, 23, 42, 0.66);
}

.hero-copy {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 36px;
}

.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  z-index: 1;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.42);
}

.scroll-cue svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.section-pad {
  padding-block: clamp(86px, 10vw, 150px);
}

.about {
  background: var(--paper);
}

.about-grid {
  display: block;
}

.about-copy h2,
.split-heading h2,
.section-heading h2 {
  color: var(--ink);
  font-size: clamp(2.7rem, 4.2vw, 4.5rem);
}

.about-copy h2 span,
.split-heading h2 span,
.section-heading h2 span,
.contact-section h2 span {
  color: var(--slate-2);
}

.about-copy > p:not(.kicker) {
  max-width: 850px;
  color: var(--ink-2);
  font-size: 1.04rem;
}

.about-copy strong {
  font-weight: 800;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.value-grid article {
  min-height: 76px;
  display: grid;
  align-content: center;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--wash);
  padding: 18px 22px;
}

.value-grid strong,
.card-kicker,
.benefit-card h3 {
  font-family: var(--heading);
  font-weight: 700;
  text-transform: uppercase;
}

.value-grid strong {
  color: var(--ink);
  font-size: 1.1rem;
}

.value-grid span {
  color: var(--slate);
  font-size: 0.86rem;
}

.services {
  background: var(--wash);
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 40px;
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 74px);
}

.split-heading > p {
  margin: 0 0 14px;
  color: var(--ink-2);
  font-weight: 500;
}

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

.service-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.service-card img {
  width: 100%;
  aspect-ratio: 1.88;
  object-fit: cover;
}

.service-body {
  padding: 28px 28px 30px;
}

.icon-box {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--wash-2);
  color: var(--button);
}

.icon-box svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.card-kicker {
  margin: 22px 0 6px;
  color: var(--slate);
  font-size: 0.8rem;
  letter-spacing: 5px;
}

.service-card h3,
.benefit-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.62rem;
  line-height: 1.12;
}

.service-card p:not(.card-kicker),
.service-card li,
.benefit-card p {
  color: var(--ink-2);
  font-size: 0.96rem;
}

.service-card ul {
  display: grid;
  gap: 6px;
  margin: 28px 0 0;
  padding-left: 18px;
}

.differentials {
  background: var(--paper);
}

.section-heading {
  margin-bottom: clamp(48px, 6vw, 72px);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: clamp(24px, 4vw, 40px);
}

.benefit-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  min-height: 132px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 26px 28px;
}

.benefit-card p {
  margin: 10px 0 0;
}

.contact-section {
  background: var(--navy);
  color: var(--paper);
  padding-block: clamp(96px, 12vw, 170px);
}

.contact-inner {
  display: grid;
  justify-items: center;
  text-align: center;
}

.contact-section h2 {
  max-width: 760px;
  color: var(--paper);
  font-size: clamp(2.7rem, 4.8vw, 5rem);
}

.contact-section p:not(.kicker) {
  max-width: 760px;
  margin: 26px 0 34px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.18rem;
  font-weight: 500;
}

.contact-email {
  margin-top: 34px;
  color: #c9d8ec;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 700;
}

.contact-email:hover,
.contact-email:focus-visible {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.site-footer {
  background: var(--wash-2);
  color: var(--ink);
}

.footer-grid {
  min-height: 116px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 34px;
  align-items: center;
  padding-block: 24px;
}

.footer-brand {
  gap: 10px;
}

.footer-logo-text {
  font-size: 1rem;
  letter-spacing: 3px;
}

.footer-links {
  display: flex;
  gap: 30px;
  color: var(--slate);
  font-size: 0.86rem;
  font-weight: 600;
  text-transform: uppercase;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--ink);
}

.footer-grid p {
  justify-self: end;
  margin: 0;
  color: var(--slate);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

@media (max-width: 1100px) {
  :root {
    --page: min(100% - 38px, 900px);
  }

  .nav-shell {
    grid-template-columns: auto auto;
    justify-content: space-between;
    position: relative;
  }

  .menu-toggle {
    display: grid;
  }

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

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

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

  .header-cta {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: auto;
    width: min(260px, calc(100vw - 28px));
    display: grid;
    gap: 0;
    padding: 8px 18px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.14);
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
    opacity: 0;
    pointer-events: none;
    transition: transform 220ms ease, opacity 220ms ease;
  }

  .nav-links.is-open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

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

  .nav-links a::after {
    display: none;
  }

  .split-heading {
    grid-template-columns: 1fr;
  }

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

  .service-card {
    display: grid;
    grid-template-columns: minmax(260px, 0.82fr) 1fr;
  }

  .service-card img {
    height: 100%;
    aspect-ratio: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-grid p {
    justify-self: center;
  }
}

@media (max-width: 700px) {
  :root {
    --page: min(100% - 28px, 560px);
    --header-height: 82px;
  }

  .brand-name {
    font-size: 1.24rem;
  }

  .brand-logo-header {
    width: 42px;
    height: 46px;
  }

  .hero {
    min-height: calc(100svh - var(--header-height));
  }

  .hero-content {
    padding-block: 72px 96px;
  }

  .kicker {
    gap: 10px;
    font-size: 0.68rem;
    letter-spacing: 4px;
  }

  .kicker span {
    width: 24px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.75rem, 12.5vw, 3.55rem);
  }

  .hero h1 span {
    white-space: normal;
  }

  .hero-copy {
    color: rgba(255, 255, 255, 0.86);
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .button {
    width: 100%;
  }

  .value-grid,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    grid-template-columns: 1fr;
    display: grid;
    overflow: hidden;
    background: var(--paper);
  }

  .service-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.38;
    object-fit: cover;
  }

  .service-body {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 24px 22px 26px;
    background: var(--paper);
  }

  .service-body .icon-box {
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
  }

  .card-kicker {
    margin: 0 0 8px;
    color: var(--slate);
    font-size: 0.72rem;
    letter-spacing: 3px;
    line-height: 1.55;
  }

  .service-card h3 {
    font-size: clamp(1.85rem, 8vw, 2.35rem);
    line-height: 1.12;
  }

  .service-card p:not(.card-kicker),
  .service-card li {
    color: var(--ink-2);
    font-size: 1rem;
    line-height: 1.65;
  }

  .service-card ul {
    gap: 8px;
    margin-top: 20px;
    padding-left: 20px;
  }

  .benefit-card {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 24px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
