:root {
  --ink: #101317;
  --paper: #f4f1ea;
  --paper-2: #ebe6da;
  --cyan: #1ea7a8;
  --amber: #d99a2b;
  --steel: #63717e;
  --white: #ffffff;
  --line: #d5cec0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Aptos, Arial, sans-serif;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 48px;
  color: var(--white);
  background: color-mix(in srgb, var(--ink) 82%, transparent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border: 2px solid var(--cyan);
  border-left-color: var(--amber);
}

nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  color: #d9e1e7;
}

nav a:hover {
  color: var(--white);
}

.hero {
  position: relative;
  min-height: 820px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.78;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 19, 23, 0.98) 0%, rgba(16, 19, 23, 0.88) 33%, rgba(16, 19, 23, 0.34) 72%, rgba(16, 19, 23, 0.12) 100%),
    linear-gradient(0deg, rgba(16, 19, 23, 0.94) 0%, rgba(16, 19, 23, 0) 28%);
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 40px));
  margin-left: clamp(28px, 7vw, 96px);
  padding-top: 72px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.98;
}

.hero-copy {
  max-width: 660px;
  margin: 22px 0 0;
  color: #dfe6ea;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.32;
}

.tagline {
  margin: 18px 0 0;
  color: var(--amber);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 900;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-weight: 800;
}

.button.primary {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #061315;
}

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

.hero-email {
  display: inline-flex;
  margin-top: 18px;
  color: var(--white);
  font-size: 20px;
  font-weight: 900;
  border-bottom: 2px solid var(--cyan);
}

.hero-rail {
  position: absolute;
  left: clamp(28px, 7vw, 96px);
  right: clamp(28px, 7vw, 96px);
  bottom: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  color: var(--white);
}

.hero-rail div {
  min-height: 72px;
  padding-top: 16px;
  border-top: 2px solid var(--cyan);
}

.hero-rail div:nth-child(2) {
  border-top-color: var(--amber);
}

.hero-rail strong,
.hero-rail span {
  display: block;
}

.hero-rail strong {
  margin-bottom: 7px;
}

.hero-rail span {
  color: #bbc6ce;
  font-size: 13px;
}

.section {
  padding: 92px clamp(28px, 7vw, 96px);
}

.section-head {
  max-width: 920px;
}

h2 {
  margin: 0;
  max-width: 940px;
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.02;
}

.lead {
  max-width: 850px;
  margin: 30px 0 0;
  color: #3a424a;
  font-size: 23px;
  line-height: 1.45;
}

.service-grid,
.steps,
.project-grid,
.who-grid,
.support-grid,
.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 42px;
}

.service,
.steps article,
.who-grid article,
.support-grid > div,
.experience-grid article {
  min-height: 300px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
}

.accent {
  display: block;
  width: 38px;
  height: 4px;
  margin-bottom: 34px;
  background: var(--cyan);
}

.accent.amber {
  background: var(--amber);
}

h3 {
  margin: 0 0 16px;
  font-size: 28px;
}

.service p,
.steps p {
  color: #39444c;
  font-size: 17px;
  line-height: 1.45;
}

ul {
  margin: 22px 0 0;
  padding-left: 18px;
  color: #53606b;
  line-height: 1.7;
}

.who {
  background: var(--paper);
}

.experience-grid {
  grid-template-columns: repeat(3, 1fr);
}

.experience-grid article {
  min-height: 230px;
}

.experience-grid p {
  margin: 0;
  color: #39444c;
  font-size: 17px;
  line-height: 1.45;
}

.contact-fit {
  background: var(--paper-2);
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.reason-grid span {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  color: #26323a;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
}

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

.who-grid article {
  min-height: 260px;
}

.who-grid p,
.support-grid p {
  color: #39444c;
  font-size: 17px;
  line-height: 1.45;
}

.system-list,
.result-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  padding: 0;
  list-style: none;
}

.system-list span,
.result-list li {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  background: var(--white);
  border: 1px solid var(--line);
  color: #26323a;
  font-weight: 900;
}

.service-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.service-links a {
  padding: 11px 14px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
}

.about {
  background: var(--paper-2);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: 42px;
  align-items: start;
  margin-top: 42px;
}

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

.about-copy p {
  margin: 0 0 22px;
  color: #39444c;
  font-size: 20px;
  line-height: 1.52;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-principles {
  display: grid;
  gap: 12px;
}

.about-principles div {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 72px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
}

.about-principles span {
  color: var(--amber);
  font-size: 20px;
  font-weight: 900;
}

.about-principles strong {
  font-size: 18px;
}

.projects {
  background: var(--paper);
}

.project-proof {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  gap: 34px;
  align-items: stretch;
  margin-top: 42px;
  background: var(--white);
  border: 1px solid var(--line);
}

.project-proof-photo {
  margin: 0;
  min-height: 500px;
  background: var(--ink);
}

.project-proof-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
}

.project-proof-copy {
  display: grid;
  align-content: center;
  padding: 36px 38px 36px 0;
}

.project-proof-copy p {
  margin: 0;
  color: #39444c;
  font-size: 22px;
  line-height: 1.45;
}

.project-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
}

.project-photo {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  min-height: 240px;
  color: #dce8ea;
  background:
    linear-gradient(135deg, rgba(30, 167, 168, 0.46), rgba(16, 19, 23, 0.9)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 24px),
    #172025;
}

.project-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-photo.amber {
  background:
    linear-gradient(135deg, rgba(217, 154, 43, 0.52), rgba(16, 19, 23, 0.9)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 24px),
    #1c2024;
}

