/* Torwell-inspired typography and a cleaner industrial layout. */
:root {
  --navy: #081f38;
  --ink: #20242a;
  --muted: #65717f;
  --blue: #0c4b86;
  --orange: #e34b37;
  --sky: #eef4f8;
  --line: #dfe5ea;
  --shadow: 0 16px 42px rgba(19, 36, 53, 0.09);
}

body,
button,
input,
select,
textarea,
.button {
  font-family: Arial, "Microsoft YaHei", "Microsoft YaHei UI", sans-serif;
}

body {
  color: #222;
  font-size: 15px;
  line-height: 1.7;
}

h1,
h2,
h3,
.brand__copy strong {
  font-family: Arial, "Microsoft YaHei", "Microsoft YaHei UI", sans-serif;
  letter-spacing: normal;
}

h1 {
  font-size: clamp(2.7rem, 4.4vw, 4.4rem);
  font-weight: 700;
  line-height: 1.13;
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
}

h3 {
  font-size: 1.35rem;
  font-weight: 700;
}

p {
  font-size: 15px;
  line-height: 1.75;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.085em;
  line-height: 1.35;
}

.eyebrow--light {
  color: #d7e7f6;
}

.button {
  min-height: 46px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 700;
}

.button--primary {
  background: var(--orange);
}

.button--outline {
  color: var(--ink);
}

.button--ghost-light,
.hero .button--ghost-light,
.product-hero .button--ghost-light,
.split-hero .button--ghost-light {
  color: var(--ink);
  border-color: #b8c3cd;
  background: #fff;
}

.button--ghost-light:hover,
.hero .button--ghost-light:hover,
.product-hero .button--ghost-light:hover,
.split-hero .button--ghost-light:hover {
  color: var(--blue);
  border-color: var(--blue);
  background: #fff;
}

.utility-bar {
  color: #5d6873;
  background: #f3f5f7;
  border-bottom: 1px solid #e4e8ec;
  font-size: 12px;
}

.utility-bar__inner {
  min-height: 34px;
}

.status-dot {
  background: #49a969;
  box-shadow: none;
}

.site-header {
  border-bottom: 1px solid #dfe4e8;
  background: #fff;
  box-shadow: none;
  backdrop-filter: none;
}

.site-header__inner {
  min-height: 82px;
  grid-template-columns: 220px 1fr auto;
  gap: 28px;
}

.brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 4px;
}

.brand__image {
  width: 57px;
}

.brand__copy strong {
  color: #0a3b78;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.brand__copy small {
  margin-top: 4px;
  color: #697887;
  font-size: 7px;
  letter-spacing: 0.1em;
}

.primary-nav__list {
  gap: clamp(18px, 1.55vw, 30px);
}

.primary-nav__list > li > a {
  min-height: 82px;
  color: #1c2732;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: normal;
}

.header-quote {
  font-size: 13px;
}

.mega-menu {
  top: 116px;
  max-width: 1080px;
  padding: 26px;
  border-radius: 6px;
  box-shadow: 0 18px 45px rgba(22, 38, 51, 0.16);
}

.mega-menu__top {
  grid-template-columns: 1.1fr 1fr;
  gap: 45px;
  padding-bottom: 18px;
}

.mega-menu__top h2 {
  font-size: 1.85rem;
}

.mega-menu__grid {
  gap: 32px;
}

.mega-feature {
  border-radius: 5px;
}

