/* ==========================================================
   NEXERATION 2026 visual update
   Pages: index.php, material.php, brand.php
   These styles layer over the site's existing style.css.
   ========================================================== */

:root {
  --design-ink: #07192b;
  --design-blue: #0889e2;
  --design-line: #bccad5;
  --design-gray: #65778a;
  --design-backdrop: #e7edf2;
}

/* Typographic masthead used on the supplied new design */
.site-header .nav-wrap {
  width: min(1540px, calc(100% - 100px));
  max-width: none;
}
.site-header { padding: 12px 0; }
.site-header .brand {
  width: auto;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  color: var(--design-ink);
}
.brand-wordmark {
  display: inline-block;
  font-size: clamp(1.35rem, 1.65vw, 1.8rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: .035em;
  white-space: nowrap;
}
.site-header .main-nav { gap: clamp(12px, 1.55vw, 27px); }
.site-header .main-nav a { color: var(--design-ink); font-size: clamp(.79rem, .84vw, .93rem); }
.site-header .main-nav a.is-active:after { background: var(--design-blue); }
.home-page .site-header:not(.is-scrolled) .brand,
.home-page .site-header:not(.is-scrolled) .main-nav a { color: var(--design-ink); }
.home-page .site-header:not(.is-scrolled) .main-nav a:after { background: var(--design-blue); }
.home-page .site-header:not(.is-scrolled) .language-switch {
  color: #6b7886;
  border-color: rgba(46,68,88,.18);
}
.home-page .site-header:not(.is-scrolled) .language-switch a:hover,
.home-page .site-header:not(.is-scrolled) .language-switch a.is-active { color: var(--design-blue); }
.home-page .site-header:not(.is-scrolled) .nav-toggle span { background: var(--design-ink); }
.inner-page .site-header { background: rgba(244,247,250,.93); }

/* === Landing hero / 首頁上方修改.png === */
.new-home-hero {
  min-height: 790px;
  min-height: min(100svh, 1080px);
  height: 100svh;
  max-height: 1080px;
  background: linear-gradient(122deg, #d9e0e6 0%,#e9edf1 34%,#c3cbd3 75%,#e6e9ed 100%);
  color: var(--design-ink);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.new-home-hero::before,
.new-home-hero::after { content:""; position:absolute; pointer-events:none; }
.new-home-hero::before {
  inset:-25% auto auto -23%; width:65vw; height:125%;
  background:linear-gradient(145deg,rgba(255,255,255,.74),rgba(255,255,255,.03));
  clip-path:polygon(0 0,58% 0,100% 100%,45% 100%);
  opacity:.67;
  z-index:-1;
}
.new-home-hero::after {
  right:-12%; top:11%; width:45vw; height:90%;
  background:linear-gradient(132deg,rgba(135,155,173,.21),rgba(250,253,255,.68));
  clip-path:polygon(0 0,100% 0,35% 100%);
  z-index:-1;
}
.hero-blueprint {
  position:absolute; inset:0; z-index:-1; pointer-events:none;
  background-image:
    linear-gradient(to right, rgba(95,128,156,.16) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(95,128,156,.16) 1px, transparent 1px),
    linear-gradient(135deg,transparent 47.95%,rgba(64,110,150,.2) 48%,rgba(64,110,150,.2) 48.07%,transparent 48.12%);
  background-size: 225px 225px, 225px 225px, 100% 100%;
}
.blueprint-fold { display:block; position:absolute; left:-10%; top:0; width:56%; height:100%; background:linear-gradient(45deg,rgba(102,122,141,.07),transparent); clip-path:polygon(0 25%,100% 100%,0 100%); }
.new-home-hero-content {
  min-height:100%; display:flex; flex-direction:column; align-items:center;
  justify-content:center; text-align:center; position:relative;
  padding:145px 0 85px;
  width:min(1580px,calc(100% - 44px));
}
.new-home-hero-accent { width:72px; height:4px; background:var(--design-blue); margin:0 0 29px; }
.new-home-eyebrow { margin:0 0 16px; font-size:clamp(.77rem,1.13vw,1.12rem); font-weight:600; letter-spacing:.75em; color:var(--design-blue); padding-left:.75em; }
.new-home-hero-title,
.new-home-hero-outline { white-space:nowrap; font-family:Inter,"Arial Black","Noto Sans TC",system-ui,sans-serif; font-size:clamp(3.5rem,11.6vw,13rem); font-weight:900; letter-spacing:-.095em; line-height: .94; margin: 20px 0 0; }
.new-home-hero-title { color:#06192b; }
.new-home-hero-outline { color:transparent; -webkit-text-stroke:1.4px #7190a8; margin-top:0; opacity:.96; }
.new-home-hero-tagline { margin-top:57px; position:relative; z-index:1; }
.new-home-hero-tagline h2 { font-size:clamp(1.8rem,3.85vw,4.65rem); font-weight:850; letter-spacing:.075em; line-height:1.25; margin:0 0 8px; }
.new-home-hero-tagline p { color:#65788c; letter-spacing:.35em; font-size:clamp(.8rem,1.15vw,1.15rem); margin:12px 0 28px; }
.new-home-hero-link { width:265px; max-width:100%; min-height:57px; display:inline-flex; align-items:center; justify-content:center; gap:26px; border:1px solid #7b95aa; background:rgba(255,255,255,.10); font-size:.95rem; font-weight:800; letter-spacing:.24em; transition:color .2s,background .2s,transform .2s; }
.new-home-hero-link span:last-child { color:var(--design-blue); font-size:1.6rem; font-weight:400; line-height:0; transition:transform .2s; }
.new-home-hero-link:hover,.new-home-hero-link:focus-visible { background:var(--design-ink); color:white; transform:translateY(-2px); }
.new-home-hero-link:hover span:last-child { transform:translateX(4px); }
.new-home-scroll { position:absolute; bottom:24px; right:5%; font-size:.72rem; display:flex; gap:14px; align-items:center; letter-spacing:.17em; color:#526e85; }
.new-home-scroll span:last-child { color:var(--design-blue); font-size:1.35rem; }

/* === Shared blueprint motif for the material page === */
.blueprint-surface {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background-color:#e6ebf0;
  background-image:
    linear-gradient(rgba(89,127,157,.16) 1px,transparent 1px),
    linear-gradient(90deg,rgba(89,127,157,.16) 1px,transparent 1px),
    linear-gradient(135deg, transparent 49.9%,rgba(72,119,159,.19) 50%,transparent 50.1%),
    linear-gradient(124deg,#f1f4f6 0%,#d9e0e7 47%,#edf2f6 100%);
  background-size: 200px 200px,200px 200px,100% 100%,100% 100%;
}
.blueprint-surface::before { content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; background:linear-gradient(130deg,rgba(255,255,255,.4),transparent 55%); clip-path:polygon(0 0,65% 0,22% 100%,0 100%); }
.material-page { background:#fff; }
.material-page .site-footer { display:none; }
.material-page .site-header:not(.is-scrolled) { background:rgba(240,244,248,.7); }
.material-hero { min-height:460px; padding:130px 0 45px; }
.material-hero-image { position:absolute; top:72px; bottom:0; right:0; width:50%; z-index:-1; overflow:hidden; }
.material-hero-image::before { content:""; position:absolute; inset:0 auto 0 0; width:65px; background:linear-gradient(to right,#e0e7ed,transparent); z-index:1; }
.material-hero-image img { width:100%; height:100%; object-fit:cover; object-position:center; filter:contrast(1.1); }
.material-hero-body { position:relative; z-index:1; }
.material-hero-copy { width:52%; padding:5px 0 10px; }
.material-rule { width:36px; height:3px; background:var(--design-blue); margin-bottom:12px; }
.material-eyebrow { color:#0783cf; font-weight:800; letter-spacing:.46em; font-size:.72rem; line-height:1.9; }
.material-eyebrow span { color:#506880; }
.material-hero h1 { margin:26px 0 2px; color:#06192b; font-size:clamp(2.9rem,5.4vw,5.8rem); line-height:1.1; letter-spacing:.03em; font-weight:900; }
.material-hero h2 { margin:6px 0 4px; letter-spacing:.18em; color:#0a1e33; font-size:clamp(1.15rem,1.9vw,1.8rem); line-height:1.5; }
.material-hero p { margin:6px 0; font-size:.95rem; color:#60758a; letter-spacing:.12em; }
.material-section-label { display:flex; align-items:center; gap:15px; color:#647d96; font-size:.78rem; font-weight:800; letter-spacing:.34em; margin-bottom:14px; }
.material-section-label::before { content:""; width:36px; height:3px; background:var(--design-blue); }
.material-info-section { padding:44px 0 42px; background:#fff; }
.material-info-section h2,.material-applications h2,.material-process h2,.material-everyday h2 { margin:0; font-size:clamp(1.75rem,3.25vw,3.1rem); font-weight:900; line-height:1.28; letter-spacing:.035em; color:var(--design-ink); }
.material-intro-text { margin:13px 0 31px; color:#60778d; letter-spacing:.09em; font-size:1rem; line-height:1.75; }
.material-property-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0; }
.material-property-grid article { padding:0 35px 0 0; min-width:0; }
.material-property-grid article+article { border-left:1px solid #bccddd; padding-left:55px; }
.material-number { color:var(--design-blue); font-size:clamp(2.75rem,4.4vw,4.65rem); line-height:1.1; font-weight:300; letter-spacing:.03em; }
.material-property-grid h3 { margin:7px 0 3px; font-size:1.5rem; line-height:1.2; color:var(--design-ink); }
.material-property-grid p { margin:5px 0 0; color:#6b8399; font-size:.92rem; letter-spacing:.07em; }
.material-process { padding:32px 0; }
.material-process-grid { display:grid; grid-template-columns:.88fr 1fr; gap:60px; align-items:center; }
.material-process-image { height:300px; overflow:hidden; }
.material-process-image img { width:100%; height:100%; object-fit:cover; object-position:center; }
.material-process-copy { min-width:0; }
.material-process h2 { margin-bottom:27px; }
.material-process-steps { display:flex; align-items:center; gap:13px; flex-wrap:wrap; }
.material-process-steps span { display:inline-flex; align-items:center; justify-content:center; padding:11px 14px; min-height:49px; border:1px solid #a9baca; background:rgba(255,255,255,.28); font-size:.91rem; font-weight:700; white-space:nowrap; }
.material-process-steps b { color:var(--design-blue); font-size:1.7rem; font-weight:400; line-height:1; }
.material-process-copy p { color:#688097; margin:22px 0 0; max-width:530px; letter-spacing:.08em; }
.material-applications { padding:40px 0 30px; background:white; }
.material-applications h2 { margin-bottom:25px; }
.material-app-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px 30px; }
.material-app-card img { display:block; width:100%; aspect-ratio:2.73/1; height:auto; object-fit:cover; }
.material-app-card h3 { margin:9px 0 0; font-size:1.42rem; font-weight:800; line-height:1.22; }
.material-app-card p { margin:4px 0 0; color:#6c8298; font-size:.9rem; }
.material-legal-note { text-align:center; color:#8192a1; font-size:.76rem; margin:31px 0 0; }
.material-everyday { padding:34px 0; }
.material-everyday-grid { display:grid; grid-template-columns:1.3fr .72fr; align-items:center; gap:70px; }
.material-everyday h2 { margin-bottom:12px; }
.material-everyday p { margin:9px 0 0; font-size:.94rem; color:#647e94; }
.material-everyday .material-smallprint { font-size:.82rem; color:#8999a8; }
.material-everyday-image { overflow:hidden; height:235px; }
.material-everyday-image img { height:100%; width:100%; object-fit:cover; object-position:center; }
.material-product-link { display:inline-flex; align-items:center; gap:24px; justify-content:center; border:1px solid #9bafbf; background:rgba(255,255,255,.44); padding:12px 24px; min-height:45px; min-width:225px; font-weight:750; letter-spacing:.15em; font-size:.85rem; margin-top:18px; }
.material-product-link span { font-size:1.45rem; color:var(--design-blue); line-height:1; }
.material-product-link:hover { background:#fff; }
.material-bottom { background:#f5f7f9; color:#72899e; border-top:1px solid #d7e1e8; font-size:.74rem; letter-spacing:.12em; }
.material-bottom .container { display:flex; justify-content:space-between; align-items:center; gap:16px; padding-top:14px; padding-bottom:14px; }
.material-bottom a { color:var(--design-ink); font-weight:800; }
.material-bottom a span { color:var(--design-blue); font-size:1.2rem; margin-left:12px; }

/* === brand.php red-box addition / S__9936916.jpg === */
.brand-everyday {
  padding:65px 0 70px;
  background:linear-gradient(115deg,#edf6fc,#eaf5fc 52%,#eff8fe);
  border-top:1px solid #deecf5;
}
.brand-everyday-inner { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,.95fr); gap:60px; align-items:center; }
.brand-everyday-main { min-width:0; }
.brand-everyday-main .eyebrow { margin-bottom:12px; }
.brand-everyday h2 { margin:0; font-size:clamp(2rem,3vw,3.2rem); letter-spacing:-.035em; line-height:1.4; font-weight:850; color:#0a1e33; }
.brand-everyday-main p { color:#62798d; font-size:1.05rem; line-height:1.85; margin:17px 0 18px; }
.brand-everyday-signature { color:#0b78bd; font-size:.99rem; letter-spacing:.3em; font-weight:850; }
.brand-everyday-values { border-left:1px solid #c2d9ea; padding-left:42px; display:grid; gap:0; }
.brand-everyday-values>div { padding:5px 0 21px; }
.brand-everyday-values>div+div { border-top:1px solid #c9dce9; padding-top:20px; padding-bottom:0; }
.brand-everyday-values h3 { margin:0 0 6px; font-weight:800; font-size:1.35rem; color:#10243a; }
.brand-everyday-values p { margin:0; color:#70899b; font-size:.96rem; line-height:1.6; }

/* Fix legacy banner's blanket pointer-events rule so the existing CTAs remain usable. */
.home-feature-banner { pointer-events:auto; }

@media (min-width:1500px) {
  .new-home-hero-content { padding-top:150px; }
  .material-hero { min-height:500px; }
}
@media (max-width:1150px) {
  .site-header .nav-wrap { width:calc(100% - 48px); }
  .site-header .main-nav { gap:12px; }
  .site-header .nav-area { gap:13px; }
  .site-header .language-switch { padding-left:10px; }
  .new-home-hero-title,.new-home-hero-outline { font-size:11.15vw; }
  .material-process-grid { gap:35px; }
  .material-process-steps { gap:7px; }
  .material-process-steps span { padding:9px 11px; }
}
@media (max-width:980px) {
  .site-header .nav-wrap { width:calc(100% - 36px); }
  .site-header .brand-wordmark { font-size:1.55rem; }
  .site-header .main-nav a { font-size:1rem; }
  .home-page .site-header:not(.is-scrolled) { background:rgba(242,246,250,.94); }
  .new-home-hero { min-height:680px; height:93svh; }
  .new-home-hero-content { padding-top:125px; }
  .new-home-hero-tagline { margin-top:47px; }
  .material-hero { min-height:420px; padding-top:118px; }
  .material-hero-image { top:67px; width:49%; }
  .material-hero h1 { font-size:clamp(2.6rem,6vw,4.8rem); }
  .material-process-grid { gap:30px; }
  .material-process-image { height:275px; }
  .material-property-grid article+article { padding-left:28px; }
  .brand-everyday-inner { grid-template-columns:1.2fr 1fr; gap:30px; }
  .brand-everyday-values { padding-left:25px; }
}
@media (max-width:680px) {
  .site-header .nav-wrap { width:calc(100% - 28px); }
  .site-header .brand-wordmark { font-size:1.25rem; letter-spacing:.015em; }
  .new-home-hero { height:88svh; min-height:570px; max-height:740px; }
  .hero-blueprint { background-size:100px 100px,100px 100px,100% 100%; }
  .new-home-hero-content { width:calc(100% - 24px); padding:100px 0 75px; }
  .new-home-hero-accent { width:44px; height:3px; margin-bottom:21px; }
  .new-home-eyebrow { letter-spacing:.37em; padding-left:.37em; font-size:.65rem; margin-bottom:10px; }
  .new-home-hero-title,.new-home-hero-outline { font-size:11.5vw; letter-spacing:-.095em; }
  .new-home-hero-tagline { margin-top:38px; }
  .new-home-hero-tagline h2 { font-size:clamp(1.4rem,6.6vw,2.4rem); letter-spacing:.05em; }
  .new-home-hero-tagline p { letter-spacing:.12em; line-height:1.6; font-size:.85rem; margin:12px 0 23px; }
  .new-home-hero-link { width:220px; min-height:50px; font-size:.84rem; }
  .new-home-scroll { font-size:.6rem; bottom:13px; right:6%; }
  .material-hero { min-height:520px; padding:97px 0 0; }
  .material-hero-image { width:100%; top:auto; height:220px; left:0; bottom:0; }
  .material-hero-image::before { width:100%; height:55px; inset:0 0 auto 0; background:linear-gradient(to bottom,#e1e7ec,transparent); }
  .material-hero-copy { width:100%; padding:10px 0; }
  .material-hero h1 { font-size:clamp(2.4rem,10vw,3.4rem); margin:10px 0 0; }
  .material-hero h2 { font-size:1rem; letter-spacing:.1em; }
  .material-hero p { font-size:.83rem; letter-spacing:.035em; }
  .material-info-section { padding:38px 0; }
  .material-info-section h2,.material-applications h2,.material-process h2,.material-everyday h2 { font-size:clamp(1.55rem,6.4vw,2.1rem); }
  .material-intro-text { font-size:.88rem; letter-spacing:0; }
  .material-property-grid { grid-template-columns:1fr; }
  .material-property-grid article,.material-property-grid article+article { padding:13px 0; border-left:0; border-top:1px solid #d6e0e8; }
  .material-property-grid article:first-child { border-top:0; }
  .material-number { font-size:2.6rem; }
  .material-property-grid h3 { font-size:1.22rem; }
  .material-process { padding:30px 0; }
  .material-process-grid { grid-template-columns:1fr; gap:25px; }
  .material-process-image { height:205px; }
  .material-process h2 { margin-bottom:17px; }
  .material-process-steps { gap:6px; }
  .material-process-steps span { padding:9px 8px; font-size:.78rem; }
  .material-process-steps b { font-size:1.35rem; }
  .material-process-copy p { font-size:.89rem; }
  .material-applications { padding:40px 0 26px; }
  .material-app-grid { grid-template-columns:1fr; gap:20px; }
  .material-app-card h3 { font-size:1.25rem; }
  .material-app-card p { font-size:.86rem; }
  .material-everyday-grid { grid-template-columns:1fr; gap:25px; }
  .material-everyday-image { height:220px; }
  .material-bottom .container { width:calc(100% - 28px); }
  .brand-everyday { padding:46px 0 50px; }
  .brand-everyday-inner { grid-template-columns:1fr; gap:26px; }
  .brand-everyday h2 { font-size:1.75rem; line-height:1.4; }
  .brand-everyday-main p { font-size:.93rem; }
  .brand-everyday-values { padding-left:18px; }
}
@media (prefers-reduced-motion:reduce) {
  .new-home-hero-link,.new-home-hero-link span:last-child { transition:none; }
}
