:root {
  --ink: #0d1621;
  --navy: #111d2b;
  --navy-soft: #192a3c;
  --steel: #5b6875;
  --muted: #697786;
  --line: #dce3ea;
  --light: #f5f7f9;
  --white: #fff;
  --amber: #f29a24;
  --amber-bright: #ffb53f;
  --amber-soft: #ffebcb;
  --shell: min(1200px, calc(100% - 48px));
  --shadow: 0 18px 56px rgba(10, 24, 38, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

h1,
h2,
h3 {
  margin: 0 0 1.1rem;
  color: var(--ink);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.7rem, 5.8vw, 5.5rem);
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3.25rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.45rem);
  letter-spacing: -0.025em;
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.shell--narrow {
  max-width: 900px;
}

.shell--reading {
  max-width: 760px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.skip-link {
  position: absolute;
  z-index: 999;
  top: 10px;
  left: -999px;
  padding: 12px 18px;
  background: var(--white);
  color: var(--ink);
}

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

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.page:not(.home) .site-header,
.single .site-header,
.blog .site-header {
  background: rgba(13, 22, 33, 0.96);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.site-header__inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--white);
}

.brand img {
  flex: 0 0 auto;
}

.brand span {
  display: grid;
  gap: 2px;
}

.brand strong {
  font-size: 1.16rem;
  letter-spacing: 0.19em;
}

.brand small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.64rem;
  letter-spacing: 0.15em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 29px;
}

.site-nav > a:not(.nav-cta) {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
  font-weight: 500;
}

.site-nav > a:not(.nav-cta):hover,
.site-nav > a:not(.nav-cta):focus-visible {
  color: var(--white);
}

.nav-cta {
  padding: 13px 22px;
  color: var(--ink);
  background: var(--amber);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 650;
  transition: background-color 180ms ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--amber-bright);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 12px 10px;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.menu-toggle span:not(.screen-reader-text) {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: min(900px, 100vh);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(90deg, rgba(8, 16, 26, 0.94) 0%, rgba(8, 16, 26, 0.78) 42%, rgba(8, 16, 26, 0.38) 100%),
    url("../images/hero-factory.webp");
  background-image:
    linear-gradient(90deg, rgba(8, 16, 26, 0.94) 0%, rgba(8, 16, 26, 0.78) 42%, rgba(8, 16, 26, 0.38) 100%),
    var(--hero-image);
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 170px 0 155px;
}

.hero h1 {
  max-width: 730px;
  color: var(--white);
}

.hero__lead {
  max-width: 580px;
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(1.05rem, 1.6vw, 1.16rem);
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--amber-bright);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow--dark {
  color: #c27512;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 650;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  color: var(--ink);
  background: var(--amber);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--amber-bright);
}

.button--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.button--dark {
  color: var(--white);
  background: var(--navy);
}

.hero__rail {
  position: absolute;
  z-index: 2;
  bottom: 0;
  right: max(calc((100% - 1200px) / 2), 24px);
  display: flex;
  background: rgba(13, 22, 33, 0.86);
  backdrop-filter: blur(8px);
}

.hero__rail div {
  min-width: 152px;
  padding: 23px 25px 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.hero__rail strong,
.hero__rail span {
  display: block;
}

.hero__rail strong {
  margin-bottom: 7px;
  color: var(--white);
  font-size: 1.05rem;
}

.hero__rail span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.8rem;
}

.section {
  padding: clamp(72px, 9vw, 112px) 0;
}

.section--light {
  background: var(--light);
}

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

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

.section--navy p {
  color: rgba(255, 255, 255, 0.68);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 410px);
  align-items: end;
  gap: 46px;
  margin-bottom: 50px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -24px;
}

.section-heading p:not(.eyebrow) {
  margin-bottom: 7px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-grid--featured {
  margin-bottom: 46px;
}

.product-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid #e5ebf0;
  border-radius: 5px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 0.76;
  object-fit: contain;
  background: var(--white);
  padding: 18px;
}

.product-card__body {
  min-height: 206px;
  padding: 24px 25px 27px;
  border-top: 1px solid var(--line);
}

.product-card__body p {
  min-height: 78px;
  margin-bottom: 17px;
  font-size: 0.92rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #a96108;
  font-size: 0.92rem;
  font-weight: 650;
}

.text-link::after {
  content: "\2192";
  transition: transform 160ms ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

.centered-action {
  text-align: center;
}

.columns--capability {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(45px, 7vw, 98px);
}

.feature-list {
  display: grid;
  gap: 0;
}

.feature-list article {
  padding: 0 0 29px;
  margin-bottom: 29px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.feature-list article:last-child {
  margin-bottom: 0;
}

.feature-list p {
  margin-bottom: 0;
}

.section--split {
  padding: 0;
  background: var(--white);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(44px, 7vw, 84px);
  padding: clamp(68px, 8vw, 104px) 0;
}

.split__image {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}

.split__body p:not(.eyebrow) {
  max-width: 530px;
}

.section--cta {
  padding: clamp(60px, 7vw, 82px) 0;
  color: var(--white);
  background: var(--navy-soft);
}

.section--cta h2 {
  margin-bottom: 0;
  color: var(--white);
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta .eyebrow {
  margin-bottom: 14px;
}

.page-hero {
  padding: clamp(152px, 17vw, 205px) 0 clamp(72px, 9vw, 98px);
}

.page-hero h1 {
  max-width: 900px;
}

.page-hero p:not(.eyebrow) {
  max-width: 660px;
  font-size: 1.08rem;
}

.page-hero--dark {
  color: var(--white);
  background:
    radial-gradient(circle at 88% 8%, rgba(242, 154, 36, 0.19), transparent 31%),
    linear-gradient(125deg, #0d1621, #142639);
}

.page-hero--dark h1 {
  color: var(--white);
}

.page-hero--dark p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.7);
}

.page-hero--products {
  color: var(--white);
  background:
    linear-gradient(105deg, rgba(10, 19, 29, 0.94), rgba(10, 19, 29, 0.72)),
    url("../images/manufacturing-floor.webp") center / cover;
}

.page-hero--products h1 {
  color: var(--white);
}

.page-hero--products p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.values article {
  padding: 38px 34px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.11);
}

.values span {
  display: block;
  margin-bottom: 35px;
  color: var(--amber-bright);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 470px);
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}

