:root {
  --navy: #06182d;
  --navy-2: #092744;
  --blue: #075aa8;
  --blue-2: #0c82d9;
  --cyan: #58c7f3;
  --ice: #eef7ff;
  --paper: #ffffff;
  --ink: #102033;
  --muted: #65758a;
  --line: #d8e7f4;
  --shadow: 0 24px 70px rgba(6, 24, 45, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--paper);
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 58px);
  color: var(--paper);
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  padding-block: 12px;
  background: rgba(6, 24, 45, 0.94);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 265px;
  padding: 0;
  background: transparent;
}

.brand img {
  width: 100%;
  filter:
    drop-shadow(0 2px 3px rgba(0, 0, 0, 0.68))
    drop-shadow(0 0 1px rgba(255, 255, 255, 0.55));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 800;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.82);
}

.site-nav a:hover {
  color: var(--paper);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--paper);
}

.hero {
  position: relative;
  min-height: 96vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--paper);
  background: var(--navy);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 62% center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(4, 16, 31, 0.96) 0%, rgba(4, 16, 31, 0.82) 44%, rgba(4, 16, 31, 0.22) 100%),
    linear-gradient(0deg, rgba(4, 16, 31, 0.72), rgba(4, 16, 31, 0.02) 48%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(770px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 100px);
  padding-top: 88px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  color: var(--navy);
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  color: var(--navy);
  font-size: 23px;
  line-height: 1.16;
}

.hero-copy {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.48;
}

.hero-actions,
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

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

.button-primary:hover {
  background: var(--blue-2);
}

.button-secondary {
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary.dark {
  color: var(--navy);
  border-color: var(--line);
  background: var(--paper);
}

.hero-panel {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: clamp(18px, 5vw, 58px);
  z-index: 2;
  width: min(360px, calc(100% - 36px));
  padding: 24px;
  border-left: 4px solid var(--cyan);
  background: rgba(6, 24, 45, 0.82);
  backdrop-filter: blur(16px);
}

.hero-panel span,
.hero-panel strong {
  display: block;
}

.hero-panel span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.hero-panel strong {
  margin-top: 8px;
  font-size: 24px;
  line-height: 1.1;
}

.hero-panel p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  color: var(--paper);
  background: var(--blue);
}

.proof-strip span {
  display: grid;
  min-height: 82px;
  place-items: center;
  padding: 18px;
  font-weight: 900;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.section {
  padding: clamp(72px, 9vw, 124px) clamp(18px, 5vw, 78px);
}

.split,
.section-title-row,
.trust {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(34px, 7vw, 96px);
}

.lead-copy p,
.section-title-row p,
.trust-copy p,
.contact-card p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 52px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.value-grid article {
  min-height: 180px;
  padding: 28px;
  background: var(--paper);
}

.value-grid strong,
.value-grid span,
.trust-points strong,
.trust-points span {
  display: block;
}

.value-grid strong {
  color: var(--blue);
  font-size: 25px;
}

.value-grid span {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.55;
}

.services {
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(6, 24, 45, 0.98), rgba(9, 39, 68, 0.96)),
    var(--navy);
}

.services h2,
.services h3 {
  color: var(--paper);
}

.services .section-title-row p {
  color: rgba(255, 255, 255, 0.72);
}

.service-list {
  display: grid;
  gap: 1px;
  margin-top: 40px;
  background: rgba(255, 255, 255, 0.14);
}

.service-item {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 24px;
  padding: clamp(24px, 4vw, 36px);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
}

.service-item > span {
  color: var(--cyan);
  font-size: 28px;
  font-weight: 900;
}

.service-item p {
  max-width: 980px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.58;
}

.image-band {
  position: relative;
  min-height: 540px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: clamp(28px, 6vw, 74px);
  color: var(--paper);
  background: var(--navy);
}

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

.image-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(4, 16, 31, 0.86), rgba(4, 16, 31, 0.08));
}

.image-band div {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.image-band h2 {
  margin: 0;
  color: var(--paper);
}

.work {
  background: var(--ice);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 275px;
  gap: 16px;
  margin-top: 40px;
}

.work-card {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background: var(--navy);
  box-shadow: 0 16px 42px rgba(6, 24, 45, 0.12);
}

.work-card.featured {
  grid-column: span 2;
  grid-row: span 2;
}

.work-card.tall {
  grid-row: span 2;
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.work-card:hover img {
  transform: scale(1.05);
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 16, 31, 0.02), rgba(4, 16, 31, 0.88));
}

