:root {
  --ink: #090d10;
  --charcoal: #11181d;
  --steel: #71808a;
  --muted-charcoal: #74838d;
  --steel-dark: #344047;
  --line: #2a343a;
  --paper: #f2f4f1;
  --white: #ffffff;
  --signal: #d7ff3f;
  --max: 1440px;
  --gutter: clamp(1rem, 3vw, 3.25rem);
  --font: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
select,
textarea {
  margin: 0;
  color: inherit;
  font: inherit;
}

button,
[type="button"],
[type="submit"] {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

::selection {
  background: var(--signal);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--ink);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: var(--gutter);
  padding: 0.75rem 1rem;
  transform: translateY(-180%);
  background: var(--signal);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

h1,
h2,
h3,
.display {
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

h1,
.display-xl {
  max-width: 13ch;
  font-size: clamp(2.9rem, 7.3vw, 7.5rem);
}

h2,
.display-lg {
  max-width: 18ch;
  font-size: clamp(2rem, 4.3vw, 4.75rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.15;
}

.lead {
  max-width: 42rem;
  color: var(--steel-dark);
  font-size: clamp(1.08rem, 1.6vw, 1.35rem);
}

.container {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2vw, 2rem);
}

.section {
  padding-block: clamp(4.5rem, 9vw, 9rem);
}

.section--tight {
  padding-block: clamp(3rem, 6vw, 5.5rem);
}

.section--ink {
  background: var(--ink);
  color: var(--white);
}

.section--charcoal {
  background: var(--charcoal);
  color: var(--white);
}

.section-head {
  align-items: end;
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}

.section-head__title {
  grid-column: 1 / span 8;
}

.section-head__copy {
  grid-column: 9 / -1;
  color: var(--steel-dark);
}

.section--ink .section-head__copy {
  color: var(--steel);
}

.section--charcoal .section-head__copy {
  color: var(--muted-charcoal);
}

.site-header {
  position: relative;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: var(--white);
}

/* Fix header container against Tailwind CDN override — keeps logo position consistent */
.site-header .container {
  padding-inline: var(--gutter);
  width: min(100%, var(--max));
  margin-inline: auto;
}

.site-header__inner {
  display: flex;
  min-height: 5.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand__mark {
  width: 2rem;
  height: 2rem;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2.5rem);
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: #c5cdd1;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.site-nav a.is-current {
  color: var(--white);
}

.site-nav a[aria-current="page"]::after,
.site-nav a.is-current::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--signal);
  content: "";
}

.menu-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--white);
}

.menu-toggle__line {
  display: block;
  width: 1.25rem;
  height: 1px;
  margin: 0.28rem auto;
  background: currentColor;
}

