:root {
  --navy: #070913;
  --navy-light: #11152a;
  --blue: #30309b;
  --cyan: #00a859;
  --ink: #15182d;
  --muted: #686b7b;
  --line: #dfe1e8;
  --off-white: #f5f6f8;
  --white: #ffffff;
  --header-height: 88px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

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

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

.section {
  padding: 118px 0;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: var(--header-height);
  padding: 0 clamp(28px, 5vw, 78px);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  transition: height 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  height: 74px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.97);
  border-color: transparent;
  box-shadow: 0 8px 35px rgba(7, 9, 19, 0.1);
  backdrop-filter: blur(14px);
}

.brand {
  position: relative;
  z-index: 102;
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: 218px;
  height: 50px;
  object-fit: contain;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(28px, 3vw, 48px);
  height: 100%;
}

.primary-nav a {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  font-size: 14px;
  font-weight: 600;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  content: "";
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.primary-nav a:hover::after,
.primary-nav a.active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  padding: 8px;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 27px;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hero {
  position: relative;
  height: min(880px, 100vh);
  min-height: 680px;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  visibility: hidden;
  align-items: center;
  opacity: 0;
  background-image:
    linear-gradient(90deg, rgba(5, 6, 16, 0.9) 0%, rgba(8, 9, 22, 0.63) 45%, rgba(5, 6, 16, 0.14) 80%),
    linear-gradient(0deg, rgba(5, 6, 16, 0.4), transparent 40%),
    var(--hero-image);
  background-position: center;
  background-size: cover;
  transition: visibility 0s linear 0.8s, opacity 0.8s ease;
}

.hero-slide::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 25% 100%;
  pointer-events: none;
}

.hero-slide.active {
  z-index: 1;
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 60px;
}

.eyebrow,
.section-label {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 22px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow {
  color: #73d7a5;
}

.eyebrow::before,
.section-label::before {
  width: 34px;
  height: 2px;
  content: "";
  background: currentColor;
}

.hero h1,
.hero h2 {
  max-width: 890px;
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(48px, 6.1vw, 82px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.hero-copy {
  max-width: 630px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-top: 39px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 56px;
  padding: 0 25px;
  border: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.025em;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

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

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

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 5px;
  color: var(--navy);
  border-bottom: 1px solid #aec0ca;
  font-size: 13px;
  font-weight: 700;
  transition: gap 0.25s ease, color 0.25s ease;
}

.text-link:hover {
  gap: 21px;
  color: var(--blue);
}

.text-link.light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.hero-controls {
  position: absolute;
  z-index: 4;
  bottom: 54px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
}

.slide-dots {
  display: flex;
  gap: 9px;
}

.slide-dot {
  position: relative;
  width: 64px;
  padding: 0 0 12px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.55);
  border: 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.26);
  background: none;
  font-size: 11px;
  text-align: left;
  cursor: pointer;
}

.slide-dot::after {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  content: "";
  background: var(--cyan);
  transform: translateX(-101%);
}

.slide-dot.active {
  color: var(--white);
}

.slide-dot.active::after {
  animation: progress 6s linear;
}

@keyframes progress {
  from { transform: translateX(-101%); }
  to { transform: translateX(0); }
}

.slide-arrows {
  display: flex;
}

.slider-arrow {
  display: grid;
  width: 48px;
  height: 48px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(4, 27, 43, 0.22);
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.slider-arrow + .slider-arrow {
  border-left: 0;
}

.slider-arrow:hover {
  background: var(--blue);
}

.scroll-cue {
  position: absolute;
  z-index: 4;
  right: 22px;
  bottom: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: rotate(-90deg) translateX(100%);
  transform-origin: right bottom;
}

.scroll-cue span {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--white);
}

.hero-photo-credit {
  position: absolute;
  z-index: 5;
  right: 20px;
  bottom: 12px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.hero-photo-credit:hover {
  color: var(--white);
}

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

.intro-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.82fr;
  gap: 10%;
}

.section-title {
  max-width: 720px;
  margin: 0;
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-size: clamp(36px, 4.2vw, 58px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.04em;
}

.intro-copy {
  padding-top: 40px;
}

.intro-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 17px;
}

.intro-copy .text-link {
  margin-top: 12px;
}

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

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 60px;
}

