:root {
  --ink: #15212a;
  --muted: #65707a;
  --line: #d8dfdf;
  --paper: #f6f4ef;
  --white: #ffffff;
  --teal: #b8613f;
  --amber: #b8613f;
  --charcoal: #0f171c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(15, 23, 28, 0.78), rgba(15, 23, 28, 0));
}

.site-header.detail-header {
  color: var(--white);
  background: rgba(15, 23, 28, 0.96);
  box-shadow: 0 10px 28px rgba(15, 23, 28, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: clamp(172px, 19vw, 238px);
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 30px);
  font-size: 14px;
  font-weight: 650;
}

.nav a {
  opacity: 0.86;
}

.nav a:hover {
  opacity: 1;
}

.nav-short {
  display: none;
}

.lang-link {
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 4px;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  padding: 130px clamp(20px, 5vw, 72px) 72px;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(10, 17, 21, 0.48) 0%, rgba(10, 17, 21, 0.34) 38%, rgba(10, 17, 21, 0.06) 72%),
    linear-gradient(180deg, rgba(10, 17, 21, 0.03), rgba(10, 17, 21, 0.52));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--amber);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(40px, 5.5vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
  max-width: 820px;
}

.hero-copy {
  max-width: 600px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 17px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(15, 23, 28, 0.18);
  font-size: 14px;
  font-weight: 700;
}

.hero-badges strong {
  color: var(--white);
  font-size: 18px;
}

.hero-actions,
.contact {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 800;
  white-space: nowrap;
}

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

.button.secondary {
  color: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(15, 23, 28, 0.12);
}

.section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
}

.intro h2,
.section-heading h2,
.contact h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

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

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

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

.service-card {
  min-height: 286px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-number {
  display: inline-block;
  margin-bottom: 44px;
  color: var(--teal);
  font-weight: 850;
}

.service-card h3 {
  margin-bottom: 14px;
  font-size: 20px;
  line-height: 1.18;
}

.service-card p,
.timeline p,
.capability-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.contracting {
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(15, 23, 28, 0.98), rgba(15, 23, 28, 0.92)),
    var(--charcoal);
}

.contracting-inner {
  padding-top: 86px;
  padding-bottom: 86px;
}

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

.capability-grid article {
  min-height: 245px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.capability-grid span {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--amber);
  font-weight: 850;
}

.capability-grid h3 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.15;
}

.capability-grid p {
  color: rgba(255, 255, 255, 0.68);
}

.contracting-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(280px, 1.04fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: start;
  margin-top: 54px;
  padding-top: 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.contracting-showcase h3 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
}

.contracting-showcase > p {
  margin: 46px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

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

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.gallery-link {
  display: block;
  position: relative;
  overflow: hidden;
}

.gallery-link::after {
  content: attr(data-label);
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 4px;
  color: var(--white);
  background: rgba(15, 23, 28, 0.72);
  font-size: 12px;
  font-weight: 800;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.gallery-link:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.gallery-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 0.86;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.application-grid img {
  aspect-ratio: 1.32;
}

.gallery-link:hover img {
  transform: scale(1.035);
}

.gallery-grid figcaption {
  padding: 13px 14px 15px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 800;
}

.brand-reference-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
}

.brand-reference-grid div {
  min-height: 170px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
}

.brand-reference-grid strong {
  display: block;
  margin-bottom: 18px;
  color: var(--white);
  font-size: 18px;
}

.brand-reference-grid span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.process {
  background: var(--charcoal);
  color: var(--white);
}

.process-inner {
  padding-top: 86px;
  padding-bottom: 86px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.timeline div {
  min-height: 190px;
  padding: 28px 26px 0 0;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.timeline div:last-child {
  border-right: 0;
}

.timeline span {
  display: block;
  margin-bottom: 14px;
  color: var(--amber);
  font-size: 18px;
  font-weight: 850;
}

.timeline p {
  color: rgba(255, 255, 255, 0.72);
}

.references-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
}

.references-top > p {
  margin: 46px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.project-card {
  display: flex;
  flex-direction: column;
  min-height: 553px;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal);
}

.project-image-link {
  display: block;
  position: relative;
  overflow: hidden;
}

.project-image-link::after {
  content: attr(data-label);
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 6px 10px;
  border-radius: 4px;
  color: var(--white);
  background: rgba(15, 23, 28, 0.72);
  font-size: 12px;
  font-weight: 800;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.project-image-link:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.project-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
  transition: transform 0.28s ease;
}

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

.project-card h3 {
  margin: 24px 24px 14px;
  font-size: 22px;
  line-height: 1.14;
}

.project-card p {
  margin: 0 24px 24px;
  color: rgba(255, 255, 255, 0.78);
}

.project-detail-main {
  min-height: 100vh;
  padding-top: 118px;
  background: var(--paper);
}

.detail-shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 46px 0 92px;
}

.detail-back {
  display: inline-flex;
  align-items: center;
  margin-bottom: 28px;
  color: var(--teal);
  font-weight: 800;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.72fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
}

.detail-copy {
  padding-top: 12px;
}

.detail-copy h1 {
  margin-bottom: 24px;
  color: var(--ink);
  font-size: clamp(42px, 5.6vw, 68px);
}

.detail-lead {
  margin-bottom: 24px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.55;
}

.detail-copy p:not(.section-kicker):not(.detail-lead) {
  color: var(--muted);
  font-size: 17px;
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 34px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

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

.detail-meta div {
  min-height: 104px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.detail-meta span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.detail-meta strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}

.detail-meta-note {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: none;
}

.detail-points {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-points li {
  padding: 16px 18px;
  border-left: 4px solid var(--teal);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  font-weight: 750;
}

.brand-logo-cloud {
  overflow: hidden;
  margin: 22px 0 0;
  padding: 10px 0;
  border-block: 1px solid rgba(184, 97, 63, 0.22);
}

.brand-logo-track {
  display: flex;
  width: max-content;
  gap: 10px;
  animation: logo-marquee 34s linear infinite;
}

.brand-logo-cloud span {
  display: inline-grid;
  flex: 0 0 128px;
  width: 128px;
  height: 52px;
  place-items: center;
  padding: 9px 14px;
  border: 1px solid rgba(184, 97, 63, 0.32);
  border-radius: 6px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}

.brand-logo-cloud img {
  display: block;
  width: 100%;
  max-width: 98px;
  height: 28px;
  object-fit: contain;
}

@keyframes logo-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 5px));
  }
}

