:root {
  --navy-950: #071b2d;
  --navy-900: #09213b;
  --navy-800: #10273f;
  --navy-700: #183852;
  --steel-600: #087f88;
  --steel-400: #58d3d1;
  --steel-200: #c9f1ef;
  --aqua-100: #dff7f5;
  --aqua-50: #effbf9;
  --royal-700: #184fae;
  --royal-600: #2167d6;
  --ivory-100: #f6f2ef;
  --ivory-50: #fbf9f6;
  --sand-300: #cdbfaf;
  --sand-100: #e9e0d7;
  --white: #ffffff;
  --ink: #142332;
  --muted: #5b6974;
  --line: rgba(16, 39, 63, 0.16);
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --container: min(1280px, calc(100vw - 48px));
  --shadow: 0 26px 70px rgba(7, 27, 45, 0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory-50);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

picture {
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

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

h1,
h2,
h3 {
  color: var(--navy-900);
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.04;
}

h1 {
  font-size: clamp(3.8rem, 8vw, 8.4rem);
}

h2 {
  font-size: clamp(2.8rem, 5.1vw, 5.5rem);
}

h3 {
  font-size: clamp(1.65rem, 2.3vw, 2.35rem);
}

p:last-child {
  margin-bottom: 0;
}

::selection {
  color: var(--white);
  background: var(--steel-600);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy-900);
  transform: translateY(-160%);
}

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

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

.section {
  padding-block: clamp(86px, 11vw, 160px);
}

.section--compact {
  padding-block: clamp(62px, 8vw, 105px);
}

.section--navy {
  color: rgba(255, 255, 255, 0.82);
  background: var(--navy-900);
}

.section--navy h2,
.section--navy h3 {
  color: var(--white);
}

.section--ivory {
  background: var(--ivory-100);
}

.eyebrow {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 26px;
  color: var(--steel-600);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 38px;
  height: 1px;
  content: "";
  background: currentColor;
}

.section--navy .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow {
  color: var(--steel-200);
}

.lede {
  max-width: 720px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.45;
}

.section--navy .lede {
  color: rgba(255, 255, 255, 0.72);
}

.section--navy .section-heading__side,
.section--navy .content-block p,
.section--navy .content-block li {
  color: rgba(255, 255, 255, 0.68);
}

.section--navy .content-block {
  border-top-color: rgba(255, 255, 255, 0.22);
}

.button {
  display: inline-flex;
  min-height: 55px;
  gap: 16px;
  align-items: center;
  justify-content: center;
  padding: 15px 24px;
  border: 1px solid var(--royal-600);
  color: var(--white);
  background: var(--royal-600);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.1;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.button::after {
  content: "→";
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 0;
}

.button:hover,
.button:focus-visible {
  color: var(--royal-700);
  background: transparent;
  transform: translateY(-2px);
}

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

.button--light:hover,
.button--light:focus-visible {
  color: var(--white);
}

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

.button--ghost:hover,
.button--ghost:focus-visible {
  color: var(--navy-900);
  background: var(--white);
}

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

.text-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--navy-900);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link::after {
  content: "↗";
  font-size: 1rem;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--steel-600);
}

.trust-bar {
  position: relative;
  z-index: 51;
  min-height: 36px;
  color: rgba(255, 255, 255, 0.76);
  background: var(--navy-950);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.trust-bar__inner {
  display: flex;
  min-height: 36px;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.trust-bar a {
  color: var(--white);
  text-decoration: none;
}

.trust-bar a:hover,
.trust-bar a:focus-visible {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 3px solid rgba(88, 211, 209, 0.72);
  background: rgba(251, 249, 246, 0.93);
  backdrop-filter: blur(18px);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.site-header.is-scrolled {
  border-color: var(--steel-400);
  box-shadow: 0 12px 35px rgba(7, 27, 45, 0.06);
}

.site-header__inner {
  display: grid;
  min-height: 90px;
  grid-template-columns: minmax(230px, 350px) 1fr auto;
  gap: 34px;
  align-items: center;
}

.brand {
  display: inline-flex;
  width: min(335px, 100%);
  text-decoration: none;
}

.brand img {
  width: 100%;
  height: auto;
}

.site-nav {
  justify-self: end;
}

.site-nav__list {
  display: flex;
  gap: clamp(16px, 2vw, 30px);
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__link {
  position: relative;
  padding-block: 14px;
  color: var(--navy-900);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav__link::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--steel-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.site-nav__link:hover::after,
.site-nav__link:focus-visible::after,
.site-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav__project {
  display: none;
}

.header-cta {
  min-height: 48px;
  padding: 13px 18px;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  color: var(--navy-900);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 220ms ease, opacity 220ms ease;
}

.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(860px, calc(100svh - 126px));
  overflow: hidden;
  color: var(--white);
  background: var(--navy-900);
  isolation: isolate;
}

.hero-slide {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: grid;
  min-height: inherit;
  opacity: 0;
  pointer-events: none;
  transition: opacity 900ms var(--ease);
}

.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}

.hero__media,
.hero__media picture,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__media img {
  object-fit: cover;
  object-position: 50% 49%;
  animation: hero-scale 14s var(--ease) both;
}

.hero__media::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 27, 45, 0.88) 0%, rgba(7, 27, 45, 0.6) 44%, rgba(7, 27, 45, 0.1) 78%),
    linear-gradient(0deg, rgba(7, 27, 45, 0.52) 0%, transparent 45%);
}

