:root {
  --steel: #1c2126;
  --steel-2: #252c33;
  --navy: #0b3954;
  --blue: #168ce5;
  --amber: #f2a93b;
  --amber-2: #ffbf5c;
  --paper: #f6f5f1;
  --surface: #ffffff;
  --surface-2: #eef2f4;
  --ink: #121821;
  --muted: #66717f;
  --line: rgba(18, 24, 33, 0.12);
  --line-strong: rgba(18, 24, 33, 0.18);
  --white: #ffffff;
  --radius: 8px;
  --shadow-sm: 0 10px 30px rgba(18, 24, 33, 0.08);
  --shadow-md: 0 24px 70px rgba(18, 24, 33, 0.14);
  --page-max: 1320px;
  --gutter: clamp(18px, 4vw, 64px);
  --ease: 180ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  z-index: 70;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--blue));
}

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

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

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  width: 100%;
  padding: 14px var(--gutter);
  border-bottom: 1px solid rgba(18, 24, 33, 0.08);
  background: rgba(246, 245, 241, 0.88);
  backdrop-filter: blur(18px);
  transition: box-shadow var(--ease), background-color var(--ease), border-color var(--ease);
}

.site-header.scrolled {
  border-color: transparent;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 45px rgba(18, 24, 33, 0.09);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--white);
}

.brand span {
  display: grid;
  gap: 1px;
}

.brand strong,
.nav-link,
.btn,
.header-call,
.tab,
.filter,
.text-link,
.site-footer a {
  font-family: "Oswald", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.brand strong {
  color: var(--steel);
  font-size: 1rem;
  line-height: 1;
}

.brand small,
.eyebrow,
.hero-panel span,
.hero-panel strong,
.card-index,
.service-meta small,
.project-card span,
.contact-panel strong,
.tab-panel span,
.call-meta span {
  font-family: "IBM Plex Mono", monospace;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.nav-link {
  position: relative;
  padding: 10px 14px;
  color: rgba(28, 33, 38, 0.72);
  font-size: 0.86rem;
  transition: color var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}

.nav-link:hover,
.nav-link.active {
  color: var(--steel);
}

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

.header-call {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(28, 33, 38, 0.1);
  border-radius: var(--radius);
  color: var(--white);
  background: var(--steel);
  box-shadow: 0 16px 36px rgba(28, 33, 38, 0.16);
}

.phone-icon {
  position: relative;
  width: 18px;
  height: 18px;
  border: 2px solid var(--amber);
  border-top: 0;
  border-right: 0;
  border-radius: 2px;
  transform: rotate(-45deg);
}

.phone-icon::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -6px;
  width: 6px;
  height: 9px;
  border: 2px solid var(--amber);
  border-left: 0;
  border-bottom: 0;
}

.call-meta {
  display: grid;
  gap: 1px;
}

.call-meta span {
  color: var(--amber-2);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.call-meta strong {
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius);
  background: var(--steel);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: clamp(680px, 88vh, 900px);
  overflow: visible;
  color: var(--white);
  background: var(--steel);
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
  animation: heroSettle 1200ms ease both;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(18, 24, 33, 0.96) 0%, rgba(18, 24, 33, 0.88) 38%, rgba(18, 24, 33, 0.42) 66%, rgba(18, 24, 33, 0.08) 88%),
    linear-gradient(0deg, rgba(18, 24, 33, 0.32), transparent 48%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: inherit;
  max-width: 660px;
  flex-direction: column;
  justify-content: center;
  padding: clamp(96px, 9vw, 150px) var(--gutter) 170px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.45;
  text-transform: uppercase;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--amber);
  opacity: 0;
  animation: riseIn 420ms ease 150ms both;
}

.hero .eyebrow::before,
.hero .eyebrow::after {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}

.hero h1,
.section h2,
.quality h2 {
  margin: 0;
  color: inherit;
  font-family: "Inter", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(2.85rem, 4.8vw, 5.1rem);
  animation: wipeReveal 560ms ease 260ms both;
}