.hero {
  min-height: calc(100svh - 5.25rem);
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.hero__grid {
  min-height: inherit;
  align-items: stretch;
}

.hero__content {
  z-index: 1;
  grid-column: 1 / span 7;
  align-self: center;
  padding-block: clamp(4rem, 8vw, 8rem);
}

.hero__title {
  margin-block: 1.25rem 1.75rem;
}

.hero__copy {
  max-width: 39rem;
  color: #b7c0c5;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.hero__media {
  position: relative;
  grid-column: 8 / -1;
  min-height: 34rem;
  margin-right: calc(var(--gutter) * -1);
  background: var(--charcoal);
}

.hero__media::after {
  position: absolute;
  inset: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(9, 13, 16, 0.12);
  content: "";
  pointer-events: none;
}

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

.btn {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border: 1px solid currentColor;
  padding: 0.85rem 1.2rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.btn::after {
  content: "→";
  font-size: 1rem;
}

.btn--primary {
  border-color: var(--signal);
  background: var(--signal);
  color: var(--ink);
}

.btn--primary:hover {
  border-color: var(--white);
  background: var(--white);
}

.btn--secondary {
  border-color: var(--steel);
  background: transparent;
  color: var(--white);
}

.btn--secondary:hover {
  border-color: var(--white);
}

.btn--dark {
  border-color: var(--ink);
  color: var(--ink);
}

.eyebrow,
.tech-label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.5rem;
  height: 2px;
  background: var(--signal);
  content: "";
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tag {
  border: 1px solid var(--line);
  padding: 0.45rem 0.6rem;
  color: var(--steel-dark);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
}

.section--ink .tag,
.section--charcoal .tag {
  color: #c5cdd1;
}

.system-grid {
  border-top: 1px solid var(--line);
}

.system-panel {
  position: relative;
  grid-column: span 6;
  min-height: 31rem;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(1.5rem, 3vw, 3rem);
  background: var(--charcoal);
  color: var(--white);
}

.system-panel:nth-child(even) {
  border-right: 0;
}

.system-panel__media {
  position: absolute;
  inset: 0;
  opacity: 0.34;
}

.system-panel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.system-panel__content {
  position: relative;
  z-index: 1;
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
  gap: 4rem;
}

.system-panel__number {
  color: var(--signal);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.system-panel__copy {
  max-width: 32rem;
  margin-top: 1rem;
  color: #bcc5ca;
}

.engineering-statement {
  border-top: 1px solid var(--signal);
  border-bottom: 1px solid var(--signal);
  padding-block: clamp(3.5rem, 7vw, 7rem);
  background: var(--ink);
  color: var(--white);
}

.engineering-statement__label {
  grid-column: 1 / span 3;
  color: var(--signal);
}

.engineering-statement__text {
  grid-column: 4 / -1;
  max-width: 24ch;
  font-size: clamp(2rem, 4vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.capability-matrix {
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.capability-matrix__item {
  grid-column: span 4;
  min-height: 14rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(1.25rem, 2.5vw, 2.25rem);
}

.capability-matrix__index {
  display: block;
  margin-bottom: 3.5rem;
  color: var(--steel-dark);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.7rem;
}

.capability-matrix__item p {
  margin-top: 0.75rem;
  color: var(--steel-dark);
}

.why-custom {
  border-top: 1px solid var(--line);
}

.why-card {
  grid-column: span 3;
  min-height: 21rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(1.25rem, 2.5vw, 2.25rem);
}

.why-card:last-child {
  border-right: 0;
}

.why-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: clamp(4rem, 8vw, 7rem);
  border-top: 2px solid var(--signal);
  border-right: 2px solid var(--line);
}

.why-card p {
  margin-top: 0.85rem;
  color: var(--steel-dark);
}

.section--ink .why-card p {
  color: var(--steel);
}

.section--charcoal .why-card p {
  color: var(--muted-charcoal);
}

.workflow {
  counter-reset: workflow;
  border-top: 1px solid var(--line);
}

.workflow__step {
  position: relative;
  grid-column: span 2;
  min-height: 18rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 1.1rem;
  counter-increment: workflow;
}

.workflow__step:last-child {
  border-right: 0;
}

.workflow__step::before {
  display: block;
  margin-bottom: 5rem;
  color: var(--signal);
  content: "0" counter(workflow);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.workflow__step::after {
  position: absolute;
  top: 1.75rem;
  right: -0.3rem;
  z-index: 1;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--signal);
  content: "";
}

.workflow__step:last-child::after {
  display: none;
}

.enquiry-cta {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--charcoal);
  color: var(--white);
}

.enquiry-cta__content {
  grid-column: 1 / span 8;
}

.enquiry-cta__action {
  grid-column: 10 / -1;
  align-self: end;
  justify-self: end;
}

.enquiry-layout__intro {
  grid-column: 1 / span 4;
}

.enquiry-form {
  grid-column: 6 / -1;
}

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

.field {
  display: grid;
  gap: 0.55rem;
}

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

.field label,
.field__label {
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3.4rem;
  border: 1px solid #9aa4aa;
  border-radius: 0;
  padding: 0.75rem 0.85rem;
  background: var(--white);
}

.field textarea {
  min-height: 10rem;
  resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--ink);
}

.field [aria-invalid="true"] {
  border-color: #b22020;
  box-shadow: inset 4px 0 0 #b22020;
}

.field [aria-invalid="true"]:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 2px;
  box-shadow: inset 4px 0 0 #b22020, 0 0 0 6px var(--ink);
}

.field__error {
  min-height: 1.1em;
  color: #8d1717;
  font-size: 0.76rem;
}

.checkbox-field {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.75rem;
}

.checkbox-field input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  accent-color: var(--ink);
}

.form-status {
  margin-top: 1rem;
  border-left: 3px solid var(--steel);
  padding: 0.85rem 1rem;
  background: #e4e8e5;
  font-size: 0.88rem;
}

.form-status[data-state="success"] {
  border-color: var(--signal);
  background: var(--ink);
  color: var(--white);
}

.form-status[data-state="error"] {
  border-color: #b22020;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(3.5rem, 7vw, 6.5rem) 2rem;
  background: var(--ink);
  color: var(--white);
}

.site-footer__brand {
  grid-column: 1 / span 4;
}

.site-footer__nav {
  grid-column: 6 / span 3;
}

.site-footer__contact {
  grid-column: 10 / -1;
}

.site-footer__heading {
  margin-bottom: 1rem;
  color: var(--steel);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer__links {
  display: grid;
  gap: 0.55rem;
}

.site-footer__links a {
  color: #c5cdd1;
  text-decoration: none;
}

.site-footer__links a:hover {
  color: var(--signal);
}

.site-footer__positioning {
  max-width: 36rem;
  margin-top: 1.5rem;
  color: #aeb8bd;
}

.site-footer__base {
  display: flex;
  margin-top: clamp(3rem, 7vw, 6rem);
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  color: var(--steel);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 520ms ease, transform 520ms ease;
}

.js .reveal.is-visible,
.js .reveal[data-revealed="true"] {
  opacity: 1;
  transform: none;
}

.text-steel {
  color: var(--steel-dark);
}

.section--ink .text-steel,
.site-footer .text-steel {
  color: var(--steel);
}

.section--charcoal .text-steel {
  color: var(--muted-charcoal);
}

.system-panel .text-steel {
  color: var(--muted-charcoal);
}

.text-signal {
  color: var(--signal);
}

.rule-top {
  border-top: 1px solid var(--line);
}

.rule-bottom {
  border-bottom: 1px solid var(--line);
}

.full-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

@media (max-width: 1180px) {
  .site-header__inner {
    min-height: 4.5rem;
    flex-wrap: wrap;
  }

  .site-nav {
    width: 100%;
  }

  .js .site-header__inner {
    flex-wrap: nowrap;
  }

  .js .menu-toggle {
    display: block;
  }

  .js .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    width: auto;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 1rem var(--gutter) 1.5rem;
    background: var(--ink);
  }

  .js .site-nav.is-open,
  .js .site-nav[data-open="true"] {
    display: block;
  }

  .site-nav__list {
    display: grid;
    gap: 0;
  }

  .site-nav a {
    display: flex;
    min-height: 3.5rem;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 1024px) {
  .hero {
    min-height: auto;
  }

  .hero__content {
    grid-column: 1 / span 7;
  }

  .hero__media {
    grid-column: 8 / -1;
    min-height: 38rem;
  }

  .section-head__title {
    grid-column: 1 / span 7;
  }

  .section-head__copy {
    grid-column: 8 / -1;
  }

  .capability-matrix__item {
    grid-column: span 6;
  }

  .why-card {
    grid-column: span 6;
  }

  .why-card:nth-child(even) {
    border-right: 0;
  }

  .workflow__step {
    grid-column: span 4;
  }

  .workflow__step:nth-child(3) {
    border-right: 0;
  }

  .workflow__step:nth-child(3)::after {
    display: none;
  }

  .enquiry-layout__intro {
    grid-column: 1 / span 5;
  }

  .enquiry-form {
    grid-column: 6 / -1;
  }
}

@media (max-width: 720px) {
  h1,
  .display-xl {
    font-size: clamp(2.65rem, 14vw, 4.8rem);
  }

  .section {
    padding-block: 4.5rem;
  }

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

  .hero__content,
  .hero__media,
  .section-head__title,
  .section-head__copy,
  .engineering-statement__label,
  .engineering-statement__text,
  .capability-matrix__item,
  .why-card,
  .workflow__step,
  .enquiry-cta__content,
  .enquiry-cta__action,
  .enquiry-layout__intro,
  .enquiry-form,
  .site-footer__brand,
  .site-footer__nav,
  .site-footer__contact {
    grid-column: 1;
  }

  .hero__content {
    padding-block: 3.5rem;
  }

  .hero__media {
    min-height: 22rem;
    margin-inline: calc(var(--gutter) * -1);
  }

  .section-head__copy {
    margin-top: 1.5rem;
  }

  .system-panel {
    grid-column: 1;
    min-height: 26rem;
    border-right: 0;
  }

  .engineering-statement__text {
    margin-top: 2rem;
  }

  .capability-matrix__item,
  .why-card,
  .why-card:nth-child(even),
  .workflow__step,
  .workflow__step:nth-child(3) {
    border-right: 1px solid var(--line);
  }

  .why-card {
    min-height: auto;
  }

  .why-card__icon {
    margin-bottom: 3rem;
  }

  .workflow__step {
    min-height: 12rem;
  }

  .workflow__step::before {
    margin-bottom: 3rem;
  }

  .workflow__step::after,
  .workflow__step:nth-child(3)::after {
    top: auto;
    right: auto;
    bottom: -0.3rem;
    left: 1.2rem;
    display: block;
  }

  .workflow__step:last-child::after {
    display: none;
  }

  .enquiry-cta__action {
    margin-top: 2rem;
    justify-self: start;
  }

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

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

  .site-footer__nav,
  .site-footer__contact {
    margin-top: 2.5rem;
  }

  .site-footer__base {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* === FORM UI FIX PATCH === */

input,
select,
textarea {
  color: #111 !important;
  background: #ffffff !important;
  border: 1px solid #d0d0d0 !important;
}

input::placeholder,
textarea::placeholder {
  color: #777 !important;
}

/* Hide empty form status block */
.form-status {
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}


/* ===== TOPBAR ===== */
.topbar {
  background: var(--charcoal);
  color: var(--white);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.5rem;
  min-height: 2.5rem;
  flex-wrap: wrap;
}
.topbar__inner a {
  color: #c5cdd1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}
.topbar__inner a:hover {
  color: var(--signal);
}

/* ===== HERO BANNER (full-width background image) ===== */
.hero-banner {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: left;
  overflow: hidden;
}
.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(9,13,16,0.55);
}
.hero-banner__content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  padding: var(--gutter);
}
.hero-banner__title {
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 1rem;
}
.hero-banner__sub {
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  color: #c5cdd1;
  margin-bottom: 2rem;
}
.hero-banner .btn--primary {
  font-size: 0.78rem;
  padding: 1rem 1.8rem;
}

/* ===== INTRO SECTION (2-col) ===== */
.intro__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ink);
}
.intro__copy {
  color: var(--steel-dark);
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.65;
}
.intro__copy p { margin-bottom: 0.85rem; }
.intro__copy a { color: var(--ink); text-decoration: underline; }

/* ===== FEATURES CARDS (3-col with images) ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  border: 1px solid transparent;
  background: var(--white);
  overflow: hidden;
}
.feature-card__img {
  aspect-ratio: 16 / 9;
  background: var(--paper);
  overflow: hidden;
}
.feature-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}
.feature-card__body {
  padding: 1.25rem 1rem;
}
.feature-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  color: var(--ink);
}
.feature-card__text {
  font-size: 0.9rem;
  color: var(--steel-dark);
  line-height: 1.55;
}

/* ===== CERTIFIED SECTION (circles) ===== */
.cert-grid {
  display: flex;
  justify-content: center;
  gap: clamp(0.5rem, 2vw, 1.25rem);
  flex-wrap: wrap;
}
.cert-circle {
  width: 10rem;
  height: 10rem;
  border: 2px solid var(--line);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--white);
}
.cert-circle__name {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 0.2rem;
}
.cert-circle__no {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
}
.cert-circle__desc {
  font-size: 0.7rem;
  color: var(--steel-dark);
  margin-top: 0.2rem;
}

