:root {
  --navy-950: #07111f;
  --navy-900: #071b33;
  --navy-800: #0b2848;
  --blue-700: #155e9f;
  --cyan-500: #25b4d8;
  --cyan-100: #e8f8fc;
  --slate-900: #172033;
  --slate-700: #3c4a5f;
  --slate-500: #66758a;
  --slate-200: #d9e0ea;
  --slate-100: #eef3f8;
  --white: #ffffff;
  --success: #1f8a70;
  --shadow: 0 18px 50px rgba(7, 17, 31, 0.12);
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--slate-900);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 224, 234, 0.86);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 28px;
}

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

.brand__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--navy-900);
  color: var(--white);
  font-weight: 800;
}

.brand__text {
  display: grid;
  line-height: 1.2;
}

.brand__text strong {
  font-size: 0.98rem;
}

.brand__text small {
  color: var(--slate-500);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  color: var(--slate-700);
  font-size: 0.94rem;
  font-weight: 650;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: var(--slate-100);
  color: var(--navy-900);
}

.site-nav .site-nav__cta {
  margin-left: 8px;
  background: var(--navy-900);
  color: var(--white);
}

.site-nav .site-nav__cta:hover {
  background: var(--navy-800);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy-900);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 690px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero__image {
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1800&q=82")
    center / cover no-repeat;
  transform: scale(1.02);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 17, 31, 0.72);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 850px;
  padding: 118px 0 96px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan-500);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
  color: var(--slate-900);
}

.hero h1 {
  max-width: 820px;
  color: var(--white);
  font-size: clamp(2.55rem, 5vw, 5.25rem);
}

.hero__lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.18rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 760;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

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

.button svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.button--primary {
  background: var(--cyan-500);
  color: var(--navy-950);
}

.button--primary:hover {
  background: #63d1e9;
}

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

.button--secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

.hero__signals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 46px;
}

.hero__signals span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.84);
}

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

.section {
  padding: 88px 0;
}

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

.section__header {
  max-width: 760px;
  margin-bottom: 34px;
}

.section__header--split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  max-width: var(--container);
  gap: 24px;
}

.section__header h2,
.cta-band h2,
.page-hero h1 {
  font-size: clamp(2rem, 3.8vw, 3.5rem);
}

.section__header p,
.page-hero p,
.service-detail p,
.rich-text p,
.article-body p,
.article-body li {
  color: var(--slate-700);
  font-size: 1.05rem;
}

.service-grid,
.post-grid,
.values-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-card,
.post-card,
.value-item,
.process-grid article,
.contact-card {
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 28px rgba(7, 17, 31, 0.06);
}

.service-card,
.value-item,
.process-grid article {
  padding: 28px;
}

.service-card svg,
.value-item svg,
.contact-card svg {
  width: 30px;
  height: 30px;
  color: var(--blue-700);
}

.service-card h3,
.value-item h2,
.process-grid h3,
.contact-card h2 {
  margin-top: 20px;
  font-size: 1.16rem;
}

.service-card p,
.value-item p,
.process-grid p,
.contact-card p {
  margin: 12px 0 0;
  color: var(--slate-700);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-700);
  font-weight: 760;
}

.text-link svg {
  width: 18px;
  height: 18px;
}

.post-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.post-card__image {
  aspect-ratio: 16 / 9;
  background: var(--slate-200);
  overflow: hidden;
}

.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.post-card:hover .post-card__image img {
  transform: scale(1.035);
}

.post-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.post-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--slate-500);
  font-size: 0.84rem;
  font-weight: 650;
}

.post-card h2 {
  margin-top: 16px;
  font-size: 1.22rem;
}

.post-card p {
  flex: 1;
  margin: 14px 0 22px;
  color: var(--slate-700);
}

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

.cta-band {
  background: var(--navy-900);
  color: var(--white);
  padding: 56px 0;
}

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

.cta-band h2 {
  max-width: 820px;
  color: var(--white);
}

.page-hero {
  background: linear-gradient(0deg, rgba(7, 27, 51, 0.92), rgba(7, 27, 51, 0.92)),
    url("https://images.unsplash.com/photo-1518779578993-ec3579fee39f?auto=format&fit=crop&w=1800&q=80")
      center / cover no-repeat;
  color: var(--white);
  padding: 112px 0 88px;
}

.page-hero--about {
  background: linear-gradient(0deg, rgba(7, 27, 51, 0.88), rgba(7, 27, 51, 0.88)),
    url("https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=1800&q=80")
      center / cover no-repeat;
}

.page-hero__content {
  max-width: 880px;
}

.page-hero h1,
.page-hero p {
  color: var(--white);
}

.page-hero p {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.about-layout,
.contact-layout,
.article-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 48px;
  align-items: center;
}

.about-media {
  min-height: 460px;
  border-radius: 8px;
  background:
    linear-gradient(0deg, rgba(7, 17, 31, 0.2), rgba(7, 17, 31, 0.2)),
    url("https://images.unsplash.com/photo-1544197150-b99a580bb7a8?auto=format&fit=crop&w=1100&q=80")
      center / cover no-repeat;
  box-shadow: var(--shadow);
}

.rich-text p:first-child {
  margin-top: 0;
}