.hero-copy {
  max-width: 560px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.7;
  opacity: 0;
  animation: riseIn 420ms ease 520ms both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: transform var(--ease), background-color var(--ease), border-color var(--ease), color var(--ease);
  opacity: 0;
  animation: riseIn 420ms ease 650ms both;
}

.btn:nth-child(2) {
  animation-delay: 730ms;
}

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

.btn.primary {
  color: var(--steel);
  background: var(--amber);
}

.btn.primary:hover {
  background: var(--amber-2);
}

.btn.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.04);
}

.btn.ghost:hover {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.1);
}

.btn.ghost.dark {
  color: var(--steel);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.72);
}

.btn.ghost.dark:hover {
  border-color: rgba(242, 169, 59, 0.56);
  background: rgba(255, 255, 255, 0.92);
}

.split-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-panel {
  position: absolute;
  right: var(--gutter);
  bottom: 0;
  left: var(--gutter);
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1060px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(28, 33, 38, 0.96);
  box-shadow: var(--shadow-md);
  transform: translateY(50%);
  opacity: 0;
  animation: statsRise 520ms ease 830ms both;
}

.hero-panel div {
  position: relative;
  display: grid;
  gap: 8px;
  padding: clamp(20px, 2vw, 30px);
}

.hero-panel div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-panel strong {
  color: var(--white);
  font-size: clamp(1.7rem, 2vw, 2.35rem);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.hero-panel span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(92px, 10vw, 150px) var(--gutter) clamp(68px, 7vw, 108px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(22, 140, 229, 0.2), transparent 42%),
    linear-gradient(90deg, rgba(28, 33, 38, 0.98), rgba(28, 33, 38, 0.88)),
    var(--steel);
}

.page-hero-photo {
  min-height: clamp(520px, 54vh, 720px);
  display: flex;
  align-items: center;
  background-image:
    linear-gradient(90deg, rgba(18, 24, 33, 0.94) 0%, rgba(18, 24, 33, 0.82) 42%, rgba(18, 24, 33, 0.28) 72%, rgba(18, 24, 33, 0.02) 100%),
    linear-gradient(0deg, rgba(18, 24, 33, 0.26), rgba(18, 24, 33, 0.02) 55%),
    var(--page-hero-image);
  background-position: center, center, var(--page-hero-position, center);
  background-size: cover;
  background-repeat: no-repeat;
}

.page-hero-photo::after {
  opacity: 0.14;
}

.about-hero {
  --page-hero-image: url("assets/engineers.webp");
  --page-hero-position: center 36%;
}

.services-hero {
  --page-hero-image: url("assets/steel-grid.webp");
  --page-hero-position: center 58%;
}

.projects-hero {
  --page-hero-image: url("assets/steel-yard.webp");
  --page-hero-position: center 54%;
}

.contact-hero {
  --page-hero-image: url("assets/hero.webp");
  --page-hero-position: center 42%;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.28;
  pointer-events: none;
}

.page-hero > div {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.page-hero .eyebrow {
  color: var(--amber);
}

.page-hero h1 {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(2.55rem, 5vw, 5.3rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.72;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  width: 100%;
  margin: 0;
  padding: 94px var(--gutter) 0;
  background: var(--paper);
}

.trust-strip span {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.66);
  color: rgba(28, 33, 38, 0.78);
  font-family: "Oswald", Arial, sans-serif;
  font-size: clamp(0.88rem, 1vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-align: center;
  text-transform: uppercase;
}

.section,
.quality {
  width: min(var(--page-max), calc(100% - (var(--gutter) * 2)));
  margin: clamp(86px, 9vw, 138px) auto;
}

.page-hero + .section,
.page-hero + .quality {
  margin-top: clamp(58px, 6vw, 92px);
}

.page-hero + .services {
  margin-top: 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}

.intro-visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--steel);
  box-shadow: var(--shadow-sm);
}

.intro-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(18, 24, 33, 0.12), transparent 50%);
  pointer-events: none;
}

.intro-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.intro-badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(28, 33, 38, 0.82);
  backdrop-filter: blur(12px);
}

.intro-badge strong {
  color: var(--amber);
  font-size: 1.8rem;
  line-height: 1;
}

