:root {
  --ink: #102b37;
  --ink-soft: #405965;
  --navy: #082632;
  --navy-deep: #051a23;
  --blue: #257d9d;
  --blue-bright: #5bb4d6;
  --gold: #d9a44b;
  --paper: #f6f5f1;
  --white: #ffffff;
  --line: rgba(16, 43, 55, 0.14);
  --shadow: 0 22px 70px rgba(5, 26, 35, 0.14);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shell: min(1180px, calc(100% - 48px));
  --header-height: 92px;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  background: var(--navy-deep);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

svg {
  width: 1.1em;
  height: 1.1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(3.25rem, 7vw, 6.8rem);
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.35rem, 4.5vw, 4.6rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.85rem);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius-sm);
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

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

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  background: rgba(246, 245, 241, 0.95);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 28px rgba(5, 26, 35, 0.08);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 64px;
  height: 54px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.brand span {
  display: flex;
  flex-direction: column;
}

.brand strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.27rem;
  font-weight: 600;
  line-height: 1.1;
}

.brand small {
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.015em;
}

.site-nav > a {
  position: relative;
  padding-block: 10px;
  color: var(--ink-soft);
}

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

.site-nav > a:hover,
.site-nav > a[aria-current="page"] {
  color: var(--ink);
}

.site-nav > a:hover::after,
.site-nav > a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav .nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-left: 6px;
  padding: 11px 17px;
  color: var(--white);
  background: var(--navy);
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  place-items: center;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.menu-close {
  display: none;
}

.home-hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.home-hero-image,
.page-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero-image {
  object-position: 50% 56%;
}

.home-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 26, 35, 0.94) 0%, rgba(5, 26, 35, 0.76) 43%, rgba(5, 26, 35, 0.16) 78%),
    linear-gradient(0deg, rgba(5, 26, 35, 0.72) 0%, transparent 45%);
}

.home-hero-content {
  position: relative;
  z-index: 2;
  padding-block: 110px 180px;
}

.home-hero h1 {
  max-width: 890px;
  margin-bottom: 30px;
  color: var(--white);
}

.home-hero h1 em {
  color: var(--blue-bright);
  font-weight: inherit;
}

.hero-lead {
  max-width: 660px;
  margin-bottom: 38px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  line-height: 1.6;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: var(--blue-bright);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--blue);
}

.button-primary:hover {
  background: #1d6c89;
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.05);
}

.button-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.button-dark {
  color: var(--white);
  background: var(--navy);
}

.button-light {
  color: var(--navy);
  background: var(--white);
}

.hero-proof {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-block: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.23);
}

.hero-proof div {
  display: flex;
  flex-direction: column;
  padding-inline: 30px;
  border-left: 1px solid rgba(255, 255, 255, 0.23);
}

.hero-proof div:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-proof strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 500;
}

.hero-proof span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  padding-block: clamp(80px, 10vw, 140px);
}

.section-tint {
  background: #ebece8;
}

