:root {
  --blue: #073a92;
  --blue-dark: #04275f;
  --ink: #111827;
  --muted: #687280;
  --line: #d9dee7;
  --paper: #ffffff;
  --soft: #f4f6f9;
  --green: #2f7f68;
  --gold: #c49a3a;
  --shadow: 0 18px 45px rgba(17, 24, 39, 0.12);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  background: var(--paper);
}

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

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3 {
  margin: 0 0 18px;
  font-family: Montserrat, Arial, sans-serif;
  line-height: 1.08;
  color: var(--ink);
}

h1 {
  max-width: 760px;
  font-size: clamp(42px, 7vw, 86px);
  font-weight: 800;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800;
}

h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
}

p {
  margin: 0 0 18px;
}

ul {
  margin: 0;
  padding-left: 20px;
}

li + li {
  margin-top: 8px;
}

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

.skip-link:focus {
  z-index: 1000;
  width: auto;
  height: auto;
  margin: 16px;
  padding: 10px 14px;
  clip: auto;
  background: var(--blue);
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 16px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(217, 222, 231, 0.8);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.brand img {
  width: 230px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav a {
  color: #263041;
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 76vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #e9eef5;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.8) 45%, rgba(255, 255, 255, 0.2) 100%);
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-position: center right;
  background-size: cover;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-home::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.74) 50%, rgba(255, 255, 255, 0.18) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0;
}

.hero-content p:not(.eyebrow) {
  max-width: 620px;
  color: #3b4656;
  font-size: clamp(18px, 2vw, 23px);
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--blue);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 23px;
  border: 3px solid var(--blue);
  border-radius: 5px;
  background: var(--blue);
  color: #fff;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  background: transparent;
  color: var(--blue);
  text-decoration: none;
  transform: translateY(-1px);
}

.button-light {
  border-color: #fff;
  background: #fff;
  color: var(--blue-dark);
}

.button-light:hover {
  color: #fff;
}

.intro-section,
.steps-section,
.client-strip,
.service-cards,
.feature-section,
.pricing-section,
.projects-section,
.post-list,
.wide-copy,
.narrow-copy,
.article-page,
.contact-band {
  padding: clamp(64px, 9vw, 118px) clamp(20px, 4vw, 54px);
}

.split,
.wide-copy,
.footer-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
}

.section-heading {
  width: min(var(--max), 100%);
  margin: 0 auto 36px;
}

.section-heading p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
}

.section-heading.centered {
  text-align: center;
}

.section-heading.centered p:not(.eyebrow) {
  margin-left: auto;
  margin-right: auto;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list p,
.detail-panel,
.service-cards article,
.price-grid article,
.post-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.feature-list p {
  margin: 0;
  padding: 18px 20px;
  font-weight: 700;
}

.steps-section {
  background: var(--soft);
}

.step-row,
.project-row {
  width: min(var(--max), 100%);
  margin: 0 auto clamp(46px, 7vw, 86px);
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 68px);
  align-items: center;
}

.step-row:nth-child(even),
.project-row:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
}

.step-row:nth-child(even) img,
.project-row:nth-child(even) img {
  order: -1;
}

.step-row img,
.project-row img,
.rounded-media,
.wide-copy img,
.article-image,
.post-list img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.client-strip {
  background: #fff;
}

.logo-row {
  width: min(var(--max), 100%);
  margin: 16px auto 42px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: center;
}

.logo-row img {
  max-height: 88px;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
}

.testimonial-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

blockquote {
  margin: 0;
  padding: 28px;
  border-left: 5px solid var(--blue);
  background: var(--soft);
  color: #354052;
  font-style: italic;
}

