:root {
  --navy-950: #071b28;
  --navy-900: #0c2637;
  --navy-800: #12384d;
  --blue-600: #1686b8;
  --blue-500: #25a6d8;
  --blue-100: #dff4fc;
  --blue-50: #effaff;
  --white: #ffffff;
  --off-white: #f7fafb;
  --gray-100: #edf2f4;
  --gray-200: #dce5e9;
  --gray-500: #687b85;
  --gray-700: #3a4d56;
  --text: #102b39;
  --shadow-small: 0 12px 36px rgba(6, 38, 55, 0.08);
  --shadow-large: 0 28px 75px rgba(5, 30, 44, 0.15);
  --radius-small: 10px;
  --radius-medium: 18px;
  --radius-large: 28px;
  --container: 1160px;
  --header-height: 82px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--white);
  font-family: "Manrope", sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

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

button {
  border: 0;
}

section {
  position: relative;
}

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

.section {
  padding: 110px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-600);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Jost", sans-serif;
  line-height: 0.98;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(4.5rem, 7vw, 6.2rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.35rem, 4.4vw, 4.05rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 12px;
  font-family: "Jost", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.012em;
}

p {
  color: var(--gray-700);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

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

.button:focus-visible,
.nav-links a:focus-visible,
.menu-toggle:focus-visible,
.text-link:focus-visible,
.service-card a:focus-visible {
  outline: 3px solid rgba(37, 166, 216, 0.45);
  outline-offset: 4px;
}

.button-primary {
  color: var(--navy-950);
  background: var(--white);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.14);
}

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

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

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.12);
}

.button-small {
  min-height: 42px;
  padding: 9px 18px;
  color: var(--white);
  background: var(--blue-600);
  box-shadow: 0 8px 22px rgba(22, 134, 184, 0.2);
}

.button-small:hover {
  color: var(--white);
  background: var(--navy-900);
  box-shadow: 0 10px 26px rgba(7, 27, 40, 0.18);
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition:
    height 200ms ease,
    color 200ms ease,
    background-color 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease;
}

.site-header.scrolled {
  height: 70px;
  color: var(--navy-950);
  border-color: rgba(10, 42, 58, 0.08);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(8, 37, 52, 0.08);
  backdrop-filter: blur(16px);
}

.nav-container {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  color: var(--navy-950);
  background: var(--white);
}

.site-header.scrolled .brand-mark {
  color: var(--white);
  background: var(--blue-600);
}

.brand-mark svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.35;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-text strong {
  font-size: 1.03rem;
  letter-spacing: -0.02em;
}

.brand-text small {
  margin-top: 5px;
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.76;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 29px;
}

.nav-links > a:not(.button) {
  position: relative;
  font-size: 0.82rem;
  font-weight: 700;
}

.nav-links > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav-links > a:not(.button):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  cursor: pointer;
  place-content: center;
  gap: 5px;
  color: currentColor;
  border-radius: 50%;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.hero {
  display: flex;
  min-height: 760px;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-900);
}

.hero-video {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.hero::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(
      90deg,
      rgba(4, 24, 36, 0.94) 0%,
      rgba(4, 24, 36, 0.79) 45%,
      rgba(4, 24, 36, 0.26) 76%,
      rgba(4, 24, 36, 0.12) 100%
    ),
    linear-gradient(
      180deg,
      rgba(3, 20, 30, 0.28),
      transparent 34%,
      rgba(3, 20, 30, 0.18)
    );
}

.hero-content {
  z-index: 2;
  padding-top: calc(var(--header-height) + 82px);
  padding-bottom: 88px;
}

.hero-copy {
  max-width: 790px;
}

.hero .eyebrow {
  color: #a8e9ff;
}

.hero-description {
  max-width: 610px;
  margin-bottom: 31px;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 33px;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  font-weight: 700;
}

.hero-highlights > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.checkmark {
  display: inline-flex;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  align-items: center;
  justify-content: center;
  padding: 0 0 1px;
  border-radius: 50%;
  color: var(--navy-950);
  background: #a8e9ff;
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}

.service-intro {
  background: var(--off-white);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: 70px;
  margin-bottom: 54px;
}

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

.section-heading > p {
  max-width: 440px;
  margin-bottom: 5px;
  font-size: 0.94rem;
}

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

.service-card {
  position: relative;
  min-height: 400px;
  padding: 30px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-medium);
  background: var(--white);
  box-shadow: var(--shadow-small);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease;
}

