@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&family=Saira+Condensed:wght@500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #eaf0f7;
  --surface: #ffffff;
  --surface-soft: #f5f8fc;
  --surface-elevated: #fbfdff;
  --card: #ffffff;
  --border: #cfdbe8;
  --primary: #1f5f99;
  --primary-strong: #164975;
  --accent: #cf8a4a;
  --ink: #0f2438;
  --muted: #51657a;
  --dark: #12253a;
  --dark-card: #1d334c;
  --light: #dbe7f3;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1160px;
  --shadow-soft: 0 10px 26px rgba(10, 28, 47, 0.08);
  --shadow-card: 0 22px 44px rgba(10, 28, 47, 0.14);
  --ring: 0 0 0 3px rgba(31, 95, 153, 0.2);
  --transition: 220ms ease;
}

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", "Manrope", "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% -8%, #ffffff 0, rgba(255, 255, 255, 0) 32%),
    radial-gradient(circle at 88% 0%, rgba(174, 202, 229, 0.45) 0, rgba(174, 202, 229, 0) 28%),
    linear-gradient(180deg, #f3f7fc 0%, var(--bg) 45%, #e6edf6 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.22;
  background-image: radial-gradient(rgba(32, 77, 120, 0.09) 1px, transparent 1px);
  background-size: 22px 22px;
}