.intro-badge span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  line-height: 1.45;
}

.intro-copy h2,
.section-heading h2,
.process-copy h2,
.contact h2,
.quality h2 {
  font-size: clamp(2rem, 3.1vw, 3.65rem);
}

.intro-copy h2 {
  max-width: 820px;
}

.intro-copy p:not(.eyebrow),
.process-copy p,
.contact-copy p,
.quality-card p,
.section-summary {
  color: var(--muted);
  max-width: 720px;
  font-size: clamp(0.98rem, 1vw, 1.08rem);
  line-height: 1.75;
}

.intro-lead {
  margin-top: 22px;
}

.intro-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.intro-points span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: rgba(28, 33, 38, 0.74);
  font-size: 0.86rem;
  font-weight: 600;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 30px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
}

.tab,
.filter {
  border: 0;
  border-radius: 6px;
  color: rgba(28, 33, 38, 0.68);
  background: transparent;
  cursor: pointer;
  font-size: 0.86rem;
  transition: background-color var(--ease), color var(--ease), box-shadow var(--ease);
}

.tab {
  min-height: 50px;
  padding: 12px;
}

.tab.active,
.filter.active {
  color: var(--steel);
  background: var(--amber);
  box-shadow: 0 12px 26px rgba(242, 169, 59, 0.22);
}

.tab-panel {
  margin-top: 12px;
  padding: clamp(22px, 2vw, 32px);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-sm);
  color: rgba(28, 33, 38, 0.78);
  font-size: clamp(1rem, 1vw, 1.08rem);
  font-weight: 600;
  line-height: 1.7;
}

.tab-panel span {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: clamp(28px, 4vw, 52px);
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -10px;
}

.section-heading h2 {
  max-width: 980px;
}

.section-summary {
  margin: 16px 0 0;
}

.text-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid rgba(242, 169, 59, 0.42);
  border-radius: 6px;
  color: var(--steel);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  white-space: nowrap;
  transition: background-color var(--ease), transform var(--ease);
}

.text-link:hover {
  background: var(--amber);
  transform: translateY(-2px);
}