.service-card:hover {
  border-color: rgba(22, 134, 184, 0.28);
  box-shadow: 0 20px 50px rgba(5, 30, 44, 0.12);
  transform: translateY(-4px);
}

.service-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 35px;
  place-items: center;
  border-radius: 16px;
  color: var(--blue-600);
  background: var(--blue-50);
}

.service-icon svg {
  width: 31px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.service-card h3 {
  max-width: 280px;
}

.service-card p {
  margin-bottom: 48px;
  color: var(--gray-500);
  font-size: 0.87rem;
}

.service-card a {
  position: absolute;
  bottom: 30px;
  left: 30px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-600);
  font-size: 0.76rem;
  font-weight: 700;
}

.work-photo-section {
  overflow: hidden;
  padding: 52px 0 0;
  background: linear-gradient(
    180deg,
    var(--navy-950) 0,
    var(--navy-950) 148px,
    var(--off-white) 148px,
    var(--off-white) 100%
  );
}

.work-photo {
  position: relative;
  overflow: hidden;
  max-width: 1080px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  background: var(--navy-900);
  box-shadow:
    0 28px 68px rgba(5, 30, 44, 0.17),
    0 8px 24px rgba(5, 30, 44, 0.08);
}

.work-photo::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(
    180deg,
    rgba(7, 27, 40, 0.015) 38%,
    rgba(7, 27, 40, 0.14) 100%
  );
}

.work-photo img {
  width: 100%;
  aspect-ratio: 16 / 6.8;
  object-fit: cover;
  object-position: center;
  transition: transform 800ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.work-photo:hover img {
  transform: scale(1.018);
}

.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 86px;
}

.about-image {
  position: relative;
}

.about-image::before {
  position: absolute;
  z-index: -1;
  top: -20px;
  left: -20px;
  width: 68%;
  height: 62%;
  content: "";
  border-radius: var(--radius-large);
  background: var(--blue-100);
}

.about-image img {
  aspect-ratio: 0.98;
  object-fit: cover;
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-large);
}

.about-lead {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 600;
}

.about-copy > p {
  font-size: 0.93rem;
}

.about-list {
  display: grid;
  gap: 14px;
  margin: 29px 0 32px;
  padding: 0;
  list-style: none;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--gray-700);
  font-size: 0.86rem;
  font-weight: 600;
}

.about-list .checkmark {
  color: var(--blue-600);
  background: var(--blue-50);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue-600);
  font-size: 0.84rem;
  font-weight: 700;
}

.quote-section {
  overflow: hidden;
  padding: 115px 0;
  color: var(--white);
  background:
    radial-gradient(
      circle at 18% 18%,
      rgba(37, 166, 216, 0.24),
      transparent 32%
    ),
    var(--navy-950);
}

.quote-grid {
  z-index: 2;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: 80px;
}

.light-eyebrow {
  color: #99e4ff;
}

.quote-copy h2 {
  max-width: 480px;
}

.quote-copy > p {
  max-width: 480px;
  color: rgba(255, 255, 255, 0.66);
}

.quote-note {
  display: grid;
  gap: 4px;
  max-width: 460px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.quote-note strong {
  font-size: 0.78rem;
}

.quote-note span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.76rem;
}

.form-shell {
  position: relative;
}

.quote-form {
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-medium);
  background: var(--white);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.23);
}

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

.form-group {
  margin-bottom: 17px;
}

.form-group label {
  display: block;
  margin-bottom: 7px;
  color: var(--navy-900);
  font-size: 0.7rem;
  font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 15px;
  color: var(--navy-950);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-small);
  outline: none;
  background: var(--off-white);
  font-size: 0.84rem;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.form-group input,
.form-group select {
  height: 49px;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-500);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(37, 166, 216, 0.11);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #96a8b0;
}

[data-fs-field][aria-invalid="true"] {
  border-color: #c74f58;
  box-shadow: 0 0 0 4px rgba(199, 79, 88, 0.09);
}

.field-error {
  display: block;
  min-height: 0;
  margin-top: 5px;
  color: #a93b44;
  font-size: 0.67rem;
}

.field-error:empty {
  display: none;
}

.button-form {
  width: 100%;
  margin-top: 2px;
  color: var(--white);
  background: var(--blue-600);
}

.button-form:hover {
  background: var(--navy-900);
}

