:root {
  --navy-950: #050910;
  --navy-900: #071422;
  --navy-800: #0b1d33;
  --navy-700: #122844;
  --navy-600: #17345a;
  --blue-700: #163f86;
  --blue-600: #1b56b8;
  --blue-500: #2b6fd4;
  --blue-400: #5b8eef;
  --silver-100: #f4f7fb;
  --silver-200: #e6edf4;
  --silver-300: #c5d0dc;
  --silver-400: #9aa8b8;
  --silver-500: #7d8b9c;
  --white: #ffffff;
  --text: #d7dee8;
  --text-dark: #1a2433;
  --muted: #8b97a8;
  --line: rgba(197, 208, 220, 0.16);
  --glow: rgba(43, 111, 212, 0.28);
  --radius: 14px;
  --header-h: 84px;
  --container: 1220px;
  --font-display: "Barlow Condensed", "Barlow", sans-serif;
  --font-body: "Manrope", "Barlow", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--navy-950);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  line-height: 0.95;
  margin: 0 0 0.6em;
  font-weight: 700;
}

p { margin: 0 0 1rem; }

ul { margin: 0; padding: 0; list-style: none; }

.wrap {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.site-frame { min-height: 100vh; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--silver-400);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--silver-300);
  max-width: 720px;
}

.section {
  position: relative;
  padding: 96px 0;
  background: var(--silver-100);
}

.section-dark {
  background:
    radial-gradient(900px 400px at 10% 0%, rgba(27, 86, 184, 0.18), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  color: var(--white);
}

.section-dark p,
.section-dark .section-note { color: var(--silver-300); }

.section-head { margin-bottom: 42px; }
.section-head.split {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
}
.section-head h2,
.section h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  color: var(--navy-900);
}
.section-dark h2 { color: var(--white); }

.section-note { max-width: 760px; }

.tech-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(91, 142, 239, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 142, 239, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.45), transparent 80%);
  pointer-events: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(180deg, var(--blue-500), var(--blue-700));
  color: var(--white);
  box-shadow: 0 8px 24px var(--glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px var(--glow); }