blockquote cite {
  display: block;
  margin-top: 16px;
  color: var(--blue);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.service-cards,
.detail-grid,
.price-grid {
  width: min(var(--max), 100%);
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

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

.service-cards article,
.detail-panel,
.price-grid article {
  padding: 30px;
}

.detail-panel .eyebrow {
  color: var(--green);
}

.wide-copy {
  padding-left: 0;
  padding-right: 0;
}

.pricing-section,
.contact-band {
  background: var(--soft);
}

.price {
  color: var(--blue);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 32px;
  font-weight: 800;
}

.showcase-callout {
  width: min(var(--max), calc(100% - 40px));
  margin: clamp(48px, 8vw, 90px) auto;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
}

.showcase-callout h2,
.showcase-callout .eyebrow {
  color: #fff;
}

.showcase-callout h2 {
  margin-bottom: 0;
}

.image-band {
  min-height: 560px;
  padding: clamp(70px, 10vw, 130px) clamp(20px, 4vw, 54px);
  display: grid;
  align-items: center;
  background-image: linear-gradient(90deg, rgba(7, 58, 146, 0.9), rgba(7, 58, 146, 0.4)), var(--band-image);
  background-position: center;
  background-size: cover;
  color: #fff;
}

.image-band > div {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.image-band h2,
.image-band .eyebrow {
  color: #fff;
}

.narrow-copy {
  width: min(820px, 100%);
  margin: 0 auto;
}

.contact-details {
  padding: 30px;
  border-left: 5px solid var(--blue);
  background: var(--soft);
}

.contact-band {
  background-image: linear-gradient(rgba(244, 246, 249, 0.94), rgba(244, 246, 249, 0.94)), url("/uploads/2017/11/sarah-dorweiler-211779-e1525935365950.jpg");
  background-position: center;
  background-size: cover;
}

.contact-form,
.newsletter-form {
  width: min(760px, 100%);
  margin: 0 auto;
}

.contact-form label,
.newsletter-form label {
  display: grid;
  gap: 7px;
  color: #394557;
  font-weight: 700;
}

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

input,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #cfd6e1;
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

fieldset {
  margin: 22px 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

legend {
  padding: 0 8px;
  font-weight: 800;
}

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

.check {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px !important;
  font-weight: 600 !important;
}

.check input {
  width: 18px;
  min-height: 18px;
}

.honey {
  display: none;
}

.mailchimp-honey {
  position: absolute;
  left: -5000px;
}

.newsletter-form {
  margin: 0;
}

.newsletter-form label {
  margin-bottom: 12px;
}

.projects-section {
  background: #fff;
}

.project-row ul {
  margin-bottom: 20px;
}

.post-list article {
  width: min(960px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  padding: 24px;
  align-items: center;
}

.article-hero {
  padding: clamp(70px, 10vw, 120px) clamp(20px, 4vw, 54px) 32px;
  width: 100%;
  margin: 0 auto 48px;
  background-image: linear-gradient(rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.86)), var(--article-bg);
  background-position: center;
  background-size: cover;
}

.article-hero h1 {
  width: min(960px, 100%);
  margin-left: auto;
  margin-right: auto;
  color: var(--ink);
}

.article-hero p {
  width: min(960px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.article-image {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto 54px;
}

.simple-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 80px 20px;
  text-align: center;
  background: var(--soft);
}

.simple-page > div {
  width: min(680px, 100%);
}

.simple-page img {
  width: 110px;
  margin: 0 auto 26px;
  border-radius: 8px;
}

.site-footer {
  padding: clamp(54px, 7vw, 82px) clamp(20px, 4vw, 54px) 28px;
  background: #101827;
  color: #d7deea;
}

.site-footer h2 {
  color: #fff;
  font-size: 22px;
}

.site-footer a {
  color: #fff;
}

.footer-grid {
  align-items: start;
  grid-template-columns: 1.2fr 0.7fr 1fr;
}

.footer-logo {
  width: 230px;
  margin-bottom: 20px;
}

.social-links {
  display: grid;
  gap: 10px;
}

.copyright {
  width: min(var(--max), 100%);
  margin: 42px auto 0;
  color: #9aa6b8;
  font-size: 13px;
}

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

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 18px 24px 24px;
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

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

  .hero {
    min-height: 68vh;
  }

  .split,
  .wide-copy,
  .footer-grid,
  .step-row,
  .step-row:nth-child(even),
  .project-row,
  .project-row:nth-child(even),
  .post-list article {
    grid-template-columns: 1fr;
  }

  .step-row:nth-child(even) img,
  .project-row:nth-child(even) img {
    order: 0;
  }

  .service-cards,
  .detail-grid,
  .price-grid,
  .testimonial-grid,
  .logo-row {
    grid-template-columns: 1fr;
  }

  .showcase-callout {
    display: grid;
  }
}

@media (max-width: 620px) {
  .brand img {
    width: 185px;
  }

  .site-header {
    min-height: 66px;
  }

  .hero-content {
    width: min(100% - 32px, var(--max));
    padding: 76px 0;
  }

  .hero::after,
  .hero-home::after {
    background: rgba(255, 255, 255, 0.86);
  }

  .form-grid,
  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .service-cards article,
  .detail-panel,
  .price-grid article,
  fieldset {
    padding: 22px;
  }
}
