.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(48px, 6.5vw, 94px);
  background: radial-gradient(ellipse at 86% 30%, #19365d, #0a1324 63%);
  color: #f4f8ff;
}

.page-hero::after {
  position: absolute;
  z-index: -1;
  inset-block-start: 48%;
  inset-inline-end: max(0px, calc((100% - var(--home-max)) / 2));
  width: min(45vw, 570px);
  aspect-ratio: 2.35;
  border: 1px solid #365a88;
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(83, 141, 211, .09), 0 0 0 56px rgba(83, 141, 211, .06);
  transform: translateY(-50%) rotate(-24deg);
  pointer-events: none;
  content: "";
}

.page-hero h1 {
  max-width: 18em;
  margin: 12px 0 0;
  font-size: clamp(37px, 5.2vw, 72px);
  font-weight: 750;
  letter-spacing: -.04em;
  line-height: 1.15;
  text-wrap: balance;
}

.page-hero .home-kicker { color: #accef9; }
.page-hero .home-project-status { border-color: #526d91; color: #dceaff; }
.page-hero .home-actions { margin-top: 24px; }

.page-lede {
  max-width: 37em;
  margin: 16px 0 0;
  color: #c8d6ea;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.75;
}

.page-back,
.page-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  color: #c0d9fb;
  font-size: 14px;
}

.page-back:hover,
.page-breadcrumb a:hover { text-decoration: underline; text-underline-offset: 4px; }
.page-hero > .home-shell > .page-back,
.page-breadcrumb { margin-bottom: 14px; }
.page-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; }

.page-content { padding-block: clamp(38px, 6vw, 84px); }
.page-content h2 {
  margin: 0;
  font-size: clamp(24px, 2.8vw, 37px);
  line-height: 1.24;
  letter-spacing: -.027em;
}

.page-project-layout,
.page-contact-layout,
.page-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 44px);
}

.page-project-layout {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: start;
  scroll-margin-top: 18px;
}

.page-project-nav { margin-bottom: clamp(18px, 3vw, 34px); }

.page-project-scene {
  margin: 0;
  overflow: hidden;
  border: 1px solid #dce6f4;
  border-radius: 16px;
  background: #f4f8fe;
}

.page-project-scene img { display: block; width: 100%; height: auto; }
.page-project-scene figcaption {
  padding: 12px 16px;
  color: var(--home-muted);
  font-size: 13px;
  line-height: 1.55;
}
.page-project-scene-list { display: grid; gap: 12px; }
.page-project-scene-list .page-panel { padding: clamp(16px, 2vw, 24px); }
.page-project-scene-list p { margin: 6px 0 0; }

.page-process-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.page-process-stage { scroll-margin-top: 18px; }
.page-process-heading { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.page-process-heading p { margin: 4px 0 0; }
.page-process-number {
  flex: none;
  min-width: 42px;
  padding: 7px 9px;
  border: 1px solid #d6e5f8;
  border-radius: 9px;
  background: #edf5ff;
  color: #245a99;
  font-weight: 700;
  text-align: center;
}
.page-process-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 232px), 1fr));
  gap: 14px;
}
.page-process-figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #dce6f4;
  border-radius: 12px;
  background: #f4f8fe;
}
.page-process-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #0d1a2b;
}
.page-process-image-cad,
.page-process-image-schematic { aspect-ratio: 16 / 9; padding: clamp(8px, 1.5vw, 18px); }
.page-process-image-schematic { background: #f8f7f3; }
.page-process-figure figcaption { padding: 10px 13px; color: var(--home-muted); font-size: 14px; line-height: 1.45; }
.page-process-figure figcaption strong { display: block; margin-bottom: 4px; color: var(--home-ink); }
.page-process-feasibility { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; }
.page-process-model-image,
.page-process-thermal-grid img { display: block; width: 100%; height: auto; }
.page-process-models.page-feature-list { margin: 0; }
.page-process-thermal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
  background: #0d1a2b;
}
.page-process-thermal-grid a { display: block; }
.page-process-thermal-grid a:focus-visible { outline-offset: -3px; }
.page-process-retest {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 205px), 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-process-retest li {
  padding: 13px 14px;
  border: 1px solid #dce6f4;
  border-radius: 10px;
  background: #f4f8fe;
  color: var(--home-muted);
  line-height: 1.55;
}
.page-process-retest strong { display: block; margin-bottom: 4px; color: var(--home-ink); }

.page-contact-layout {
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  align-items: start;
}

.page-feature-list { margin: 14px 0 0; }
.page-feature-list > div {
  padding-block: 14px;
  border-block-start: 1px solid #dce6f4;
}

.page-feature-list dt { font-size: 18px; font-weight: 700; }
.page-feature-list dd { margin: 5px 0 0; color: var(--home-muted); line-height: 1.7; }
.page-related { margin-top: clamp(32px, 5vw, 66px); }
.page-related .page-pills { margin-top: 14px; }

.page-pills,
.page-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.page-pills a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #d2e0f1;
  border-radius: 999px;
  background: #f2f7ff;
  color: #164b88;
  font-size: 14px;
  font-weight: 650;
}