.rich-text p:last-child {
  margin-bottom: 0;
}

.service-detail-list {
  display: grid;
  gap: 18px;
}

.service-detail {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 22px;
  padding: 28px;
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  background: var(--white);
}

.service-detail__icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 8px;
  background: var(--cyan-100);
  color: var(--blue-700);
}

.service-detail__icon svg {
  width: 32px;
  height: 32px;
}

.service-detail h2 {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.service-detail p {
  margin: 12px 0 0;
}

.process .section__header {
  margin-bottom: 28px;
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--navy-900);
  color: var(--white);
  font-weight: 800;
}

.blog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 28px;
}

.blog-toolbar label {
  font-weight: 780;
  color: var(--slate-900);
}

.search-box {
  position: relative;
  width: min(100%, 420px);
}

.search-box svg {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 18px;
  height: 18px;
  color: var(--slate-500);
  transform: translateY(-50%);
}

.search-box input,
.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  background: var(--white);
  color: var(--slate-900);
  outline: none;
}

.search-box input {
  min-height: 48px;
  padding: 0 16px 0 44px;
}

.form-row input,
.form-row textarea {
  padding: 12px 14px;
}

.search-box input:focus,
.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--cyan-500);
  box-shadow: 0 0 0 4px rgba(37, 180, 216, 0.13);
}

.article-hero {
  padding: 76px 0;
  background: var(--slate-100);
}

.article-hero__grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
}

.article-hero h1 {
  margin-top: 10px;
  font-size: clamp(2.1rem, 4vw, 4rem);
}

.article-hero p {
  max-width: 720px;
  color: var(--slate-700);
  font-size: 1.12rem;
}

.article-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.article-back {
  margin-bottom: 24px;
}

.article-body {
  max-width: 780px;
}

.article-body p {
  margin: 0 0 22px;
}

.article-body ul {
  margin: 0 0 26px;
  padding-left: 22px;
}

.article-body li + li {
  margin-top: 10px;
}

.contact-layout {
  grid-template-columns: minmax(260px, 0.76fr) minmax(0, 1.24fr);
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 16px;
}

.contact-card {
  padding: 24px;
}

.contact-card a {
  display: inline-flex;
  margin-top: 10px;
  color: var(--blue-700);
  font-weight: 760;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 30px;
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

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

.form-row label {
  color: var(--slate-900);
  font-weight: 720;
}

.form-row textarea {
  resize: vertical;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--success);
  font-weight: 650;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 28px;
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  background: var(--white);
  color: var(--slate-700);
}

.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.74);
  padding: 54px 0 28px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(180px, 0.5fr));
  gap: 34px;
}

.site-footer .brand__mark {
  background: var(--cyan-500);
  color: var(--navy-950);
}

.site-footer .brand__text strong,
.site-footer h2 {
  color: var(--white);
}

.site-footer .brand__text small {
  color: rgba(255, 255, 255, 0.62);
}

.site-footer p {
  max-width: 440px;
}

.site-footer h2 {
  margin: 0 0 14px;
  font-size: 1rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 8px;
}

.site-footer a:hover {
  color: var(--white);
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--slate-200);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .site-nav a,
  .site-nav .site-nav__cta {
    justify-content: flex-start;
    margin-left: 0;
    color: var(--slate-900);
  }

  .site-nav .site-nav__cta {
    background: var(--navy-900);
    color: var(--white);
  }

  .service-grid,
  .post-grid,
  .values-grid,
  .process-grid,
  .post-grid--wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-layout,
  .contact-layout,
  .article-hero__grid {
    grid-template-columns: 1fr;
  }

  .about-media {
    min-height: 340px;
  }

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

  .article-hero__grid {
    gap: 30px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .site-header__inner {
    min-height: 68px;
  }

  .brand__mark {
    width: 40px;
    height: 40px;
  }

  .brand__text small {
    font-size: 0.72rem;
  }

  .site-nav {
    top: 68px;
    right: 14px;
    left: 14px;
  }

  .hero {
    min-height: 660px;
  }

  .hero__content {
    padding: 86px 0 70px;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 12vw, 3.5rem);
  }

  .hero__lead {
    font-size: 1.04rem;
  }

  .button {
    width: 100%;
  }

  .hero__signals {
    margin-top: 30px;
  }

  .hero__signals span {
    width: 100%;
  }

  .section,
  .article-hero {
    padding: 64px 0;
  }

  .page-hero {
    padding: 82px 0 66px;
  }

  .section__header--split,
  .blog-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-grid,
  .post-grid,
  .values-grid,
  .process-grid,
  .post-grid--wide {
    grid-template-columns: 1fr;
  }

  .service-card,
  .value-item,
  .process-grid article,
  .contact-card,
  .contact-form {
    padding: 22px;
  }

  .service-detail {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .service-detail__icon {
    width: 58px;
    height: 58px;
  }

  .article-hero img {
    aspect-ratio: 16 / 10;
  }

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

  .site-footer__bottom {
    flex-direction: column;
  }
}

@media (max-width: 380px) {
  .brand__text small {
    display: none;
  }

  .hero h1,
  .page-hero h1,
  .article-hero h1 {
    font-size: 2.05rem;
  }
}