.btn-ghost {
  border-color: rgba(255,255,255,0.35);
  color: var(--white);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
.btn-ghost.dark {
  color: var(--navy-900);
  border-color: rgba(7,20,34,0.2);
}

.btn-quote {
  background: linear-gradient(180deg, var(--blue-500), var(--blue-700));
  color: #fff;
  min-height: 44px;
  padding: 0 16px;
  letter-spacing: 0.1em;
  font-size: 13px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-500);
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
}
.text-link svg { width: 18px; height: 18px; }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header-h);
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
.site-header.is-transparent { background: transparent; }
.site-header.is-solid,
.site-header.is-scrolled {
  background: rgba(7, 20, 34, 0.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  max-width: min(240px, 48vw);
}
.brand img {
  height: 58px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

.primary-nav { margin-left: auto; }
.primary-nav ul {
  display: flex;
  gap: 4px;
}
.primary-nav a {
  color: var(--silver-200);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 10px;
  border-radius: 6px;
  position: relative;
}
.primary-nav a:hover,
.primary-nav a.is-active { color: #fff; }
.primary-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 2px;
  height: 2px;
  background: var(--blue-400);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 10px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(5,9,16,0.55);
  backdrop-filter: blur(8px);
}
.mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(400px, 100%);
  height: 100%;
  background: linear-gradient(180deg, var(--navy-900), var(--navy-950));
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  border-left: 1px solid var(--line);
  transform: translateX(0);
  animation: slideIn 0.28s ease;
  overflow: auto;
}
.mobile-menu__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.mobile-menu__top img { height: 46px; width: auto; max-width: 170px; }
.menu-close { color: #fff; width: 44px; height: 44px; }
.menu-close svg { width: 22px; height: 22px; }
.mobile-menu nav a {
  display: block;
  color: #fff;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 18px;
}
.mobile-menu__meta { color: var(--silver-400); display: grid; gap: 8px; }
.mobile-menu .btn { width: 100%; }

@keyframes slideIn {
  from { transform: translateX(24px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero__media,
.page-hero__media,
.cta-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero__img,
.page-hero__media img,
.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: ken 22s ease-in-out alternate infinite;
}
@keyframes ken {
  from { transform: scale(1.08) translate3d(0,0,0); }
  to { transform: scale(1.16) translate3d(-1.5%, -1%, 0); }
}
.hero__overlay,
.page-hero__overlay,
.cta-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,9,16,0.88) 8%, rgba(7,20,34,0.55) 48%, rgba(5,9,16,0.35) 100%),
    linear-gradient(180deg, rgba(5,9,16,0.25) 0%, rgba(5,9,16,0.78) 100%);
}
.hero__line {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-400), transparent);
  box-shadow: 0 0 18px var(--blue-500);
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: calc(var(--header-h) + 48px) 0 72px;
}
.hero-title {
  display: grid;
  gap: 6px;
  font-size: clamp(2.7rem, 8vw, 7rem);
  color: #fff;
  margin-bottom: 18px;
}
.hero-title span {
  display: block;
  opacity: 0;
  transform: translateY(18px);
  animation: revealTitle 0.8s ease forwards;
}
.hero-title span:nth-child(2) { animation-delay: 0.15s; }
.hero-title span:nth-child(3) { animation-delay: 0.3s; }
@keyframes revealTitle {
  to { opacity: 1; transform: none; }
}
.hero-sub {
  font-size: clamp(1.15rem, 2.2vw, 1.7rem);
  font-weight: 600;
  max-width: 720px;
  color: #fff;
}
.hero-copy {
  max-width: 680px;
  color: var(--silver-300);
}
.hero-actions,
.page-hero__content .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

/* Info bar */
.info-bar {
  background: linear-gradient(180deg, var(--navy-800), var(--navy-900));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.info-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px 18px;
  color: #fff;
  border-right: 1px solid var(--line);
}
.info-item:last-child { border-right: 0; }
.info-item strong {
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  font-size: 15px;
}
.info-icon {
  width: 42px;
  height: 42px;
  color: var(--blue-400);
  display: grid;
  place-items: center;
  border: 1px solid rgba(91,142,239,0.35);
  border-radius: 10px;
  background: rgba(43,111,212,0.12);
  box-shadow: 0 0 16px rgba(43,111,212,0.15);
}
.info-icon svg { width: 22px; height: 22px; }

/* About / images */
.about-grid,
.eng-grid,
.split-media,
.detail-grid,
.contact-grid,
.tc-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.image-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(5,9,16,0.28);
}
.image-frame img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.image-frame:hover img { transform: scale(1.05); }
.image-frame__badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 12px 14px;
  background: rgba(7,20,34,0.72);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  color: #fff;
  border-radius: 10px;
}
.image-frame__badge span {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.16em;
}

/* Capabilities */
.capability-grid,
.why-grid,
.hse-grid,
.industry-grid,
.logo-grid,
.activity-grid {
  display: grid;
  gap: 18px;
}
.capability-grid { grid-template-columns: repeat(3, 1fr); }

