:root {
  color-scheme: light dark;
  --navy: #0d2b45;
  --navy-deep: #071f33;
  --slate: #4b5563;
  --steel: #9aa3ad;
  --teal: #2c7a7b;
  --copper: #b87333;
  --paper: #ffffff;
  --mist: #f4f6f7;
  --line: #dde2e6;
  --shadow: 0 12px 32px rgba(13, 43, 69, 0.09);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--navy);
  background: var(--paper);
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: .75rem 1rem;
  color: white;
  background: var(--navy);
  border-radius: .25rem;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: relative;
  z-index: 10;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(calc(100% - 3rem), var(--max));
  min-height: 150px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand { flex: 0 1 760px; text-decoration: none; }
.brand picture { display: block; }
.brand img { width: min(100%, 650px); height: auto; }
.site-nav { display: flex; gap: 2rem; align-items: center; }
.site-nav a {
  position: relative;
  padding: .6rem 0;
  color: var(--navy);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .79rem;
  font-weight: 700;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: .25rem;
  height: 2px;
  background: var(--copper);
  transition: right .2s ease;
}
.site-nav a:hover::after,
.site-nav a:focus-visible::after { right: 0; }

.hero {
  position: relative;
  min-height: clamp(520px, 64vw, 720px);
  overflow: hidden;
  isolation: isolate;
}
.hero-media, .hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-media img { object-fit: cover; object-position: center; }
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7,31,51,.97) 0%, rgba(7,31,51,.91) 35%, rgba(7,31,51,.46) 61%, rgba(7,31,51,.12) 100%),
    linear-gradient(0deg, rgba(7,31,51,.15), rgba(7,31,51,.15));
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 3rem), var(--max));
  min-height: inherit;
  margin: 0 auto;
  display: flex;
  align-items: center;
}
.hero-copy { max-width: 660px; padding: 4.25rem 0; color: white; }
.eyebrow {
  margin: 0 0 .65rem;
  color: var(--teal);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero .eyebrow { color: #b7dddd; }
.hero h1 {
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -.03em;
  text-transform: uppercase;
  font-weight: 750;
}
.hero h1 span { color: #e18a45; }
.intro {
  max-width: 590px;
  margin: 1.7rem 0 0;
  color: rgba(255,255,255,.92);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.75;
}
.accent-rule { width: 74px; height: 3px; margin-top: 2rem; background: var(--copper); }

.section { padding: clamp(4rem, 7vw, 7rem) 0; }
.section-inner { width: min(calc(100% - 3rem), var(--max)); margin: 0 auto; }
.section-heading { margin: 0 auto 2.7rem; text-align: center; }
.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.heading-rule { width: 72px; height: 2px; margin: 1rem auto 0; background: var(--copper); }
.services { background: linear-gradient(180deg, #fff 0%, #f6f8f9 100%); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.service-card {
  min-height: 320px;
  padding: 2rem 1.75rem;
  background: rgba(255,255,255,.96);
  border: 1px solid #e5e9ec;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  border-color: #cbd4da;
  box-shadow: 0 17px 40px rgba(13,43,69,.12);
}
.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.3rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
.service-icon.navy { color: var(--navy); }
.service-icon.teal { color: var(--teal); }
.service-icon.slate { color: #68737e; }
.service-icon.copper { color: var(--copper); }
.service-card h3 { margin: 0; font-size: 1.08rem; line-height: 1.38; }
.service-card p { margin: 1rem 0 0; color: var(--slate); font-size: .94rem; line-height: 1.58; }

.photo-band { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--navy); }
.photo-band figure { position: relative; aspect-ratio: 1.28 / 1; margin: 0; overflow: hidden; }
.photo-band figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(7,31,51,.22));
}
.photo-band img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.photo-band figure:hover img { transform: scale(1.035); }

.brand-statement { padding: 3rem 0 3.25rem; background: white; border-bottom: 1px solid var(--line); }
.statement-inner {
  width: min(calc(100% - 3rem), 1080px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: center;
  gap: 2rem;
}
.statement-mark { display: block; width: 82px; }
.statement-mark img { width: 100%; height: auto; }
.statement-copy { padding-left: 2rem; border-left: 1px solid #cfd5da; }
.statement-copy p { margin: 0; }
.statement-copy p:first-child {
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.statement-copy strong { color: var(--navy); }
.statement-copy span { color: var(--teal); }
.statement-copy em { color: var(--copper); font-style: normal; }
.statement-copy p:last-child { margin-top: .4rem; color: var(--slate); }

.site-footer { background: linear-gradient(90deg, var(--navy-deep), var(--navy)); color: white; border-bottom: 3px solid var(--copper); }
.footer-inner {
  width: min(calc(100% - 3rem), var(--max));
  min-height: 94px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.footer-inner p { margin: 0; letter-spacing: .02em; }
.footer-inner p span { margin: 0 .75rem; color: #58aaaa; }
.footer-inner a { color: rgba(255,255,255,.75); font-size: .82rem; text-underline-offset: .2em; }
.footer-inner a:hover, .footer-inner a:focus-visible { color: white; }

.credits-page { min-height: 100vh; display: flex; flex-direction: column; }
.simple-main { flex: 1; width: min(calc(100% - 3rem), 840px); margin: 0 auto; padding: 5rem 0; }
.simple-main h1 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.05; }
.simple-main h2 { margin-top: 2.5rem; }
.simple-main li { margin: 1rem 0; }
.simple-main a { color: var(--teal); text-underline-offset: .2em; }
.back-link { display: inline-block; margin-top: 2rem; font-weight: 700; }

@media (max-width: 1040px) {
  .header-inner { min-height: 132px; }
  .brand img { width: min(100%, 560px); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { min-height: 280px; }
  .photo-band { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .header-inner { width: min(calc(100% - 2rem), var(--max)); min-height: auto; padding: 1rem 0; flex-direction: column; align-items: stretch; gap: .6rem; }
  .brand { flex: none; }
  .brand img { width: 100%; max-width: 560px; }
  .site-nav { justify-content: flex-end; gap: 1.5rem; border-top: 1px solid var(--line); padding-top: .35rem; }
  .hero { min-height: 620px; }
  .hero-inner, .section-inner, .footer-inner { width: min(calc(100% - 2rem), var(--max)); }
  .hero-shade { background: linear-gradient(90deg, rgba(7,31,51,.96), rgba(7,31,51,.73)); }
  .hero-copy { padding: 4rem 0; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .photo-band { grid-template-columns: 1fr 1fr; }
  .statement-inner { width: min(calc(100% - 2rem), 1080px); grid-template-columns: 64px 1fr; gap: 1rem; }
  .statement-mark { width: 58px; }
  .statement-copy { padding-left: 1rem; }
  .footer-inner { min-height: 120px; flex-direction: column; justify-content: center; text-align: center; gap: .45rem; }
  .footer-inner p span { margin: 0 .35rem; }
}

@media (max-width: 460px) {
  .statement-inner { grid-template-columns: 1fr; text-align: center; }
  .statement-mark { margin: 0 auto; }
  .statement-copy { padding: 1rem 0 0; border-left: 0; border-top: 1px solid #cfd5da; }
}


/* Follow the visitor's operating-system theme without altering the photographs or
   brand artwork through blanket inversion. */
@media (prefers-color-scheme: dark) {
  html,
  body {
    background: #081119;
  }

  body {
    color: #e8eff4;
  }

  ::selection {
    color: #ffffff;
    background: #2c7a7b;
  }

  .skip-link {
    color: #081119;
    background: #e8eff4;
  }

  .site-header {
    background: rgba(8, 17, 25, .98);
    border-bottom-color: #263744;
  }

  .brand img {
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .35));
  }

  .site-nav a {
    color: #e8eff4;
  }

  .site-nav a::after {
    background: #d18a49;
  }

  .hero-media img {
    filter: brightness(.88) saturate(.92);
  }

  .hero .eyebrow {
    color: #8ed0d0;
  }

  .hero h1 span {
    color: #e59a57;
  }

  .services {
    background: linear-gradient(180deg, #0a141c 0%, #0f1b25 100%);
  }

  .section-heading h1,
  .section-heading h2,
  .service-card h3,
  .simple-main h1,
  .simple-main h2 {
    color: #eef4f7;
  }

  .eyebrow {
    color: #69bfc0;
  }

  .service-card {
    background: #13212b;
    border-color: #293b48;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .32);
  }

  .service-card:hover {
    border-color: #405867;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .44);
  }

  .service-card p {
    color: #afbdc7;
  }

  .service-icon.navy {
    color: #79a7cf;
  }

  .service-icon.teal {
    color: #5eb8b9;
  }

  .service-icon.slate {
    color: #a5b1bb;
  }

  .service-icon.copper {
    color: #d69250;
  }

  .photo-band {
    background: #07111a;
  }

  .photo-band img {
    filter: brightness(.82) saturate(.88) contrast(1.05);
  }

  .photo-band figure:hover img {
    filter: brightness(.9) saturate(.95) contrast(1.05);
  }

  .brand-statement {
    background: #0b151e;
    border-bottom-color: #263744;
  }

  .statement-copy {
    border-left-color: #344956;
  }

  .statement-copy strong {
    color: #eef4f7;
  }

  .statement-copy span {
    color: #61b7b8;
  }

  .statement-copy em {
    color: #d99452;
  }

  .statement-copy p:last-child {
    color: #afbdc7;
  }

  .site-footer {
    background: linear-gradient(90deg, #050c12, #0a2235);
    border-bottom-color: #c47a39;
  }

  .simple-main,
  .section-inner {
    color: #e8eff4;
  }

  .simple-main a,
  .back-link,
  .section-inner a {
    color: #69c2c3;
  }

  .site-nav {
    border-top-color: #263744;
  }
}

@media (prefers-color-scheme: dark) and (max-width: 460px) {
  .statement-copy {
    border-top-color: #344956;
  }
}

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