.page-pills a:hover { border-color: #83afe5; background: #e9f2ff; }
.page-tags { margin: 12px 0 0; padding: 0; list-style: none; }
.page-tags li {
  padding: 4px 9px;
  border-radius: 999px;
  background: #edf4ff;
  color: #345982;
  font-size: 12px;
  font-weight: 600;
}
.page-hero .page-tags li { background: #1e3554; color: #d8e7fc; }

.page-catalog-group,
.page-detail-section { margin-top: clamp(32px, 5.4vw, 76px); }
#product-catalog,
.page-catalog-group,
.page-detail-section,
.page-inquiry { scroll-margin-top: 18px; }

.page-catalog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 16px;
  padding: 13px clamp(16px, 2.5vw, 28px);
  border: 1px solid #dde8f7;
  border-radius: 16px;
  background: #eef5ff;
}

.page-catalog-heading svg { flex: 0 0 auto; width: clamp(70px, 12vw, 132px); }
.page-catalog-heading p,
.page-detail-heading p { margin: 6px 0 0; color: var(--home-muted); line-height: 1.65; }

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

.page-panel {
  min-width: 0;
  padding: clamp(17px, 2.5vw, 29px);
  border: 1px solid #dce6f4;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(42, 74, 116, .06);
}

.page-panel h3 { margin: 0; font-size: clamp(18px, 1.75vw, 23px); line-height: 1.38; }
.page-panel h2 + p { margin: 8px 0 0; }
.page-panel p:not(.home-kicker), .page-list { color: var(--home-muted); line-height: 1.65; }
.page-panel h2 ~ h3 { margin-top: 22px; }
.page-list { margin: 10px 0 0; padding-inline-start: 20px; }
.page-list li + li { margin-top: 7px; }

.page-project-engineering { background: #f4f8fe; }
.page-project-engineering .page-feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(14px, 3vw, 36px);
}

.page-product-card { display: flex; flex-direction: column; align-items: flex-start; }
.page-product-card:hover { border-color: #8db6ea; }
.page-product-card:hover h3 { color: var(--home-blue); }
.page-product-card p { margin: 9px 0 0; }
.page-product-card .page-product-fit { margin: 14px 0 8px; font-size: 13px; }
.page-product-card .home-text-link { margin-top: auto; }

.page-spec-list { margin: 12px 0 0; }
.page-spec-list > div {
  display: grid;
  grid-template-columns: minmax(5.5em, .48fr) minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-block-start: 1px solid #e1e9f4;
  line-height: 1.55;
}
.page-spec-list dt { font-weight: 650; }
.page-spec-list dd { margin: 0; color: var(--home-muted); }

.page-detail-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.page-access-status { color: #15674e; font-size: 14px; font-weight: 650; }
.page-document-card h3 { margin: 8px 0 12px; }
.page-button-outline { border-color: #b5cce8; background: #fff; color: #164b88; }
.page-button-outline:hover { background: #edf5ff; }

.page-contact-side { display: grid; gap: 16px; }
.page-contact-side .home-kicker { margin-bottom: 8px; }
.page-contact-details { margin-top: 16px; font-style: normal; }
.page-contact-details div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding: 12px 0;
  border-block-start: 1px solid #e1e9f4;
}
.page-contact-details span { min-width: 2em; color: var(--home-muted); font-size: 14px; }
.page-contact-details a { color: var(--home-blue); font-size: 17px; font-weight: 700; overflow-wrap: anywhere; }
.page-contact-details a:hover { text-decoration: underline; text-underline-offset: 4px; }

.page-contact-wechat {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e1e9f4;
}
.page-contact-wechat img { display: block; flex: none; border: 1px solid #e1e9f4; border-radius: 8px; }
.page-contact-wechat > div { flex: 1 0 148px; }
.page-contact-wechat h3 { margin: 0; }
.page-contact-wechat p { margin: 4px 0 10px; color: var(--home-muted); font-size: 14px; line-height: 1.55; }
.page-contact-wechat .home-button { min-height: 44px; padding: 0 12px; font-size: 14px; }

.page-contact-location address { margin: 12px 0 16px; font-style: normal; line-height: 1.6; }
.page-contact-location iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 1px solid #dce6f4;
  border-radius: 12px;
  background: #f2f7ff;
}
.page-contact-location .home-button { margin-top: 12px; }

.page-inquiry { margin-top: clamp(32px, 5.4vw, 76px); }
.page-contact-layout .page-inquiry { margin-top: 0; }
.page-inquiry .inquiry-form { margin-top: 18px; }
.page-inquiry-notice { margin: 0; color: var(--home-muted); font-size: 13px; line-height: 1.65; }
.page-inquiry-notice a { color: var(--home-blue); text-decoration: underline; overflow-wrap: anywhere; }
.inquiry-field-error { color: #a5222b; font-size: 13px; line-height: 1.5; }

.gmlpi-site .inquiry-form label > span,
.gmlpi-site .modal-card label > span { color: var(--home-muted); font-size: 14px; }

.gmlpi-site .inquiry-form :is(input, textarea),
.gmlpi-site .modal-card input {
  border-color: #c9d7e9;
  background: #f8fbff;
  color: var(--home-ink);
}
.gmlpi-site .inquiry-form :is(input, textarea):focus,
.gmlpi-site .modal-card input:focus {
  border-color: #2975cf;
  box-shadow: 0 0 0 3px rgba(41, 117, 207, .13);
}
.gmlpi-site .inquiry-form :is(input, textarea)[aria-invalid="true"] { border-color: #bd3942; }

.gmlpi-site .modal-card { border-color: #d6e3f4; background: #fff; }
.gmlpi-site .modal-card p { color: var(--home-muted); }
.gmlpi-site .modal-card h2 { padding-inline-end: 24px; }

@media (max-width: 900px) {
  .page-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-project-layout,
  .page-contact-layout { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .page-hero::after { width: 52vw; opacity: .4; }
  .page-hero h1 { font-size: clamp(33px, 8.6vw, 49px); }
  .page-card-grid,
  .page-process-feasibility,
  .page-project-engineering .page-feature-list,
  .page-two-column { grid-template-columns: minmax(0, 1fr); }
  .page-contact-side { gap: 12px; }
}