.cap-card,
.project-card,
.industry-card,
.hse-card,
.why-card,
.activity-card,
.quote-panel,
.contact-card,
.scope-panel,
.logo-tile {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.section:not(.section-dark) .project-card,
.section:not(.section-dark) .cap-card,
.section:not(.section-dark) .industry-card {
  background: #fff;
  border-color: #d7e0ea;
}

.cap-card:hover,
.project-card:hover,
.industry-card:hover,
.hse-card:hover,
.why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(91,142,239,0.5);
  box-shadow: 0 16px 40px rgba(7,20,34,0.18), 0 0 24px rgba(43,111,212,0.12);
}
.cap-card__media img,
.project-card__media img,
.industry-card__media img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.cap-card:hover img,
.project-card:hover img,
.industry-card:hover img { transform: scale(1.07); }
.cap-card__body,
.project-card__body,
.industry-card__body { padding: 22px; }
.cap-card h3,
.project-card h3,
.industry-card h3,
.hse-card h3 { color: #fff; font-size: 1.45rem; }
.section:not(.section-dark) .project-card h3,
.section:not(.section-dark) .industry-card h3,
.section:not(.section-dark) .hse-card h3,
.section:not(.section-dark) .why-card h3 { color: var(--navy-900); }

.cap-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--blue-400);
  margin-bottom: 10px;
  border: 1px solid rgba(91,142,239,0.3);
  border-radius: 8px;
}
.cap-icon svg { width: 22px; height: 22px; }

/* Projects */
.featured-grid,
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.project-card.is-featured { grid-column: span 1; }
.project-card__link { display: block; color: inherit; }
.project-card__media { position: relative; overflow: hidden; }
.project-card__media img { height: 280px; }
.project-card.is-featured .project-card__media img { height: 340px; }
.project-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(5,9,16,0.55));
}
.project-no {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 2;
  color: #fff;
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  font-size: 12px;
  padding: 6px 10px;
  background: rgba(7,20,34,0.7);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.project-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--silver-500);
  font-size: 13px;
  margin-bottom: 10px;
}
.project-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.project-card__meta svg { width: 14px; height: 14px; }

/* Engineering list */
.eng-list { display: grid; gap: 10px; margin-top: 18px; }
.eng-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
}
.eng-list svg { width: 18px; height: 18px; color: var(--blue-400); flex: 0 0 auto; }
.blueprint-card {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 14px 16px;
  background: rgba(7,20,34,0.78);
  border: 1px solid var(--line);
  color: #fff;
  border-radius: 10px;
  backdrop-filter: blur(10px);
}
.blueprint-card span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--silver-400);
}
.eng-visual { position: relative; }

/* Timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 0 0 42px;
  counter-reset: none;
}
.timeline li {
  padding: 22px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  position: relative;
}
.timeline li span {
  display: block;
  color: var(--blue-500);
  font-family: var(--font-display);
  letter-spacing: 0.16em;
  margin-bottom: 8px;
}
.timeline li strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
}
.chip-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(27,86,184,0.2);
  background: #fff;
  font-size: 13px;
  color: var(--navy-800);
}

/* Why */
.why-grid { grid-template-columns: repeat(4, 1fr); }
.why-grid .why-card:last-child { grid-column: span 2; }
.why-card, .hse-card, .activity-card {
  padding: 26px 22px;
  background: rgba(255,255,255,0.04);
}
.why-card span,
.hse-card .eyebrow {
  color: var(--blue-400);
  font-family: var(--font-display);
  letter-spacing: 0.16em;
}
.why-grid.light .why-card { background: #fff; border-color: #dbe3ec; }
.hse-grid { grid-template-columns: repeat(4, 1fr); }
.hse-card { background: #fff; min-height: 220px; }
.hse-card h3 { letter-spacing: 0.12em; }

/* Partners */
.logo-grid { grid-template-columns: repeat(4, 1fr); }
.logo-tile {
  min-height: 92px;
  display: grid;
  place-items: center;
  background: #fff;
  border-color: #d7e0ea;
  padding: 16px;
  text-align: center;
}
.logo-tile span {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  color: var(--navy-800);
}

/* CTA */
.cta-section {
  position: relative;
  min-height: 420px;
  display: grid;
  align-items: center;
  color: #fff;
  padding: 0;
  overflow: hidden;
}
.cta-inner { position: relative; z-index: 2; padding: 90px 0; }
.cta-section.is-compact { min-height: 280px; }
.cta-section .hero-actions,
.cta-inner { display: grid; gap: 8px; justify-items: start; }
.cta-inner .btn { margin-top: 8px; }
.cta-inner .btn + .btn { margin-left: 0; }

/* Page hero */
.page-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.page-hero.is-compact { min-height: 42vh; }
.page-hero__content {
  position: relative;
  z-index: 2;
  padding: calc(var(--header-h) + 36px) 0 56px;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 4.6rem);
  max-width: 16ch;
}

/* Services page */
.service-blocks { display: grid; gap: 20px; }
.service-block {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid #d7e0ea;
  background: #fff;
}
.service-block__media img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
}
.service-block__body { padding: 28px; position: relative; }
.service-block .project-no { position: static; background: var(--navy-900); display: inline-block; margin-bottom: 12px; }

