:root {
  --steel: #111417;
  --steel-2: #1d2327;
  --graphite: #272e33;
  --ink: #14191d;
  --paper: #f5f2ea;
  --white: #ffffff;
  --muted: #667176;
  --line: rgba(20, 25, 29, 0.14);
  --line-dark: rgba(255, 255, 255, 0.14);
  --copper: #c27b3a;
  --cyan: #64d2c8;
  --green: #78a85b;
  --shadow: 0 28px 70px rgba(17, 20, 23, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.engineering-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 10px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(17, 20, 23, 0.92);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(16px);
}

.brand img {
  width: 126px;
  height: 54px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.18));
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 760;
}

.nav-links a,
.header-action,
.button {
  border-radius: 6px;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.nav-links a {
  padding: 10px 12px;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(100, 210, 200, 0.12);
}

.header-action {
  padding: 12px 16px;
  color: var(--steel);
  background: var(--cyan);
  font-size: 0.9rem;
  font-weight: 860;
}

.header-action:hover,
.button:hover {
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 54px;
  min-height: calc(100vh - 76px);
  padding: 76px clamp(18px, 6vw, 86px) 58px;
  color: var(--white);
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 78% 18%, rgba(100, 210, 200, 0.2), transparent 28%),
    linear-gradient(135deg, #111417 0%, #20272b 56%, #15181b 100%);
  background-size: 34px 34px, 34px 34px, auto, auto;
}

.hero-copy {
  min-width: 0;
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-family: "Roboto Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.8rem;
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h2 {
  margin-bottom: 18px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.45rem;
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: inherit;
  font-size: 1.12rem;
  line-height: 1.2;
}

.lead {
  max-width: 610px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.12rem;
  line-height: 1.7;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  font-weight: 850;
}

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

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

.hero-lab {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  grid-template-rows: minmax(360px, 1fr) auto;
  gap: 14px;
  min-width: 0;
  min-height: 612px;
}

.lab-main,
.lab-strip figure,
.spec-rail {
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.lab-main {
  position: relative;
  overflow: hidden;
}

.lab-main::before,
.lab-main::after {
  position: absolute;
  z-index: 1;
  color: rgba(100, 210, 200, 0.76);
  font-family: "Roboto Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.74rem;
  font-weight: 800;
}

.lab-main::before {
  content: "PLATE_01 / 1:14";
  top: 16px;
  left: 16px;
}

.lab-main::after {
  content: "0 mm  |  270 mm";
  right: 16px;
  bottom: 16px;
}

.lab-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.05);
}

.lab-strip {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
}

.lab-strip figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
}

.lab-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lab-strip figcaption {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 4px 7px;
  color: var(--steel);
  background: var(--cyan);
  border-radius: 4px;
  font-family: "Roboto Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.spec-rail {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  overflow: hidden;
}

.spec-rail div {
  min-height: 96px;
  padding: 18px;
  background: rgba(0, 0, 0, 0.18);
}

.spec-rail dt {
  color: var(--cyan);
  font-family: "Roboto Mono", "SFMono-Regular", Consolas, monospace;
  font-weight: 900;
}

.spec-rail dd {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  line-height: 1.35;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-block: 1px solid var(--line);
  background: var(--white);
}

.signal-strip span {
  min-height: 68px;
  display: grid;
  place-items: center;
  padding: 12px;
  border-right: 1px solid var(--line);
  color: var(--graphite);
  font-family: "Roboto Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 820;
  text-align: center;
  text-transform: uppercase;
}

.signal-strip span:last-child {
  border-right: 0;
}

.section {
  padding: 86px clamp(18px, 6vw, 86px);
}

.section-title {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(320px, 0.58fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 34px;
}

.section-title.compact {
  display: block;
  max-width: 820px;
}

.section-title h2 {
  margin-bottom: 0;
}

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

.scope-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--white);
}

.scope-item {
  min-height: 248px;
  padding: 26px;
  border-right: 1px solid var(--line);
}

.scope-item:last-child {
  border-right: 0;
}

.scope-item span,
.process-line span {
  display: inline-flex;
  margin-bottom: 38px;
  color: var(--copper);
  font-family: "Roboto Mono", "SFMono-Regular", Consolas, monospace;
  font-weight: 900;
}

