/* PAXTON homepage — Phase A redesign based on approved 2026-10-26 visual reference */
.home-redesign { background: #f4f7fa; }

.home-hero {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #071d3b;
  color: #fff;
  isolation: isolate;
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background: url("images/internal-mixer-line.jpg") 58% 52% / cover no-repeat;
}
.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5,24,46,.98) 0%, rgba(5,24,46,.91) 30%, rgba(5,24,46,.64) 52%, rgba(5,24,46,.14) 79%, rgba(5,24,46,.24) 100%),
    linear-gradient(0deg, rgba(5,24,46,.36), transparent 44%);
}
.home-hero .shell { padding-block: 44px; }
.home-hero-copy { width: min(660px, 56%); }
.home-kicker {
  display: inline-block;
  margin-bottom: 18px;
  color: #cbdcf0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.home-hero h1 {
  margin: 0;
  max-width: 18ch;
  color: #fff;
  font-size: clamp(48px, 4.6vw, 64px);
  line-height: 1.02;
  letter-spacing: -.035em;
  font-weight: 760;
}
.home-hero p {
  margin: 22px 0 0;
  max-width: 47ch;
  color: rgba(255,255,255,.9);
  font-size: 17px;
  line-height: 1.55;
}
.home-hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 28px; flex-wrap: wrap; }
.home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(255,255,255,.7);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}
.home-button:hover { background: rgba(255,255,255,.09); border-color: #fff; }
.home-text-link { color: rgba(255,255,255,.9); text-decoration: none; font-size: 14px; font-weight: 650; }
.home-text-link:hover { color: #fff; }

.home-solutions { position: relative; z-index: 3; margin-top: -1px; padding: 14px 0 0; background: #eef3f7; }
.solution-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.solution-card {
  position: relative;
  min-height: 150px;
  overflow: hidden;
  border-radius: 5px;
  color: #fff;
  text-decoration: none;
  background: #17324e;
  isolation: isolate;
}
.solution-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.solution-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(4,20,39,.89) 0%, rgba(4,20,39,.48) 52%, rgba(4,20,39,.08) 100%); }
.solution-card span { position: absolute; left: 20px; right: 18px; bottom: 17px; display: flex; justify-content: space-between; align-items: center; gap: 14px; font-size: 15px; font-weight: 680; line-height: 1.2; }
.solution-card b { font-size: 23px; font-weight: 400; transition: transform .18s ease; }
.solution-card:hover b { transform: translateX(4px); }

.home-section { padding: 82px 0; }
.home-section-white { background: #fff; }
.home-section-head { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 34px; align-items: start; }
.home-section-head > div { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: end; }
.home-eyebrow { padding-top: 7px; color: #2763a0; font-size: 11px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.home-section-head h2 { margin: 0; max-width: 24ch; color: #092548; font-size: clamp(34px, 3.2vw, 46px); line-height: 1.08; letter-spacing: -.025em; }
.home-section-head p { margin: 0; max-width: 62ch; color: #66758a; font-size: 15px; line-height: 1.65; }

.engineering-panel { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(330px, .9fr); min-height: 430px; background: #092548; overflow: hidden; }
.engineering-media { margin: 0; min-height: 430px; }
.engineering-media img { width: 100%; height: 100%; min-height: 430px; object-fit: cover; }
.engineering-copy { padding: 48px 48px 42px; color: #fff; display: flex; flex-direction: column; justify-content: center; }
.engineering-copy h3 { margin: 0; color: #fff; font-size: 32px; line-height: 1.12; letter-spacing: -.02em; }
.engineering-copy > p { margin: 16px 0 26px; color: rgba(255,255,255,.75); font-size: 14px; line-height: 1.65; }
.engineering-links { display: grid; }
.engineering-links a { display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; align-items: center; padding: 15px 0; border-top: 1px solid rgba(255,255,255,.16); color: #fff; text-decoration: none; font-size: 13px; }
.engineering-links small { color: #a9bdd1; font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.engineering-links b { font-size: 20px; font-weight: 400; }

.industry-brief-section { padding: 72px 0 78px; background: #f4f7fa; }
.industry-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.industry-title-group::before { content: ""; display: block; width: 36px; height: 3px; margin-bottom: 15px; background: #1a62b2; }
.industry-title-group h2 { margin: 0; color: #092548; font-size: clamp(34px, 3vw, 44px); line-height: 1.05; letter-spacing: -.025em; }
.industry-title-group p { margin: 8px 0 0; color: #66758a; font-size: 14px; }
.industry-date { color: #52647a; font-size: 13px; white-space: nowrap; }
.industry-date strong { margin-left: 8px; color: #092548; }
.industry-card { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); background: #fff; border: 1px solid #e2e8ef; box-shadow: 0 16px 40px rgba(7,29,59,.05); }
.industry-news { padding: 26px 32px 27px; border-right: 1px solid #d9e1e9; }
.industry-label { display: block; margin-bottom: 8px; color: #55789f; font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.industry-item { display: grid; grid-template-columns: 46px 92px 1fr auto; gap: 14px; align-items: center; min-height: 66px; border-top: 1px solid #e7ebef; text-decoration: none; }
.industry-item:first-of-type { border-top: 0; }
.industry-num { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 5px; background: #0d5eb4; color: #fff; font-weight: 750; }
.industry-item.is-carry .industry-num { background: #dfe6ef; color: #3c536d; }
.industry-item time { color: #56708d; font-size: 12px; }
.industry-item-title { color: #0b2749; font-size: 15px; font-weight: 650; line-height: 1.32; }
.industry-item-source { color: #7190ad; font-size: 11px; }
.industry-view { padding: 26px 32px 28px; }
.industry-view p { margin: 11px 0 18px; color: #17304e; font-size: 15px; line-height: 1.6; }
.industry-sources { color: #698097; font-size: 11px; line-height: 1.6; }
.industry-sources a { color: #315f91; text-decoration: none; }
.industry-sources a:hover { text-decoration: underline; }
.industry-footer { display: flex; justify-content: flex-end; margin-top: 18px; }
.industry-more { display: inline-flex; align-items: center; gap: 18px; padding: 12px 18px; border: 1px solid #4f86bf; color: #0d4e91; text-decoration: none; font-size: 13px; font-weight: 650; }
.industry-more:hover { background: #eef5fc; }

.home-updates { padding: 78px 0; background: #fff; }
.home-updates-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.home-updates-head h2 { margin: 6px 0 0; color: #092548; font-size: clamp(32px, 3vw, 42px); line-height: 1.08; letter-spacing: -.02em; }
.home-updates-head > a { color: #15599f; text-decoration: none; font-size: 13px; font-weight: 650; }
.home-update-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.home-update-item { display: grid; grid-template-columns: 190px 1fr; grid-template-rows: auto 1fr; min-height: 180px; border: 1px solid #e0e6ed; background: #fff; text-decoration: none; overflow: hidden; }
.home-update-thumb { grid-row: 1 / 3; margin: 0; height: 100%; min-height: 180px; }
.home-update-thumb img { width: 100%; height: 100%; object-fit: cover; }
.home-update-item .news-meta { padding: 20px 20px 0; display: flex; gap: 10px; flex-wrap: wrap; color: #718096; font-size: 10px; }
.home-update-copy { padding: 8px 20px 20px; }
.home-update-copy h3 { margin: 0; color: #0b2749; font-size: 20px; line-height: 1.22; letter-spacing: -.015em; }
.home-update-copy p { margin: 9px 0 0; color: #6b7888; font-size: 13px; line-height: 1.5; }
.home-update-arrow { display: none; }

.home-cta { padding: 62px 0; background: #0a2648; color: #fff; }
.home-cta .shell { display: grid; grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr); gap: 64px; align-items: center; }
.home-cta h2 { margin: 0; max-width: 32ch; color: #fff; font-size: clamp(30px, 3vw, 42px); line-height: 1.08; letter-spacing: -.025em; }
.home-cta p { margin: 10px 0 0; color: rgba(255,255,255,.7); font-size: 14px; }
.home-cta a { justify-self: center; display: inline-flex; align-items: center; gap: 20px; min-height: 48px; padding: 0 20px; border: 1px solid rgba(255,255,255,.7); color: #fff; text-decoration: none; font-size: 13px; font-weight: 650; }

@media (max-width: 1020px) {
  .home-hero-copy { width: min(650px, 65%); }
  .solution-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-card { min-height: 180px; }
  .home-section-head { grid-template-columns: 1fr; gap: 10px; }
  .home-section-head > div { grid-template-columns: 1fr; gap: 16px; }
  .engineering-panel { grid-template-columns: 1fr; }
  .engineering-media, .engineering-media img { min-height: 330px; height: 330px; }
  .industry-card { grid-template-columns: 1fr; }
  .industry-news { border-right: 0; border-bottom: 1px solid #d9e1e9; }
  .home-update-list { grid-template-columns: 1fr; }
  .home-cta .shell { grid-template-columns: 1fr; gap: 24px; justify-items: start; }
  .home-cta a { justify-self: start; }
}

@media (max-width: 760px) {
  .home-hero { min-height: 0; }
  .home-hero::before { background-position: 66% center; }
  .home-hero::after { background: linear-gradient(90deg, rgba(5,24,46,.97) 0%, rgba(5,24,46,.88) 64%, rgba(5,24,46,.5) 100%); }
  .home-hero .shell { padding-block: 40px; }
  .home-hero-copy { width: 100%; }
  .home-hero h1 { max-width: 16ch; font-size: clamp(40px, 10.8vw, 52px); }
  .home-hero p { max-width: 34ch; font-size: 15px; }
  .solution-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .solution-card { min-height: 138px; }
  .solution-card span { left: 14px; right: 12px; bottom: 13px; font-size: 13px; }
  .home-section { padding: 60px 0; }
  .engineering-copy { padding: 34px 26px 30px; }
  .engineering-copy h3 { font-size: 28px; }
  .industry-brief-section { padding: 58px 0 62px; }
  .industry-head { display: grid; gap: 12px; }
  .industry-date { white-space: normal; }
  .industry-news, .industry-view { padding: 22px 20px; }
  .industry-item { grid-template-columns: 40px 1fr auto; gap: 10px; padding: 11px 0; }
  .industry-item time { grid-column: 2 / 3; grid-row: 2; }
  .industry-item-title { grid-column: 2 / 4; }
  .industry-item-source { grid-column: 3; grid-row: 2; }
  .industry-num { grid-row: 1 / 3; width: 38px; height: 38px; }
  .home-updates { padding: 60px 0; }
  .home-updates-head { align-items: start; }
  .home-update-item { grid-template-columns: 118px 1fr; min-height: 134px; }
  .home-update-thumb { min-height: 134px; }
  .home-update-item .news-meta { padding: 14px 14px 0; }
  .home-update-copy { padding: 6px 14px 14px; }
  .home-update-copy h3 { font-size: 17px; }
  .home-update-copy p { display: none; }
  .home-cta .shell { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .solution-grid { grid-template-columns: 1fr; }
  .solution-card { min-height: 128px; }
  .industry-item { grid-template-columns: 38px 1fr; }
  .industry-item-title { grid-column: 2; }
  .industry-item time { grid-column: 2; }
  .industry-item-source { display: none; }
  .home-update-item { grid-template-columns: 104px 1fr; }
}