/* ===== PRODUCTS GRID (hover overlay) ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.product-card {
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--charcoal);
  color: var(--white);
  aspect-ratio: 3 / 4;
  min-height: 22rem;
}
.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  transition: opacity 240ms ease, transform 240ms ease;
}
.product-card:hover img {
  opacity: 0.25;
  transform: scale(1.04);
}
.product-card__title {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  z-index: 1;
}
.product-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(9,13,16,0.85);
  opacity: 0;
  transition: opacity 240ms ease;
}
.product-card:hover .product-card__overlay {
  opacity: 1;
}
.product-card__desc {
  font-size: 0.85rem;
  color: #c5cdd1;
  text-align: center;
  margin-bottom: 1rem;
  line-height: 1.5;
}
.product-card__link {
  color: var(--signal);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
}

/* ===== PRODUCT MODULES (industrial heavy cards) ===== */
.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.module-card {
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  min-height: 34rem;
  display: flex;
  flex-direction: column;
  transition: border-color 280ms ease;
}
.module-card:last-child {
  border-right: none;
}
.module-card:hover {
  border-color: var(--signal);
}
.module-card__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.module-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
  transform: scale(1.02);
  transition: opacity 320ms ease, transform 420ms ease;
}
.module-card:hover .module-card__bg img {
  opacity: 0.78;
  transform: scale(1.08);
}
.module-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex: 1;
  padding: 2rem;
  background: linear-gradient(to top, rgba(9,13,16,0.80) 0%, rgba(9,13,16,0.30) 55%, transparent 100%);
}
.module-card__region {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal);
  border: 1px solid rgba(215,255,63,0.25);
  padding: 0.25rem 0.65rem;
  margin-bottom: 1rem;
  transition: border-color 240ms ease, color 240ms ease;
}
.module-card:hover .module-card__region {
  border-color: var(--signal);
}
.module-card__title {
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.module-card__desc {
  font-size: 0.82rem;
  color: var(--steel);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  max-width: 28ch;
}
.module-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}
.module-card__badges span {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--steel);
  background: rgba(42,52,58,0.55);
  border: 1px solid rgba(113,128,138,0.18);
  padding: 0.28rem 0.6rem;
  transition: color 240ms ease, border-color 240ms ease, background 240ms ease;
  white-space: nowrap;
}
.module-card:hover .module-card__badges span {
  color: var(--white);
  border-color: rgba(215,255,63,0.35);
  background: rgba(215,255,63,0.07);
}
.module-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  color: var(--signal);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 240ms ease, gap 240ms ease;
}
.module-card__cta:hover {
  border-bottom-color: var(--signal);
  gap: 0.7rem;
}
.module-card__arrow {
  font-size: 0.85rem;
  transition: transform 240ms ease;
}
.module-card__cta:hover .module-card__arrow {
  transform: translateX(3px);
}