@keyframes hero-scale {
  from { transform: scale(1.03); }
  to { transform: scale(1); }
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  width: var(--container);
  max-width: none;
  margin-inline: auto;
  padding-block: clamp(96px, 7vw, 120px) 72px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.hero h1,
.hero__title {
  max-width: 900px;
  margin-bottom: 30px;
  color: var(--white);
  font-size: clamp(4rem, 6vw, 6.8rem);
}

.hero-slider__controls {
  position: absolute;
  z-index: 4;
  top: 34px;
  right: 0;
  left: 0;
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
}

.hero-slider__choice {
  position: relative;
  padding: 0 0 8px;
  border: 0;
  color: rgba(255, 255, 255, 0.58);
  background: transparent;
  cursor: pointer;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  pointer-events: auto;
  text-transform: uppercase;
  transition: color 220ms ease;
}

.hero-slider__choice::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0.25);
  transform-origin: left;
  transition: transform 300ms var(--ease);
}

.hero-slider__choice span {
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.42);
}

.hero-slider__choice:hover,
.hero-slider__choice:focus-visible {
  color: var(--white);
}

.hero-slider__choice.is-active {
  color: var(--steel-400);
}

.hero-slider__choice.is-active::after {
  transform: scaleX(1);
}

.hero__summary {
  max-width: 650px;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.83);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.hero__aside {
  position: absolute;
  z-index: 2;
  right: 36px;
  bottom: 36px;
  display: flex;
  gap: 14px;
  align-items: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero__aside::after {
  width: 1px;
  height: 62px;
  content: "";
  background: rgba(255, 255, 255, 0.45);
}

.proof-strip {
  border-bottom: 1px solid rgba(8, 127, 136, 0.22);
  background: var(--aqua-50);
}

.proof-strip__grid {
  display: grid;
  min-height: 112px;
  grid-template-columns: repeat(3, 1fr);
}

.proof-item {
  display: flex;
  padding: 25px clamp(20px, 3vw, 42px);
  gap: 14px;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--line);
}

.proof-item:last-child {
  border-right: 1px solid var(--line);
}

.proof-item strong {
  color: var(--navy-900);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.85rem);
  font-weight: 400;
  line-height: 1.1;
}

.proof-item span {
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
  gap: clamp(52px, 10vw, 150px);
  align-items: center;
}

.split--reverse {
  grid-template-columns: minmax(360px, 0.75fr) minmax(0, 1.05fr);
}

.split__copy h2 {
  margin-bottom: 30px;
}

.split__copy p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
}

.split__copy .button-row,
.split__copy .text-link {
  margin-top: 34px;
}

.image-frame {
  position: relative;
}

.image-frame::before {
  position: absolute;
  z-index: -1;
  top: -18px;
  right: -18px;
  width: 68%;
  height: 76%;
  content: "";
  border: 1px solid var(--steel-400);
}

.image-frame img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.image-frame__caption {
  position: absolute;
  right: -12px;
  bottom: -22px;
  min-width: 230px;
  padding: 18px 22px;
  color: var(--white);
  background: var(--royal-600);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

.service-card {
  position: relative;
  display: flex;
  min-height: 410px;
  padding: clamp(34px, 4vw, 58px);
  flex-direction: column;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ivory-50);
  box-shadow: inset 0 4px 0 var(--steel-400);
  transition: color 300ms ease, background 300ms ease;
}