main {
  overflow: clip;
}

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

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(18, 47, 74, 0.1);
  background: rgba(240, 246, 252, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 20px rgba(11, 27, 44, 0.06);
  transition: background 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  transition: min-height 320ms cubic-bezier(0.22, 1, 0.36, 1), gap 320ms cubic-bezier(0.22, 1, 0.36, 1), padding 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
  transition: gap 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(22, 73, 117, 0.22);
  box-shadow: 0 8px 18px rgba(18, 47, 74, 0.18);
  transition: width 320ms cubic-bezier(0.22, 1, 0.36, 1), height 320ms cubic-bezier(0.22, 1, 0.36, 1), border-radius 320ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.brand-title {
  display: inline-flex;
  align-items: center;
  color: #11304b;
  font-family: "Saira Condensed", "Arial Narrow", sans-serif;
  font-size: 1.46rem;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: font-size 320ms cubic-bezier(0.22, 1, 0.36, 1), letter-spacing 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.header-phone {
  margin-left: auto;
  padding: 8px 12px;
  border: 1px solid rgba(22, 73, 117, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #2e4056;
  font-family: "Saira Condensed", "Arial Narrow", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.015em;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition), border-color var(--transition), background var(--transition), font-size 320ms cubic-bezier(0.22, 1, 0.36, 1), padding 320ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
}

.header-phone:hover {
  color: var(--primary-strong);
  border-color: rgba(22, 73, 117, 0.32);
  background: #ffffff;
}

.mobile-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(22, 73, 117, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  color: #123553;
  cursor: pointer;
}

.mobile-menu-toggle-line {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  border-radius: 99px;
  background: currentColor;
  transition: transform var(--transition), opacity var(--transition);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: padding 320ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 320ms cubic-bezier(0.22, 1, 0.36, 1), background 320ms cubic-bezier(0.22, 1, 0.36, 1), border-color 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-nav a {
  text-decoration: none;
  color: #2e4056;
  font-family: "Saira Condensed", "Arial Narrow", sans-serif;
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.012em;
  padding: 9px 14px;
  border-radius: 999px;
  transition: background var(--transition), color var(--transition), font-size 320ms cubic-bezier(0.22, 1, 0.36, 1), padding 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header.is-compact {
  background: rgba(240, 246, 252, 0.94);
  border-bottom-color: rgba(18, 47, 74, 0.14);
  box-shadow: 0 10px 22px rgba(11, 27, 44, 0.08);
}

.site-header.is-compact .header-inner {
  min-height: 30px;
  gap: 8px;
}

.site-header.is-compact .brand {
  gap: 5px;
}

.site-header.is-compact .brand img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  box-shadow: 0 6px 14px rgba(18, 47, 74, 0.14);
}

.site-header.is-compact .brand-title {
  font-size: 0.96rem;
  letter-spacing: 0.008em;
}

.site-header.is-compact .header-phone {
  padding: 0;
  font-size: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  border-width: 0;
}

.site-header.is-compact .site-nav {
  padding: 1px;
}

.site-header.is-compact .site-nav a {
  padding: 2px 6px;
  font-size: 0.74rem;
}

a:focus-visible,
button:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

.site-nav a:hover {
  color: var(--primary-strong);
  background: rgba(31, 95, 153, 0.1);
}

.site-nav a.active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
  box-shadow: 0 10px 18px rgba(22, 73, 117, 0.25);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #ffffff;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
  box-shadow: 0 12px 24px rgba(19, 61, 96, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 14px 26px rgba(19, 61, 96, 0.28);
}

.btn-secondary {
  color: #1b2d42;
  border: 1.5px solid #b6c8dc;
  background: var(--surface);
  padding: 12px 20px;
}

.btn-secondary:hover {
  border-color: #8eafce;
  background: #f6faff;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 8vw, 92px) 0 10px;
}

.hero::after {
  content: "";
  position: absolute;
  top: -230px;
  right: -190px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(159, 194, 226, 0.5) 0%, rgba(159, 194, 226, 0) 72%);
  z-index: -1;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(234, 240, 247, 0) 0%, rgba(234, 240, 247, 0.72) 100%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  gap: 42px;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 470px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(31, 95, 153, 0.1);
  color: #32567a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 18px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.2rem, 4.3vw, 3.9rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
}

.hero p {
  margin: 0 0 0px;
  max-width: 64ch;
  color: var(--muted);
  font-size: 1.04rem;
}

.hero-home {
  --home-hero-title-width: clamp(21rem, 58vw, 36rem);
}

.hero-home-copy {
  width: var(--home-hero-title-width);
  max-width: 100%;
}

.hero-home-title {
  max-width: none;
}

.hero-home-eyebrow {
  display: flex;
  width: 100%;
  justify-content: center;
  white-space: nowrap;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.hero-media {
  position: relative;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: -12px;
  z-index: -1;
  border: 1px solid rgba(22, 73, 117, 0.22);
  border-radius: var(--radius-lg);
  transform: rotate(-1.8deg);
}

.hero-media img {
  width: 100%;
  display: block;
  border-radius: 22px;
  border: 1px solid rgba(16, 33, 53, 0.12);
  box-shadow: var(--shadow-card);
}

.section {
  padding: clamp(34px, 6vw, 72px) 0;
  scroll-margin-top: 110px;
}

.section h2 {
  margin: 0 0 18px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.9rem, 3.2vw, 3.05rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.cards {
  display: grid;
  gap: 18px;
}

.cards.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--card) 0%, var(--surface-elevated) 100%);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  border-color: #c2d6ea;
  box-shadow: var(--shadow-card);
}

.card h3 {
  margin: 0 0 9px;
  font-size: 1.32rem;
  line-height: 1.25;
  color: #162a40;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.services-lead {
  margin: 0 0 20px;
  max-width: 72ch;
  color: var(--muted);
}

.services-catalog .cards {
  gap: 20px;
}

.services-catalog .card {
  position: relative;
  overflow: hidden;
  border-color: #c7d7e7;
  background:
    radial-gradient(circle at 92% 8%, rgba(169, 198, 224, 0.24) 0%, rgba(169, 198, 224, 0) 34%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 14px 30px rgba(12, 31, 50, 0.1);
}

.services-catalog .card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #1f5f99 0%, #2d74b4 55%, #cf8a4a 100%);
}

.service-card {
  padding: 24px;
  padding-bottom: 20px;
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.45rem;
}

.service-card p {
  margin-bottom: 14px;
}

.service-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.service-list li {
  position: relative;
  padding: 8px 12px 8px 30px;
  border: 1px solid rgba(164, 187, 211, 0.4);
  border-radius: 10px;
  background: rgba(245, 250, 255, 0.9);
  color: #304860;
  line-height: 1.45;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #1f5f99 0%, #164975 100%);
}

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

.service-fit .cards {
  gap: 20px;
}

.service-fit .card {
  position: relative;
  overflow: hidden;
  border-color: #c6d6e7;
  background:
    radial-gradient(circle at 92% 8%, rgba(169, 198, 224, 0.24) 0%, rgba(169, 198, 224, 0) 34%),
    linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
}

.service-fit .card::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -1px;
  bottom: -1px;
  width: 4px;
  background: #1f5f99;
}