.project-photo.steel {
  background:
    linear-gradient(135deg, rgba(99, 113, 126, 0.62), rgba(16, 19, 23, 0.88)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 28px),
    #151a1f;
}

.project-photo span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(16, 19, 23, 0.46);
  color: #f5f8f9;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.project-body {
  padding: 26px 28px 30px;
}

.project-body p {
  margin: 0;
  color: #39444c;
  font-size: 17px;
  line-height: 1.45;
}

.validation-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 34px;
  align-items: stretch;
  margin-top: 42px;
  background: var(--white);
  border: 1px solid var(--line);
}

.validation-photo {
  min-height: 430px;
  background: var(--ink);
}

.validation-photo img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  display: block;
}

.validation-copy {
  display: grid;
  align-content: center;
  padding: 36px 38px 36px 0;
}

.validation-copy h3 {
  max-width: 520px;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.04;
}

.validation-copy p:not(.eyebrow) {
  margin: 0 0 18px;
  color: #39444c;
  font-size: 18px;
  line-height: 1.5;
}

.validation-copy p:last-child {
  margin-bottom: 0;
}

.evidence {
  background: var(--paper-2);
}

.technologies {
  background: var(--paper);
}

.tech-grid,
.contact-reasons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.tech-grid span,
.contact-reasons span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  background: var(--white);
  border: 1px solid var(--line);
  color: #26323a;
  font-weight: 900;
}

.support {
  background: var(--ink);
  color: var(--white);
}

.support .section-head h2,
.support h3 {
  color: var(--white);
}

.support .lead {
  color: #c7d0d7;
}

.support-grid {
  grid-template-columns: 1.2fr 0.8fr;
}

.support-grid > div {
  min-height: 250px;
  background: #171c21;
  border-color: #2b333a;
}

.support-grid p,
.support-grid li {
  color: #c7d0d7;
}

.evidence-table {
  margin-top: 42px;
  background: var(--white);
  border: 1px solid var(--line);
}

.row {
  display: grid;
  grid-template-columns: 1.1fr 2fr 1.1fr;
  gap: 24px;
  padding: 22px 28px;
  border-top: 1px solid #e5ded1;
}

.row:first-child {
  border-top: 0;
}

.row.header {
  color: var(--steel);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.row span:first-child {
  font-weight: 900;
}

.row span:nth-child(2) {
  color: #37424a;
}

.row span:last-child {
  color: #0a7476;
  font-weight: 800;
}

.approach {
  background: var(--ink);
  color: var(--white);
}

.approach .section-head h2 {
  color: var(--white);
}

.steps article {
  background: #171c21;
  border-color: #2b333a;
}

.steps span {
  display: block;
  margin-bottom: 34px;
  color: var(--amber);
  font-size: 28px;
  font-weight: 900;
}

.steps p {
  color: #c7d0d7;
}

.contact {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 86px clamp(28px, 7vw, 96px);
  background: var(--cyan);
  color: #061315;
}

.contact .eyebrow {
  color: #063c3d;
}

.contact h2 {
  max-width: 880px;
}

.contact-details {
  max-width: 680px;
  margin: 24px 0 0;
  color: #063c3d;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.45;
}

.contact-next {
  max-width: 820px;
  margin: 18px 0 0;
  color: #063c3d;
  font-size: 18px;
  line-height: 1.45;
}

.contact-reasons {
  max-width: 850px;
  margin-top: 26px;
}

.contact-reasons span {
  background: rgba(255, 255, 255, 0.26);
  border-color: rgba(6, 19, 21, 0.2);
  color: #061315;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.contact .button.primary {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.contact-email {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(6, 19, 21, 0.24);
  color: #061315;
}

.contact-phone {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(6, 19, 21, 0.24);
  color: #061315;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(28px, 7vw, 96px);
  color: #c6cdd2;
  background: var(--ink);
  border-top: 1px solid #252c32;
  font-size: 14px;
}

.service-page {
  padding-top: 128px;
}

.service-hero {
  padding: 80px clamp(28px, 7vw, 96px) 64px;
  background: var(--ink);
  color: var(--white);
}

.service-hero h1 {
  max-width: 980px;
  font-size: clamp(44px, 6vw, 76px);
}

.service-hero p:not(.eyebrow) {
  max-width: 820px;
  margin: 24px 0 0;
  color: #dfe6ea;
  font-size: 22px;
  line-height: 1.42;
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 44px;
  padding: 76px clamp(28px, 7vw, 96px);
}

.service-detail p {
  color: #39444c;
  font-size: 18px;
  line-height: 1.5;
}

.service-aside {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
}

.service-aside h2 {
  font-size: 28px;
}

.back-link {
  display: inline-flex;
  margin-top: 28px;
  color: var(--cyan);
  font-weight: 900;
}

@media (max-width: 880px) {
  .site-header {
    padding: 0 22px;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: 100vh;
  }

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

  .hero-rail,
  .about-grid,
  .service-detail,
  .service-grid,
  .experience-grid,
  .project-proof,
  .reason-grid,
  .project-grid,
  .who-grid,
  .support-grid,
  .validation-feature,
  .steps,
  .contact {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    justify-content: flex-start;
  }

  .hero-rail {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin: 34px 28px 28px;
  }

  .row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .validation-copy {
    padding: 30px 28px 34px;
  }

  .project-proof-copy {
    padding: 30px 28px 34px;
  }

  .footer {
    flex-direction: column;
  }
}