/* Industries */
.industry-grid { grid-template-columns: repeat(3, 1fr); }
.industry-card__media { position: relative; }
.industry-card__media .cap-icon {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(7,20,34,0.75);
  margin: 0;
}

/* Project detail */
.project-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--silver-300);
}
.project-hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.project-hero-meta svg { width: 16px; height: 16px; }
.fact-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.fact-row div {
  padding: 16px;
  background: #fff;
  border: 1px solid #dbe3ec;
  border-radius: 10px;
}
.fact-row span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--silver-500);
  font-family: var(--font-display);
}
.scope-panel {
  background: var(--navy-900);
  color: #fff;
  padding: 28px;
}
.scope-panel h3, .scope-panel h4 { color: #fff; }
.scope-panel h4 { margin-top: 18px; color: var(--blue-400); font-size: 1rem; letter-spacing: 0.12em; }
.scope-panel ul { display: grid; gap: 8px; }
.scope-panel li { display: flex; gap: 8px; align-items: flex-start; color: var(--silver-300); }
.scope-panel svg { width: 16px; height: 16px; color: var(--blue-400); flex: 0 0 auto; margin-top: 4px; }
.activity-grid { grid-template-columns: repeat(2, 1fr); }

.gallery-main {
  width: 100%;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
}
.gallery-main img {
  width: 100%;
  height: min(62vh, 560px);
  object-fit: cover;
}
.gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
}
.gallery-thumbs button {
  flex: 0 0 140px;
  scroll-snap-align: start;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.7;
}
.gallery-thumbs button.is-active,
.gallery-thumbs button:hover { opacity: 1; border-color: var(--blue-500); }
.gallery-thumbs img { width: 100%; height: 88px; object-fit: cover; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(5,9,16,0.92);
  display: grid;
  place-items: center;
}
.lightbox img { max-width: min(92vw, 1200px); max-height: 86vh; object-fit: contain; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  color: #fff;
  width: 48px;
  height: 48px;
  font-size: 32px;
}
.lightbox-close { top: 18px; right: 18px; }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }
.lightbox-close svg { width: 24px; height: 24px; }

