/* Client review: stronger visual hierarchy while preserving the page structure. */
:root {
  --ink: #102d43;
  --body: #355368;
  --muted: #5d7586;
  --line: #d6e3e9;
  --bg: #f2f7f9;
  --blue: #087da8;
  --deep: #075a7c;
  --soft: #e4f3f7;
}
body { background: var(--bg); }
.topbar { background: #102d43; color: #c7dce7; }
.site-header { border-bottom: 1px solid #dce8ee; }
.nav { min-height: 80px; height: auto; }
.brand { gap: 13px; min-width: 0; line-height: 1.2; }
.brand .brand-symbol, .footer-brand .brand-symbol { width: 54px; height: 54px; flex: 0 0 54px; }
.brand-name { display: block; min-width: 0; }
.brand-name strong { display: block; color: var(--ink); font-size: clamp(16px, 1.12vw, 20px); font-weight: 800; letter-spacing: .045em; white-space: nowrap; }
.brand-name small { display: block; margin-top: 4px; color: #527184; font-size: clamp(9px, .66vw, 11px); font-weight: 650; letter-spacing: .015em; white-space: nowrap; }
.menu a { font-size: 15px; }
.nav-cta, .btn { background: #087da8; border-color: #087da8; box-shadow: 0 5px 14px rgba(8, 125, 168, .14); }
.nav-cta:hover, .btn:hover { background: #075a7c; border-color: #075a7c; }
.btn.outline { box-shadow: none; }
.footer-brand { align-items: center; gap: 13px; margin-bottom: 20px; }
.footer-brand .brand-name strong { color: #fff; }
.footer-brand .brand-name small { color: #b9d3df; }

.home-hero {
  background: radial-gradient(circle at 80% 38%, rgba(170, 218, 234, .52), transparent 29%),
              linear-gradient(120deg, #f8fbfc 0%, #edf6f9 58%, #e5f1f6 100%);
}
.home-hero::before, .page-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 95px, rgba(14, 91, 127, .035) 96px),
              repeating-linear-gradient(0deg, transparent 0 95px, rgba(14, 91, 127, .035) 96px);
}
.home-hero { position: relative; overflow: hidden; }
.home-hero .wrap, .page-hero .wrap { position: relative; z-index: 1; }
.home-hero h1 { color: #102d43; }
.home-hero .eyebrow { color: #0b749c; }
.home-media { border-color: #d9e8ee; box-shadow: 0 26px 64px rgba(22, 73, 101, .17); }
.home-media img { object-fit: contain; background: #fff; }
.home-media-toolbar > span { color: #376279; }
.page-hero:not(.home-hero) {
  background: radial-gradient(circle at 83% 16%, rgba(154, 209, 227, .43), transparent 34%),
              linear-gradient(112deg, #f9fcfd, #eaf4f8 76%);
}
.page-hero h1 { font-size: clamp(43px, 3.5vw, 58px); line-height: 1.16; font-weight: 800; letter-spacing: -.025em; }
.hero-rule { width: 84px; height: 4px; border-radius: 4px; }

.section { position: relative; }
.section:not(.white):not(#inquiry):not(#products) { background: #f3f8fa; }
.section.white { background: #fff; }
.section-head { position: relative; margin-bottom: 38px; }
.section-head h2, .home-inquiry h2, .split h2 {
  font-size: clamp(38px, 3.1vw, 53px); line-height: 1.16; letter-spacing: -.03em; font-weight: 800;
}
.section-head .eyebrow { display: flex; align-items: center; gap: 11px; color: #087da8; font-size: 13px; letter-spacing: .12em; }
.section-head .eyebrow::before { content: ''; width: 25px; height: 3px; border-radius: 3px; background: #0b8fb8; }
.section-head p:not(.eyebrow) { color: #526b7d; font-size: clamp(16px, 1.12vw, 18px); }
.eyebrow { color: #087da8; }
.cta-band { background: linear-gradient(110deg, #102d43, #145572); }
.cta-band h2 { font-size: clamp(30px, 2.35vw, 40px); line-height: 1.25; }
.rich-text h2 { font-size: clamp(28px, 2.1vw, 36px); }
.info-card h2, .form-card h2 { font-size: clamp(28px, 2vw, 35px); }

.card, .feature, .insight-card, .home-areas article, .home-feature-grid article, .feature-list article, .timeline article {
  border-color: #d9e7ec;
  box-shadow: 0 10px 30px rgba(19, 66, 91, .055);
}
.card:hover, .feature:hover, .insight-card:hover, .home-areas article:hover, .home-feature-grid article:hover {
  border-color: #91c9dc;
  box-shadow: 0 20px 46px rgba(19, 66, 91, .13);
}
.home-areas article, .home-feature-grid article { background: linear-gradient(150deg, #fff 56%, #f5fafc); }
.home-areas .icon { width: 42px; height: 42px; padding: 9px; background: #e0f2f7; border-radius: 10px; }
.home-areas--detailed { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.home-areas--detailed article {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0;
  min-height: 244px; padding: 27px 26px;
}
.home-areas--detailed .icon { flex: none; width: 46px; height: 46px; padding: 10px; }
.home-areas--detailed h3 { margin: 18px 0 0; font-size: 20px; line-height: 1.4; }
.home-areas--detailed p { margin: 12px 0 0; color: #526b7d; font-size: 15px; line-height: 1.7; }
@media (max-width: 1000px) {
  .home-areas--detailed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .home-areas--detailed { grid-template-columns: 1fr; }
  .home-areas--detailed article { min-height: 0; padding: 24px; }
  .home-areas--detailed h3 { margin-top: 16px; font-size: 18px; }
  .home-areas--detailed p { font-size: 14px; }
}
.home-feature-grid .icon-box { background: linear-gradient(145deg, #dff2f7, #edf8fb); }
.home-feature-grid article::after { background: #0a87b0; }
.product-card { background: #fff; }
.product-card::before, .product-card::after,
.product-card .card-body::before, .product-card .card-body::after {
  content: none !important;
  display: none !important;
}
.product-card > img, #products .product-card > img { object-fit: contain; object-position: center; padding: 0; background: #fff; }
.product-card:hover > img { transform: none; }
.companion-materials { margin-top: 26px; padding-top: 24px; border-top: 1px solid #e1ebf0; }
.companion-materials-head { margin-bottom: 18px; }
.companion-materials-head h3 { margin: 0; color: #102d43; font-size: 22px; line-height: 1.35; }
.companion-materials-head p { margin: 7px 0 0; color: #607589; font-size: 15px; line-height: 1.55; }
.companion-materials-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.companion-material { display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 98px; padding: 15px 16px; border: 1px solid #dbe8ee; border-radius: 10px; background: #f9fcfd; color: #18394f; line-height: 1.35; text-decoration: none; transition: border-color .2s, background .2s, transform .2s; }
.companion-material:hover { border-color: #9acbda; background: #f0f8fb; transform: translateY(-2px); }
.companion-material img { flex: none; width: 42px; height: 42px; padding: 8px; border-radius: 9px; background: #e5f3f8; }
.companion-material-copy { display: block; min-width: 0; }
.companion-material-copy strong, .companion-material-copy small { display: block; }
.companion-material-copy strong { color: #102d43; font-size: 16px; line-height: 1.35; }
.companion-material-copy small { margin-top: 5px; color: #607589; font-size: 12px; font-weight: 400; line-height: 1.4; }
.companion-material--more { border-color: #a9d1df; background: #eef8fb; }
.companion-material--more:hover { background: #e1f2f8; }
#materials { scroll-margin-top: 88px; }
@media (max-width: 980px) {
  .companion-materials-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .companion-materials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .companion-material { min-height: 88px; padding: 11px; gap: 9px; }
  .companion-material img { width: 34px; height: 34px; padding: 6px; }
  .companion-material-copy strong { font-size: 14px; }
  .companion-material-copy small { font-size: 11px; }
  .companion-material:last-child { grid-column: 1 / -1; }
}
.detail-gallery .main-photo { object-fit: contain; padding: 0; background: #fff; }
.photomask-detail .detail-hero { grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: clamp(30px, 4vw, 70px); align-items: center; }
.photomask-detail .detail-hero > div:first-child { align-self: center; }
.photomask-detail .detail-gallery { width: 100%; max-width: 650px; justify-self: center; align-self: center; }
.photomask-detail .detail-gallery .main-photo { aspect-ratio: 1.18; }
.photomask-detail .summary-followup { margin-top: -10px; }
.product-description-copy { max-width: 1050px; }
.product-description-copy p { margin: 0 0 14px; }
.product-description-copy p:last-child { margin-bottom: 0; }
.detail-gallery .thumbs { display: flex; flex-wrap: nowrap; justify-content: flex-start; gap: 10px; }
.detail-gallery .thumbs button { flex: 0 1 124px; min-width: 0; aspect-ratio: 1.18 / 1; overflow: hidden; border-radius: 7px; background: #fff; }
.detail-gallery .thumbs img { width: 100%; height: 100%; aspect-ratio: 1.18 / 1; object-fit: contain; padding: 0; background: #fff; }
.insight-card .insight-thumb { display: block; width: calc(100% + 54px); max-width: none; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin: -27px -27px 22px; padding: 0; background: #e8f1f5; }
.article-photo img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.about-photo img { height: clamp(260px, 25vw, 380px); object-fit: cover; }
.about-profile-section { background: #f3f8fa; }
.about-profile-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(36px, 5vw, 82px); }
.about-profile-grid .about-photo { margin: 0; min-width: 0; box-shadow: 0 16px 38px rgba(19, 66, 91, .09); }
.about-profile-grid .about-photo img { width: 100%; height: clamp(390px, 34vw, 530px); object-fit: cover; }
.about-profile-copy { min-width: 0; }
.about-profile-copy .eyebrow { margin-bottom: 15px; }
.about-profile-copy h2 { margin: 0 0 36px; color: var(--ink); font-size: clamp(37px, 3.05vw, 52px); line-height: 1.24; letter-spacing: -.025em; }
.about-profile-copy .rich-text p { margin: 0 0 22px; font-size: 16px; line-height: 1.95; }
.about-profile-copy .rich-text p:last-child { margin-bottom: 0; }
@media (max-width: 900px) {
  .about-profile-grid { grid-template-columns: 1fr; gap: 34px; }
  .about-profile-grid .about-photo img { height: clamp(320px, 54vw, 490px); }
}
@media (max-width: 520px) {
  .about-profile-grid { gap: 28px; }
  .about-profile-grid .about-photo img { height: 260px; }
  .about-profile-copy h2 { margin-bottom: 24px; font-size: 34px; }
  .about-profile-copy .rich-text p { font-size: 15px; }
}
.insight-card .text-link { display: inline-flex; align-items: center; justify-content: center; align-self: flex-start; min-height: 40px; padding: 8px 16px; border: 1px solid #b7d7e5; border-radius: 6px; line-height: 1.35; text-align: center; }
.insight-card .text-link:hover { background: #e9f6fa; text-decoration: none; }
.logo-grid div { background: #fff; }
.partner-section { background: linear-gradient(180deg, #f1f8fa, #e8f3f7) !important; }
.partner-proof { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .32em; }
.partner-count { color: #0787aa; font-size: clamp(30px, 3vw, 46px); font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.mask-spec-table { min-width: 820px; }
.mask-spec-table th, .mask-spec-table td { padding: 10px 16px; text-align: center; vertical-align: middle; line-height: 1.45; }
.mask-spec-table thead th { line-height: 1.45; }
.mask-spec-table tbody th { color: var(--ink); font-weight: 650; background: #f7fafc; }
.mask-spec-table tbody:nth-of-type(even) { background: #f8fbfd; }
.mask-spec-table tbody + tbody tr:first-child > * { border-top: 1px solid #cbdbe5; }
.mask-spec-table tbody tr:last-child > * { border-bottom: 1px solid var(--line); }
.mask-spec-table tbody:last-child tr:last-child > * { border-bottom: 0; }

.filterbar { gap: 10px; }
.filterbar a { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 18px; border: 1px solid #c8dce6; border-radius: 6px; background: #fff; color: #35566b; font-size: 14px; font-weight: 650; line-height: 1.3; text-align: center; transition: color .2s, background .2s, border-color .2s; }
.filterbar a:hover { border-color: #087da8; color: #075a7c; }
.filterbar a[aria-current="true"] { background: #087da8; border-color: #087da8; color: #fff; }
.listing-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 9px; margin-top: 38px; }
.listing-pagination a, .listing-pagination span { display: inline-flex; min-width: 42px; min-height: 42px; align-items: center; justify-content: center; padding: 8px 13px; border: 1px solid #c8dce6; border-radius: 6px; background: #fff; color: #31566b; font-size: 14px; font-weight: 700; line-height: 1.2; }
.listing-pagination a:hover { border-color: #087da8; color: #075a7c; }
.listing-pagination [aria-current="page"] { border-color: #087da8; background: #087da8; color: #fff; }
.listing-pagination .pagination-ellipsis { border: 0; background: transparent; }

@media (max-width: 1120px) {
  .nav { gap: 19px; }
  .menu { gap: 16px; }
  .brand-name strong { font-size: 16px; }
  .brand-name small { font-size: 9px; }
}
@media (max-width: 900px) {
  .nav { min-height: 72px; }
  .brand .brand-symbol { width: 47px; height: 47px; flex-basis: 47px; }
  #products .grid-2, #product-list, .article-cards { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .photomask-detail .detail-hero { grid-template-columns: 1fr; }
  .section-head h2, .home-inquiry h2, .split h2 { font-size: clamp(34px, 7.2vw, 43px); }
  .page-hero h1 { font-size: clamp(36px, 8vw, 48px); }
}
@media (max-width: 520px) {
  .detail-gallery .thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brand { gap: 8px; }
  .brand .brand-symbol { width: 39px; height: 39px; flex-basis: 39px; }
  .brand-name strong { font-size: 14px; letter-spacing: 0; }
  .brand-name small { font-size: 8px; letter-spacing: -.01em; }
  .footer-brand .brand-name strong { font-size: 16px; }
  .footer-brand .brand-name small { font-size: 9px; }
  .home-hero h1 { font-size: clamp(37px, 10vw, 50px); }
  .section-head h2, .home-inquiry h2, .split h2 { font-size: clamp(32px, 8vw, 39px); }
  .listing-pagination { gap: 6px; }
  .listing-pagination a, .listing-pagination span { min-width: 38px; min-height: 38px; padding: 7px 10px; }
}

/* Full-width research hero with live, responsive copy. */
.home-hero-photo {
  isolation: isolate;
  color: #fff;
  background: #061d36 url("hero-research-lab.webp") center 52% / cover no-repeat;
  border-bottom: 0;
}
.home-hero-photo::before {
  z-index: 0;
  background: linear-gradient(90deg, rgba(3, 22, 43, .63) 0%, rgba(5, 30, 54, .34) 48%, rgba(3, 22, 43, .04) 80%);
}
.home-hero-photo .home-hero-grid {
  display: flex;
  align-items: center;
  min-height: clamp(590px, 45vw, 710px);
  padding-block: 76px;
}
.home-hero-photo .home-hero-copy {
  position: relative;
  width: min(680px, 70%);
  max-width: 100%;
  padding: clamp(32px, 3.4vw, 56px) clamp(32px, 4vw, 64px);
  border: 1px solid rgba(177, 224, 241, .22);
  border-radius: 20px;
  background: linear-gradient(115deg, rgba(5, 37, 68, .83), rgba(7, 48, 78, .5));
  box-shadow: 0 25px 80px rgba(1, 13, 29, .22);
  backdrop-filter: blur(5px);
}
.home-hero-photo .eyebrow { color: #b6eaf4; font-size: 13px; letter-spacing: .16em; }
.home-hero-photo h1 {
  margin: 0;
  color: #fff;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  font-size: clamp(48px, 5vw, 78px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .055em;
  text-shadow: 0 3px 18px rgba(0, 18, 37, .34);
}
.home-hero-photo h1 span { display: block; }
.home-hero-photo .lead { max-width: none; margin-top: 30px; color: #effaff; font-size: clamp(17px, 1.45vw, 22px); font-weight: 650; letter-spacing: .025em; line-height: 1.55; }
.home-hero-photo .hero-summary { max-width: 580px; margin: 12px 0 0; color: #d3e8f2; font-size: clamp(14px, 1.05vw, 16px); line-height: 1.75; }
.home-hero-photo .actions { gap: 14px; margin-top: 32px; }
.home-hero-photo .actions .btn { min-width: 146px; min-height: 49px; border-radius: 6px; background: #0787b6; border-color: #0787b6; color: #fff; box-shadow: 0 7px 22px rgba(0, 13, 30, .2); }
.home-hero-photo .actions .btn:hover { background: #10a0cd; border-color: #10a0cd; }
.home-hero-photo .actions .btn.outline { background: rgba(6, 39, 68, .38); border-color: rgba(225, 246, 255, .72); color: #fff; }
.home-hero-photo .actions .btn.outline:hover { background: rgba(213, 241, 250, .18); border-color: #fff; }
.home-hero-photo .actions .btn:focus-visible { outline: 3px solid #b9ecf7; outline-offset: 3px; }
html[lang^="en"] .home-hero-photo h1 { font-family: "Segoe UI", Arial, sans-serif; font-size: clamp(42px, 4.4vw, 69px); letter-spacing: .02em; line-height: 1.13; }
@media (max-width: 900px) {
  .home-hero-photo { background-position: 61% center; }
  .home-hero-photo .home-hero-grid { min-height: 620px; }
  .home-hero-photo .home-hero-copy { max-width: min(690px, 84%); }
}
@media (max-width: 760px) {
  .home-hero-photo { background-position: 67% center; }
  .home-hero-photo::before { background: linear-gradient(90deg, rgba(2, 20, 40, .75), rgba(3, 27, 50, .36)); }
  .home-hero-photo .home-hero-grid { min-height: 590px; padding-block: 48px; }
  .home-hero-photo .home-hero-copy { width: 100%; max-width: 100%; padding: 32px; background: rgba(4, 35, 64, .78); }
  .home-hero-photo h1 { font-size: clamp(43px, 7.3vw, 59px); }
  html[lang^="en"] .home-hero-photo h1 { font-size: clamp(36px, 6vw, 49px); }
}
@media (max-width: 520px) {
  .home-hero-photo { background-position: 70% center; }
  .home-hero-photo .home-hero-grid { min-height: 565px; padding-block: 42px; }
  .home-hero-photo .home-hero-copy { padding: 26px 23px 30px; border-radius: 15px; }
  .home-hero-photo .eyebrow { font-size: 11px; letter-spacing: .09em; }
  .home-hero-photo h1 { font-size: clamp(39px, 10.3vw, 50px); letter-spacing: .025em; }
  html[lang^="en"] .home-hero-photo h1 { font-size: clamp(29px, 7.6vw, 39px); }
  .home-hero-photo .lead { font-size: 15px; line-height: 1.6; }
  .home-hero-photo .hero-summary { font-size: 13px; }
  .home-hero-photo .actions .btn { flex: 1 1 120px; min-width: 0; padding-inline: 10px; }
}

/* Restrained Chinese typography carries the hero's visual language through the site. */
html[lang^="zh"] .section-head h2,
html[lang^="zh"] .page-hero h1,
html[lang^="zh"] .home-inquiry h2 {
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  font-weight: 750;
  letter-spacing: .015em;
}