.branch-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.branch-list li {
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.branch-list li:first-child {
  color: var(--white);
  background: var(--teal);
}

.detail-media {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 14px;
}

.detail-main-image,
.detail-thumb {
  display: block;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  background: var(--charcoal);
}

.detail-main-image {
  aspect-ratio: 0.92;
}

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

.detail-thumb {
  aspect-ratio: 1.18;
}

.detail-caption {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.detail-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 46px;
}

.detail-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
  font-weight: 800;
}

.reference-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.reference-summary div {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.reference-summary strong {
  display: block;
  color: var(--teal);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
}

.reference-summary span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

.reference-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.reference-list span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 14px 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
  font-weight: 800;
}

.reference-list strong {
  color: var(--teal);
  font-size: 13px;
  white-space: nowrap;
}

.proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.metric {
  padding: 30px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric strong {
  display: block;
  color: var(--teal);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1;
}

.metric span {
  color: var(--muted);
  font-weight: 700;
}

.contact {
  justify-content: space-between;
  gap: 26px;
  border-top: 1px solid var(--line);
}

.contact > div {
  max-width: 720px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--charcoal);
  font-size: 14px;
}

.footer-logo {
  display: block;
  width: 176px;
  height: auto;
}

@media (max-width: 900px) {
  .site-header {
    align-items: center;
    flex-direction: row;
    gap: 14px;
    padding: 16px clamp(14px, 3vw, 24px);
  }

  .nav {
    flex: 1 1 auto;
    justify-content: flex-end;
    gap: clamp(8px, 1.8vw, 14px);
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    font-size: 12px;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav-full {
    display: none;
  }

  .nav-short {
    display: inline;
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
    padding-top: 128px;
  }

  .intro,
  .service-grid,
  .capability-grid,
  .contracting-showcase,
  .gallery-grid,
  .brand-reference-grid,
  .timeline,
  .references-top,
  .project-grid,
  .reference-summary,
  .reference-list,
  .proof,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-media {
    position: static;
  }

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

  .timeline div {
    min-height: auto;
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .timeline div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .site-header {
    position: absolute;
  }

  .brand-logo {
    width: clamp(118px, 31vw, 150px);
  }

  .nav {
    flex-wrap: nowrap;
    gap: 7px;
    justify-content: flex-end;
    overflow-x: auto;
    font-size: 11px;
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
    padding: 122px 20px 48px;
  }

  h1 {
    font-size: 38px;
  }

  .hero-copy,
  .intro > p {
    font-size: 16px;
  }

  .intro > p,
  .contracting-showcase p,
  .references-top p {
    margin-top: 0;
  }

  .button {
    width: 100%;
  }

  .section {
    width: min(100% - 32px, 1160px);
    padding: 68px 0;
  }

  .detail-shell {
    width: min(100% - 32px, 1160px);
    padding-bottom: 68px;
  }

  .detail-meta,
  .detail-thumbs,
  .branch-list {
    grid-template-columns: 1fr;
  }

  .detail-meta.four {
    grid-template-columns: 1fr;
  }

  .detail-nav {
    flex-direction: column;
  }

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

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