:root {
  --ink: #17202c;
  --muted: #667085;
  --line: #d0d5dd;
  --soft: #f4f7f8;
  --panel: #ffffff;
  --brand: #0f766e;
  --brand-dark: #0b4f49;
  --accent: #b45309;
  --dark: #111827;
  --shadow: 0 18px 60px rgba(16, 24, 40, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

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

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 980px;
  font-size: clamp(2.35rem, 5vw, 4.7rem);
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.6rem);
}

h3 {
  font-size: 1.12rem;
}

.wrap {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 20;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--line);
}

.skip-link:focus {
  left: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(208, 213, 221, 0.8);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 230px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--brand);
  border-radius: 8px;
  font-weight: 800;
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-text strong {
  font-size: 1.12rem;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.82rem;
}

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

.primary-nav a,
.footer-links a {
  text-decoration: none;
}

.primary-nav a {
  padding: 9px 10px;
  border-radius: 7px;
  color: #344054;
  font-size: 0.92rem;
  white-space: nowrap;
}

.primary-nav a[aria-current="page"],
.primary-nav a:hover {
  color: var(--brand-dark);
  background: #e6f3f1;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-sm {
  min-height: 38px;
  padding: 8px 13px;
  font-size: 0.9rem;
}

.btn-primary {
  color: #fff;
  background: var(--brand);
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.btn-secondary,
.btn-ghost {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}

.btn-ghost {
  color: var(--brand-dark);
}

.hero {
  padding: 72px 0 34px;
  background:
    linear-gradient(90deg, rgba(244, 247, 248, 0.95), rgba(244, 247, 248, 0.55)),
    #f4f7f8;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 46px;
  align-items: center;
}

.hero-copy {
  padding: 24px 0;
}

.lead {
  color: #344054;
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
  max-width: 760px;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--brand-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-media {
  min-height: 460px;
  border: 1px solid rgba(208, 213, 221, 0.9);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 36px;
}

.hero-points div,
.panel,
.tile,
.client-item,
.research-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.hero-points div {
  padding: 16px;
}

.hero-points strong,
.hero-points span {
  display: block;
}

.hero-points span {
  color: var(--muted);
  font-size: 0.9rem;
}

.band {
  padding: 70px 0;
}

.band:nth-of-type(even) {
  background: var(--soft);
}

.page-hero {
  padding: 56px 0 28px;
}

.section-head {
  margin-bottom: 28px;
}

.section-head-row {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
}

.section-head p,
.muted {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
}

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

.tile {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.tile:hover {
  transform: translateY(-3px);
  border-color: #98a2b3;
  box-shadow: var(--shadow);
}

.tile img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #e4e7ec;
}

.tile-body {
  padding: 19px;
}

.tile-body p:last-child,
.tile-body h3:last-child {
  margin-bottom: 0;
}

.text-link {
  color: var(--brand-dark);
  font-weight: 800;
}

.small {
  font-size: 0.9rem;
}

.timeline {
  display: grid;
  gap: 13px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  border-left: 3px solid var(--brand);
  background: #fff;
}

.timeline-year {
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 850;
}

.two-col,
.split-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.panel {
  padding: 26px;
}

.panel h2:not(:first-child) {
  margin-top: 32px;
}

.check-list {
  display: grid;
  gap: 10px;
  padding-left: 20px;
}

.check-list li::marker {
  color: var(--brand);
}

.spec-grid {
  display: grid;
  gap: 10px;
  margin: 0;
}

.spec-grid div {
  display: grid;
  grid-template-columns: minmax(120px, 0.55fr) minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #eaecf0;
}

.spec-grid dt {
  color: var(--muted);
  font-weight: 700;
}

.spec-grid dd {
  margin: 0;
}

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

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.gallery img:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}

.tag-row,
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row span,
.chips span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid #b7ddd7;
  border-radius: 6px;
  color: var(--brand-dark);
  background: #effaf8;
  font-size: 0.78rem;
  font-weight: 750;
}

.research-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  margin-bottom: 12px;
  padding: 18px;
}

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

.client-item {
  padding: 18px;
}

.client-item a {
  color: var(--brand-dark);
  overflow-wrap: anywhere;
}

.stack {
  display: grid;
  gap: 12px;
}

.mini-item {
  padding-bottom: 13px;
  border-bottom: 1px solid #eaecf0;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.faq-item summary {
  padding: 16px 18px;
  font-weight: 800;
  cursor: pointer;
}

.faq-item p {
  padding: 0 18px 18px;
  color: var(--muted);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--brand-dark);
  text-decoration: none;
}

.rfq-form {
  display: grid;
  gap: 16px;
}

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

label {
  display: grid;
  gap: 6px;
  color: #344054;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 11px 12px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

textarea {
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.site-footer {
  padding: 46px 0;
  color: #d0d5dd;
  background: var(--dark);
}

.site-footer h2,
.site-footer a {
  color: #fff;
}

.site-footer .muted {
  color: #98a2b3;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(220px, 0.8fr) minmax(170px, 0.55fr);
  gap: 30px;
}

.footer-title {
  margin-bottom: 10px;
  color: #fff;
  font-weight: 800;
}

.footer-links,
.site-footer div:nth-child(2) {
  display: grid;
  gap: 8px;
}

@media (max-width: 980px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .nav-toggle {
    display: inline-block;
    margin-left: auto;
  }

  .primary-nav {
    display: none;
    width: 100%;
    order: 4;
    align-items: stretch;
    justify-content: start;
    flex-direction: column;
    padding: 10px 0;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .hero-grid,
  .two-col,
  .split-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-media,
  .hero-media img {
    min-height: 340px;
  }

  .products-grid,
  .problems-grid,
  .evidence-grid,
  .client-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 24px, 1180px);
  }

  .hero {
    padding-top: 42px;
  }

  .hero-points,
  .products-grid,
  .problems-grid,
  .evidence-grid,
  .client-strip,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .section-head-row,
  .research-item {
    display: block;
  }

  .research-item .btn {
    margin-top: 10px;
    width: 100%;
  }

  .timeline-item,
  .spec-grid div {
    grid-template-columns: 1fr;
  }

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

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