.button-form:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.form-note {
  margin: 12px 0 0;
  color: var(--gray-500);
  font-size: 0.65rem;
  text-align: center;
}

.form-message {
  display: none;
  margin-bottom: 14px;
  padding: 13px 15px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 600;
}

.form-message[data-fs-active] {
  display: block;
}

.form-message-success {
  color: #174d35;
  background: #e8f7ef;
}

.form-message-error {
  color: #812f36;
  background: #fae9eb;
}

.site-footer {
  padding: 68px 0 24px;
  color: rgba(255, 255, 255, 0.72);
  background: #04131d;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 1fr;
  gap: 65px;
  padding-bottom: 50px;
}

.footer-brand {
  margin-bottom: 20px;
  color: var(--white);
}

.footer-brand .brand-mark {
  color: var(--white);
  background: var(--blue-600);
}

.footer-grid > div:first-child p {
  max-width: 360px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.47);
  font-size: 0.76rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-column strong {
  margin-bottom: 5px;
  color: var(--white);
  font-size: 0.77rem;
}

.footer-column a,
.footer-column span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.72rem;
}

.footer-column a {
  transition: color 180ms ease;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p,
.footer-bottom a {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.37);
  font-size: 0.66rem;
}

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

.mobile-cta {
  display: none;
}