.service-card__number {
  margin-bottom: auto;
  color: var(--steel-600);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

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

.section--navy .service-card h3 {
  color: var(--navy-900);
}

.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.service-card .text-link {
  margin-top: 22px;
}

.service-card:hover {
  color: var(--white);
  background: var(--royal-700);
  box-shadow: inset 0 4px 0 var(--steel-400);
}

.service-card:hover h3,
.service-card:hover .text-link {
  color: var(--white);
}

.section--navy .service-card:hover h3 {
  color: var(--white);
}

.client-house-picture img {
  object-position: 50% 45%;
}

.service-card:hover p,
.service-card:hover .service-card__number {
  color: rgba(255, 255, 255, 0.68);
}

.section-heading {
  display: grid;
  margin-bottom: clamp(52px, 8vw, 95px);
  grid-template-columns: 1.15fr 0.7fr;
  gap: 60px;
  align-items: end;
}

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

.section-heading__side {
  max-width: 480px;
  justify-self: end;
  color: var(--muted);
}

.project-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(350px, 0.55fr);
  background: var(--navy-900);
}

.project-feature__media {
  min-height: 680px;
}

.project-feature__media picture,
.project-feature__media img {
  width: 100%;
  height: 100%;
}

.project-feature__media img {
  object-fit: cover;
}

.project-feature__copy {
  display: flex;
  padding: clamp(46px, 6vw, 90px);
  color: rgba(255, 255, 255, 0.75);
  flex-direction: column;
  justify-content: center;
}

.project-feature__copy h3 {
  margin-bottom: 24px;
  color: var(--white);
  font-size: clamp(2.6rem, 4.3vw, 4.8rem);
}

.project-meta {
  display: grid;
  margin: 38px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.project-meta__item {
  display: grid;
  padding: 14px 0;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.78rem;
}

.project-meta__item span:first-child {
  color: var(--steel-400);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-feature .text-link {
  color: var(--white);
}

.photo-mosaic {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  grid-template-rows: 280px 280px;
  gap: 16px;
}

.photo-mosaic__item,
.photo-mosaic__item picture,
.photo-mosaic__item img {
  width: 100%;
  height: 100%;
}

.photo-mosaic__item img {
  object-fit: cover;
}

.photo-mosaic__item:first-child {
  grid-row: 1 / 3;
}

.photo-mosaic__item:nth-child(2) {
  grid-column: 2 / 4;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.process-step {
  padding: 34px clamp(20px, 2.4vw, 36px) 20px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.24);
}

.process-step:not(:first-child) {
  padding-left: clamp(20px, 2.4vw, 36px);
}

.process-step:last-child {
  border-right: 0;
}

.process-step__number {
  display: block;
  margin-bottom: 54px;
  color: var(--steel-400);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.process-step h3 {
  margin-bottom: 14px;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.process-step p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

.process-cta {
  margin-top: 54px;
}

.quote-section {
  overflow: hidden;
  text-align: center;
}

.quote-section blockquote {
  max-width: 1040px;
  margin: 0 auto 34px;
  color: var(--navy-900);
  font-family: var(--serif);
  font-size: clamp(2.7rem, 5.3vw, 6.1rem);
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.quote-section cite {
  color: var(--steel-600);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.license-panel {
  display: grid;
  padding: clamp(36px, 5vw, 68px);
  grid-template-columns: auto 1fr auto;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.license-panel__icon {
  width: 100px;
}

.license-panel__copy h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 3.5vw, 3.7rem);
}

.license-panel__copy p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.64);
}

.cta-band {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--steel-600);
}

.cta-band::before {
  position: absolute;
  top: -190px;
  right: -70px;
  width: 500px;
  height: 500px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
}

.cta-band__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}

.cta-band h2 {
  max-width: 850px;
  margin-bottom: 0;
  color: var(--white);
}

.page-hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-900);
}

.page-hero--text {
  min-height: 490px;
}

.page-hero__media,
.page-hero__media picture,
.page-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-hero__media img {
  object-fit: cover;
}

.page-hero__media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(7, 27, 45, 0.9), rgba(7, 27, 45, 0.42) 68%, rgba(7, 27, 45, 0.16));
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: inherit;
  max-width: 920px;
  padding-block: 100px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.page-hero h1 {
  margin-bottom: 28px;
  color: var(--white);
  font-size: clamp(3.7rem, 7vw, 7.2rem);
}