/* ===== PARTNERS ===== */
.partners-slider {
  --logo-w: 10rem;
  --logo-gap: 3.5rem;
  --logo-slot: calc(var(--logo-w) + var(--logo-gap));
  overflow: hidden;
  width: 100%;
  padding: 1.5rem 0;
}
.partners-track {
  display: flex;
  gap: var(--logo-gap);
  width: max-content;
  animation: partners-scroll 14s ease-in-out infinite;
}
.partner-logo {
  flex: 0 0 var(--logo-w);
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-logo img {
  max-width: 100%;
  max-height: 4.5rem;
  object-fit: contain;
  opacity: 0.5;
  filter: grayscale(100%);
  transition: opacity 240ms ease, filter 240ms ease;
}
.partner-logo img:hover {
  opacity: 1;
  filter: grayscale(0%);
}
@keyframes partners-scroll {
  0%, 14.28%     { transform: translateX(0); }
  21.42%, 35.71% { transform: translateX(calc(-2 * var(--logo-slot))); }
  42.85%, 57.14% { transform: translateX(calc(-4 * var(--logo-slot))); }
  64.28%, 78.57% { transform: translateX(calc(-6 * var(--logo-slot))); }
  85.71%, 100%  { transform: translateX(calc(-8 * var(--logo-slot))); }
}

/* ===== TESTIMONIALS ===== */
.testimonial {
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
}
.testimonial__quote {
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  line-height: 1.55;
  color: var(--steel-dark);
}
.testimonial__author {
  margin-top: 1rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}

/* ===== PAGE HERO (sub-pages) ===== */
.page-hero {
  background: var(--ink);
  color: var(--white);
  padding-block: clamp(4rem, 8vw, 7rem);
  text-align: center;
}
.page-hero__title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

/* ===== CONTENT SECTION (sub-pages) ===== */
.content-section {
  padding-block: clamp(3.5rem, 7vw, 6rem);
}
.content-section--paper {
  background: var(--paper);
}
.content-section--white {
  background: var(--white);
}
.content-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.content-grid img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}
.content-body h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}
.content-body p {
  color: var(--steel-dark);
  margin-bottom: 1rem;
  line-height: 1.65;
}