.service-fit .card h3,
.service-fit .card p {
  margin-left: 10px;
}

.accent-cards .card {
  position: relative;
  overflow: hidden;
  border-color: #c6d6e7;
  background:
    radial-gradient(circle at 92% 8%, rgba(169, 198, 224, 0.24) 0%, rgba(169, 198, 224, 0) 34%),
    linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
}

.accent-cards .card::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -1px;
  bottom: -1px;
  width: 4px;
  background: #1f5f99;
}

.accent-cards .card h3,
.accent-cards .card p {
  margin-left: 10px;
}

.service-delivery {
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.88) 0%, rgba(233, 241, 249, 0.88) 100%);
  border-top: 1px solid rgba(22, 73, 117, 0.12);
  border-bottom: 1px solid rgba(22, 73, 117, 0.12);
}

.service-delivery .card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.service-delivery .step {
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
  font-size: 0.98rem;
}

.service-delivery .btn {
  margin-top: 20px;
}

.process {
  position: relative;
  overflow: hidden;
  padding: clamp(46px, 7vw, 72px) 0;
  color: #f7fafc;
  background:
    radial-gradient(circle at 86% 20%, rgba(122, 167, 212, 0.34) 0%, rgba(122, 167, 212, 0) 38%),
    linear-gradient(145deg, #122941 0%, #0d1f31 100%);
}

.process h2 {
  margin: 0 0 18px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.85rem, 3vw, 2.7rem);
}

.process .cards .card {
  color: #e4edf7;
  border: 1px solid rgba(175, 197, 219, 0.2);
  background: linear-gradient(160deg, rgba(41, 72, 102, 0.9) 0%, rgba(24, 48, 73, 0.95) 100%);
  box-shadow: none;
}

.process .cards .card p {
  color: #d4e2f0;
}

.process .cards .card:hover {
  border-color: rgba(197, 217, 236, 0.35);
  box-shadow: 0 20px 32px rgba(3, 12, 20, 0.3);
}