.services {
  width: 100%;
  padding: clamp(78px, 8vw, 124px) var(--gutter);
  background:
    linear-gradient(90deg, rgba(18, 24, 33, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, var(--surface-2), #f8f8f4);
  background-size: 72px 72px, auto;
}

.services .section-heading,
.service-grid {
  width: min(var(--page-max), 100%);
  margin-right: auto;
  margin-left: auto;
}

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

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

.service-card {
  position: relative;
  display: grid;
  min-height: 260px;
  align-content: space-between;
  gap: 24px;
  overflow: hidden;
  padding: clamp(24px, 2.4vw, 34px);
  border: 1px solid rgba(18, 24, 33, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 30px rgba(18, 24, 33, 0.05);
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--blue));
  opacity: 0;
  transition: opacity var(--ease);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(242, 169, 59, 0.56);
  box-shadow: var(--shadow-sm);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:nth-child(6) {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(11, 57, 84, 0.54), rgba(28, 33, 38, 0.98));
}

.service-card:nth-child(6) p,
.service-card:nth-child(6) .service-meta small {
  color: rgba(255, 255, 255, 0.68);
}

.service-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.card-index {
  display: inline-flex;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: var(--steel);
  background: #fff0d3;
  font-size: 0.96rem;
  font-weight: 600;
}

.service-card:nth-child(6) .card-index {
  background: var(--amber);
}

.service-meta small {
  color: rgba(28, 33, 38, 0.45);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-icon {
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: 62px;
  height: 62px;
  color: var(--navy);
  opacity: 0.1;
}

.service-card:nth-child(6) .service-icon {
  color: var(--amber);
  opacity: 0.24;
}

.service-icon::before,
.service-icon::after {
  content: "";
  position: absolute;
  border: 2px solid currentColor;
}

.service-icon-building::before { inset: 13px 15px 8px; }
.service-icon-building::after { right: 24px; bottom: 8px; width: 10px; height: 17px; border-top: 0; }
.service-icon-structure::before { left: 8px; right: 8px; bottom: 11px; height: 36px; transform: skewX(-14deg); }
.service-icon-structure::after { left: 21px; top: 10px; width: 18px; height: 40px; border-top: 0; border-bottom: 0; }
.service-icon-earth::before { left: 6px; right: 6px; bottom: 12px; height: 14px; border-top: 0; }
.service-icon-earth::after { left: 13px; top: 14px; width: 34px; height: 22px; border-right: 0; border-bottom: 0; transform: rotate(-18deg); }
.service-icon-steel::before { left: 8px; top: 13px; width: 46px; height: 12px; }
.service-icon-steel::after { left: 8px; bottom: 13px; width: 46px; height: 12px; }
.service-icon-modular::before { inset: 13px 7px; }
.service-icon-modular::after { left: 20px; top: 13px; width: 12px; height: 36px; border-top: 0; border-bottom: 0; }
.service-icon-project::before { left: 14px; top: 9px; width: 34px; height: 44px; }
.service-icon-project::after { left: 23px; top: 22px; width: 18px; height: 2px; border-right: 0; border-left: 0; box-shadow: 0 11px 0 currentColor; }

.service-content {
  position: relative;
  z-index: 1;
}

.service-card h3 {
  margin: 0 0 12px;
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(1.06rem, 1.1vw, 1.28rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.24;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.process {
  display: grid;
  grid-template-columns: minmax(320px, 0.74fr) minmax(0, 1.26fr);
  gap: clamp(34px, 5vw, 80px);
  align-items: center;
  width: min(var(--page-max), calc(100% - (var(--gutter) * 2)));
  padding: clamp(42px, 5vw, 78px);
  border-radius: var(--radius);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(22, 140, 229, 0.18), transparent 42%),
    var(--steel);
  box-shadow: var(--shadow-sm);
}

.process .eyebrow {
  color: var(--amber);
}

.process-copy p {
  color: rgba(255, 255, 255, 0.66);
}

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

.process-steps span {
  display: grid;
  min-height: 150px;
  align-content: space-between;
  gap: 20px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025));
  font-family: "Oswald", Arial, sans-serif;
  font-size: clamp(0.9rem, 1vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform var(--ease), border-color var(--ease), background-color var(--ease);
}

.process-steps span:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 169, 59, 0.52);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04));
}

.process-icon {
  display: block;
  width: 42px;
  height: 42px;
  color: var(--amber);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.process-steps span:nth-child(even) .process-icon {
  color: #5aa6d6;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filter {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

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

.project-card {
  position: relative;
  grid-column: span 4;
  min-height: clamp(420px, 34vw, 560px);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--steel);
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease), box-shadow var(--ease);
}

.project-card:nth-child(1),
.project-card:nth-child(2) {
  grid-column: span 6;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.project-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  opacity: 0.92;
  transition: transform 500ms ease, opacity var(--ease);
}

.project-card:hover img {
  transform: scale(1.035);
  opacity: 1;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(18, 24, 33, 0.92), rgba(18, 24, 33, 0.42) 48%, rgba(18, 24, 33, 0.08));
}

.project-card div {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  padding: clamp(24px, 3vw, 42px);
  color: var(--white);
}