.hero {
  color: var(--ink);
  background: linear-gradient(105deg, #f7f8f9 0%, #f3f6f8 63%, #e8eef3 100%);
}

.hero::before {
  opacity: 0.22;
  background-image: linear-gradient(135deg, transparent 48%, rgba(10, 53, 91, 0.06) 49%, transparent 50%);
  background-size: 80px 80px;
  mask-image: none;
}

.hero__glow {
  display: none;
}

.hero__grid {
  min-height: 610px;
  grid-template-columns: minmax(0, 0.92fr) minmax(430px, 1.08fr);
  gap: 70px;
  padding-block: 68px 48px;
}

.hero__copy h1 {
  max-width: 700px;
  margin-bottom: 22px;
  color: var(--ink);
  font-size: clamp(2.8rem, 4.15vw, 4.35rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.hero__copy > p {
  max-width: 620px;
  color: #5f6872;
  font-size: 16px;
  line-height: 1.8;
}

.hero__assurances {
  gap: 22px;
  color: #4e5b68;
  font-size: 12px;
  font-weight: 400;
}

.hero__assurances .icon {
  color: var(--blue);
}

.hero__visual {
  display: grid;
  min-height: 505px;
  grid-template-columns: 1.3fr 0.7fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}

.hero-card {
  position: relative;
  border: 1px solid #dbe2e8;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(19, 36, 53, 0.1);
  transform: none !important;
}

.hero-card--main {
  inset: auto;
  grid-column: 1;
  grid-row: 1 / 3;
  width: auto;
  height: auto;
}

.hero-card--top {
  inset: auto;
  grid-column: 2;
  grid-row: 1;
  width: auto;
  height: auto;
}

.hero-card--bottom {
  inset: auto;
  grid-column: 2;
  grid-row: 2;
  width: auto;
  height: auto;
}

.hero-card img {
  padding: 9px;
  object-fit: contain;
}

.hero-card__tag {
  top: 12px;
  left: 12px;
  border-radius: 3px;
}

.hero-card__caption,
.hero-card__mini-copy {
  right: 10px;
  bottom: 10px;
  left: 10px;
  border-radius: 3px;
}

.hero-card__mini-copy {
  display: block;
}

.hero-card__mini-copy small {
  display: block;
  margin-top: 2px;
}

.hero__badge {
  width: 86px;
  height: 86px;
  right: 13%;
  bottom: 34px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 10px 25px rgba(19, 36, 53, 0.18);
  transform: none;
}

.hero__badge strong {
  font-size: 1.55rem;
}

.hero__badge span {
  font-size: 9px;
}

.hero__facts {
  padding-block: 22px 28px;
  border-top-color: #d9e0e6;
}

.hero__facts > div {
  padding-inline: 26px;
  border-right-color: #d9e0e6;
}

.hero__facts strong {
  color: var(--ink);
  font-size: 1.5rem;
}

.hero__facts span {
  color: #74818e;
  font-size: 11px;
  font-weight: 400;
}

.logo-strip {
  border-top: 1px solid #edf0f2;
}

.logo-strip__inner {
  min-height: 70px;
  color: #687582;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.section {
  padding-block: clamp(62px, 7vw, 92px);
}

.section--soft {
  background: #f7f8f9;
}

.section-heading {
  align-items: flex-end;
  margin-bottom: 34px;
}

.section-heading h2 {
  color: var(--ink);
}

.section-heading > p {
  max-width: 500px;
  color: #67737f;
}

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

.product-card,
.product-card--wide {
  display: flex;
  min-height: 0;
  grid-column: auto;
  border-color: #e1e5e8;
  border-radius: 4px;
  background: #fff;
}

.product-card__image {
  min-height: 0;
  aspect-ratio: 1 / 1;
  padding: 12px;
  background: #f7f8f9;
}

.product-card__image img {
  min-height: 0;
  object-fit: contain;
}

.product-card__content {
  padding: 21px 22px 24px;
}

.product-card__index {
  top: 19px;
  right: 20px;
  color: #a1a9b1;
  font-weight: 400;
}

.product-card .eyebrow {
  margin-bottom: 7px;
  font-size: 10px;
  font-weight: 700;
}

.product-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.product-card p:not(.eyebrow) {
  margin-bottom: 18px;
  font-size: 14px;
  line-height: 1.65;
}

.section-actions {
  margin-top: 28px;
}

.capability-grid {
  gap: 22px;
}

.capability-card {
  min-height: 325px;
  padding: 34px;
  border: 1px solid #e0e5e8;
  border-radius: 4px;
  background: #fff;
}

.capability-card--blue,
.capability-card--orange {
  background: #fff;
}

.capability-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  background: var(--blue);
}

.capability-card h3 {
  margin-top: 42px;
  color: var(--ink);
  font-size: 24px;
}

.split-layout {
  gap: 70px;
}

.split-layout__media {
  min-height: 500px;
}

.image-tile {
  border-radius: 4px;
}

.image-tile--large {
  inset: 0 8% 7% 0;
}

.image-tile--small {
  width: 40%;
  height: 220px;
  border-width: 6px;
}

.split-layout__note {
  width: 108px;
  height: 108px;
  background: var(--blue);
  box-shadow: none;
}

.split-layout__note strong {
  font-size: 1.65rem;
}

.split-layout__copy h2 {
  color: var(--ink);
}

.feature-list li,
.application-list li {
  color: #596570;
}

.process-section {
  color: var(--white);
  background: #0b365d;
}

.process-grid h3,
.section-heading--light h2 {
  color: #fff;
}

.process-grid article > span {
  color: #ff866f;
}

.process-grid p,
.section-heading--light > p {
  color: #b9c8d5;
}

.resource-grid {
  gap: 22px;
}

.resource-card {
  min-height: 275px;
  padding: 26px;
  border-radius: 4px;
}

.resource-card h2,
.resource-card h3 {
  margin-top: 38px;
  color: var(--ink);
  font-size: 21px;
}

.resource-card__category {
  color: var(--blue);
  background: #edf3f8;
}

.quote-panel {
  border-radius: 4px;
  background: #f3f6f8;
}

.footer-cta {
  background: #0c467e;
}

.site-footer {
  background: #071f36;
}

.page-hero {
  padding-block: 78px 84px;
  background: #f5f7f9;
}

.page-hero h1 {
  color: var(--ink);
  font-size: clamp(2.55rem, 4.2vw, 4.1rem);
  letter-spacing: -0.035em;
}

.page-hero p {
  color: #626e7a;
  font-size: 16px;
}

.breadcrumbs {
  margin-bottom: 28px;
  color: #687a8d;
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.page-hero__stat-card,
.page-hero__index,
.contact-card {
  color: var(--ink);
  border-color: #dde3e8;
  border-radius: 4px;
  background: #fff;
  box-shadow: none;
}

.page-hero__stat-card span,
.page-hero__index span {
  color: #65727f;
}

.page-hero__stat-card strong,
.page-hero__index strong {
  color: var(--blue);
}

.page-hero__stat-card p,
.page-hero__index p,
.contact-card li {
  color: #5e6b77;
  border-color: #e5e9ed;
}

.contact-card .eyebrow {
  color: var(--blue);
}

.page-hero--contact {
  color: var(--ink);
  background: #f5f7f9;
}

.page-hero--contact h1 {
  color: var(--ink);
}

.page-hero--contact p {
  color: #626e7a;
}

.page-hero--contact .breadcrumbs {
  color: #7b868f;
}

.page-hero__workbench,
.page-hero__product {
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.product-hero {
  color: var(--ink);
  background: #f3f6f8;
}

.product-hero__copy h1 {
  color: var(--ink);
  font-size: clamp(2.55rem, 4.2vw, 4.1rem);
  letter-spacing: -0.03em;
}

.product-hero__copy > p {
  color: #606b76;
  font-size: 16px;
}

.breadcrumbs--light {
  color: #b5c7d8;
}

.breadcrumbs--light a:hover {
  color: var(--blue);
}

.tag-list--light li {
  color: #53616e;
  background: #e5ecf2;
}

.product-hero__image {
  border-radius: 4px;
  filter: drop-shadow(0 16px 24px rgba(27, 43, 57, 0.14));
}

.product-hero__halo {
  background: radial-gradient(circle, rgba(30, 91, 139, 0.12), transparent 68%);
}

.floating-label {
  border-radius: 3px;
  box-shadow: 0 8px 20px rgba(27, 43, 57, 0.12);
}

.feature-cards article,
.segment-grid article,
.sample-grid article,
.quality-steps article,
.mini-product-card {
  border-radius: 4px;
}

.spec-card {
  border-radius: 4px;
  background: #0c365a;
}

.faq-layout {
  gap: 65px;
}

.article-hero {
  color: var(--ink);
  background: #f5f7f9;
}

.article-hero h1 {
  color: var(--ink);
  max-width: 980px;
  letter-spacing: -0.03em;
}

.article-hero p {
  color: #606d79;
}

.article-layout {
  gap: 65px;
}

.article-body h2 {
  color: var(--ink);
  font-size: 26px;
}

.article-aside {
  border-radius: 4px;
}

.form-card {
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.split-hero {
  color: var(--ink);
  background: #f4f6f8;
}

.split-hero__copy h1 {
  color: var(--ink);
  letter-spacing: -0.03em;
}

.split-hero__copy > p {
  color: #66717b;
}

.split-hero__facts {
  border-color: #d5dce2;
}

.split-hero__facts span {
  color: #697680;
}

.about-mark {
  border-radius: 4px;
}

.about-collage div,
.oem-materials__visual img {
  border-radius: 4px;
}

.quality-seal {
  border-radius: 4px;
}

.diameter-card {
  border-radius: 4px;
}

@media (max-width: 980px) {
  .site-header__inner {
    min-height: 76px;
  }

  .hero__grid {
    gap: 45px;
  }

  .hero__copy h1 {
    font-size: clamp(2.5rem, 7vw, 3.8rem);
  }

  .hero__visual {
    min-height: 470px;
    max-width: 680px;
  }

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

  .capability-card {
    min-height: 300px;
  }
}

@media (max-width: 720px) {
  .utility-bar {
    display: none;
  }

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

  .brand__mark {
    width: 38px;
    height: 38px;
  }

  .brand__image {
    width: 52px;
  }

  .hero__grid {
    padding-block: 45px 32px;
  }

  .hero__copy h1 {
    font-size: clamp(2.3rem, 10.8vw, 3.25rem);
  }

  .hero__visual {
    min-height: 405px;
    gap: 9px;
  }

  .hero__badge {
    width: 72px;
    height: 72px;
    right: 8%;
    bottom: 24px;
  }

  .hero-card__mini-copy {
    padding: 8px;
  }

  .hero__facts {
    padding-block: 22px;
  }

  .hero__facts strong {
    font-size: 1.25rem;
  }

  .section {
    padding-block: 58px;
  }

  .section-heading {
    margin-bottom: 27px;
  }

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

  .product-card__image {
    aspect-ratio: 1.15 / 1;
  }

  .capability-card {
    min-height: 270px;
  }

  .capability-card h3 {
    margin-top: 32px;
  }

  .page-hero {
    padding-block: 55px 60px;
  }

  .page-hero h1,
  .product-hero__copy h1 {
    font-size: clamp(2.2rem, 10vw, 3.15rem);
  }

  .article-body h2 {
    font-size: 23px;
  }
}