.intro-section {
  padding-block: clamp(95px, 12vw, 170px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
}

.split-intro,
.split-wide {
  align-items: start;
}

.split-intro h2 {
  max-width: 650px;
}

.prose-large {
  padding-top: 34px;
  color: var(--ink-soft);
  font-size: clamp(1.16rem, 2vw, 1.4rem);
}

.prose {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.prose p + p {
  margin-top: 24px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.text-link svg {
  transition: transform 180ms ease;
}

.text-link:hover svg {
  transform: translateX(4px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 54px;
}

.section-heading h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.section-heading .text-link {
  min-width: max-content;
  margin-bottom: 8px;
}

.section-heading-narrow {
  align-items: start;
}

.section-heading-narrow > p {
  max-width: 440px;
  padding-top: 30px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.feature-card {
  min-height: 330px;
  padding: 36px 30px;
  background: rgba(255, 255, 255, 0.48);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.card-number,
.group-index {
  display: block;
  margin-bottom: 70px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.feature-card h3 {
  margin-bottom: 20px;
}

.feature-card p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.visual-card {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.visual-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-card img {
  object-position: 62% 50%;
}

.visual-copy {
  padding-block: 20px;
}

.visual-copy h2 {
  margin-bottom: 28px;
}

.visual-copy > p:not(.eyebrow) {
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 34px;
}

.tag-list span {
  padding: 8px 12px;
  color: var(--ink-soft);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
}

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

.project-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: box-shadow 200ms ease, transform 200ms ease;
}

.project-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.project-card > a {
  display: block;
  height: 100%;
  color: inherit;
}

.project-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #dce1df;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.project-card:hover .project-media img {
  transform: scale(1.035);
}

.project-copy {
  min-height: 180px;
  padding: 27px 26px 29px;
}

.project-copy p {
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-copy h3 {
  margin-bottom: 18px;
  font-size: 1.55rem;
}

.project-copy span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 750;
}

.project-grid-featured .project-copy {
  min-height: 210px;
}

.project-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 42px;
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-detail-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: clamp(40px, 8vw, 110px);
  align-items: end;
  margin-bottom: 52px;
}

.project-detail-heading h2,
.project-detail-heading p {
  margin-bottom: 0;
}

.project-detail-heading > p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.project-gallery-grid {
  margin-bottom: 62px;
}

.project-gallery-item:nth-child(7n + 1),
.project-gallery-item:nth-child(7n + 5) {
  grid-row: auto;
  aspect-ratio: 4 / 3;
}

.project-detail-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.project-detail-nav a {
  display: flex;
  min-height: 145px;
  flex-direction: column;
  justify-content: center;
  padding: 26px 0;
  color: var(--ink);
}

.project-detail-nav a + a {
  align-items: flex-end;
  padding-left: 30px;
  text-align: right;
  border-left: 1px solid var(--line);
}

.project-detail-nav a:only-child:last-child {
  grid-column: 2;
}

.project-detail-nav span {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.project-detail-nav strong {
  max-width: 390px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 500;
}

.cta-section {
  color: var(--white);
  background: var(--navy);
}

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

.cta-inner h2 {
  margin-bottom: 0;
  color: var(--white);
}

.cta-inner .button {
  min-width: max-content;
}

.page-hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 26, 35, 0.88) 0%, rgba(5, 26, 35, 0.55) 55%, rgba(5, 26, 35, 0.16) 100%),
    linear-gradient(0deg, rgba(5, 26, 35, 0.64), transparent 60%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding-block: 100px 75px;
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 22px;
  color: var(--white);
  font-size: clamp(3.2rem, 6vw, 5.9rem);
}

.page-hero-content > p:last-child {
  max-width: 620px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.outcome-grid article {
  min-height: 230px;
  padding: 30px 24px;
  background: rgba(255, 255, 255, 0.46);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.outcome-grid article span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 54px;
  color: var(--blue);
  border: 1px solid var(--line);
  border-radius: 50%;
  place-items: center;
}

.outcome-grid h3 {
  margin-bottom: 0;
  font-size: 1.28rem;
}

.service-groups {
  border-top: 1px solid var(--line);
}

.service-group {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: 60px;
  padding-block: 58px;
  border-bottom: 1px solid var(--line);
}

.service-group > div:first-child {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  align-self: start;
}

.service-group .group-index {
  margin-bottom: 18px;
}

.service-group h3 {
  font-size: 2rem;
}

.service-list {
  display: grid;
  gap: 0;
}

.service-list article {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 18px;
  padding-block: 21px;
  border-bottom: 1px solid var(--line);
}

.service-list article:first-child {
  padding-top: 0;
}

.service-list article:last-child {
  border-bottom: 0;
}

.service-list article > span {
  display: grid;
  width: 30px;
  height: 30px;
  color: var(--blue);
  border: 1px solid var(--line);
  border-radius: 50%;
  place-items: center;
}

.service-list article > span svg {
  width: 15px;
  height: 15px;
}

.service-list p {
  margin-bottom: 2px;
  color: var(--blue);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-list h4 {
  margin-bottom: 0;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.45;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.industry-card {
  min-height: 210px;
  padding: 27px;
  background: rgba(255, 255, 255, 0.58);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.industry-card .card-number {
  margin-bottom: 42px;
}

.industry-card h3 {
  max-width: 290px;
  margin-bottom: 13px;
  font-size: 1.45rem;
}

.industry-card > span:last-child {
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.simple-hero {
  padding-block: clamp(100px, 12vw, 165px) clamp(70px, 9vw, 115px);
  color: var(--white);
  background:
    radial-gradient(circle at 85% 15%, rgba(91, 180, 214, 0.24), transparent 35%),
    var(--navy);
}

.simple-hero h1 {
  max-width: 900px;
  margin-bottom: 22px;
  color: var(--white);
}

.simple-hero > .shell > p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.18rem;
}

.gallery-section {
  background: #eff0ec;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  cursor: zoom-in;
  background: #d8ddda;
  border: 0;
  border-radius: var(--radius-sm);
}

.gallery-item:nth-child(7n + 1),
.gallery-item:nth-child(7n + 5) {
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 220ms ease, transform 400ms ease;
}

.gallery-item span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  width: 42px;
  height: 42px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  opacity: 0;
  place-items: center;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.gallery-item:hover img {
  filter: brightness(0.82);
  transform: scale(1.035);
}

.gallery-item:hover span,
.gallery-item:focus-visible span {
  opacity: 1;
  transform: translateY(0);
}

.lightbox {
  width: min(1050px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-deep);
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.lightbox::backdrop {
  background: rgba(3, 15, 20, 0.88);
  backdrop-filter: blur(8px);
}

.lightbox img {
  width: 100%;
  max-height: calc(100vh - 110px);
  object-fit: contain;
}

.lightbox p {
  margin: 0;
  padding: 14px 22px 18px;
  color: rgba(255, 255, 255, 0.74);
}

.lightbox-close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--navy);
  cursor: pointer;
  background: var(--white);
  border: 0;
  border-radius: 50%;
  place-items: center;
}

.contact-hero {
  padding-bottom: 130px;
}

.contact-section {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: start;
  gap: clamp(50px, 8vw, 110px);
}

.contact-intro {
  max-width: 500px;
  margin-bottom: 38px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.office-grid {
  display: grid;
  gap: 14px;
}

.office-card {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.office-card > span {
  color: var(--blue);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.office-card h3 {
  margin: 6px 0 17px;
  font-size: 1.45rem;
}

.office-card a {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 0.85rem;
  overflow-wrap: anywhere;
}

.office-card a + a {
  margin-top: 7px;
}

.office-card svg {
  min-width: 16px;
  color: var(--blue);
}

.contact-form {
  padding: clamp(26px, 5vw, 50px);
  background: var(--paper);
  border-radius: var(--radius);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form label {
  display: block;
  margin-bottom: 20px;
}

.contact-form label > span {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 15px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 7px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form textarea {
  min-height: 170px;
  resize: vertical;
}

.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(37, 125, 157, 0.14);
}

.form-note,
.form-status {
  margin: 15px 0 0;
  color: var(--ink-soft);
  font-size: 0.75rem;
}

.form-status:not(:empty) {
  color: var(--blue);
  font-weight: 700;
}

.form-status.is-success {
  color: #276d52;
}

.form-status.is-error {
  color: #a13d32;
}

.site-footer {
  padding-top: 80px;
  color: rgba(255, 255, 255, 0.68);
  background: var(--navy-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 0.65fr 1fr;
  gap: 70px;
  padding-bottom: 68px;
}

.brand-light img {
  background: var(--white);
  border-radius: 5px;
  mix-blend-mode: normal;
}

.brand-light strong {
  color: var(--white);
}

.brand-light small {
  color: rgba(255, 255, 255, 0.55);
}

.footer-grid > div:first-child > p {
  max-width: 430px;
  margin: 24px 0 0;
}

.footer-grid h2 {
  margin-bottom: 20px;
  color: var(--white);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-grid > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.footer-grid > div:not(:first-child) a {
  padding-block: 4px;
  font-size: 0.84rem;
}

.footer-grid a:hover,
.footer-bottom a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.72rem;
}

@media (max-width: 1080px) {
  :root {
    --header-height: 82px;
  }

  .site-nav {
    gap: 14px;
    font-size: 0.76rem;
  }

  .site-nav .nav-cta {
    display: none;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .outcome-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-item:nth-child(7n + 1),
  .gallery-item:nth-child(7n + 5) {
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 820px) {
  :root {
    --shell: min(100% - 34px, 680px);
  }

  .site-header {
    background: var(--paper);
    backdrop-filter: none;
  }

  .menu-toggle {
    display: grid;
  }

  .menu-toggle[aria-expanded="true"] .menu-open {
    display: none;
  }

  .menu-toggle[aria-expanded="true"] .menu-close {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 0;
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 28px max(20px, calc((100vw - min(100% - 34px, 680px)) / 2));
    overflow-y: auto;
    background: var(--paper);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

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

  .site-nav > a {
    padding: 16px 4px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.8rem;
    font-weight: 500;
    border-bottom: 1px solid var(--line);
  }

  .site-nav > a::after {
    display: none;
  }

  .site-nav .nav-cta {
    display: inline-flex;
    align-self: start;
    margin: 24px 0 0;
    padding: 15px 22px;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 800;
    border: 0;
  }

  .home-hero {
    min-height: 760px;
  }

  .home-hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 26, 35, 0.93), rgba(5, 26, 35, 0.6)),
      linear-gradient(0deg, rgba(5, 26, 35, 0.75), transparent);
  }

  .home-hero-content {
    padding-block: 90px 200px;
  }

  .home-hero h1 {
    font-size: clamp(3.3rem, 14vw, 5.5rem);
  }

  .hero-proof {
    grid-template-columns: 1fr;
    gap: 11px;
    padding-block: 19px;
  }

  .hero-proof div,
  .hero-proof div:first-child {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: center;
    padding: 0;
    border: 0;
  }

  .hero-proof strong {
    font-size: 1.1rem;
  }

  .split,
  .contact-grid,
  .project-detail-heading {
    grid-template-columns: 1fr;
  }

  .split {
    gap: 45px;
  }

  .prose-large {
    padding-top: 0;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 15px;
  }

  .section-heading .text-link {
    margin-top: 0;
  }

  .section-heading-narrow > p {
    max-width: none;
    padding-top: 0;
  }

  .visual-card {
    min-height: 480px;
  }

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

  .outcome-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-group {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .service-group > div:first-child {
    position: static;
  }

  .service-group .group-index {
    margin-bottom: 8px;
  }

  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    gap: 60px;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 0.7fr;
  }

  .footer-grid > div:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 580px) {
  :root {
    --shell: calc(100% - 28px);
    --header-height: 76px;
  }

  .brand img {
    width: 53px;
    height: 45px;
  }

  .brand strong {
    font-size: 1.08rem;
  }

  .brand small {
    font-size: 0.52rem;
  }

  .home-hero {
    min-height: 730px;
  }

  .home-hero-image {
    object-position: 58% 50%;
  }

  .home-hero-content {
    padding-top: 68px;
  }

  .home-hero h1 {
    margin-bottom: 24px;
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .button-row,
  .button-row .button {
    width: 100%;
  }

  .section {
    padding-block: 76px;
  }

  .feature-grid,
  .project-grid,
  .industry-grid,
  .outcome-grid,
  .gallery-grid,
  .field-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 250px;
  }

  .feature-card .card-number {
    margin-bottom: 45px;
  }

  .visual-card {
    min-height: 390px;
    border-radius: var(--radius);
  }

  .project-copy,
  .project-grid-featured .project-copy {
    min-height: auto;
  }

  .project-detail-nav {
    grid-template-columns: 1fr;
  }

  .project-detail-nav a,
  .project-detail-nav a + a,
  .project-detail-nav a:only-child:last-child {
    grid-column: 1;
    align-items: flex-start;
    padding: 24px 0;
    text-align: left;
    border-left: 0;
  }

  .project-detail-nav a + a {
    border-top: 1px solid var(--line);
  }

  .page-hero {
    min-height: 510px;
  }

  .page-hero-content {
    padding-block: 80px 55px;
  }

  .page-hero h1 {
    font-size: 3.15rem;
  }

  .outcome-grid article {
    min-height: 190px;
  }

  .outcome-grid article span {
    margin-bottom: 34px;
  }

  .industry-card {
    min-height: 180px;
  }

  .gallery-item {
    aspect-ratio: 4 / 3;
  }

  .contact-form {
    padding: 24px 18px;
  }

  .footer-grid {
    gap: 36px;
  }

  .footer-grid > div:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: start;
    flex-direction: column;
    justify-content: center;
    padding-block: 18px;
  }
}

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