.project-card span {
  color: var(--amber-2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-card h3 {
  max-width: 620px;
  margin: 9px 0;
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(1.24rem, 1.45vw, 1.72rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.project-card p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(0.9rem, 0.96vw, 1rem);
  line-height: 1.62;
}

.project-card.hidden {
  display: none;
}

.preview-grid .project-card {
  grid-column: span 6;
}

.cta-strip {
  display: grid;
  gap: 18px;
  align-items: center;
  padding: clamp(34px, 4vw, 58px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(242, 169, 59, 0.16), transparent 42%),
    rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-sm);
}

.cta-strip h2 {
  max-width: 920px;
}

.cta-strip .btn {
  width: fit-content;
}

.detail-band,
.service-detail-list,
.credentials,
.case-study,
.enquiry-grid {
  position: relative;
}

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

.detail-grid article,
.service-detail,
.credential-list div,
.case-study-facts div,
.checklist-panel span {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 10px 30px rgba(18, 24, 33, 0.05);
}

.detail-grid article {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 240px;
  padding: clamp(22px, 2vw, 30px);
}

.detail-grid span,
.service-detail span {
  width: fit-content;
  color: var(--navy);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-grid h3,
.service-detail h3,
.case-study h2,
.credentials h2,
.enquiry-grid h2 {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.detail-grid h3 {
  font-size: clamp(1.18rem, 1.25vw, 1.45rem);
}

.detail-grid p,
.credentials p,
.case-study p,
.enquiry-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

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

.service-detail-list .section-heading {
  margin-bottom: 14px;
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: clamp(22px, 3vw, 50px);
  align-items: start;
  padding: clamp(24px, 3vw, 38px);
}

.service-detail h3 {
  margin-top: 8px;
  font-size: clamp(1.35rem, 1.6vw, 2rem);
}

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

.service-detail li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.65;
}

.service-detail li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
}

.credentials,
.case-study,
.enquiry-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.64fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
  padding: clamp(34px, 4vw, 58px);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-sm);
}

.credentials h2,
.case-study h2,
.enquiry-grid h2 {
  max-width: 780px;
  font-size: clamp(2rem, 3vw, 3.35rem);
}

.credentials p,
.case-study p,
.enquiry-grid p {
  max-width: 760px;
  margin-top: 18px;
}

.credential-list,
.case-study-facts,
.checklist-panel {
  display: grid;
  gap: 10px;
}

.credential-list div,
.case-study-facts div {
  display: grid;
  gap: 8px;
  padding: 22px;
}

.credential-list strong,
.case-study-facts strong {
  color: var(--steel);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.credential-list span,
.case-study-facts span {
  color: var(--muted);
  line-height: 1.55;
}

.case-study {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(22, 140, 229, 0.18), transparent 42%),
    var(--steel);
}

.case-study .eyebrow {
  color: var(--amber);
}

.case-study p,
.case-study-facts span {
  color: rgba(255, 255, 255, 0.7);
}

.case-study-facts div {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.case-study-facts strong {
  color: var(--white);
}

.checklist-panel span {
  position: relative;
  padding: 16px 18px 16px 46px;
  color: rgba(28, 33, 38, 0.78);
  font-weight: 600;
}

.checklist-panel span::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 18px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--amber);
  border-bottom: 2px solid var(--amber);
  transform: rotate(-45deg);
}

.quality {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.54fr);
  gap: 18px;
}

.quality-card,
.quality-list {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
}

.quality-card {
  padding: clamp(36px, 5vw, 76px);
}

.quality-card h2,
.quality-card p {
  max-width: 880px;
}

.quality-list {
  display: grid;
  overflow: hidden;
  background: rgba(18, 24, 33, 0.08);
}

.quality-list div {
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 160px;
  padding: clamp(24px, 3vw, 38px);
  background: rgba(255, 255, 255, 0.82);
}

.quality-list div + div {
  border-top: 1px solid var(--line);
}

.quality-list strong {
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(1.04rem, 1.05vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.quality-list span {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.62;
}

.contact {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(34px, 5vw, 90px);
  align-items: start;
  padding: clamp(42px, 5vw, 78px);
  border-radius: var(--radius);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(242, 169, 59, 0.2), transparent 42%),
    linear-gradient(180deg, var(--steel-2), var(--steel));
  box-shadow: var(--shadow-sm);
}

.contact .eyebrow {
  color: var(--amber);
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.68);
}

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

.contact-panel a,
.contact-panel div {
  display: grid;
  gap: 7px;
  min-height: 112px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  transition: border-color var(--ease), background-color var(--ease), transform var(--ease);
}

.contact-panel a:hover {
  transform: translateY(-3px);
  border-color: rgba(242, 169, 59, 0.78);
  background: rgba(255, 255, 255, 0.09);
}