.section-aside {
  max-width: 390px;
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 16px;
}

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

.service-card {
  position: relative;
  min-height: 545px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #d4d8e1;
  background: var(--white);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.service-card::before {
  z-index: 3;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.service-card:hover {
  z-index: 1;
  border-color: var(--blue);
  box-shadow: 0 22px 50px rgba(48, 48, 155, 0.1);
  transform: translateY(-6px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-number {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  display: grid;
  width: 40px;
  height: 40px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(48, 48, 155, 0.92);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  place-items: center;
  backdrop-filter: blur(8px);
}

.service-card-image {
  height: 230px;
  overflow: hidden;
  background: var(--navy);
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease, opacity 0.3s ease;
}

.service-card:hover .service-card-image img {
  transform: scale(1.045);
}

.service-card-body {
  padding: 31px 32px 35px;
}

.service-icon-wrap {
  display: grid;
  width: 76px;
  height: 76px;
  margin: 20px 0 45px;
  color: var(--blue);
  border: 1px solid #d9dce5;
  background: var(--off-white);
  place-items: center;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.service-card:hover .service-icon-wrap {
  color: var(--white);
  border-color: var(--blue);
  background: var(--blue);
}

.service-icon {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.service-card h3 {
  min-height: 62px;
  margin: 0 0 18px;
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

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

.featured-project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.featured-project-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 310px;
  overflow: hidden;
  border: 1px solid #d4d8e1;
  background: var(--white);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.featured-project-card:hover {
  border-color: var(--blue);
  box-shadow: 0 20px 46px rgba(48, 48, 155, 0.09);
  transform: translateY(-5px);
}

.project-placeholder {
  position: relative;
  display: grid;
  min-height: 310px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.7);
  background:
    linear-gradient(135deg, rgba(48, 48, 155, 0.9), rgba(0, 168, 89, 0.72)),
    var(--navy);
  place-items: center;
}

.project-placeholder::before,
.project-placeholder::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.project-placeholder::before {
  width: 230px;
  height: 230px;
  transform: translate(-35%, 45%);
}

.project-placeholder::after {
  right: -40px;
  top: -55px;
  width: 170px;
  height: 170px;
}

.project-placeholder span {
  z-index: 1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.featured-project-body {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 31px 27px;
}

.featured-project-number {
  position: absolute;
  top: 25px;
  right: 25px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.featured-project-body p {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.featured-project-body h3 {
  margin: 0;
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.projects {
  color: var(--white);
  background: var(--navy);
}

.light-label {
  color: #71d6a3;
}

.light-title {
  color: var(--white);
}

.project-heading .section-aside {
  color: #a3a6b5;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: repeat(2, 300px);
  gap: 18px;
}

.project-card {
  position: relative;
  overflow: hidden;
  background: var(--navy-light);
}

.project-large {
  grid-row: 1 / 3;
}

.project-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(3, 19, 31, 0.86), transparent 64%);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease;
}

.project-card:hover img {
  transform: scale(1.045);
}

.project-overlay {
  position: absolute;
  z-index: 1;
  right: 32px;
  bottom: 28px;
  left: 32px;
}

.project-overlay p {
  margin: 0 0 5px;
  color: #89d9b2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-overlay h3 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 24px;
}

.round-link {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  place-items: center;
}

.project-note {
  margin: 18px 0 0;
  color: #898d9e;
  font-size: 11px;
}

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

.about-grid {
  display: grid;
  grid-template-columns: 0.92fr 1fr;
  gap: 10%;
  align-items: center;
}

.about-media {
  position: relative;
}

.about-media::before {
  position: absolute;
  z-index: -1;
  top: -40px;
  left: -100vw;
  width: calc(100vw + 75%);
  height: calc(100% + 80px);
  content: "";
  background: var(--off-white);
}

.about-media > img {
  width: 100%;
  min-height: 570px;
  object-fit: cover;
}

.about-accent {
  position: absolute;
  right: -42px;
  bottom: 42px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 180px;
  height: 160px;
  padding: 25px;
  color: var(--white);
  background: var(--blue);
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.about-accent svg {
  width: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.about-content .lead {
  margin: 28px 0 38px;
  color: var(--muted);
  font-size: 18px;
}

.values-list > div {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.values-list span {
  grid-row: 1 / 3;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
}

.values-list h3 {
  margin: 0 0 5px;
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-size: 17px;
}

.values-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact {
  color: var(--white);
  background: var(--blue);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 10%;
}

.contact-intro h2 {
  max-width: 500px;
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(38px, 4.4vw, 58px);
  line-height: 1.13;
  letter-spacing: -0.04em;
}

.contact-intro > p:not(.section-label) {
  max-width: 490px;
  margin: 27px 0;
  color: rgba(255, 255, 255, 0.76);
}

.contact-email {
  display: inline-flex;
  gap: 18px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  font-weight: 700;
}

.contact-form {
  padding: 42px;
  color: var(--ink);
  background: var(--white);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.contact-form label {
  display: block;
  margin-bottom: 25px;
}

.contact-form label > span {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 9px 0 11px;
  color: var(--ink);
  border: 0;
  border-bottom: 1px solid #ccd6db;
  border-radius: 0;
  outline: none;
  background: transparent;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9ba7ae;
}

.form-submit {
  margin-top: 5px;
}

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

.form-status {
  min-height: 20px;
  margin: 12px 0 0;
  color: var(--blue);
  font-size: 13px;
}

.form-status.success {
  color: #087340;
}

.form-status.error {
  color: #b42318;
}

.site-footer {
  color: var(--muted);
  background: #eef3f2;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 80px;
  align-items: center;
  padding-top: 63px;
  padding-bottom: 63px;
}

.footer-brand {
  color: var(--navy);
}

.footer-main > p {
  max-width: 350px;
  margin: 0;
  font-size: 14px;
}

.footer-main nav {
  display: flex;
  gap: 26px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
}

.footer-main nav a:hover {
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
  color: #737786;
  border-top: 1px solid #d5dfdd;
  font-size: 11px;
}

.footer-bottom p {
  margin: 0;
}

/* Inner pages */
.page-hero {
  position: relative;
  display: flex;
  min-height: 610px;
  align-items: center;
  color: var(--white);
  background-position: center;
  background-size: cover;
}

.page-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 6, 16, 0.92), rgba(5, 6, 16, 0.38)),
    linear-gradient(0deg, rgba(5, 6, 16, 0.35), transparent);
}

.projects-hero {
  background-image: url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=2000&q=88");
}

.about-hero {
  background-image: url("https://images.unsplash.com/photo-1521791136064-7986c2920216?auto=format&fit=crop&w=2000&q=88");
}

.contact-page-hero {
  background-image: url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=2000&q=88");
}

.page-hero-content {
  position: relative;
  z-index: 1;
  padding-top: 90px;
}

.page-hero h1 {
  max-width: 800px;
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(54px, 6.3vw, 84px);
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.page-hero-content > p:last-child {
  max-width: 610px;
  margin: 27px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
}

.page-intro {
  padding-bottom: 95px;
}

.project-directory {
  background: var(--white);
}

.project-directory-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 48px;
}

.project-filter {
  width: min(100%, 360px);
}

.project-filter label {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-filter-field {
  position: relative;
}

.project-filter-field svg {
  position: absolute;
  top: 50%;
  right: 17px;
  width: 16px;
  fill: none;
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  transform: translateY(-50%);
  pointer-events: none;
}

.project-filter-field select {
  width: 100%;
  height: 52px;
  padding: 0 48px 0 17px;
  color: var(--ink);
  border: 1px solid #ccd2dc;
  border-radius: 0;
  outline: none;
  background: var(--off-white);
  font-size: 13px;
  cursor: pointer;
  appearance: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.project-filter-field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(48, 48, 155, 0.08);
}

.project-table-wrap {
  overflow-x: auto;
  border: 1px solid #d6dbe3;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(7, 9, 19, 0.06);
}

.project-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  table-layout: fixed;
}

.project-table th {
  padding: 18px 22px;
  color: var(--white);
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  background: var(--navy);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
}

.project-table th:first-child {
  width: 78px;
}

.project-table th:last-child {
  width: 245px;
  border-right: 0;
}

.project-table td {
  padding: 19px 22px;
  color: var(--ink);
  border-right: 1px solid #e3e6ec;
  border-bottom: 1px solid #e3e6ec;
  font-size: 14px;
  line-height: 1.5;
  vertical-align: middle;
}

.project-table td:first-child {
  color: #9297a5;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.project-table td:last-child {
  border-right: 0;
}

.project-table tbody tr:last-child td {
  border-bottom: 0;
}

.project-table tbody tr {
  transition: background 0.2s ease;
}

.project-table tbody tr:nth-child(even) {
  background: #f8faf9;
}

.project-table tbody tr:hover {
  background: #f0f5f3;
}

.client-badge {
  display: inline-block;
  padding: 6px 10px;
  color: var(--blue);
  border: 1px solid rgba(48, 48, 155, 0.2);
  background: rgba(48, 48, 155, 0.06);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.35;
}

.client-badge-alt {
  color: #087340;
  border-color: rgba(0, 168, 89, 0.25);
  background: rgba(0, 168, 89, 0.07);
}

.project-result-count {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}

.project-result-count span {
  color: var(--blue);
  font-weight: 700;
}

.project-empty-state {
  margin: 0;
  padding: 48px 20px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.project-listing {
  padding-top: 0;
  background: var(--off-white);
}

.project-feature {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  min-height: 520px;
  margin-bottom: 28px;
  background: var(--white);
}

.project-feature.reverse {
  grid-template-columns: 0.85fr 1.35fr;
}

.project-feature.reverse .project-feature-image {
  grid-column: 2;
}

.project-feature.reverse .project-feature-copy {
  grid-row: 1;
  grid-column: 1;
}

.project-feature-image {
  min-height: 500px;
  overflow: hidden;
}

.project-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-feature:hover .project-feature-image img {
  transform: scale(1.035);
}

.project-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 55px;
}

.project-feature-copy > span {
  margin-bottom: 24px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.project-feature-copy h2 {
  margin: 0 0 20px;
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.project-feature-copy p {
  margin: 0;
  color: var(--muted);
}

.project-feature-copy ul {
  margin: 27px 0 0;
  padding: 0;
  list-style: none;
}

.project-feature-copy li {
  padding: 9px 0;
  color: var(--ink);
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
}

.dark-note {
  color: var(--muted);
}

.page-cta {
  padding: 85px 0;
  color: var(--white);
  background: var(--blue);
}

.page-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.page-cta h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.cta-button {
  flex-shrink: 0;
  color: var(--navy);
  background: var(--white);
}

.cta-button:hover {
  color: var(--white);
  background: var(--cyan);
}

.about-story-grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 9%;
  align-items: center;
}

.about-story-image img {
  width: 100%;
  min-height: 600px;
  object-fit: cover;
}

.about-story-copy .lead {
  margin: 30px 0 20px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 500;
}

.about-story-copy > p:not(.section-label, .lead) {
  color: var(--muted);
}

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

.value-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.value-card-grid article {
  min-height: 330px;
  padding: 38px 31px;
  border: 1px solid var(--line);
  background: var(--white);
}

.value-card-grid article + article {
  border-left: 0;
}

.value-card-grid span {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 700;
}

.value-card-grid h3 {
  margin: 70px 0 15px;
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-size: 22px;
}

.value-card-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.process-section {
  overflow: hidden;
  background: var(--off-white);
}

.process-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 9%;
  align-items: stretch;
}

.process-image {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background: var(--navy);
}

.process-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(7, 9, 19, 0.46), transparent 45%);
  pointer-events: none;
}

.process-image img {
  width: 100%;
  height: 100%;
  min-height: 760px;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.process-image:hover img {
  transform: scale(1.025);
}

.process-image-label {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  display: flex;
  width: 180px;
  height: 145px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  color: var(--white);
  background: var(--blue);
}

.process-image-label span {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.process-image-label strong {
  font-family: "Manrope", sans-serif;
  font-size: 24px;
}

.process-content {
  align-self: center;
}

.process-content > .section-title {
  margin-bottom: 42px;
}

.process-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  padding: 27px 0;
  border-top: 1px solid #ccd2da;
}

.process-item > span {
  padding-top: 5px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.process-item h3 {
  margin: 0 0 9px;
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.process-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.capability-banner {
  padding: 100px 0;
  color: var(--white);
  background: var(--navy);
}

.capability-banner-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12%;
  align-items: end;
}

.capability-banner h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(38px, 4.7vw, 60px);
  line-height: 1.14;
  letter-spacing: -0.04em;
}

.capability-banner-grid > div:last-child p {
  margin: 0;
  padding: 13px 0;
  color: #c5c7d0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 14px;
}

.contact-page {
  background: var(--off-white);
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 9%;
  align-items: start;
}

.contact-lead {
  max-width: 460px;
  margin: 27px 0 42px;
  color: var(--muted);
  font-size: 17px;
}

.contact-detail-item {
  padding: 21px 0;
  border-top: 1px solid var(--line);
}

.contact-detail-item > span {
  display: block;
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-detail-item a,
.contact-detail-item p {
  margin: 0;
  color: var(--navy);
  font-size: 17px;
  font-weight: 600;
}

.contact-phone-list {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 5px;
}

.contact-phone-list a {
  transition: color 0.2s ease;
}

.contact-phone-list a:hover {
  color: var(--blue);
}

.detail-note {
  margin-top: 25px;
  color: var(--muted);
  font-size: 11px;
}

.elevated-form {
  box-shadow: 0 24px 60px rgba(7, 9, 19, 0.1);
}

.contact-form select {
  width: 100%;
  padding: 9px 0 11px;
  color: var(--ink);
  border: 0;
  border-bottom: 1px solid #ccd6db;
  border-radius: 0;
  outline: none;
  background: transparent;
}

.company-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 70px;
}

.company-stat-grid article {
  position: relative;
  min-height: 158px;
  padding: 26px 24px 22px;
  overflow: hidden;
  border: 1px solid #ced2df;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(7, 9, 19, 0.05);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.company-stat-grid article::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.company-stat-grid article:hover {
  border-color: var(--blue);
  box-shadow: 0 16px 38px rgba(48, 48, 155, 0.11);
  transform: translateY(-4px);
}

.company-stat-grid strong {
  display: block;
  color: var(--blue);
  font-family: "Manrope", sans-serif;
  font-size: clamp(35px, 3.4vw, 48px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.company-stat-grid strong span {
  color: var(--cyan);
  font-size: 0.62em;
}

.company-stat-grid p {
  margin: 22px 0 0;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.core-values-grid article {
  min-height: 285px;
  padding: 28px 25px;
}

.core-values-grid .value-number {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.core-values-grid h3 {
  margin: 46px 0 15px;
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-size: 21px;
  letter-spacing: -0.025em;
}

.core-values-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
}

@media (max-width: 980px) {
  .container {
    width: min(100% - 48px, 1200px);
  }

  .section {
    padding: 90px 0;
  }

  .menu-toggle {
    position: relative;
    z-index: 102;
    display: block;
  }

  body.menu-open .menu-toggle {
    color: var(--white);
  }

  body.menu-open .site-header.scrolled {
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .primary-nav {
    position: fixed;
    z-index: 101;
    inset: 0;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 14px;
    padding: max(118px, 14vh) 10vw 50px;
    overflow-y: auto;
    color: var(--white);
    opacity: 0;
    background: var(--navy);
    transition: visibility 0s linear 0.3s, opacity 0.3s ease;
  }

  .primary-nav.open {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
  }

  .primary-nav a {
    flex-shrink: 0;
    height: auto;
    padding: 10px 0;
    font-family: "Manrope", sans-serif;
    font-size: clamp(28px, 6vw, 36px);
    line-height: 1.2;
  }

  .primary-nav a::after {
    height: 2px;
  }

  .site-header.scrolled .primary-nav {
    color: var(--white);
  }

  .intro-grid,
  .about-grid,
  .contact-grid {
    gap: 7%;
  }

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

  .service-card:last-child {
    grid-column: 1 / -1;
  }

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

  .project-grid {
    grid-template-rows: repeat(2, 260px);
  }

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

  .project-placeholder {
    min-height: 240px;
  }

  .about-media > img {
    min-height: 530px;
  }

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

  .footer-main nav {
    grid-column: 1 / 3;
  }

  .project-feature-copy {
    padding: 38px;
  }

  .project-directory-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }

  .contact-page-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .value-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .value-card-grid article:nth-child(3) {
    border-left: 1px solid var(--line);
  }

  .value-card-grid article:nth-child(n + 3) {
    border-top: 0;
  }

  .company-stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    gap: 6%;
  }

  .process-image,
  .process-image img {
    min-height: 700px;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 74px;
  }

  .container {
    width: calc(100% - 36px);
  }

  .site-header {
    height: 74px;
    padding: 0 18px;
  }

  .brand-logo {
    width: 176px;
    height: 40px;
  }

  .hero {
    min-height: 600px;
    height: 100svh;
  }

  .hero-slide {
    background-image:
      linear-gradient(90deg, rgba(5, 6, 16, 0.92), rgba(5, 6, 16, 0.42)),
      linear-gradient(0deg, rgba(5, 6, 16, 0.52), transparent 50%),
      var(--hero-image);
  }

  .hero-content {
    padding-top: 20px;
  }

  .hero h1,
  .hero h2 {
    font-size: clamp(42px, 13vw, 60px);
  }

  .hero-copy {
    margin-top: 22px;
    font-size: 15px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
    margin-top: 30px;
  }

  .hero-controls {
    bottom: 27px;
  }

  .slide-dot {
    width: 40px;
  }

  .slide-arrows,
  .scroll-cue {
    display: none;
  }

  .hero-photo-credit {
    right: 12px;
    bottom: 8px;
    font-size: 8px;
  }

  .section {
    padding: 74px 0;
  }

  .intro-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .intro-copy {
    padding-top: 28px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 40px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-card:last-child {
    grid-column: auto;
  }

  .service-card {
    min-height: auto;
  }

  .service-card + .service-card {
    border-left: 1px solid var(--line);
  }

  .service-card:hover,
  .service-card.featured {
    transform: none;
  }

  .service-card-image {
    height: 220px;
  }

  .service-card h3 {
    min-height: 0;
  }

  .project-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 330px);
  }

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

  .featured-project-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .project-placeholder {
    min-height: 220px;
  }

  .featured-project-body {
    min-height: 155px;
  }

  .project-large {
    grid-row: auto;
  }

  .round-link {
    display: none;
  }

  .about-grid {
    gap: 75px;
  }

  .about-media > img {
    min-height: 430px;
  }

  .about-accent {
    right: 0;
    bottom: -38px;
    width: 155px;
    height: 135px;
  }

  .contact-grid {
    gap: 48px;
  }

  .contact-form {
    padding: 28px 22px;
  }

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

  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 50px;
    padding-bottom: 42px;
  }

  .footer-main nav {
    grid-column: auto;
    flex-wrap: wrap;
  }

  .footer-bottom {
    gap: 15px;
    flex-direction: column;
  }

  .page-hero {
    min-height: 560px;
  }

  .page-hero h1 {
    font-size: clamp(46px, 13vw, 65px);
  }

  .project-feature,
  .project-feature.reverse {
    grid-template-columns: 1fr;
  }

  .project-feature.reverse .project-feature-image,
  .project-feature.reverse .project-feature-copy {
    grid-row: auto;
    grid-column: auto;
  }

  .project-feature-image {
    min-height: 340px;
  }

  .project-feature-copy {
    padding: 34px 25px 42px;
  }

  .project-filter {
    width: 100%;
  }

  .project-table th,
  .project-table td {
    padding-right: 16px;
    padding-left: 16px;
  }

  .project-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .project-table {
    display: block;
    min-width: 0;
  }

  .project-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .project-table tbody {
    display: grid;
    gap: 14px;
  }

  .project-table tbody tr {
    display: block;
    padding: 19px 18px;
    border: 1px solid #d6dbe3;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(7, 9, 19, 0.05);
  }

  .project-table tbody tr:nth-child(even),
  .project-table tbody tr:hover {
    background: var(--white);
  }

  .project-table tbody tr[hidden] {
    display: none;
  }

  .project-table td {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 12px;
    padding: 9px 0;
    border: 0;
    font-size: 13px;
  }

  .project-table td::before {
    color: #8b909e;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
  }

  .project-table td:nth-child(1)::before {
    content: "No.";
  }

  .project-table td:nth-child(2)::before {
    content: "Project";
  }

  .project-table td:nth-child(3)::before {
    content: "Client";
  }

  .project-table td:first-child {
    font-size: 11px;
  }

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

  .about-story-grid,
  .process-grid,
  .capability-banner-grid,
  .contact-page-grid {
    grid-template-columns: 1fr;
  }

  .about-story-grid {
    gap: 55px;
  }

  .about-story-image img {
    min-height: 430px;
  }

  .process-grid {
    gap: 52px;
  }

  .process-image,
  .process-image img {
    min-height: 480px;
  }

  .process-content > .section-title {
    margin-bottom: 34px;
  }

  .process-item {
    grid-template-columns: 38px 1fr;
    padding: 24px 0;
  }

  .value-card-grid {
    grid-template-columns: 1fr;
  }

  .value-card-grid article + article,
  .value-card-grid article:nth-child(3) {
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .value-card-grid article {
    min-height: 280px;
  }

  .capability-banner-grid {
    gap: 50px;
  }

  .contact-page-grid {
    gap: 50px;
  }

  .company-stat-grid {
    gap: 14px;
    margin-top: 52px;
  }

  .core-values-grid {
    grid-template-columns: 1fr;
  }

  .company-stat-grid article {
    min-height: 145px;
    padding: 24px 19px 20px;
  }
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 30px);
  }

  .site-header {
    padding-inline: 15px;
  }

  .brand-logo {
    width: 156px;
    height: 36px;
  }

  .primary-nav {
    padding-right: 24px;
    padding-left: 24px;
  }

  .hero h1,
  .hero h2 {
    font-size: clamp(37px, 11.5vw, 50px);
  }

  .hero-copy {
    line-height: 1.55;
  }

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

  .company-stat-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 25px 18px;
  }

  .footer-main nav {
    gap: 18px;
  }
}

@media (max-width: 980px) and (max-height: 620px) {
  .primary-nav {
    gap: 4px;
    padding-top: 88px;
    padding-bottom: 24px;
  }

  .primary-nav a {
    padding: 6px 0;
    font-size: 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