.page-hero__summary {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}

.page-hero--text::after {
  position: absolute;
  right: -120px;
  bottom: -310px;
  width: 680px;
  height: 680px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.content-grid {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: clamp(60px, 10vw, 150px);
}

.content-grid__aside {
  position: sticky;
  top: 150px;
  align-self: start;
}

.content-grid__aside h2 {
  font-size: clamp(2.4rem, 4vw, 4.2rem);
}

.content-grid__body > * + * {
  margin-top: 72px;
}

.content-block {
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.content-block h3 {
  margin-bottom: 20px;
}

.content-block p,
.content-block li {
  color: var(--muted);
}

.check-list {
  display: grid;
  margin: 26px 0 0;
  padding: 0;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 32px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
}

.check-list li::before {
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 9px;
  height: 1px;
  content: "";
  background: var(--steel-600);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
}

.portfolio-card--wide {
  grid-column: 1 / -1;
}

.portfolio-card picture,
.portfolio-card img {
  width: 100%;
  height: 100%;
}

.portfolio-card img {
  min-height: 520px;
  object-fit: cover;
  opacity: 0.82;
  transition: transform 700ms var(--ease), opacity 400ms ease;
}

.portfolio-card--wide img {
  min-height: 650px;
}

.portfolio-card:hover img {
  opacity: 0.62;
  transform: scale(1.025);
}

.portfolio-card__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 40px;
  color: rgba(255, 255, 255, 0.72);
  background: linear-gradient(0deg, rgba(7, 27, 45, 0.92), transparent);
  box-shadow: inset 0 -4px 0 var(--steel-400);
}

.portfolio-card__caption h2,
.portfolio-card__caption h3 {
  margin-bottom: 10px;
  color: var(--white);
}

.portfolio-card__caption p {
  margin-bottom: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.gallery-grid figure {
  margin: 0;
}

.gallery-grid figure:nth-child(1),
.gallery-grid figure:nth-child(4) {
  grid-column: span 7;
}

.gallery-grid figure:nth-child(2),
.gallery-grid figure:nth-child(3) {
  grid-column: span 5;
}

.gallery-grid img {
  width: 100%;
  min-height: 480px;
  object-fit: cover;
}

.gallery-grid figcaption {
  padding-top: 12px;
  color: var(--muted);
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.commercial-project-grid {
  display: grid;
  margin-top: clamp(42px, 6vw, 78px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.commercial-project-grid--compact {
  margin-top: 54px;
}

.commercial-project-grid--feature {
  margin-top: clamp(38px, 5vw, 64px);
}

.section--commercial-archive {
  padding-top: 0;
}

.commercial-project-card {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 4px solid var(--steel-400);
  background: var(--ivory-50);
  overflow: hidden;
}

.commercial-project-card picture {
  height: clamp(340px, 40vw, 560px);
  overflow: hidden;
}

.commercial-project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}

.commercial-project-card:hover img {
  transform: scale(1.025);
}

.commercial-project-card figcaption {
  display: flex;
  padding: 20px 22px;
  justify-content: space-between;
  gap: 24px;
  align-items: baseline;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.commercial-project-card figcaption strong {
  color: var(--navy-900);
  font-size: 0.78rem;
}

.trusted-clients {
  background: var(--aqua-50);
}

.client-logo-grid {
  display: grid;
  margin-top: clamp(38px, 5vw, 68px);
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.client-logo-card {
  display: grid;
  min-height: 150px;
  padding: 24px 18px;
  place-items: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--white), var(--aqua-50));
}

.client-logo-card img {
  width: min(100%, 220px);
  max-height: 82px;
  object-fit: contain;
  opacity: 0.72;
  filter: grayscale(1) sepia(0.35) hue-rotate(155deg) saturate(1.3) contrast(0.92);
  transition: filter 220ms ease, opacity 220ms ease, transform 220ms ease;
}

.client-logo-card:hover img {
  opacity: 1;
  filter: none;
  transform: translateY(-2px);
}

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

.value-card {
  min-height: 290px;
  padding: 34px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.value-card span {
  display: block;
  margin-bottom: 80px;
  color: var(--steel-600);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.value-card h3 {
  margin-bottom: 14px;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.value-card p {
  color: var(--muted);
  font-size: 0.87rem;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.insight-card {
  padding: 38px;
  border: 1px solid var(--line);
  background: var(--ivory-50);
}

.insight-card__tag {
  display: block;
  margin-bottom: 80px;
  color: var(--steel-600);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.insight-card h2,
.insight-card h3 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 3vw, 3rem);
}

.insight-card p {
  color: var(--muted);
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(500px, 1.1fr);
  gap: clamp(60px, 9vw, 140px);
}

.form-intro {
  align-self: start;
}

.form-intro h2 {
  margin-bottom: 26px;
}

.contact-stack {
  display: grid;
  margin-top: 46px;
  gap: 12px;
}

.contact-stack a {
  color: var(--navy-900);
  font-family: var(--serif);
  font-size: 1.5rem;
  overflow-wrap: anywhere;
}

.contact-license {
  margin-top: 32px;
}

.project-form {
  padding: clamp(32px, 5vw, 64px);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--navy-900);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 54px;
  padding: 13px 14px;
  border: 1px solid rgba(16, 39, 63, 0.25);
  border-radius: 0;
  color: var(--ink);
  background: var(--ivory-50);
  outline: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--steel-600);
  box-shadow: 0 0 0 3px rgba(85, 121, 143, 0.15);
}

.form-field__hint {
  color: var(--muted);
  font-size: 0.78rem;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.form-status {
  margin-bottom: 28px;
  padding: 18px 20px;
  border-left: 3px solid var(--steel-600);
  background: var(--ivory-100);
}

.form-status--error {
  border-color: #984b42;
}

.form-submit {
  margin-top: 30px;
}

.site-footer {
  color: rgba(255, 255, 255, 0.68);
  background: var(--navy-950);
}

.site-footer__cta {
  display: grid;
  padding-block: clamp(70px, 10vw, 135px);
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer__cta h2 {
  max-width: 820px;
  margin-bottom: 0;
  color: var(--white);
}

.site-footer__main {
  display: grid;
  padding-block: 70px;
  grid-template-columns: 1.2fr repeat(3, 0.65fr);
  gap: 60px;
}

.footer-brand > a {
  display: block;
  width: min(390px, 100%);
}

.footer-brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.footer-brand p {
  max-width: 430px;
  margin-top: 30px;
}

.footer-group h3 {
  margin-bottom: 24px;
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 11px;
  list-style: none;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  overflow-wrap: anywhere;
}

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

.site-footer__legal {
  display: flex;
  padding-block: 24px;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}

.site-footer__legal a {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer__credit {
  white-space: nowrap;
}

.site-footer__credit a {
  color: var(--steel-400);
  font-weight: 700;
}

.site-footer__credit a:hover,
.site-footer__credit a:focus-visible {
  color: var(--white);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1120px) {
  .site-header__inner {
    grid-template-columns: minmax(230px, 310px) 1fr auto;
  }

  .site-nav__list {
    gap: 15px;
  }

  .site-nav__link {
    font-size: 0.63rem;
  }

  .header-cta {
    display: none;
  }

  .site-nav__project {
    display: block;
  }

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

  .values-grid .value-card:nth-child(4),
  .values-grid .value-card:nth-child(5) {
    grid-column: span 1;
  }
}

@media (max-width: 960px) {
  :root {
    --container: min(100% - 36px, 760px);
  }

  .trust-bar__inner span:last-child {
    display: none;
  }

  .site-header__inner {
    min-height: 76px;
    grid-template-columns: minmax(210px, 320px) auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    bottom: auto;
    left: 0;
    display: grid;
    width: 100%;
    height: calc(100svh - 70px);
    padding: 38px 24px;
    align-content: start;
    background: var(--ivory-50);
    opacity: 0;
    overflow-y: auto;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 220ms ease, transform 220ms ease;
  }

  .nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .site-nav__list {
    display: grid;
    gap: 0;
  }

  .site-nav__link {
    display: block;
    padding: 17px 2px;
    border-bottom: 1px solid var(--line);
    font-family: var(--serif);
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    text-transform: none;
  }

  .site-nav__link::after {
    display: none;
  }

  .site-nav__project {
    margin-top: 24px;
  }

  .site-nav__project .site-nav__link {
    display: inline-flex;
    width: 100%;
    min-height: 54px;
    padding: 14px 20px;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--navy-900);
    color: var(--white);
    background: var(--navy-900);
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .site-nav__project .site-nav__link::after {
    display: block;
    position: static;
    width: auto;
    height: auto;
    content: "→";
    background: none;
    transform: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero__media::after {
    background: linear-gradient(90deg, rgba(7, 27, 45, 0.87), rgba(7, 27, 45, 0.25)), linear-gradient(0deg, rgba(7, 27, 45, 0.62), transparent 60%);
  }

  .hero__aside {
    display: none;
  }

  .hero-slider__controls {
    top: 24px;
  }

  .proof-strip__grid {
    grid-template-columns: 1fr;
  }

  .proof-item,
  .proof-item:last-child {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .split,
  .split--reverse,
  .section-heading,
  .project-feature,
  .cta-band__inner,
  .content-grid,
  .form-layout,
  .site-footer__cta,
  .site-footer__main {
    grid-template-columns: 1fr;
  }

  .split--reverse .split__copy {
    order: -1;
  }

  .section-heading__side {
    justify-self: start;
  }

  .service-grid,
  .insight-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 330px;
  }

  .project-feature__media {
    min-height: 560px;
  }

  .photo-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 420px 280px;
  }

  .photo-mosaic__item:first-child {
    grid-column: 1 / 3;
    grid-row: auto;
  }

  .photo-mosaic__item:nth-child(2) {
    grid-column: auto;
  }

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

  .process-step {
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  }

  .process-step:nth-child(2n) {
    border-right: 0;
  }

  .license-panel {
    grid-template-columns: auto 1fr;
  }

  .license-panel .button {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .content-grid__aside {
    position: static;
  }

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

  .portfolio-card--wide {
    grid-column: auto;
  }

  .gallery-grid figure:nth-child(n) {
    grid-column: span 6;
  }

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

  .form-layout {
    gap: 48px;
  }

  .site-footer__main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  :root {
    --container: calc(100% - 28px);
  }

  body {
    font-size: 16px;
  }

  .trust-bar {
    letter-spacing: 0.08em;
  }

  .site-header__inner {
    min-height: 70px;
    grid-template-columns: minmax(180px, 270px) auto;
    gap: 16px;
  }

  .site-nav {
    top: 100%;
  }

  .hero {
    min-height: 820px;
  }

  .hero__content {
    padding-block: 104px 58px;
  }

  .hero h1,
  .hero__title,
  .page-hero h1 {
    font-size: clamp(3.3rem, 16vw, 5.3rem);
  }

  .hero-slider__controls {
    top: 20px;
    gap: 18px;
    justify-content: flex-start;
  }

  .hero-slider__choice {
    font-size: 0.58rem;
    letter-spacing: 0.1em;
  }

  .hero-slider__choice span {
    margin-right: 5px;
  }

  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

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

  .image-frame img {
    min-height: 430px;
  }

  .image-frame__caption {
    right: 0;
    bottom: -18px;
  }

  .project-feature__media {
    min-height: 440px;
  }

  .photo-mosaic {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 340px);
  }

  .photo-mosaic__item:first-child,
  .photo-mosaic__item:nth-child(2) {
    grid-column: auto;
  }

  .process-grid,
  .values-grid,
  .form-grid,
  .site-footer__main {
    grid-template-columns: 1fr;
  }

  .process-step,
  .process-step:not(:first-child) {
    padding: 26px 0;
    border-right: 0;
  }

  .process-step__number {
    margin-bottom: 26px;
  }

  .license-panel {
    grid-template-columns: 1fr;
  }

  .license-panel__icon {
    width: 88px;
  }

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

  .page-hero--text {
    min-height: 450px;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .portfolio-card img,
  .portfolio-card--wide img {
    min-height: 480px;
  }

  .portfolio-card__caption {
    padding: 28px;
  }

  .gallery-grid figure:nth-child(n) {
    grid-column: 1 / -1;
  }

  .gallery-grid img {
    min-height: 390px;
  }

  .form-layout {
    display: block;
  }

  .project-form {
    margin-top: 50px;
    padding: 26px 20px;
  }

  .site-footer__main {
    gap: 44px;
  }

  .site-footer__legal {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 960px) {
  .client-logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .commercial-project-grid,
  .client-logo-grid {
    grid-template-columns: 1fr;
  }

  .commercial-project-card picture {
    height: auto;
    aspect-ratio: 1;
  }

  .commercial-project-card figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .client-logo-card {
    min-height: 130px;
  }
}

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

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

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