.contact-panel strong {
  color: var(--amber-2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-panel span {
  overflow-wrap: anywhere;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--page-max), calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
  padding: 28px 0 38px;
  color: var(--muted);
  font-size: 0.94rem;
}

.site-footer div {
  display: grid;
  gap: 3px;
}

.site-footer address {
  max-width: 430px;
  color: rgba(95, 108, 128, 0.95);
  font-style: normal;
  line-height: 1.55;
}

.site-footer strong {
  color: var(--steel);
}

.site-footer a {
  color: var(--navy);
  font-size: 0.9rem;
}

@keyframes wipeReveal {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroSettle {
  from { transform: scale(1.04); }
  to { transform: scale(1); }
}

@keyframes statsRise {
  from {
    opacity: 0;
    transform: translateY(50%) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(50%) scale(1);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
}

.reveal.is-visible {
  animation: riseIn 500ms ease both;
}

.service-grid .reveal:nth-child(2),
.project-grid .reveal:nth-child(2),
.contact-panel .reveal:nth-child(2) { animation-delay: 70ms; }
.service-grid .reveal:nth-child(3),
.project-grid .reveal:nth-child(3),
.contact-panel .reveal:nth-child(3) { animation-delay: 140ms; }
.service-grid .reveal:nth-child(4),
.project-grid .reveal:nth-child(4),
.contact-panel .reveal:nth-child(4) { animation-delay: 210ms; }
.service-grid .reveal:nth-child(5),
.project-grid .reveal:nth-child(5),
.contact-panel .reveal:nth-child(5) { animation-delay: 280ms; }
.service-grid .reveal:nth-child(6),
.project-grid .reveal:nth-child(6),
.contact-panel .reveal:nth-child(6) { animation-delay: 350ms; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  .hero .eyebrow,
  .hero-copy,
  .hero-actions .btn,
  .hero-panel,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero h1 {
    clip-path: none !important;
  }
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .nav-links,
  .header-call {
    display: none;
  }

  .site-header.open .nav-links {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    padding-top: 10px;
  }

  .site-header.open .nav-link {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.78);
  }

  .site-header.open .header-call {
    display: flex;
    grid-column: 1 / -1;
    justify-content: center;
  }

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

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

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

  .credentials,
  .case-study,
  .enquiry-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: repeat(5, minmax(120px, 1fr));
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .project-card,
  .project-card:nth-child(1),
  .project-card:nth-child(2) {
    grid-column: span 6;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand small {
    display: none;
  }

  .site-header.open .nav-links {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-bottom: 24px;
  }

  .hero-media,
  .hero-media img,
  .hero-shade {
    position: absolute;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(18, 24, 33, 0.84), rgba(18, 24, 33, 0.92)),
      linear-gradient(0deg, rgba(18, 24, 33, 0.38), transparent);
  }

  .hero-content {
    min-height: 620px;
    padding: 90px 18px 36px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 14vw, 4rem);
  }

  .hero .eyebrow {
    gap: 7px;
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .hero .eyebrow::before,
  .hero .eyebrow::after {
    width: 12px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 18px;
    transform: none;
    animation-name: riseIn;
  }

  .hero-panel div {
    padding: 18px 16px;
  }

  .hero-panel strong {
    font-size: 1.45rem;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .trust-strip span {
    min-height: 54px;
  }

  .section,
  .quality {
    width: calc(100% - 36px);
    margin: 74px auto;
  }

  .intro-copy h2,
  .section-heading h2,
  .process-copy h2,
  .contact h2,
  .quality h2 {
    font-size: clamp(2rem, 10vw, 2.75rem);
    line-height: 1.08;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .filter-row {
    justify-content: flex-start;
  }

  .services {
    width: 100%;
    padding: 74px 18px;
  }

  .service-grid,
  .contact-panel,
  .detail-grid {
    grid-template-columns: 1fr;
  }

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

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

  .process,
  .contact,
  .quality-card,
  .credentials,
  .case-study,
  .enquiry-grid,
  .cta-strip {
    padding: 28px;
  }

  .process-steps {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .process-steps span {
    min-height: 104px;
  }

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

  .project-card,
  .project-card:nth-child(1),
  .project-card:nth-child(2) {
    grid-column: 1 / -1;
    min-height: 420px;
  }

  .site-footer {
    width: calc(100% - 36px);
    flex-direction: column;
  }
}
