:root {
  --canvas: #F8F9FA;
  --table-bg: #FFFFFF;
  --ink: #1E293B;
  --steel-blue: #0284C7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: var(--steel-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover,
a:focus-visible {
  color: var(--ink);
}

.technical-header,
main {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.technical-header {
  border-left: 1px solid var(--ink);
  border-right: 1px solid var(--ink);
  background: var(--table-bg);
}

.header-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 16px;
  background: var(--ink);
  color: var(--table-bg);
  font-family: Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.header-line p {
  margin: 0;
}

.header-line .dispatch {
  color: var(--table-bg);
  font-weight: 700;
}

.header-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  padding: 18px 16px 16px;
  border-bottom: 1px solid var(--ink);
}

.entity,
.header-summary,
.rate-note,
.contact-intro,
.privacy p {
  margin: 0;
}

.entity {
  font-size: 14px;
}

.eyebrow,
.section-label {
  margin: 0 0 6px;
  color: var(--steel-blue);
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.header-summary {
  max-width: 750px;
  margin-top: 8px;
  font-size: 14px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  font-size: 13px;
  white-space: nowrap;
}

nav a {
  font-weight: 700;
}

section {
  border-left: 1px solid var(--ink);
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--table-bg);
}

.process-section,
.services-section,
.contact-section {
  padding: 24px 16px;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: Arial, sans-serif;
  font-weight: 700;
}

h1,
h2 {
  font-size: clamp(22px, 3vw, 31px);
  line-height: 1.16;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 15px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.process-list li {
  min-width: 0;
  padding: 12px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.process-list span {
  display: block;
  margin-bottom: 9px;
  color: var(--steel-blue);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.process-list p {
  margin: 0;
  font-size: 14px;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
}

.hero-copy {
  padding: 28px 16px;
}

.hero-copy h2 {
  margin-bottom: 14px;
}

.hero-copy p:not(.section-label):not(.signature) {
  margin: 0 0 13px;
  max-width: 700px;
}

.signature {
  margin: 18px 0 0;
  font-weight: 700;
}

.work-figure {
  display: flex;
  flex-direction: column;
  margin: 0;
  border-left: 1px solid var(--ink);
}

.work-figure img {
  display: block;
  width: 100%;
  min-height: 250px;
  height: 100%;
  object-fit: cover;
}

.work-figure figcaption {
  padding: 9px 12px;
  border-top: 1px solid var(--ink);
  font-size: 12px;
}

.service-prose {
  margin-top: 18px;
  border-top: 1px solid var(--ink);
}

.service-prose p {
  margin: 0;
  padding: 11px 0;
  border-bottom: 1px solid var(--ink);
  font-size: 15px;
}

.service-prose strong,
.spec-table strong {
  color: var(--steel-blue);
  font-family: Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.03em;
}

.table-section {
  padding: 24px 0 0;
}

.table-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 0 16px 18px;
}

.rate-note {
  max-width: 290px;
  font-size: 13px;
  text-align: right;
}

.table-wrap {
  overflow-x: auto;
  border-top: 1px solid var(--ink);
}

.spec-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 14px;
}

.spec-table th,
.spec-table td {
  padding: 10px 12px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  text-align: left;
  vertical-align: top;
}

.spec-table th:last-child,
.spec-table td:last-child {
  border-right: 0;
}

.spec-table th {
  background: var(--steel-blue);
  color: var(--table-bg);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.spec-table tbody tr:nth-child(even) {
  background: var(--canvas);
}

.spec-table td:first-child {
  width: 25%;
}

.spec-table td:nth-child(2) {
  width: 49%;
}

.spec-table td:last-child {
  width: 26%;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 24px;
}

.contact-intro {
  margin-top: 14px;
}

.contact-details {
  margin: 0;
  border-top: 1px solid var(--ink);
}

.contact-details div {
  display: grid;
  grid-template-columns: minmax(145px, 0.45fr) minmax(0, 1fr);
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--ink);
}

.contact-details dt {
  color: var(--steel-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.contact-details dd {
  margin: 0;
}

.privacy {
  grid-column: 1 / -1;
  padding-top: 16px;
  border-top: 1px solid var(--ink);
}

.privacy h3 {
  margin-bottom: 6px;
}

.privacy p {
  font-size: 13px;
}

@media (max-width: 780px) {
  .technical-header,
  main {
    width: min(100%, calc(100% - 20px));
  }

  .header-line,
  .header-main,
  .table-heading,
  .contact-section {
    display: block;
  }

  .header-line .dispatch {
    display: inline-block;
    margin-top: 5px;
  }

  nav {
    justify-content: flex-start;
    margin-top: 16px;
  }

  .process-list {
    grid-template-columns: 1fr 1fr;
  }

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

  .work-figure {
    border-top: 1px solid var(--ink);
    border-left: 0;
  }

  .work-figure img {
    min-height: 210px;
    max-height: 310px;
  }

  .rate-note {
    max-width: none;
    margin-top: 12px;
    text-align: left;
  }

  .contact-details {
    margin-top: 20px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  .process-section,
  .services-section,
  .contact-section,
  .hero-copy {
    padding: 20px 12px;
  }

  .header-main {
    padding: 15px 12px;
  }

  .header-line {
    padding: 8px 12px;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list li {
    border-right: 0;
  }

  .contact-details div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}