.work-card div {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
}

.work-card strong,
.work-card span {
  display: block;
}

.work-card strong {
  font-size: 20px;
  line-height: 1.1;
}

.work-card span {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  line-height: 1.35;
}

.trust {
  align-items: start;
  background: var(--paper);
}

.trust-copy p {
  max-width: 700px;
}

.trust-points {
  display: grid;
  gap: 12px;
}

.trust-points div {
  padding: 20px;
  border-left: 4px solid var(--blue);
  background: #f6fbff;
}

.trust-points strong {
  color: var(--navy);
  font-size: 19px;
}

.trust-points span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.48;
}

.contact {
  padding-top: 0;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 34px;
  align-items: center;
  padding: clamp(30px, 5vw, 62px);
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(6, 24, 45, 0.98), rgba(7, 90, 168, 0.92)),
    var(--navy);
}

.contact-card h2 {
  margin-bottom: 18px;
  color: var(--paper);
}

.contact-card p {
  max-width: 690px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.75);
}

.contact-info {
  margin-top: 0;
  flex-direction: column;
  align-items: stretch;
}

.contact-info span {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.45;
}

.site-footer {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 26px clamp(18px, 5vw, 78px);
  color: rgba(255, 255, 255, 0.74);
  background: #04101f;
}

.site-footer img {
  width: 160px;
  filter:
    drop-shadow(0 2px 3px rgba(0, 0, 0, 0.68))
    drop-shadow(0 0 1px rgba(255, 255, 255, 0.55));
}

.photo-editor {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  width: min(390px, calc(100vw - 36px));
  max-height: min(720px, calc(100vh - 36px));
  display: grid;
  gap: 12px;
  overflow: auto;
  padding: 16px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.photo-editor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.photo-editor-header strong {
  color: var(--navy);
  font-size: 20px;
}

.photo-editor-header button {
  width: 34px;
  height: 34px;
  border: 0;
  color: var(--paper);
  font-size: 24px;
  line-height: 1;
  background: var(--navy);
  cursor: pointer;
}

.photo-editor label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.photo-editor select {
  min-height: 42px;
  padding: 0 10px;
  color: var(--ink);
  border: 1px solid var(--line);
  background: #f6fbff;
}

.photo-editor-active {
  padding: 12px;
  border-left: 4px solid var(--blue);
  background: #f6fbff;
}

.photo-editor-active span,
.photo-editor-active strong {
  display: block;
}

.photo-editor-active span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.photo-editor-active strong {
  margin-top: 6px;
  word-break: break-word;
}

.photo-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.photo-editor-grid button {
  display: grid;
  gap: 6px;
  padding: 6px;
  border: 2px solid transparent;
  color: var(--ink);
  text-align: left;
  background: #f6fbff;
  cursor: pointer;
}

.photo-editor-grid button.is-selected {
  border-color: var(--blue);
  background: var(--blue-100, #eaf5ff);
}

.photo-editor-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.photo-editor-grid span {
  font-size: 11px;
  line-height: 1.2;
  word-break: break-word;
}

.photo-editor-copy {
  min-height: 42px;
  border: 0;
  color: var(--paper);
  font-weight: 900;
  background: var(--blue);
  cursor: pointer;
}

.photo-editor pre {
  overflow-x: auto;
  margin: 0;
  padding: 12px;
  color: #dff3ff;
  background: var(--navy);
  white-space: pre-wrap;
}

.photo-editor-highlight {
  outline: 5px solid var(--cyan);
  outline-offset: -5px;
}

@media (max-width: 1120px) {
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .proof-strip,
  .value-grid,
  .split,
  .section-title-row,
  .trust,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    z-index: 2;
    margin: 24px 18px 32px;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand {
    width: 170px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    background: rgba(6, 24, 45, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 15px;
  }

  .hero {
    min-height: 92vh;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(4, 16, 31, 0.96), rgba(4, 16, 31, 0.64));
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 0 18px;
  }

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

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

  .work-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 310px;
  }

  .work-card.featured,
  .work-card.tall {
    grid-column: auto;
    grid-row: auto;
  }

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