.contact-card {
  padding: clamp(32px, 5vw, 48px);
  color: var(--white);
  background: var(--navy);
}

.contact-card span {
  display: block;
  margin-bottom: 18px;
  color: var(--amber-bright);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-card a {
  display: block;
  margin-bottom: 24px;
  color: var(--white);
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  font-weight: 600;
  word-break: break-all;
}

.contact-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.92rem;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  min-height: 295px;
  padding: 33px 29px;
  background: var(--white);
  border: 1px solid var(--line);
}

.article-card__tag {
  margin-bottom: 22px;
  color: #ae680f;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.article-card h2 {
  font-size: clamp(1.35rem, 2vw, 1.58rem);
}

.article-card p:not(.article-card__tag) {
  font-size: 0.93rem;
}

.article-hero {
  padding: clamp(156px, 17vw, 204px) 0 clamp(64px, 8vw, 84px);
  color: var(--white);
  background:
    radial-gradient(circle at 85% 15%, rgba(242, 154, 36, 0.18), transparent 28%),
    var(--navy);
}

.article-hero h1 {
  color: var(--white);
}

.article-intro {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.14rem;
}

.prose {
  padding: clamp(56px, 8vw, 86px) 0;
}

.prose h2 {
  margin-top: 2.7rem;
  font-size: clamp(1.52rem, 2.5vw, 2rem);
}

.prose p,
.prose li {
  color: #4c5c6c;
  font-size: 1.04rem;
  line-height: 1.82;
}

.prose ul {
  padding-left: 24px;
  margin: 0 0 1.6rem;
}

.source-note {
  padding: 20px 24px;
  margin-top: 40px;
  background: #f3f6f8;
  border-left: 3px solid var(--amber);
  font-size: 0.94rem !important;
}

.source-note a,
.prose a {
  color: #9e5c08;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-contact {
  margin-top: 55px;
  padding: clamp(28px, 5vw, 38px);
  color: var(--white);
  background: var(--navy);
}

.article-contact h2 {
  margin-top: 0;
  color: var(--white);
}

.article-contact p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.article-contact a {
  color: var(--amber-bright);
}

.site-footer {
  padding: 64px 0 27px;
  color: var(--white);
  background: #0a121b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1.1fr;
  gap: 55px;
  padding-bottom: 50px;
}

.brand--footer {
  align-self: start;
}

.footer-label {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.footer-grid > div:not(:first-child) a:not(.footer-mail) {
  display: block;
  margin-bottom: 13px;
  color: rgba(255, 255, 255, 0.82);
}

.footer-mail {
  display: block;
  margin-bottom: 15px;
  color: var(--amber-bright);
  font-size: 1.08rem;
}

.footer-note {
  max-width: 390px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.88rem;
}

.footer-base {
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-base p {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.83rem;
}

@media (max-width: 940px) {
  :root {
    --shell: min(100% - 38px, 760px);
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 20px 22px;
    background: #101b27;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

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

  .site-nav > a:not(.nav-cta) {
    padding: 14px 5px;
  }

  .nav-cta {
    margin-top: 10px;
    text-align: center;
  }

  .hero {
    min-height: 720px;
  }

  .hero__content {
    padding: 150px 0 170px;
  }

  .hero__rail {
    left: 0;
    right: 0;
  }

  .hero__rail div {
    min-width: 0;
    flex: 1;
    padding: 18px 14px;
  }

  .section-heading,
  .columns--capability,
  .split,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .values,
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split__image {
    min-height: 320px;
  }

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

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

  .brand--footer {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  :root {
    --shell: calc(100% - 32px);
  }

  .site-header__inner {
    min-height: 74px;
  }

  .brand strong {
    font-size: 1rem;
  }

  .brand small {
    font-size: 0.57rem;
  }

  .site-nav {
    top: 74px;
  }

  .hero {
    min-height: 690px;
  }

  .hero__content {
    padding: 124px 0 186px;
  }

  .hero__rail div:nth-child(3) {
    display: none;
  }

  .section-heading {
    gap: 22px;
  }

  .section-heading .eyebrow {
    margin-bottom: 0;
  }

  .product-grid,
  .values,
  .article-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .product-card__body {
    min-height: 0;
  }

  .product-card__body p {
    min-height: 0;
  }

  .footer-grid {
    gap: 36px;
  }
}