.scope-item p,
.case-copy p,
.briefing-copy p {
  color: var(--muted);
  line-height: 1.62;
}

.process {
  color: var(--white);
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    var(--steel);
  background-size: 38px 38px;
}

.process h2,
.process h3 {
  color: var(--white);
}

.process-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--line-dark);
}

.process-line article {
  min-height: 272px;
  padding: 28px;
  border-right: 1px solid var(--line-dark);
}

.process-line article:last-child {
  border-right: 0;
}

.process-line p {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.6;
}

.cases {
  background: #f9f7f0;
}

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

.case-item {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.case-item.wide {
  grid-column: span 2;
}

.case-item img {
  width: 100%;
  aspect-ratio: 1.26;
  object-fit: cover;
  background: #e6e1d6;
}

.case-copy {
  padding: 22px;
}

.case-kicker {
  margin-bottom: 10px;
  color: var(--green);
  font-family: "Roboto Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.case-copy ul {
  display: grid;
  gap: 6px;
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--graphite);
  line-height: 1.45;
}

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

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

.deliverable-grid article {
  min-height: 156px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.deliverable-grid strong,
.deliverable-grid span {
  display: block;
}

.deliverable-grid strong {
  margin-bottom: 12px;
  font-size: 1.06rem;
}

.deliverable-grid span {
  color: var(--muted);
  line-height: 1.55;
}

.briefing {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 0.72fr);
  gap: 46px;
  align-items: start;
  color: var(--white);
  background: linear-gradient(135deg, #111417, #252d31);
}

.briefing h2 {
  color: var(--white);
}

.briefing-copy {
  max-width: 680px;
}

.briefing-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.technical-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.technical-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 800;
}

.technical-form input,
.technical-form select,
.technical-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
}

.technical-form textarea {
  resize: vertical;
}

.form-button {
  width: 100%;
  margin-top: 4px;
  cursor: pointer;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--cyan);
  font-size: 0.92rem;
  font-weight: 850;
}

.engineering-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 6vw, 86px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--paper);
}

.engineering-footer img {
  width: 132px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
}

.engineering-footer p {
  margin: 0;
  text-align: right;
}

@media (max-width: 1120px) {
  .hero,
  .briefing,
  .section-title {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

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

  .scope-item:nth-child(2),
  .process-line article:nth-child(2) {
    border-right: 0;
  }

  .scope-item:nth-child(-n + 2),
  .process-line article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .process-line article:nth-child(-n + 2) {
    border-bottom-color: var(--line-dark);
  }

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

  .case-item.wide {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  .engineering-header {
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100vw;
    max-width: 100vw;
    padding-inline: 18px;
  }

  .brand {
    justify-self: center;
  }

  .brand img {
    width: 108px;
  }

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

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    width: 100vw;
    max-width: 100vw;
    overflow: hidden;
    padding: 48px 20px 42px;
  }

  .hero-copy,
  .hero-actions,
  .hero-lab {
    width: calc(100vw - 60px);
    max-width: calc(100vw - 60px);
  }

  h1 {
    max-width: 10ch;
    font-size: 2.42rem;
    line-height: 1.02;
  }

  h2 {
    font-size: 2.24rem;
  }

  .lead {
    max-width: 34ch;
    font-size: 1rem;
    overflow-wrap: anywhere;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-lab {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    width: 100%;
    min-height: auto;
  }

  .lab-main {
    min-height: 320px;
  }

  .lab-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: 120px;
  }

  .spec-rail,
  .signal-strip,
  .scope-grid,
  .process-line,
  .case-grid,
  .deliverable-grid {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .signal-strip span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .signal-strip span:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 58px 20px;
  }

  .scope-item,
  .process-line article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-line article {
    border-bottom-color: var(--line-dark);
  }

  .scope-item:last-child,
  .process-line article:last-child {
    border-bottom: 0;
  }

  .case-item.wide {
    grid-column: auto;
  }

  .briefing {
    grid-template-columns: 1fr;
    padding-inline: 20px;
  }

  .technical-form {
    padding: 20px;
  }

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

  .engineering-footer p {
    text-align: left;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: 2.18rem;
  }

  h2 {
    font-size: 2rem;
  }

  .lab-strip {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 132px);
  }
}