.step {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
  background: linear-gradient(140deg, var(--accent) 0%, #b87439 100%);
  box-shadow: 0 10px 20px rgba(16, 33, 53, 0.35);
}

.projects .card {
  padding: 0;
  overflow: hidden;
  border-color: rgba(180, 203, 224, 0.78);
  background: var(--surface);
  box-shadow: 0 16px 30px rgba(10, 28, 47, 0.1), 0 2px 8px rgba(10, 28, 47, 0.04);
}

.projects .card:hover {
  box-shadow: 0 22px 38px rgba(10, 28, 47, 0.14), 0 6px 16px rgba(10, 28, 47, 0.06);
}

.projects img {
  width: 100%;
  margin: 0;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
  transition: transform 380ms ease;
}

.projects .card:hover img {
  transform: scale(1.04);
}

.projects-pagination {
  margin-top: 22px;
  display: grid;
  gap: 14px;
  justify-items: center;
}

.projects-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.projects-load-more[aria-busy="true"] {
  opacity: 0.72;
  pointer-events: none;
}

.projects-pages {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.projects-page-link {
  min-width: 40px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: #1d344d;
  background: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  font-weight: 600;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}

.projects-page-link:hover {
  color: var(--primary-strong);
  border-color: #9ebcda;
  background: #f7fbff;
}

.projects-page-link.active {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
}

.projects-page-gap {
  color: var(--muted);
  font-weight: 700;
  padding: 0 2px;
}

.project-card-link {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}

.project-card-body {
  padding: 18px 18px 20px;
}

.project-card-body h3 {
  padding: 0;
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.32;
}

.project-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.project-details-hero {
  padding-bottom: 18px;
}

.project-details-hero h1 {
  margin: 0 0 12px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
}

.project-details-hero p {
  margin: 0;
  max-width: 70ch;
  color: var(--muted);
}

.project-details-meta {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.project-details-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: #213750;
  background: var(--surface);
  font-size: 0.93rem;
  font-weight: 600;
}

.project-cover img {
  width: 100%;
  display: block;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(16, 33, 53, 0.12);
  box-shadow: var(--shadow-card);
}

.project-services {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.project-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #e9f2fb;
  font-size: 0.93rem;
  font-weight: 600;
  background: linear-gradient(135deg, #1f5f99 0%, #164975 100%);
}

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

.project-gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
}

.project-gallery-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.project-gallery-item img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(16, 33, 53, 0.12);
  box-shadow: var(--shadow-soft);
  transition: transform 380ms ease;
}

.project-gallery-trigger:hover img,
.project-gallery-trigger:focus-visible img {
  transform: scale(1.04);
}

.project-viewer {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: block;
  padding: 0;
  background: rgba(9, 17, 28, 0.97);
}

.project-viewer[hidden] {
  display: none;
}

.project-viewer-close {
  position: absolute;
  top: max(12px, env(safe-area-inset-top));
  right: max(12px, env(safe-area-inset-right));
  z-index: 2;
  min-width: 48px;
  height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(214, 227, 242, 0.45);
  border-radius: 999px;
  color: #eef4fb;
  background: rgba(9, 17, 28, 0.6);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.project-viewer-image {
  position: absolute;
  inset: 0;
  width: 100vw;
  height: 100vh;
  object-fit: contain;
  margin: auto;
  border-radius: 0;
}

.project-viewer-image.is-swipe-slide-next {
  animation: project-viewer-slide-next 170ms ease-out;
}

.project-viewer-image.is-swipe-slide-prev {
  animation: project-viewer-slide-prev 170ms ease-out;
}

@keyframes project-viewer-slide-next {
  from {
    opacity: 0.78;
    transform: translateX(22px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes project-viewer-slide-prev {
  from {
    opacity: 0.78;
    transform: translateX(-22px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.project-viewer-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(214, 227, 242, 0.45);
  border-radius: 50%;
  color: #eef4fb;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.project-viewer-counter {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 2;
  transform: translateX(-50%);
  margin: 0;
  color: #d7e4f2;
  font-size: 0.92rem;
  background: rgba(10, 18, 29, 0.55);
  padding: 4px 9px;
  border-radius: 999px;
}

.project-viewer-nav[data-viewer-prev] {
  left: 16px;
}

.project-viewer-nav[data-viewer-next] {
  right: 16px;
}

.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(58px, 9vw, 86px) 0;
  color: #ffffff;
  background: linear-gradient(125deg, #1d598f 0%, #18466f 58%, #112f4b 100%);
}

.cta::before {
  content: "";
  position: absolute;
  right: -130px;
  bottom: -270px;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 222, 244, 0.28) 0%, rgba(200, 222, 244, 0) 68%);
}

.cta h2 {
  margin: 0 0 10px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.1;
}

.cta p {
  margin: 0 auto 18px;
  max-width: 56ch;
  color: #d8e7f6;
  font-size: 1.04rem;
}

.cta .btn {
  padding: 12px 24px;
  color: #163f66;
  background: #ffffff;
}

.cta .btn:hover {
  background: #f0f5fb;
  box-shadow: 0 14px 28px rgba(5, 16, 26, 0.33);
}

.site-footer {
  padding: 34px 0 28px;
  color: #d2dfeb;
  background: linear-gradient(180deg, #101f31 0%, #0d1a2a 100%);
  border-top: 1px solid rgba(201, 219, 235, 0.16);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.footer-brand {
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.footer-nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #d8e6f3;
  text-decoration: none;
  font-size: 0.94rem;
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.footer-link {
  color: #afc4d9;
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-link:hover {
  color: #e7f1fb;
}

.footer-copy {
  font-size: 13px;
  color: #97abc0;
}

@media (prefers-reduced-motion: no-preference) {
  .hero,
  .section,
  .process,
  .cta {
    animation: rise-in 700ms ease both;
  }

  .cards .card {
    animation: rise-in 700ms ease both;
  }

  .cards .card:nth-child(2) {
    animation-delay: 80ms;
  }

  .cards .card:nth-child(3) {
    animation-delay: 140ms;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 12px 0;
  }

  .site-header.is-compact .header-inner {
    padding: 5px 0;
  }

  .header-phone {
    margin-left: 0;
  }

  .site-nav {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 2px;
    justify-content: space-between;
    overflow-x: visible;
  }

  .site-nav a {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-media {
    max-width: 620px;
  }

  .cards.cols-3 {
    grid-template-columns: 1fr;
  }

  .cards.cols-2 {
    grid-template-columns: 1fr;
  }

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

  .project-viewer-nav {
    width: 42px;
    height: 42px;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  body.mobile-menu-open {
    overflow: hidden;
  }

  .site-header::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(12, 24, 37, 0.32);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 240ms ease, visibility 0s linear 240ms;
    z-index: 24;
  }

  .container {
    width: min(var(--container), calc(100% - 30px));
  }

  .header-inner {
    position: relative;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
    z-index: 25;
  }

  .site-header.menu-open {
    background: transparent;
    box-shadow: none;
    border-bottom-color: transparent;
    backdrop-filter: none;
  }

  .brand {
    gap: 10px;
  }

  .brand-title {
    font-size: 1.18rem;
  }

  .header-phone {
    justify-self: end;
    font-size: 0.92rem;
    padding: 7px 10px;
  }

  .mobile-menu-toggle {
    display: inline-block;
    justify-self: end;
    position: relative;
    z-index: 27;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .site-nav {
    display: flex;
    position: fixed;
    inset: 0;
    right: 0;
    left: auto;
    grid-column: 1 / -1;
    margin-top: 0;
    padding: 88px 18px 24px;
    width: 100vw;
    height: 100dvh;
    gap: 0;
    border: 0;
    border-radius: 0;
    justify-content: flex-start;
    align-items: stretch;
    flex-direction: column;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(100%);
    background: linear-gradient(180deg, rgba(247, 251, 255, 0.99) 0%, rgba(235, 243, 250, 0.99) 100%);
    box-shadow: none;
    transition: opacity 220ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 320ms;
    z-index: 26;
  }

  .site-nav a {
    flex: initial;
    width: 100%;
    min-width: 100%;
    padding: 18px 8px;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.1;
    text-align: left;
    white-space: nowrap;
    border: 0;
    border-bottom: 1px solid rgba(18, 47, 74, 0.1);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

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

  .site-nav a::after {
    content: ">";
    float: right;
    color: rgba(17, 48, 75, 0.42);
    font-size: 1rem;
    transition: transform 220ms ease, color 220ms ease;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: transparent;
    color: #11304b;
  }

  .site-nav a:hover::after,
  .site-nav a:focus-visible::after,
  .site-nav a.active::after {
    color: rgba(17, 48, 75, 0.78);
    transform: translateX(3px);
  }

  .site-nav a.active {
    color: #11304b;
    background: transparent;
    box-shadow: none;
  }

  .site-header.menu-open .site-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
    transition-delay: 0s;
  }

  .site-header.menu-open::after {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }

  .site-header.menu-open .mobile-menu-toggle-line:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }

  .site-header.menu-open .mobile-menu-toggle-line:nth-child(2) {
    opacity: 0;
  }

  .site-header.menu-open .mobile-menu-toggle-line:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }

  .hero-actions {
    width: 100%;
  }

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

  .hero-home-copy {
    width: 100%;
  }

  .hero-home-eyebrow {
    white-space: normal;
    justify-content: flex-start;
  }

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

  .project-viewer-nav {
    display: none;
  }
}