/* ===== NEWS LIST ===== */
.news-item {
  border-bottom: 1px solid var(--line);
  padding-block: 1.75rem;
}
.news-item__date {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 0.35rem;
}
.news-item__title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 100%;
}
.news-item__title a {
  text-decoration: none;
  color: var(--ink);
}
.news-item__title a:hover {
  color: var(--steel);
}
.news-item__excerpt {
  color: var(--steel-dark);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ===== CONTACT PAGE ===== */
.contact-info-list {
  display: grid;
  gap: 1.5rem;
}
.contact-info-item__label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 0.25rem;
}
.contact-info-item__value {
  font-size: 1.05rem;
  color: var(--ink);
}
.contact-info-item__value a {
  text-decoration: none;
  color: var(--ink);
}
.contact-info-item__value a:hover {
  color: var(--steel);
}

/* ===== FOOTER (overrides for new layout) ===== */
.site-footer {
  background: var(--ink);
  color: var(--white);
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 6vw, 5rem) 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 2rem;
}
.footer-col__heading {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 1rem;
}
.footer-col p {
  color: #aeb8bd;
  font-size: 0.9rem;
  line-height: 1.55;
}
.footer-col--brand {
  max-width: 340px;
  padding-right: 2.5rem;
}
.footer-col--brand .footer-col__heading {
  font-size: 0.68rem;
  line-height: 1.45;
  margin-bottom: 0.85rem;
}
.footer-col--brand p:last-child {
  line-height: 1.6;
}
.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-flow: column;
  grid-template-rows: repeat(4, auto);
  gap: 0.45rem 1.2rem;
}
.footer-links a {
  color: #c5cdd1;
  text-decoration: none;
  font-size: 0.88rem;
}
.footer-links a:hover {
  color: var(--signal);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer-contact__row {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}
.footer-contact__row i {
  color: var(--steel);
  font-size: 0.8rem;
  width: 1rem;
  text-align: center;
  flex-shrink: 0;
}
.footer-contact__row a,
.footer-contact__row span {
  color: #c5cdd1;
  text-decoration: none;
  font-size: 0.88rem;
  line-height: 1.5;
}
.footer-contact__row a:hover {
  color: var(--signal);
}
.footer-col--marketing {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.brochure-block__title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.brochure-form {
  display: flex;
  width: 100%;
}
.brochure-form__input {
  flex: 1;
  min-width: 0;
  padding: 0.55rem 0.7rem;
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--line);
  border-right: none;
  outline: none;
  transition: border-color 240ms ease;
}
.brochure-form__input::placeholder {
  color: var(--steel);
  font-size: 0.78rem;
}
.brochure-form__input:focus {
  border-color: var(--signal);
}
.brochure-form__btn {
  flex-shrink: 0;
  padding: 0.55rem 1rem;
  background: var(--signal);
  border: 1px solid var(--signal);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease;
  line-height: 1;
}
.brochure-form__btn:hover {
  background: transparent;
  color: var(--signal);
}
.brochure-form__msg {
  font-size: 0.78rem;
  color: var(--signal);
  margin-top: 0.45rem;
  transition: opacity 300ms ease;
}
.footer-base {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--steel);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-social {
  display: flex;
  gap: 1rem;
}
.footer-social a {
  color: var(--steel);
  font-size: 1.1rem;
}
.footer-social a:hover {
  color: var(--signal);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .module-card:last-child { border-right: 1px solid var(--line); }
  .content-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .features-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .module-grid { grid-template-columns: 1fr; }
  .module-card { border-right: none; min-height: 28rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-banner { min-height: 55vh; }
  .cert-circle { width: 7rem; height: 7rem; }
  .cert-circle__no { font-size: 1.3rem; }
  .topbar__inner { justify-content: center; text-align: center; }
}
@media (max-width: 1180px) {
  .js .menu-toggle { display: block; }
  .js .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    width: auto;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 1rem var(--gutter) 1.5rem;
    background: var(--ink);
  }
  .js .site-nav.is-open { display: block; }
  .site-nav__list { display: grid; gap: 0; }
  .site-nav a { display: flex; min-height: 3.5rem; border-bottom: 1px solid var(--line); }
}

/* ── Pagination ── */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  align-items: center;
}
.pagination__link,
.pagination__current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.65rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 0.25rem;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.pagination__link {
  color: var(--steel);
  background: transparent;
  border: 1px solid var(--line);
}
.pagination__link:hover,
.pagination__link:focus-visible {
  color: var(--signal);
  background: var(--charcoal);
  border-color: var(--signal);
}
.pagination__current {
  color: var(--ink);
  background: var(--signal);
  border: 1px solid var(--signal);
  cursor: default;
}
.pagination__prev,
.pagination__next {
  font-size: 0.85rem;
  border-color: transparent;
  color: var(--steel);
}
.pagination__prev:hover,
.pagination__next:hover,
.pagination__prev:focus-visible,
.pagination__next:focus-visible {
  color: var(--signal);
  background: transparent;
  border-color: transparent;
}