@media (max-width: 1000px) {
  .section-heading {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section-heading > p {
    max-width: 600px;
  }

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

  .service-card,
  .service-card:last-child {
    grid-column: auto;
    min-height: 350px;
  }

  .about-grid {
    gap: 52px;
  }

  .quote-grid {
    gap: 48px;
  }

  .quote-form {
    padding: 32px;
  }
}

@media (max-width: 800px) {
  :root {
    --header-height: 72px;
  }

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

  .menu-toggle {
    display: grid;
  }

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

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

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

  .nav-links {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: flex;
    padding: 28px 20px 35px;
    flex-direction: column;
    gap: 21px;
    color: var(--navy-950);
    background: var(--white);
    box-shadow: 0 25px 45px rgba(0, 20, 32, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition:
      opacity 180ms ease,
      visibility 180ms ease,
      transform 180ms ease;
  }

  .site-header.scrolled .nav-links {
    top: 70px;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links .button {
    width: min(100%, 330px);
  }

  .hero {
    min-height: 700px;
  }

  .hero-video {
    object-position: 62% center;
  }

  .hero::before {
    background:
      linear-gradient(
        90deg,
        rgba(4, 24, 36, 0.94) 0%,
        rgba(4, 24, 36, 0.74) 58%,
        rgba(4, 24, 36, 0.5) 100%
      ),
      linear-gradient(
        180deg,
        rgba(3, 20, 30, 0.24),
        transparent 34%,
        rgba(3, 20, 30, 0.2)
      );
  }

  .hero-content {
    padding-top: 145px;
    padding-bottom: 82px;
  }

  .section {
    padding: 86px 0;
  }

  .services-grid,
  .about-grid,
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card:last-child {
    grid-column: auto;
    min-height: 350px;
  }

  .about-grid {
    gap: 64px;
  }

  .work-photo-section {
    padding-top: 38px;
    background: linear-gradient(
      180deg,
      var(--navy-950) 0,
      var(--navy-950) 108px,
      var(--off-white) 108px,
      var(--off-white) 100%
    );
  }

  .work-photo {
    border-radius: 24px;
  }

  .work-photo img {
    aspect-ratio: 16 / 8.4;
  }

  .about-image {
    max-width: 620px;
  }

  .about-image img {
    aspect-ratio: 1.15;
  }

  .quote-copy {
    max-width: 620px;
  }

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

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .mobile-cta {
    position: fixed;
    z-index: 999;
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
    left: 16px;
    display: flex;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, 18px, 0) scale(0.985);
    transition:
      opacity 220ms ease,
      transform 260ms cubic-bezier(0.2, 0.75, 0.25, 1),
      visibility 220ms ease;
  }

  .mobile-cta.is-visible {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0) scale(1);
  }

  .mobile-cta a {
    display: inline-flex;
    width: min(100%, 430px);
    min-height: 56px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 22px;
    color: rgba(250, 254, 255, 0.98);
    border: 1px solid rgba(236, 249, 255, 0.3);
    border-radius: 16px;
    background: linear-gradient(
      180deg,
      rgba(18, 55, 73, 0.84),
      rgba(7, 31, 45, 0.9)
    );
    box-shadow:
      0 16px 34px rgba(0, 0, 0, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(16px) saturate(135%);
    -webkit-backdrop-filter: blur(16px) saturate(135%);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.01em;
  }

  .mobile-cta a svg {
    width: 16px;
    height: 16px;
    stroke-width: 2;
  }

  .site-footer {
    padding-bottom: 96px;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: clamp(3.05rem, 15vw, 4.6rem);
  }

  h2 {
    font-size: clamp(2.25rem, 11vw, 3.15rem);
  }

  .hero {
    min-height: 735px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .hero-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
  }

  .service-card {
    min-height: 365px;
    padding: 29px 25px;
  }

  .service-card a {
    bottom: 27px;
    left: 25px;
  }

  .work-photo-section {
    padding-top: 28px;
    background: linear-gradient(
      180deg,
      var(--navy-950) 0,
      var(--navy-950) 84px,
      var(--off-white) 84px,
      var(--off-white) 100%
    );
  }

  .work-photo {
    border-radius: 20px;
    box-shadow:
      0 20px 46px rgba(5, 30, 44, 0.15),
      0 6px 18px rgba(5, 30, 44, 0.07);
  }

  .work-photo img {
    aspect-ratio: 4 / 3;
    object-position: center;
  }

  .about-image::before {
    top: -12px;
    left: -10px;
  }

  .about-image img {
    aspect-ratio: 0.94;
  }

  .quote-section {
    padding: 86px 0;
  }

  .quote-form {
    padding: 26px 19px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-grid > div:first-child {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* =========================================================
   Lucide icons
   ========================================================= */

.brand-mark svg {
  width: 23px;
  height: 23px;
}

.service-icon svg {
  width: 30px;
  height: 30px;
}

.checkmark svg {
  width: 13px;
  height: 13px;
  stroke-width: 3;
}

.service-card a svg,
.text-link svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  transition: transform 180ms ease;
}

.service-card a:hover svg,
.text-link:hover svg {
  transform: translateX(4px);
}

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

.footer-bottom a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.footer-bottom a svg {
  width: 13px;
  height: 13px;
}

/* Text-only temporary wordmark */
.brand-text strong {
  font-size: 1.12rem;
}

.brand-text small {
  margin-top: 6px;
}

@media (max-width: 560px) {
  .hero-quote-button {
    min-height: 60px;
    padding-inline: 26px;
  }
}

/* =========================================================
   Contact form validation
   ========================================================= */

.form-group input.is-invalid,
.form-group select.is-invalid,
.form-group textarea.is-invalid {
  border-color: #c74f58;
  background: #fffafa;
  box-shadow: 0 0 0 4px rgba(199, 79, 88, 0.09);
}

.form-group input.is-valid,
.form-group select.is-valid {
  border-color: rgba(22, 134, 184, 0.5);
}

.field-error {
  display: block;
  min-height: 0;
  margin-top: 6px;
  color: #a93b44;
  font-size: 0.69rem;
  font-weight: 600;
}

.field-error:empty {
  display: none;
}

.form-message {
  display: none;
  margin-bottom: 18px;
  padding: 13px 15px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 600;
}

.form-message[data-active] {
  display: block;
}

.form-message-success {
  color: #174d35;
  background: #e8f7ef;
}

.form-message-error {
  color: #812f36;
  background: #fae9eb;
}

/* =========================================================
   FAQ
   ========================================================= */

.faq-section {
  background: var(--off-white);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: start;
  gap: 90px;
}

.faq-heading {
  position: sticky;
  top: 110px;
}

.faq-heading h2 {
  max-width: 470px;
  margin-bottom: 22px;
}

.faq-heading > p:last-child {
  max-width: 420px;
  margin-bottom: 0;
  font-size: 0.91rem;
}

.faq-list {
  border-top: 1px solid var(--gray-200);
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-item summary {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  list-style: none;
  color: var(--navy-950);
  font-size: 0.98rem;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:focus-visible {
  outline: 3px solid rgba(37, 166, 216, 0.35);
  outline-offset: 5px;
  border-radius: 4px;
}

.faq-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  color: var(--blue-600);
  transition: transform 180ms ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-width: 690px;
  padding: 0 54px 26px 0;
}

.faq-answer p {
  margin-bottom: 0;
  color: var(--gray-500);
  font-size: 0.87rem;
}

@media (max-width: 800px) {
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .faq-heading {
    position: static;
  }
}

@media (max-width: 560px) {
  .faq-item summary {
    min-height: 74px;
    gap: 18px;
    font-size: 0.91rem;
  }

  .faq-answer {
    padding-right: 34px;
  }
}

/* =========================================================
   Motion system
   ========================================================= */

/* The hero now uses a real video layer rather than a CSS background image. */

.hero-intro > .hero-copy > * {
  opacity: 0;
  transform: translateY(18px);
}

.motion-ready .hero-intro > .hero-copy > * {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 720ms cubic-bezier(0.2, 0.75, 0.25, 1),
    transform 720ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.motion-ready .hero-intro .eyebrow {
  transition-delay: 80ms;
}

.motion-ready .hero-intro h1 {
  transition-delay: 150ms;
}

.motion-ready .hero-intro .hero-description {
  transition-delay: 230ms;
}

.motion-ready .hero-intro .hero-actions {
  transition-delay: 310ms;
}

.motion-ready .hero-intro .hero-highlights {
  transition-delay: 390ms;
}

/* Scroll reveals */
.reveal {
  --reveal-delay: 0ms;
  opacity: 0;
  transition:
    opacity 760ms cubic-bezier(0.2, 0.75, 0.25, 1) var(--reveal-delay),
    transform 760ms cubic-bezier(0.2, 0.75, 0.25, 1) var(--reveal-delay);
}

.reveal-up {
  transform: translate3d(0, 28px, 0);
}

.reveal-left {
  transform: translate3d(-28px, 12px, 0);
}

.reveal-right {
  transform: translate3d(28px, 12px, 0);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Keep card hover motion after reveal completes */
.service-card.reveal.is-visible:hover {
  transform: translateY(-4px);
}

/* About image gets a very small depth shift while scrolling */
.about-image {
  --about-parallax: 0px;
  overflow: hidden;
  border-radius: var(--radius-large);
}

.about-image img {
  transform: translate3d(0, var(--about-parallax), 0) scale(1.055);
  transition: transform 80ms linear;
  will-change: transform;
}

/* Slightly more tactile form focus */
.form-group input,
.form-group select,
.form-group textarea {
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  transform: translateY(-1px);
}

/* Form status messages arrive gently instead of popping in */
.form-message[data-active] {
  animation: form-message-in 320ms ease both;
}

@keyframes form-message-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

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

/* FAQ motion remains subtle and native-details friendly */
.faq-item summary {
  transition:
    color 180ms ease,
    padding-left 180ms ease;
}

.faq-item summary:hover {
  color: var(--blue-600);
  padding-left: 5px;
}

.faq-item[open] .faq-answer {
  animation: faq-answer-in 260ms ease both;
}

@keyframes faq-answer-in {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

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

/* A small icon response helps the services feel polished without being flashy */
.service-card:hover .service-icon {
  transform: translateY(-3px) rotate(-2deg);
}

.service-icon {
  transition:
    transform 220ms ease,
    background-color 220ms ease,
    color 220ms ease;
}

/* Prevent parallax/reveal motion from becoming awkward on touch layouts */
@media (max-width: 800px), (pointer: coarse) {
  .about-image img {
    transform: none;
    transition: none;
    will-change: auto;
  }

  .reveal-left,
  .reveal-right,
  .reveal-up {
    transform: translate3d(0, 22px, 0);
  }
}

/* Respect user motion preferences completely */
@media (prefers-reduced-motion: reduce) {
  .hero-intro > .hero-copy > *,
  .reveal,
  .reveal-up,
  .reveal-left,
  .reveal-right,
  .reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .about-image img {
    transform: none !important;
    transition: none !important;
    will-change: auto;
  }

  .form-message[data-active],
  .faq-item[open] .faq-answer {
    animation: none !important;
  }

  .faq-item summary:hover {
    padding-left: 0;
  }

  .service-card:hover .service-icon {
    transform: none;
  }

  .work-photo img,
  .work-photo:hover img {
    transform: none !important;
    transition: none !important;
  }
}

/* =========================================================
   Hero "Miller" accent
   ========================================================= */

#fancy-color {
  display: inline-block;
  color: #a8e9ff;
  background: linear-gradient(
    110deg,
    #8fdfff 0%,
    #d9f7ff 23%,
    #55bfe9 48%,
    #f2fcff 68%,
    #7fd9fa 100%
  );
  background-size: 240% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 5px 18px rgba(77, 191, 233, 0.13));
  animation: miller-color-shift 8s ease-in-out infinite alternate;
}

@keyframes miller-color-shift {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  #fancy-color {
    background-position: 42% 50%;
    animation: none !important;
  }
}

/* =========================================================
   Glacier-inspired hero refinement
   ========================================================= */

/* "Transparency is our middle name" — glass-like text only */
.hero .eyebrow {
  display: inline-block;
  width: auto;
  margin-bottom: 18px;
  padding: 0;
  color: transparent;
  border: 0;
  background: linear-gradient(
    108deg,
    rgba(232, 248, 253, 0.76) 0%,
    rgba(255, 255, 255, 0.96) 28%,
    rgba(169, 226, 246, 0.78) 52%,
    rgba(247, 253, 255, 0.92) 73%,
    rgba(138, 211, 238, 0.72) 100%
  );
  background-size: 220% 100%;
  background-position: 38% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  text-shadow:
    0 0 10px rgba(230, 248, 255, 0.12),
    0 10px 32px rgba(4, 24, 36, 0.15);
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.14))
    drop-shadow(0 8px 20px rgba(0, 0, 0, 0.08));
  animation: transparency-glass-shift 11s ease-in-out infinite alternate;
}

.hero .eyebrow::before,
.hero .eyebrow::after {
  display: none;
}

@keyframes transparency-glass-shift {
  0% {
    background-position: 18% 50%;
  }

  100% {
    background-position: 88% 50%;
  }
}

/* Primary CTA — subtle liquid glass */
.hero-quote-button {
  --glass-x: 50%;
  --glass-y: 50%;
  position: relative;
  isolation: isolate;
  min-height: 60px;
  padding: 15px 28px 15px 30px;
  gap: 13px;
  overflow: hidden;
  color: rgba(249, 253, 255, 0.96);
  border: 1px solid rgba(233, 248, 255, 0.22);
  border-radius: 14px;
  background:
    radial-gradient(
      circle at var(--glass-x) var(--glass-y),
      rgba(190, 229, 243, 0.055) 0%,
      rgba(164, 211, 229, 0.028) 30%,
      transparent 62%
    ),
    linear-gradient(
      180deg,
      rgba(229, 246, 252, 0.075) 0%,
      rgba(173, 216, 233, 0.035) 100%
    ),
    rgba(8, 35, 50, 0.2);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(130, 198, 223, 0.025);
  backdrop-filter: blur(12px) saturate(118%);
  -webkit-backdrop-filter: blur(12px) saturate(118%);
  font-size: 0.93rem;
  text-shadow: 0 1px 12px rgba(0, 20, 31, 0.22);
  transition:
    transform 220ms cubic-bezier(0.2, 0.75, 0.25, 1),
    border-color 220ms ease,
    box-shadow 220ms ease,
    background-color 220ms ease;
}

/* Very fine upper edge highlight */
.hero-quote-button::before {
  position: absolute;
  z-index: -1;
  inset: 1px;
  pointer-events: none;
  content: "";
  border-radius: 12px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.035) 16%,
    transparent 42%
  );
  opacity: 0.52;
  transition:
    opacity 220ms ease,
    transform 260ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

/* Soft refraction bloom — intentionally restrained */
.hero-quote-button::after {
  position: absolute;
  z-index: -2;
  width: 138px;
  height: 138px;
  left: var(--glass-x);
  top: var(--glass-y);
  pointer-events: none;
  content: "";
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(207, 240, 251, 0.07) 0%,
    rgba(148, 209, 232, 0.028) 38%,
    transparent 72%
  );
  filter: blur(18px);
  opacity: 0.28;
  transform: translate(-50%, -50%) scale(0.95);
  transition:
    opacity 240ms ease,
    transform 280ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.hero-quote-button:hover {
  border-color: rgba(238, 250, 255, 0.3);
  background:
    radial-gradient(
      circle at var(--glass-x) var(--glass-y),
      rgba(190, 229, 243, 0.07) 0%,
      rgba(164, 211, 229, 0.035) 30%,
      transparent 62%
    ),
    linear-gradient(
      180deg,
      rgba(232, 247, 252, 0.09) 0%,
      rgba(173, 216, 233, 0.045) 100%
    ),
    rgba(8, 35, 50, 0.24);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.17),
    inset 0 1px 0 rgba(255, 255, 255, 0.17),
    inset 0 -1px 0 rgba(130, 198, 223, 0.035);
  transform: translateY(-2px);
}

.hero-quote-button:hover::before {
  opacity: 0.62;
  transform: scale(1.002);
}

.hero-quote-button:hover::after {
  opacity: 0.38;
  transform: translate(-50%, -50%) scale(1.04);
}

.hero-quote-button svg {
  width: 17px;
  height: 17px;
  stroke-width: 2;
  opacity: 0.9;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.hero-quote-button:hover svg {
  opacity: 1;
  transform: translateX(3px);
}

/* Atmospheric lift behind hero copy, similar to the Glacier treatment */
.hero-copy::before {
  position: absolute;
  z-index: -1;
  top: -12%;
  left: -9%;
  width: 82%;
  height: 96%;
  pointer-events: none;
  content: "";
  background: radial-gradient(
    ellipse at 30% 42%,
    rgba(126, 203, 231, 0.075),
    rgba(255, 255, 255, 0.025) 34%,
    transparent 68%
  );
  filter: blur(30px);
  opacity: 0.82;
}

.hero-copy {
  position: relative;
}

/* Graceful fallback */
@supports not (
  (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))
) {
  .hero-quote-button {
    background: rgba(12, 38, 55, 0.74);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero .eyebrow {
    background-position: 48% 50%;
    animation: none !important;
  }

  .hero-quote-button {
    --glass-x: 50%;
    --glass-y: 50%;
  }

  .hero-quote-button::after {
    opacity: 0.24;
    transform: translate(-50%, -50%) scale(1);
    transition: none !important;
  }
}

/* =========================================================
   Mobile coherence pass
   ========================================================= */

@media (max-width: 800px) {
  .site-header {
    background: linear-gradient(
      180deg,
      rgba(4, 24, 36, 0.38),
      rgba(4, 24, 36, 0)
    );
  }

  .site-header.scrolled {
    background: rgba(255, 255, 255, 0.96);
  }

  .hero {
    min-height: min(760px, 100svh);
  }

  .hero-content {
    padding-top: 128px;
    padding-bottom: 76px;
  }

  .hero-copy {
    max-width: 640px;
  }

  .hero h1 {
    max-width: 560px;
    line-height: 0.94;
  }

  .hero-description {
    max-width: 520px;
    margin-bottom: 27px;
  }

  .hero-quote-button {
    min-height: 58px;
    border-radius: 13px;
  }

  .hero-highlights {
    max-width: 480px;
  }

  .section-heading,
  .about-grid,
  .quote-grid,
  .faq-layout {
    gap: 38px;
  }

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

  .about-image {
    width: 100%;
    max-width: none;
  }

  .about-copy {
    max-width: 650px;
  }

  .quote-section {
    padding-top: 88px;
    padding-bottom: 92px;
  }

  .quote-copy {
    max-width: 650px;
  }

  .faq-section {
    padding-top: 90px;
    padding-bottom: 96px;
  }

  .site-footer {
    padding-bottom: 102px;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 720px;
  }

  .hero-content {
    padding-top: 116px;
    padding-bottom: 66px;
  }

  .hero h1 {
    font-size: clamp(3.35rem, 16.5vw, 4.75rem);
    line-height: 0.91;
    letter-spacing: -0.045em;
  }

  .hero .eyebrow {
    margin-bottom: 15px;
    font-size: 0.66rem;
    letter-spacing: 0.13em;
  }

  .hero-description {
    font-size: 0.96rem;
    line-height: 1.6;
  }

  .hero-actions {
    margin-bottom: 28px;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

  .about-grid {
    gap: 48px;
  }

  .quote-grid {
    gap: 42px;
  }

  .faq-layout {
    gap: 34px;
  }

  .faq-heading h2 {
    max-width: 340px;
  }

  .mobile-cta {
    right: 12px;
    left: 12px;
  }

  .mobile-cta a {
    min-height: 54px;
    border-radius: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-cta {
    transition: none !important;
    transform: none !important;
  }
}

@media (hover: none), (pointer: coarse) {
  .hero-quote-button {
    --glass-x: 50%;
    --glass-y: 42%;
  }

  .hero-quote-button::after {
    opacity: 0.26;
    transform: translate(-50%, -50%) scale(1);
  }

  .hero-quote-button:hover::before {
    opacity: 0.72;
    transform: none;
  }

  .hero-quote-button:hover::after {
    opacity: 0.26;
    transform: translate(-50%, -50%) scale(1);
  }
}