/* Contact */
.contact-cards { display: grid; gap: 12px; margin: 22px 0 28px; }
.contact-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  padding: 16px;
  background: #fff;
  border: 1px solid #d7e0ea;
  border-radius: 12px;
}
.contact-card .cap-icon { grid-row: span 2; margin: 0; }
.contact-card small {
  letter-spacing: 0.16em;
  font-family: var(--font-display);
  color: var(--silver-500);
}
.contact-card strong { color: var(--navy-900); font-size: 1.05rem; }
.contact-photo img { aspect-ratio: 16/10; }
.quote-panel {
  background: var(--navy-900);
  color: #fff;
  padding: 32px;
}
.quote-panel h3 { font-size: 2rem; }
.quote-panel p { color: var(--silver-300); }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 22px 0;
}
.field { display: grid; gap: 6px; }
.field span {
  font-size: 12px;
  letter-spacing: 0.14em;
  font-family: var(--font-display);
  color: var(--silver-400);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 12px;
  color: #fff;
  outline: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue-400);
  box-shadow: 0 0 0 3px rgba(43,111,212,0.2);
}
.field select option { color: var(--navy-900); }
.field--full { grid-column: 1 / -1; }
.btn-send { min-width: 180px; }
.btn-send .btn-loading { display: none; }
.btn-send.is-loading .btn-label { display: none; }
.btn-send.is-loading .btn-loading { display: inline; }
.form-status, .form-banner { margin-top: 14px; }
.form-banner.is-ok, .form-status.is-ok { color: #9fdfb8; }
.form-banner.is-err, .form-status.is-err { color: #f0b4b4; }

/* Footer */
.site-footer {
  background: var(--navy-950);
  color: var(--silver-300);
  border-top: 1px solid var(--line);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}
.footer-brand img { height: 64px; width: auto; margin-bottom: 14px; }
.footer-brand p:first-of-type {
  color: #fff;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  font-size: 1.05rem;
}
.muted { color: var(--muted); }
.site-footer h3 {
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.16em;
}
.footer-links { display: grid; gap: 8px; }
.footer-links a:hover { color: #fff; }
.footer-contact p { margin: 0 0 12px; }
.footer-contact span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--silver-500);
  font-family: var(--font-display);
}
.footer-contact a { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 0.7s ease forwards;
  animation-play-state: paused;
}
.reveal.is-in { animation-play-state: running; }
@keyframes fadeUp {
  to { opacity: 1; transform: none; }
}

.admin-bar .site-header { top: 32px; }

/* Responsive */
@media (max-width: 1100px) {
  .primary-nav { display: none; }
  .menu-toggle { display: flex; margin-left: 0; }
  .btn-quote {
    margin-left: auto;
    font-size: 12px;
    padding: 0 12px;
    min-height: 40px;
    letter-spacing: 0.08em;
  }
  .capability-grid,
  .industry-grid,
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid .why-card:last-child { grid-column: auto; }
  .hse-grid, .activity-grid { grid-template-columns: 1fr 1fr; }
  .info-bar__grid { grid-template-columns: 1fr 1fr; }
  .info-item { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid,
  .eng-grid,
  .split-media,
  .detail-grid,
  .contact-grid,
  .tc-layout { grid-template-columns: 1fr; }
  .service-block { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 72px; }
  .wrap { width: min(100% - 28px, var(--container)); }
  .brand img { height: 44px; }
  .section { padding: 64px 0; }
  .hero { min-height: 100svh; }
  .hero__content { padding-bottom: 48px; }
  .hero-title { font-size: clamp(2.3rem, 12vw, 3.4rem); }
  .featured-grid,
  .projects-grid,
  .capability-grid,
  .industry-grid,
  .logo-grid,
  .why-grid,
  .hse-grid,
  .activity-grid,
  .info-bar__grid,
  .form-grid,
  .footer-grid,
  .fact-row { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .section-head.split { flex-direction: column; align-items: start; }
  .project-card__media img,
  .project-card.is-featured .project-card__media img { height: 220px; }
  .image-frame img { aspect-ratio: 16/11; }
  .btn { width: 100%; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 100%; }
  .footer-bottom { flex-direction: column; }
  .cta-inner { padding: 64px 0; }
  .quote-panel, .scope-panel { padding: 22px; }
  .page-hero h1 { max-width: none; }
}

@media (max-width: 430px) {
  .brand { max-width: 42vw; }
  .brand img { height: 40px; }
  .header-inner { width: calc(100% - 20px); gap: 8px; }
  .btn-quote { font-size: 10px; padding: 0 8px; min-height: 36px; letter-spacing: 0.04em; }
  .hero-copy { font-size: 14px; }
  .info-item { padding: 18px 10px; }
  .gallery-main img { height: 240px; }
}

@media (min-width: 1440px) {
  .hero-title { font-size: 7.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .hero__img { transform: none; }
  .reveal { opacity: 1; transform: none; }
}
