@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/inter-tight-latin.woff2') format('woff2');
}

:root {
  --ink: #17283c;
  --muted: #445465;
  --paper: #fff;
  --line: #dae1ea;
  --accent: #365694;
  --dark: #132945;
}

body { font-family: 'Inter Tight', Helvetica, Arial, sans-serif; }
h1, h2, h3 { letter-spacing: -.015em; font-weight: 600; }
.page-intro h1 { max-width: none; }
h1 { text-wrap: wrap; overflow-wrap: break-word; }
.utility { display: none; }
.site-header { background: var(--dark); color: white; border: 0; }
.site-header .header-inner { width: min(1480px, 94%); height: 88px; }
.site-header .brand > .puhui-wordmark { width: clamp(210px, 21vw, 280px); height: auto; filter: brightness(0) invert(1); mix-blend-mode: normal; }
.site-header nav { margin-left: auto; gap: clamp(16px, 2vw, 32px); font-size: 15px; font-weight: 500; }
.site-header nav > a:hover, .site-header summary:hover { color: #bed3f5; }
.site-header .dropdown { color: var(--ink); background: white; }
.site-header .dropdown a:hover { color: var(--accent); background: #edf2f9; }
.header-cta { white-space: nowrap; }
.menu-toggle { color: white; }
.front-page .site-header { position: absolute; inset: 0 0 auto; background: transparent; }
.front-page main { color: #1b2937; }
.button:hover { background: #213d75; }
.button.light:hover { background: #e9eff9; }
.quote-band, .sticky-note { background: #edf2f9; }
.sticky-note p, .sticky-note li { font-size: 16px; line-height: 1.55; }
.product-hero p.product-introduction:not(.eyebrow):not(.lead) { font-size: 16px; }
.mining-pipe-hero { align-items: start; }
.pipe-supply-details { display: grid; gap: 12px; margin: 18px 0 20px; font-size: 16px; line-height: 1.5; }
.pipe-supply-details dt { font-weight: 700; }
.pipe-supply-details dd { margin: 1px 0 0; color: var(--muted); }
.pipe-supply-details a, .enquiry-channels a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.quality-intro .lead { max-width: 76ch; }
.quality-actions, .quality-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.quality-content { padding-bottom: 74px; font-size: 16px; line-height: 1.65; }
.quality-content h2 { font-size: clamp(25px, 3vw, 36px); margin-bottom: 16px; }
.quality-content p { max-width: 82ch; }
.quality-section { padding-block: clamp(25px, 4vw, 48px); border-top: 1px solid var(--line); }
.quality-section h2[id] { scroll-margin-top: 112px; }
.fusion-tags { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-top: 18px; }
.fusion-tags a { display: inline-block; padding: 7px 12px; color: var(--accent); background: #edf2f9; font-weight: 650; }
.fusion-tags a:hover { text-decoration: underline; }
.fusion-guide { font-size: 16px; line-height: 1.6; padding-bottom: 68px; }
.fusion-guide h2 { font-size: clamp(25px, 3vw, 36px); }
.fusion-guide h3 { font-size: clamp(22px, 2.3vw, 29px); margin-bottom: 12px; }
.fusion-section { padding-block: clamp(25px, 4vw, 46px); border-top: 1px solid var(--line); }
.fusion-section > p { max-width: 92ch; }
.fusion-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 38px); }
.fusion-method { border: 1px solid var(--line); padding: clamp(15px, 2.5vw, 30px); scroll-margin-top: 105px; }
.fusion-method img { display: block; width: 100%; height: auto; margin-block: 18px; }
.fusion-method ol { padding-left: 24px; margin: 0; }
.fusion-method li { padding: 4px 0 8px 4px; }
.fusion-basis, .fusion-quote { background: #edf2f9; padding: clamp(16px, 3vw, 28px); }
.fusion-section > .fusion-basis { max-width: none; }
.fusion-table { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); }
.fusion-table table { width: 100%; min-width: 620px; font-size: 14px; }
.fusion-table th, .fusion-table td { padding: 10px 12px; vertical-align: top; text-align: start; }
.fusion-table thead { background: #edf2f9; }
.fusion-table tbody + tbody { border-top: 1px solid #bacadc; }
.fusion-parameters table { min-width: 980px; }
.fusion-parameters td:not(:last-child) { font-variant-numeric: tabular-nums; }
.fusion-table-note { margin-top: 12px; }
.fusion-checklist { margin: 0; }
.fusion-checklist > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 6px 22px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.fusion-checklist dt { font-weight: 700; }
.fusion-checklist dd { margin: 0; }
.fusion-checklist a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.metric-ips-intro h1 { font-size: clamp(35px, 3.125vw, 43px); }
.material-grade-intro .lead { max-width: 76ch; }
#pressure-comparison .fusion-method { display: flex; flex-direction: column; }
#pressure-comparison .fusion-method p:last-of-type { margin-bottom: 0; }
#pressure-comparison .pressure-pipe-photo { margin-top: auto; padding-top: 18px; }
#pressure-comparison .pressure-pipe-photo img { margin: 0; }
.material-grade-table table { min-width: 740px; }
.material-grade-table tbody tr:nth-child(even) { background: #f5f8fc; }
#choose-your-pipe h3 { margin: 24px 0 8px; font-size: clamp(19px, 1.65vw, 23px); }
#choose-your-pipe h3:first-child { margin-top: 0; }
#choose-your-pipe p:last-child { margin-bottom: 0; }
.material-grade-video { width: min(100%, 336px); margin-inline: auto; }
.material-grade-video .video-frame { aspect-ratio: 9 / 16; }
.material-grade-test-details { margin-top: 20px; padding: 14px 18px; border: 1px solid var(--line); background: #f5f8fc; }
.material-grade-test-details summary { font-weight: 650; cursor: pointer; }
.material-grade-test-details p:last-child { margin-bottom: 0; }
.metric-ips-guide .fusion-basis { margin-block: 20px; }
.metric-ips-guide .fusion-basis > :last-child { margin-bottom: 0; }
.metric-ips-guide a:not(.button) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.metric-ips-od table { min-width: 535px; font-variant-numeric: tabular-nums; }
.metric-ips-od tbody tr:nth-child(even) { background: #f5f8fc; }
.metric-ips-data-action, .fusion-tutorial-action, .material-grade-sample-action { display: flex; justify-content: center; margin-top: 22px; }
.material-grade-contact-actions { justify-content: center; margin-top: 22px; }
.sdr-guide-top {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) minmax(0, 864px);
  align-items: center;
  gap: 24px;
  min-height: 80px;
  padding-top: 8px;
}
.sdr-guide-top .breadcrumbs { padding-top: 0; }
.sdr-certification-strip { display: block; }
.sdr-certification-strip img { display: block; width: 100%; height: auto; }
.sdr-guide-top + .page-intro { padding-top: 28px; }
.sdr-pressure-guide .quality-actions { justify-content: center; }
.sdr-guide-layout {
  display: grid;
  grid-template-columns: minmax(174px, 206px) minmax(0, 830px) minmax(0, 206px);
  justify-content: center;
  gap: 22px;
  align-items: start;
}
.sdr-guide-layout > .reading { grid-area: 1 / 2; min-width: 0; }
.sdr-guide-sidebar { grid-area: 1 / 1; display: grid; gap: 20px; }
.sdr-product-list { padding: 15px; border: 1px solid #d5dfeb; }
.sdr-product-list h2 { font-size: 22px; margin: 0 0 12px; }
.sdr-product-list a {
  display: flex; align-items: center; gap: 10px; min-height: 68px;
  padding: 8px 0; border-top: 1px solid #d5dfeb; color: #132945;
  font-size: 14px; font-weight: 650; line-height: 1.35; text-decoration: none;
}
.sdr-product-list a:is(:hover, :focus-visible) { text-decoration: underline; }
.sdr-product-list img { flex: none; width: 52px; height: 48px; object-fit: contain; }
.sdr-mining-banner { display: block; width: 205px; max-width: none; height: auto; justify-self: end; margin-inline-start: -56px; }
@media (min-width: 981px) and (max-width: 1250px) {
  .sdr-guide-layout { grid-template-columns: 184px minmax(0, 830px); }
  .sdr-mining-banner { transform: translateX(16px); }
}
@media (max-width: 980px) {
  .sdr-guide-layout { display: block; max-width: 830px; }
  .sdr-guide-sidebar { margin: 0 auto 50px; gap: 16px; }
  .sdr-product-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); column-gap: 16px; padding: 12px; }
  .sdr-product-list h2 { grid-column: 1 / -1; }
  .sdr-mining-banner { justify-self: center; margin-inline-start: 0; }
}
@media (max-width: 820px) {
  .sdr-guide-top { grid-template-columns: minmax(0, 1fr); gap: 10px; min-height: 0; padding-top: 18px; }
  .sdr-guide-top + .page-intro { padding-top: 24px; }
  .sdr-guide-sidebar { display: none; }
}
.sdr-pressure-guide th, .sdr-pressure-guide td { font-size: 14px; }
.white-pipe-guide .ef-article > section { scroll-margin-top: 112px; }
.white-pipe-guide figure { margin: 0; }
.white-pipe-media-row { display: grid; align-items: center; gap: 20px; padding: clamp(16px, 3vw, 26px); margin-top: 22px; background: #f1f5f9; }
.white-pipe-media-row h3 { margin-top: 0; }
.white-pipe-media-row :is(p, ul):last-child { margin-bottom: 0; }
.white-pipe-media-row > :is(video, figure) { width: min(100%, 220px); justify-self: center; }
.white-pipe-media-row video { display: block; width: 100%; aspect-ratio: 9 / 16; height: auto; background: #132945; }
.white-pipe-media-row figcaption { line-height: 1.45; }
.white-pipe-product { display: grid; align-items: center; gap: 24px; padding: 20px; border: 1px solid var(--line); }
.white-pipe-product img { display: block; width: 100%; height: auto; }
.white-pipe-guide .white-pipe-product h3 { margin: 0 0 14px; }
.white-pipe-product dl { margin: 0 0 16px; font-size: 14px; }
.white-pipe-product dl > div { padding: 6px 0; border-bottom: 1px solid var(--line); }
.white-pipe-product dt { color: var(--muted); }
.white-pipe-product dd { font-weight: 600; margin: 2px 0 0; }
.white-pipe-product .specifications-button { white-space: normal; }
.white-pipe-case { display: grid; align-items: center; gap: 16px; }
.panama-project-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
/* Each tile frames a rectangular area inside the rounded borders baked into the 800 × 600 collage. */
.panama-project-photos > span { aspect-ratio: 362 / 258; background: url('/assets/panama-copper-mine-co-extruded-pipe.webp') no-repeat; background-size: 221% auto; }
.panama-project-photos > :first-child { grid-row: span 2; aspect-ratio: auto; background-position: 5% center; }
.panama-project-photos > :nth-child(2) { background-position: 95% 8%; }
.panama-project-photos > :last-child { background-size: 230% auto; background-position: 94% 92%; }
@media (min-width: 740px) {
  .white-pipe-case { grid-template-columns: 2fr 3fr; gap: 28px; }
  .white-pipe-product { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 28px; }
}
@media (min-width: 651px) {
  .white-pipe-media-row { grid-template-columns: minmax(0, 1fr) minmax(0, 220px); gap: clamp(20px, 3vw, 36px); }
}
.fusion-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 3vw, 32px); margin-top: 24px; }
.fusion-photos img { aspect-ratio: 16 / 9; object-fit: cover; }
.metric-ips-transition-video { width: 100%; margin-top: 24px; }
@media (max-width: 760px) {
  .fusion-methods, .fusion-checklist > div { grid-template-columns: minmax(0, 1fr); }
}
.quality-media-section { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; gap: 22px clamp(22px, 4vw, 52px); }
.quality-media { min-width: 0; margin: 0; }
.quality-media > img { display: block; width: 100%; height: auto; }
.quality-media figcaption { margin-top: 8px; color: var(--muted); font-size: 14px; }
.quality-links { margin: 16px 0 0; font-size: 14px; }
.quality-links a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.fusion-jump a { padding-block: 4px; }
.quality-records, .quality-package-items { margin: 24px 0; }
.quality-records > div { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 2.1fr); gap: 8px 22px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.quality-records > div:first-child { border-top: 1px solid var(--line); }
.quality-records dt, .quality-package-items dt { font-weight: 700; line-height: 1.4; }
.quality-records dd, .quality-package-items dd { margin: 0; }
.quality-content .quality-example { max-width: none; padding: 16px 20px; border-left: 3px solid var(--accent); background: #f3f6fa; }
.quality-package, .quality-enquiry { padding: clamp(20px, 3vw, 40px); background: #edf2f9; }
.quality-package { scroll-margin-top: 112px; }
.quality-package-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 30px; }
.quality-package-items > div { border-top: 1px solid var(--line); padding-top: 14px; }
.quality-package-items dd { margin-top: 5px; }
.quality-enquiry { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; margin-top: 20px; background: #f3f6fa; }
.quality-enquiry > div { flex: 1 1 400px; }
.quality-enquiry h2 { font-size: clamp(23px, 2.5vw, 30px); }
.quality-enquiry p { margin-bottom: 0; }
@media (max-width: 600px) {
  .quality-records > div, .quality-package-items { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 820px) {
  .quality-media-section { grid-template-columns: minmax(0, 1fr); }
}
.enquiry-channels, .sticky-note .enquiry-channels { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; padding: 0; margin: 17px 0; font-size: 16px; line-height: 1.5; }
.enquiry-channels li { min-width: 0; overflow-wrap: anywhere; }
.sticky-note .enquiry-channels li { margin: 0; }
.enquiry-channels strong { margin-inline-end: 4px; font-weight: 600; }
.contact-card { background: var(--dark); }
.contact-card .eyebrow, .contact-card dt { color: #bdcce2; }
.contact-card p { color: #d4dfed; }
.product-card:hover { border-color: #8fa4c3; }
.product-photo { background: #f1f4f7; }
.application-cards .product-photo { height: auto; aspect-ratio: 16 / 10; }
.application-cards .product-photo img { object-fit: cover; }
.product-card-copy .tiny:empty { display: none; }
.catalogue-links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.catalogue-links a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.resource-list > a:has(> div:only-child) { grid-template-columns: minmax(0, 1fr); }
.editorial-split > .about-shipping-photo { height: auto; }
.table-scroll thead { background: #e2eaf6; }
.table-scroll[aria-label="Compare the Pipe Where You’ll Use It"] :is(th, td) { font-size: 14px; }
.table-scroll tbody tr:nth-child(even) { background: #f5f8fc; }
.flange-guide h3, .power-guide h3 { font-size: 20px; }
.flange-guide p a, .power-guide a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.flange-guide table { min-width: 600px; font-size: 14px; }
.power-guide table { min-width: 450px; font-size: 14px; }
.power-guide :is(ul, ol) { padding-inline-start: 23px; font-size: 15px; line-height: 1.75; }
.power-guide li + li { margin-top: 9px; }
.power-field-rule { padding: 12px 16px; background: #fff5e5; border-left: 3px solid #cf831c; }
.ef-pillars.slurry-rfq-pillars > div { padding: 18px 22px; }
.slurry-rfq-pillars h2 a:hover { color: #194d81; text-decoration: underline; }
.slurry-rfq .text-section { margin-bottom: 0; }
.slurry-rfq-actions .button.light { border-color: var(--line); }
.slurry-rfq-quote .button { margin-bottom: 12px; white-space: normal; text-align: center; }
.slurry-rfq .table-scroll table { min-width: 590px; }
.slurry-rfq section ul:not(.enquiry-channels) { padding-inline-start: 23px; font-size: 15px; line-height: 1.7; }
.slurry-rfq section li + li { margin-top: 7px; }
.slurry-rfq-note { padding: 12px 16px; background: #edf2f9; border-left: 3px solid #5175b5; }
.slurry-rfq-quote { background: #edf2f9; padding: clamp(20px, 4vw, 35px); }
.slurry-rfq-quote .enquiry-channels { margin-bottom: 0; padding-left: 0; }
.slurry-rfq-quote .enquiry-channels li { margin-top: 0; }
.export-packing .table-scroll table { min-width: 600px; }
.export-packing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 20px; }
.export-packing-grid figure { min-width: 0; margin: 0; }
.export-packing-grid figure > img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 62%; }
.export-video-grid video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #132842; }
.export-quote { margin-top: 22px; padding: clamp(18px, 4vw, 32px); background: #edf2f9; }
.export-packing .export-quote h3 { margin-top: 0; }
.export-quote .enquiry-channels { margin-bottom: 0; padding: 0; }
.export-quote .enquiry-channels li + li { margin-top: 0; }
.pipe-handling .table-scroll table { min-width: 600px; }
.pipe-handling .handling-note { padding: 12px 16px; background: #edf2f9; border-left: 3px solid #5175b5; }
.handling-figure { margin: 20px 0; }
.handling-figure img { display: block; width: 100%; height: auto; }
.handling-quote { padding: clamp(18px, 4vw, 32px); background: #edf2f9; }
.pipe-handling .handling-quote h3 { margin-top: 0; }
.handling-quote .enquiry-channels { margin-bottom: 0; padding: 0; }
.handling-quote .enquiry-channels li + li { margin-top: 0; }
@media (max-width: 650px) {
  .export-packing-grid { grid-template-columns: 1fr; }
}
.flange-guide-layout, .power-guide-layout { display: grid; gap: 20px; }
.flange-guide-layout { grid-template-columns: 205px minmax(0, 830px); }
.power-guide-layout { grid-template-columns: 230px minmax(0, 870px); }
.flange-guide, .power-guide { grid-area: 1 / 2; min-width: 0; }
.flange-promo { grid-area: 1 / 1; align-self: start; }
.flange-promo a, .flange-promo img { display: block; }
.flange-promo a:focus-visible { outline: 2px solid #132842; outline-offset: 4px; }
.flange-promo span { display: none; }
.power-promo { grid-area: 1 / 1; align-self: start; width: 205px; max-width: 100%; }
.power-promo a, .power-promo img { display: block; }
.power-promo img { width: 100%; height: auto; }
@media (max-width: 900px) {
  .flange-guide-layout, .power-guide-layout { display: block; }
  .flange-guide, .power-guide { padding-bottom: 26px; margin-inline: auto; }
  .flange-promo { max-width: 830px; margin: 0 auto 44px; }
  .power-promo { margin: 0 auto 44px; }
  .flange-promo a { background: #edf2f9; padding: 12px 16px; color: #132842; font-weight: 700; }
  .flange-promo img { display: none; }
  .flange-promo span { display: inline; }
}
.application-hero { background: var(--dark); }
.application-hero .eyebrow { color: #ccd9ed; }
.rfq-form input:not([type=hidden]), .rfq-form textarea { border-bottom-color: #adbad0; }
:focus-visible { outline-color: #5175b5; }

.quote-button, footer .footer-top > div > a.quote-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 23px;
  background: #ffb32b;
  border: 1px solid #ffb32b;
  color: #142740;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  transition: background .18s ease, border-color .18s ease;
}
.quote-button:hover, footer .footer-top > div > a.quote-button:hover { background: #ffd160; border-color: #ffd160; color: #142740; transform: none; }
.quote-button:focus-visible { outline: 2px solid #10243a; outline-offset: 3px; box-shadow: 0 0 0 2px white; }
.header-cta.quote-button { min-height: 49px; }
.sticky-note .quote-button { font-size: 14px; }
.rfq-form button.quote-button { min-width: 170px; }

.quality-inspection-actions { justify-content: center; margin-top: 22px; }
.quality-support-button { background: #fff; border-color: var(--accent); color: var(--accent); }
.quality-support-button:hover { background: #edf2f9; border-color: var(--accent); color: var(--dark); }

.site-dialog { width: min(95%, 735px); max-height: 92dvh; border: 0; padding: clamp(25px, 5vw, 44px); color: var(--ink); background: #fff; box-shadow: 0 20px 70px #07152555; }
.site-dialog::backdrop { background: #0a1c33bf; }
body:has(.site-dialog[open]) { overflow: hidden; }
.site-dialog h2 { margin: 0 43px 14px 0; font-size: clamp(28px, 4vw, 43px); }
.site-dialog > p { margin-bottom: 15px; }
.site-dialog .quote-topic { font-weight: 700; color: var(--accent); }
.dialog-close { position: absolute; inset: 13px 13px auto auto; display: grid; place-items: center; border: 1px solid var(--line); background: #f4f7fb; color: var(--dark); font-size: 24px; line-height: 1; width: 40px; height: 40px; }
.dialog-close:hover { background: #e5edf7; }
.site-dialog .rfq-form label { font-size: 13px; font-weight: 600; }
.site-dialog .rfq-form input:not([type=hidden]), .site-dialog .rfq-form textarea { padding-inline: 11px; margin-top: 5px; margin-bottom: 13px; border: 1px solid #bdc9da; background: #f8fafc; font-weight: 400; }
.site-dialog .form-grid { row-gap: 4px; }
.rfq-form .rfq-intro { margin: 0 0 8px; font-size: 16px; line-height: 1.5; }
.rfq-form .form-note { margin: 0 0 16px; font-size: 14px; }
.site-dialog .rfq-form textarea { min-height: 115px; }

.media-grid { display: grid; gap: 24px; margin-bottom: 72px; }
.certificates-intro h2 { max-width: 730px; margin-bottom: 12px; font-size: clamp(21px, 2.6vw, 31px); }
.certificates-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.certificate-card, .video-card { border: 1px solid var(--line); background: #fff; }
.certificate-photo { display: grid; justify-items: center; gap: 12px; padding: 19px; background: #eef2f7; }
.certificate-photo img { width: 100%; height: 235px; object-fit: contain; }
.certificate-photo span { color: var(--accent); font-size: 13px; font-weight: 700; }
.certificate-photo:hover span { text-decoration: underline; }
.media-copy { padding: 24px; }
.media-copy .media-label { font-size: 13px; color: var(--accent); font-weight: 700; margin: 0 0 9px; }
.media-copy h2 { font-size: 23px; margin-bottom: 12px; }
.media-copy p { font-size: 15px; }
.video-card, .video-card .media-copy { display: flex; flex-direction: column; }
.video-card .media-copy { flex: 1; }
.video-actions { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 6px 12px; margin-top: auto; }
.video-actions .quote-button { justify-self: start; min-height: 44px; padding-inline: 12px; font-size: 14px; }
.video-detail-link { display: inline-flex; align-items: center; justify-self: end; gap: 7px; min-height: 44px; line-height: 1.35; text-align: right; }
.video-detail-link span:first-child { min-width: 0; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 720px) {
  .video-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .video-card .media-copy { padding: 20px 16px; }
}
@media (max-width: 360px) {
  .video-actions { grid-template-columns: minmax(0, 1fr); }
}
.certificate-dialog { width: min(95%, 1040px); }
.certificate-dialog h2 { font-size: clamp(22px, 3vw, 32px); }
.certificate-view { max-height: 62dvh; overflow: auto; background: #eef2f7; margin-bottom: 16px; }
.certificate-view img { width: 100%; max-width: 830px; height: auto; margin-inline: auto; }
.video-frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #132945; }
.video-cover { position: absolute; inset: 0; width: 100%; display: grid; place-items: center; padding: 0; border: 0; cursor: pointer; background-position: center; background-size: cover; }
.video-cover:focus-visible { outline: 3px solid #fff; outline-offset: -5px; }
.video-cover img, .video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.play-symbol { width: 70px; height: 51px; display: grid; place-items: center; position: absolute; background: #142740e6; border: 2px solid white; border-radius: 7px; }
.play-symbol::before { content: ''; width: 0; height: 0; border-top: 10px solid transparent; border-bottom: 10px solid transparent; border-left: 16px solid white; margin-left: 3px; }
.video-cover:is(:hover, :focus-visible) .play-symbol { background: var(--accent); }
.related-links { color: var(--accent); padding-left: 20px; }
.related-links a { text-decoration: underline; text-underline-offset: 3px; }
.product-main-photo img[src*="/product-photos/"], .product-photo img[src*="/product-photos/"] { object-fit: contain; }

.electrofusion-machine-detail article a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.machine-checklist { padding-inline-start: 1.35em; margin: 0 0 18px; font-size: 16px; line-height: 1.6; }
.machine-checklist li + li { margin-top: 10px; }
.electrofusion-workflow { display: grid; gap: 22px; margin-bottom: 12px; align-items: start; }
.electrofusion-workflow figure { max-width: 460px; margin: 0; }
.electrofusion-workflow img { display: block; width: 100%; height: auto; }
.electrofusion-workflow figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }
#controller-models, #package-quote { scroll-margin-top: 112px; }
#controller-models table { font-size: 14px; }
#package-quote .quote-inner > .button { flex-shrink: 0; }
@media (min-width: 1120px) {
  .electrofusion-workflow { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
}

.mining-hero {
  position: relative;
  height: clamp(535px, 49vw, 745px);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--dark);
}
.mining-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 54%; }
.mining-hero::after { position: absolute; inset: 0; content: ''; background: linear-gradient(180deg, #152c4b98, #142a46a6 52%, #102644d1); }
.mining-hero-copy { position: relative; z-index: 1; text-align: center; color: white; width: min(1280px, 91%); padding-top: 44px; }
.mining-hero h1 { margin: 0 auto 14px; font-size: clamp(38px, 4.5vw, 65px); line-height: 1.1; }
.mining-hero p { margin: 0; font-size: clamp(22px, 3vw, 42px); line-height: 1.25; color: white; font-weight: 400; }

.mining-editorial-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(380px, 34vw, 535px);
  margin-inline: max(20px, calc((100% - 1600px) / 2));
  background: #e6ecf3;
}
.mining-editorial-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 54%;
  z-index: -1;
}
.mining-editorial-inset { padding-block: 36px; }
.mining-editorial-title {
  width: fit-content;
  min-width: min(65%, 700px);
  max-width: min(100%, 1200px);
  padding: clamp(22px, 3vw, 43px);
  background: white;
  border-top: 4px solid var(--accent);
}
.mining-editorial-title h1 { font-size: clamp(32px, 3.35vw, 56px); margin-bottom: 17px; }
.mining-editorial-title p { max-width: 70ch; font-size: clamp(16px, 1.45vw, 20px); line-height: 1.5; margin-bottom: 23px; }
.mining-editorial-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr) minmax(0, .9fr);
  align-items: start;
  gap: clamp(22px, 3vw, 44px);
  padding-block: clamp(38px, 5vw, 72px);
}
.mining-editorial-body figure { margin: 0; }
.wear-guide-body {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.wear-guide-body + .wrap .table-scroll :is(th, td) { font-size: 14px; }
@media (min-width: 561px) {
  .mining-editorial-body.wear-guide-body figure { grid-row: 1; grid-column: 2; }
}
.mining-editorial-body img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mining-editorial-body h2, .mining-editorial-details h2, .mining-editorial-links h2 { font-size: clamp(23px, 2.25vw, 30px); margin-bottom: 14px; }
.mining-editorial-body p, .mining-editorial-details p { line-height: 1.62; margin-bottom: 14px; }
.mining-editorial-body ul { margin: 0; padding-inline-start: 20px; }
.mining-editorial-body li + li { margin-top: 10px; }
.mining-editorial-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 25px 38px; border-top: 1px solid var(--line); padding-block: 32px; }
.mining-editorial-links { padding-bottom: 44px; }
.mining-editorial-links ul { display: flex; flex-wrap: wrap; gap: 6px 24px; padding: 0; list-style: none; }
.mining-editorial-links a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.mining-editorial-links p { font-size: 13px; margin-bottom: 0; }

.application-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}
.application-jump a, .application-table a, .application-document-links a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.application-section { padding-block: 34px; scroll-margin-top: 24px; }
.application-section h2 { font-size: clamp(25px, 2.5vw, 34px); margin-bottom: 20px; }
.application-section h3, .application-faq dt { font-size: 19px; margin-bottom: 10px; }
.application-section p, .application-faq dd { line-height: 1.65; }
.application-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 52px; }
.application-table { margin-block: 0; max-height: none; }
.application-table table { min-width: 670px; table-layout: fixed; font-size: 15px; line-height: 1.5; }
.application-table thead th:first-child { width: 22%; }
.application-table thead th:nth-child(2) { width: 31%; }
.application-table tbody th, .application-table td { text-align: left; vertical-align: top; }
.application-proof { padding: clamp(24px, 3.5vw, 44px); background: #edf2f9; border-left: 4px solid var(--accent); }
.application-proof p:not(.eyebrow) { max-width: 76ch; }
.application-document-links { padding-inline-start: 20px; }
.application-document-links li + li { margin-top: 6px; }
.application-more-links { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; border-top: 1px solid var(--line); margin-top: 28px; padding: 15px 0 0; }
.application-more-links li + li { margin: 0; }
.application-faq { margin: 0; max-width: 85ch; }
.application-faq > div { border-top: 1px solid var(--line); padding-block: 14px; }
.application-faq dt { font-weight: 600; }
.application-faq dd { margin: 0; }

@media (max-width: 720px) {
  .application-table table, .application-table tbody, .application-table tbody tr,
  .application-table tbody th, .application-table td { display: block; min-width: 0; }
  .application-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .application-table tbody th { background: #e2eaf6; font-size: 16px; }
  .application-table td { border: 0; }
  .application-table td:last-child { padding-top: 0; padding-bottom: 16px; }
}

.home-container { width: min(1120px, 80%); margin-inline: auto; }
.photo-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 50px 0 0; }
.photo-nav a { position: relative; display: flex; align-items: end; justify-content: center; min-height: 320px; aspect-ratio: .86; padding: 20px; isolation: isolate; overflow: hidden; }
.photo-nav img, .photo-nav a::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.photo-nav img { object-fit: cover; transition: transform .28s ease; }
.photo-nav a::after { content: ''; background: linear-gradient(180deg, #15294735, #10243a18 35%, #0a172dc2); }
.photo-nav a:hover img, .photo-nav a:focus-visible img { transform: scale(1.04); }
.photo-nav a > span { display: grid; justify-items: center; gap: 12px; color: white; font-weight: 700; font-size: clamp(16px, 1.8vw, 23px); text-align: center; line-height: 1.2; }
.line-icon { width: 44px; height: 44px; display: inline-block; position: relative; color: inherit; }
.line-icon::before, .line-icon::after { position: absolute; content: ''; box-sizing: border-box; }
.icon-pipe::before { width: 23px; height: 32px; top: 4px; left: 12px; border: 2px solid currentColor; border-radius: 10px; transform: rotate(37deg); }
.icon-pipe::after { width: 15px; height: 15px; top: 23px; left: 9px; border: 2px solid currentColor; border-radius: 50%; }
.icon-doc::before { width: 25px; height: 32px; top: 5px; left: 9px; border: 2px solid currentColor; border-radius: 2px; }
.icon-doc::after { width: 12px; height: 10px; top: 14px; left: 15px; border-block: 2px solid currentColor; }
.icon-machine::before { width: 33px; height: 19px; top: 9px; left: 5px; border: 2px solid currentColor; border-radius: 3px; }
.icon-machine::after { width: 21px; height: 13px; top: 24px; left: 11px; border: 2px solid currentColor; border-top: 0; }
.icon-bend::before { width: 30px; height: 26px; left: 7px; top: 8px; border: 2px solid currentColor; border-bottom: 0; border-radius: 3px 18px 0 0; }
.icon-bend::after { width: 19px; height: 17px; left: 12px; top: 17px; border: 2px solid currentColor; border-bottom: 0; border-radius: 2px 10px 0 0; }
.icon-flange::before, .icon-flange::after { border: 2px solid currentColor; border-radius: 50%; inset: 6px; }
.icon-flange::after { inset: 12px; }

.home-supply { padding-block: 42px 35px; border-bottom: 1px solid var(--line); }
.home-supply h2 { font-size: clamp(26px, 3vw, 42px); }
.home-supply-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 22px; }
.home-supply-facts a { display: grid; gap: 7px; padding: 13px 0; align-content: start; border-top: 1px solid var(--line); }
.home-supply-facts a:hover strong { text-decoration: underline; }
.home-supply-facts strong { font-size: clamp(18px, 2vw, 26px); color: var(--accent); }
.home-supply-facts span { font-size: 14px; }
.home-supply > p { max-width: 75ch; margin: 14px 0; }
.supply-overview { display: grid; grid-template-columns: .95fr 1.1fr 1.1fr .95fr; gap: 24px; align-items: start; padding: 65px 0 55px; }
.overview-copy { padding-top: 26px; }
.overview-copy h2 { font-size: 22px; margin-bottom: 14px; }
.overview-copy p { color: #405061; font-size: 15px; line-height: 1.7; }
.supply-overview img { width: 100%; height: 365px; object-fit: cover; }
.supply-overview img:nth-child(2) { margin-top: 60px; object-position: 40% center; }
.supply-overview img:nth-child(3) { object-position: 40% center; }
.industry-link { color: #2f4f8a; font-weight: 600; font-size: 14px; }
.industry-link:hover { text-decoration: underline; }
.wide-photo-row { display: grid; grid-template-columns: 2.8fr .62fr .65fr; gap: 3px; }
.wide-photo-row img { height: clamp(200px, 31vw, 390px); width: 100%; object-fit: cover; }

.solutions-grid { display: grid; grid-template-columns: .9fr 2.6fr; gap: 30px; margin: 58px 0 115px; }
.solutions-copy h2 { font-size: clamp(30px, 3.1vw, 48px); margin-bottom: 16px; }
.solutions-copy p { font-size: 15px; }
.solution-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.solution-links a { min-height: 155px; padding: 18px; background: var(--accent); color: white; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 10px; font-size: 15px; line-height: 1.35; }
.solution-links a:hover { background: #253f73; }
.solution-links .line-icon { transform: scale(.83); }

.project-support { background: var(--dark); color: #fff; }
.project-support h2 { font-size: clamp(32px, 4.2vw, 58px); }
.project-support p { color: #e3ebf5; }
.support-grid { display: grid; grid-template-columns: 1.18fr .9fr; gap: 49px; align-items: start; }
.support-grid > div:first-child { padding-top: 60px; }
.support-grid img { width: 100%; aspect-ratio: 1.38; object-fit: cover; }
.support-grid > div > img { margin-top: 26px; }
.support-steps { position: relative; margin: -46px 0 0; padding: 40px 30px 28px; list-style: none; background: var(--accent); }
.support-steps li { padding: 0 0 20px; }
.support-steps li + li { border-top: 1px solid #ffffff47; padding-top: 20px; }
.support-steps li:last-child { padding-bottom: 0; }
.support-steps h3, .spotlight-links h3 { font-size: 20px; margin: 8px 0; }
.support-steps p, .spotlight-links p { font-size: 14px; margin-bottom: 0; }
.application-spotlight { padding: 84px 0 65px; align-items: center; }
.application-spotlight > div:first-child { padding-top: 0; }
.application-spotlight img { aspect-ratio: 1.12; }
.application-spotlight h2 { font-size: clamp(30px, 3.2vw, 45px); }
.spotlight-links { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.spotlight-links a { border-top: 1px solid #5a6e89; padding-top: 11px; }
.spotlight-links a:hover h3 { text-decoration: underline; }

.home-projects { padding-block: clamp(35px, 5vw, 65px) 10px; }
.home-projects h2 { font-size: clamp(27px, 3.2vw, 43px); }
.home-project-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px 28px; }
.home-project-links a { padding: 14px 0; border-top: 1px solid var(--line); }
.home-project-links a:hover h3 { text-decoration: underline; }
.home-project-links h3 { margin-bottom: 7px; color: var(--accent); font-size: 19px; }
.home-project-links p { margin-bottom: 0; }
.puhui-banner { margin-top: 32px; background: var(--accent); color: #fff; display: grid; grid-template-columns: .6fr 1.4fr; align-items: center; gap: 34px; padding: clamp(25px, 5vw, 64px); }
.puhui-banner img { width: min(100%, 260px); object-fit: contain; padding: 15px; background: #fff; margin-inline: auto; }
.puhui-banner h2 { font-size: clamp(32px, 5.4vw, 62px); margin-bottom: 14px; }
.puhui-banner p { color: #f0f5fb; margin-bottom: 11px; }
.puhui-banner a { font-size: 14px; font-weight: 600; }
.puhui-banner a:hover { text-decoration: underline; }
.field-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; }
.field-gallery img { width: 100%; aspect-ratio: 1.2; object-fit: cover; }
.factory-gallery { display: grid; gap: 30px; padding-bottom: clamp(42px, 6vw, 78px); }
.factory-stage { border-top: 1px solid var(--line); padding-top: 15px; }
.factory-stage h2 { margin: 0 0 14px; font-size: 22px; }
.factory-photos { display: flex; gap: clamp(12px, 1.5vw, 22px); }
.factory-photos figure { min-width: 0; flex: 1 1 0; margin: 0; }
.factory-photos .factory-photo-portrait { flex-grow: .45; }
.factory-photos img { width: 100%; height: clamp(145px, 16vw, 226px); object-fit: cover; }
.factory-photos figcaption { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.4; }
@media (max-width: 900px) {
  .factory-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .factory-photos img { height: auto; aspect-ratio: 4 / 3; }
  .factory-photo-portrait img { object-fit: contain; background: #f0f3f7; }
}
@media (max-width: 360px) {
  body:has(.factory-gallery, .video-grid) .site-header .brand > .puhui-wordmark { width: 118px; }
  body:has(.factory-gallery, .video-grid) .site-header .header-inner { gap: 6px; }
}
.home-enquiry { padding: 66px 0 100px; text-align: center; }
.home-enquiry h2 { color: var(--accent); font-size: clamp(37px, 6vw, 75px); margin-bottom: 21px; }
.home-enquiry p { max-width: 680px; margin-inline: auto; }
.home-enquiry > img { width: 100%; aspect-ratio: 2.65; object-fit: cover; object-position: 50% 53%; margin-top: 30px; }

footer { background: var(--dark); }
.footer-top { grid-template-columns: 1.48fr .9fr 1fr 1fr; }
.footer-top > div:first-child { background: var(--accent); padding: 24px; margin-top: -86px; }
.footer-brand .puhui-wordmark { width: min(300px, 100%); filter: brightness(0) invert(1); }
.footer-top > div > a:not(.footer-brand), .footer-top p, .footer-top .footer-address { color: #e0e9f7; font-size: 14px; overflow-wrap: anywhere; }
.footer-top > div > a:not(.footer-brand):not(.quote-button):hover { text-decoration: underline; }
.footer-bottom { flex-wrap: wrap; font-size: 14px; }
.footer-bottom > div { flex-wrap: wrap; gap: 8px 23px; }
.footer-top h3 { padding-bottom: 12px; border-bottom: 1px solid #ffffff32; font-size: 15px; }
.footer-certifications { margin-top: 18px; max-width: 350px; }
.footer-certifications a { display: block; }
.footer-certifications img { display: block; width: 100%; height: auto; }
.footer-bottom { border-color: #4a5f79; color: #d3dfed; }

@media (max-width: 1060px) {
  .site-header nav { gap: 16px; font-size: 13px; }
  .site-header .header-inner { gap: 17px; }
  .photo-nav a { min-height: 245px; }
  .home-container { width: 86%; }
  .support-grid { gap: 30px; }
  .supply-overview img { height: 310px; }
}

@media (min-width: 821px) and (max-width: 970px) {
  .site-header .header-inner { height: 76px; }
  .site-header .menu-toggle { display: block; }
  .site-header .header-cta { margin-left: auto; }
  .site-header nav { display: none; position: absolute; inset: 76px 0 auto; background: white; color: var(--ink); padding: 14px 30px; border-bottom: 1px solid var(--line); }
  .site-header nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .site-header .dropdown { position: static; box-shadow: none; border: 0; padding: 0 15px; }
}

@media (max-width: 820px) {
  .site-header .header-inner { height: 76px; }
  .site-header nav { color: var(--ink); background: white; }
  .site-header nav > a:hover, .site-header summary:hover { color: var(--accent); }
  .supply-overview { grid-template-columns: 1fr 1fr; }
  .supply-overview img:nth-child(2) { margin-top: 0; }
  .overview-copy { padding-top: 0; }
  .solutions-grid { grid-template-columns: 1fr; margin-bottom: 100px; }
  .support-grid { gap: 24px; }
  .spotlight-links { gap: 12px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > div:first-child { margin-top: -38px; }
  .certificates-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mining-editorial-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .mining-editorial-body figure { grid-row: span 2; }
}

@media (max-width: 560px) {
  .site-header .header-inner { width: calc(100% - 32px); gap: 12px; }
  .site-header .brand > .puhui-wordmark { width: clamp(144px, 46vw, 195px); }
  .header-cta.quote-button { min-height: 43px; font-size: 12px; padding-inline: 10px; }
  .mining-hero { min-height: 480px; height: 72svh; }
  .mining-hero-copy { padding-top: 36px; }
  .mining-hero h1 { font-size: 38px; }
  .mining-hero p { font-size: 22px; }
  .mining-editorial-hero { margin-inline: 0; min-height: 0; align-items: end; padding-top: 140px; }
  .mining-editorial-hero > img { height: 210px; object-position: center 60%; }
  .mining-editorial-inset { padding-block: 0; }
  .mining-editorial-title { width: 100%; padding: 20px; }
  .mining-editorial-title h1 { font-size: clamp(29px, 7.4vw, 40px); }
  .mining-editorial-body { grid-template-columns: minmax(0, 1fr); padding-block: 28px; }
  .mining-editorial-body figure { grid-row: auto; }
  .application-columns { grid-template-columns: minmax(0, 1fr); }
  .application-section { padding-block: 26px; }
  .application-jump { gap: 8px 16px; font-size: 14px; }
  .home-container { width: calc(100% - 36px); }
  .photo-nav { gap: 3px; margin-top: 25px; }
  .photo-nav a { min-height: 136px; padding: 7px 6px 11px; }
  .photo-nav a > span { font-size: 11px; gap: 4px; }
  .photo-nav .line-icon { transform: scale(.66); }
  .home-supply { padding-block: 26px; }
  .home-supply-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .supply-overview { padding: 32px 0; gap: 20px 15px; }
  .supply-overview img { height: 245px; }
  .overview-copy h2 { font-size: 18px; }
  .overview-copy p { font-size: 12px; }
  .industry-link { font-size: 12px; }
  .wide-photo-row { grid-template-columns: 2fr .7fr; }
  .wide-photo-row img:last-child { display: none; }
  .wide-photo-row img { height: 160px; }
  .solutions-grid { margin-top: 38px; gap: 18px; }
  .solution-links { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .solution-links a { min-height: 122px; padding: 10px; font-size: 13px; }
  .support-grid { grid-template-columns: 1fr; }
  .support-grid > div:first-child { padding-top: 38px; }
  .support-steps { margin-top: 0; padding: 25px; }
  .application-spotlight { padding: 48px 0; }
  .puhui-banner { gap: 17px; padding: 22px 17px; }
  .puhui-banner img { padding: 12px; }
  .puhui-banner h2 { font-size: 27px; }
  .puhui-banner p { font-size: 13px; }
  .field-gallery { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .home-enquiry { padding: 46px 0 56px; }
  .footer-top > div:first-child { margin-top: -34px; }
  .media-grid { grid-template-columns: 1fr; gap: 17px; margin-bottom: 50px; }
  .site-dialog { max-height: 88dvh; }
  .certificate-view { max-height: 55dvh; }
}

/* Contact page */
.contact-hero { background: var(--dark); color: #fff; }
.contact-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(24px, 4.6vw, 62px);
  padding-block: clamp(30px, 4vw, 56px);
}
.contact-hero h1 {
  max-width: 13ch;
  margin-bottom: 16px;
  font-size: clamp(38px, 4.6vw, 64px);
}
.contact-hero p { max-width: 48ch; margin-bottom: 23px; color: #d8e3f0; font-size: clamp(16px, 1.5vw, 19px); }
.contact-hero-photo {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;

}
.contact-page-content { padding-block: clamp(30px, 5vw, 72px); }
.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, .74fr) minmax(0, 1.26fr);
  gap: clamp(22px, 4vw, 55px);
  align-items: start;
}
.contact-page-grid h2, .contact-certifications h2 { font-size: clamp(25px, 3vw, 36px); margin-bottom: 15px; }
.contact-details, .contact-enquiry { padding: clamp(21px, 3.1vw, 42px); border: 1px solid var(--line); }
.contact-details { background: #edf2f9; }
.contact-details dl { margin: 0; }
.contact-details dl > div { border-top: 1px solid #d1dceb; padding-block: 13px; }
.contact-details dl > div:last-child { padding-bottom: 0; }
.contact-details dt { font-size: 14px; font-weight: 650; }
.contact-details dd { margin: 3px 0 0; color: var(--muted); overflow-wrap: anywhere; line-height: 1.55; }
.contact-details a, .contact-certifications-heading a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.contact-enquiry .rfq-form label { font-size: 14px; font-weight: 650; }
.contact-enquiry .rfq-form input:not([type=hidden]), .contact-enquiry .rfq-form textarea {
  margin-top: 5px;
  padding: 10px 12px;
  border: 1px solid #bdc9da;
  background: #f8fafc;
  font-size: 15px;
  font-weight: 400;
}
.contact-enquiry .rfq-form a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.contact-certifications { margin-top: clamp(36px, 5vw, 64px); padding-top: clamp(24px, 3vw, 38px); border-top: 1px solid var(--line); }
.contact-certifications-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px; margin-bottom: 24px; }
.contact-certifications-heading h2 { margin-bottom: 0; }
.contact-certifications-heading a { font-weight: 650; }
.contact-certifications picture { display: block; width: min(100%, 1060px); margin-inline: auto; }
.contact-certifications img { width: 100%; height: auto; }
.site-header nav > a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }

@media (max-width: 820px) {
  .contact-hero-inner, .contact-page-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-hero h1 { max-width: none; }

}
@media (max-width: 700px) {
  .contact-certifications picture { max-width: 485px; }
}
@media (max-width: 380px) {
  .contact-hero .quote-button { gap: 14px; padding-inline: 14px; }
}

@media (max-width: 360px) {
  .site-header .header-inner { gap: 8px; }
  .site-header .brand > .puhui-wordmark { width: 40vw; }
  .site-header .menu-toggle { padding-inline: 4px; }
}
