

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root{
  --ink:        #0B2545;   /* deep navy - headings, dark sections */
  --blue:       #3A85D2;   /* steel blue - primary accent / buttons */
  --blue-dark:  #124a76;
  --cyan:       #1c75c4;   /* bright highlight - leader lines, glow */
  --amber:      #FFB020;   /* sparing warm accent - hover / status */
  --bg:         #F8F8F8;   /* page background */
  --paper:      #FFFFFF;   /* card background */
  --text:       #1A222C;   /* body text */
  --muted:      #5B6B7D;   /* secondary text */
  --line:       #D8E0E8;   /* hairline rule, light */
  --line-strong:#B9C6D2;   /* hairline rule, stronger (on dark uses opacity) */

  --display: "Open Sans", "Noto Sans SC", sans-serif;
  --body:    "Open Sans", "Noto Sans SC", sans-serif;
  --mono:    "Open Sans", "Noto Sans SC", sans-serif;

  --container: 1180px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--body);
  font-weight:400;
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img,svg{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3,h4{ font-family:var(--display); color:var(--ink); margin:0; line-height:1.15; }

.container{ max-width:var(--container); margin:0 auto; padding:0 32px; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}



h2{ font-size:clamp(28px,4vw,40px); font-weight:600; max-width:18ch; }
h2.on-dark{ color:#fff; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn{
  display:inline-flex; align-items:center; gap:6px;
  font-family:var(--display); font-weight:600; font-size:16px;
  padding:10px 26px; border-radius:999px;
  background:transparent;
  border:1px solid rgba(255,255,255,.7);
  color:#fff;
  cursor:pointer; white-space:nowrap;
  transition:transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover{ transform:translateY(-2px); background:rgba(255,255,255,.1); border-color:#fff; }
.btn:active{ transform:translateY(0); }

.btn-primary{ }
.hero .btn-primary{
  background:#fff; border-color:#fff; color:var(--ink);
  box-shadow:0 4px 16px rgba(0,0,0,.15);
}
.hero .btn-primary:hover{
  background:#f0f0f0; border-color:#f0f0f0; color:var(--ink);
}
.btn-ghost-dark{ }
.btn-cta{ flex-direction:column; align-items:flex-start; gap:2px; }

/* buttons placed on light backgrounds need dark border/text instead of white */
.btn-ghost{
  border:none; background:var(--ink); color:#fff;
}
.btn-ghost:hover{ background:var(--blue-dark); color:#fff; }

.btn-sm{ padding:9px 18px; font-size:16px; }
.btn-sub{ font-family:var(--mono); font-weight:400; font-size:13px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:100;
  background: rgba(248,248,248,1);
  backdrop-filter:blur(10px);

} 

.header-in{
  max-width:var(--container); margin:0 auto; padding:0 32px;
  height:60px; display:flex; align-items:center; gap:36px;

}
.logo{ display:flex; align-items:center; gap:10px; margin-right:auto; }

.logo-mark{ height:36px; width:auto; display:inline-block; }

.site-nav ul{ display:flex; gap:30px; }
.site-nav a{
  display:inline-block;
  font-size:13px; font-weight:400; color:var(--muted);
  transition:color .2s ease, font-weight .2s ease;
}

.site-nav a.is-current{ color:var(--ink); font-weight:700; }
.header-actions{ display:flex; align-items:center; gap:16px; }
.lang-toggle{
  font-family:var(--mono); font-size:12px; letter-spacing:.04em;
  background:none; border:1px solid var(--line-strong); border-radius:999px;
  padding:7px 12px; cursor:pointer; color:var(--text);
  display:flex; align-items:center; gap:4px;
  transition:border-color .2s ease, color .2s ease;
}
.lang-toggle:hover{ border-color:var(--blue); color:var(--blue); }
.lang-toggle .lang-sep{ opacity:.3; }
.lang-toggle .lang-label{ opacity:.4; transition:opacity .2s ease, font-weight .2s ease; }
.lang-toggle .lang-label.is-current{ opacity:1; font-weight:700; }

/* header's Contact button sits on a light background 鈥� match the lang-toggle look */
.header-actions .btn{
  background:none; border:1px solid var(--line-strong); color:var(--text);
  box-shadow:none;
}
.header-actions .btn:hover{
  background:none; border-color:var(--blue); color:var(--blue); transform:none;
}

.menu-toggle{ display:none; flex-direction:column; gap:5px; background:none; border:0; cursor:pointer; padding:6px; }
.menu-toggle span{ width:22px; height:2px; background:var(--ink); display:block; }


.social-links{ display:flex; align-items:center; gap:0px; }
.social-link{
  display:flex; align-items:center; justify-content:center;
  width:28px; height:28px; opacity:.7;
  transition:opacity .2s ease, transform .2s ease;
}
.social-link img{ width:100%; height:100%; display:block; object-fit:contain; }
.social-link:hover{ opacity:1; transform:translateY(-1px); }
/* ============================================================
   HERO
   ============================================================ */
.hero{
  position:relative; overflow:hidden;
  min-height:clamp(600px, 88vh, 700px); display:flex; align-items:center;
  margin:65px 16px 0; border-radius:32px;
}

/* full-bleed rotating photo background */
.hero-slides{ position:absolute; inset:0; z-index:0; }
.hero-slide{
  position:absolute; inset:0;
  background-size:cover; background-position:center;
  opacity:0; transition:opacity 1.2s ease;
}
.hero-slide.is-active{ opacity:1; }
.hero-slide-tag{
  position:absolute; left:32px; bottom:24px;
  font-family:var(--mono); font-size:12px; letter-spacing:.04em;
  color:rgba(255,255,255,.55); background:rgba(0,0,0,.25);
  padding:5px 10px; border-radius:2px;
}
.hero-overlay{
  position:absolute; inset:0;
  background:linear-gradient(110deg, rgba(6,20,38,.90) 0%, rgba(6,20,38,.40) 30%, rgba(6,20,38,.22) 100%); 
  
}

.hero-in{
  position:relative; z-index:1;
  max-width:var(--container); margin:0 auto; padding:0 32px;
  width:100%;
}

.hero-copy{ max-width:640px; }
.hero-copy h1{
  font-size:clamp(42px,5.5vw,58px); font-weight:800; letter-spacing:-.01em;
  margin-bottom:22px;
}
.hero-copy h1.on-dark{ color:#fff; }
.hero-copy h1 .accent{ color:var(--cyan); }
.hero-sub{ max-width:46ch; font-size:clamp(14px,1.8vw,16px); margin:0; }
.hero-actions{ display:flex; gap:13px; flex-wrap:wrap; margin-top:30px; }
.hero-actions .btn{ font-size:clamp(13px,1.5vw,17px); padding:clamp(10px,1.1vw,14px) clamp(22px,2.6vw,30px); }

.hero-dots{
  position:absolute; z-index:1; right:32px; bottom:28px;
  display:flex; gap:8px;
}
.hero-dots span{
  width:8px; height:8px; border-radius:50%;
  background:rgba(255,255,255,.35); cursor:pointer;
  transition:background .2s ease, transform .2s ease;
}
.hero-dots span.is-active{ background:var(--cyan); transform:scale(1.2); }

/* ============================================================
   SECTION SHELL
   ============================================================ */
.section{ padding:96px 0; }

/* ============================================================
   ABOUT
   ============================================================ */
.about h2{ margin-bottom:48px; }
.about-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:28px; margin-bottom:64px;
}
.about-item{
  background:var(--paper); border:1px solid var(--line); border-radius:4px;
  padding:28px 26px;
}
.about-num{
  font-family:var(--mono); font-size:16px; font-weight:500; color:var(--blue);
  width:28px; height:28px; border:1px solid var(--blue); border-radius:50%;
  display:flex; align-items:center; justify-content:center; margin-bottom:18px;
}
.about-item h3{ font-size:19px; margin-bottom:10px; }
.about-item p{ color:var(--muted); font-size:16px; margin:0; }

.stats-strip{
  display:grid; grid-template-columns:repeat(4,1fr);
  border-top:1px solid var(--line); border-bottom:1px solid var(--line);
  padding:36px 0;
}
.stat{ text-align:center; border-left:1px solid var(--line); }
.stat:first-child{ border-left:none; }
.stat-num{
  display:block; font-family:var(--display); font-weight:700;
  font-size:clamp(30px,3.6vw,44px); color:var(--ink);
}
.stat-label{
  display:block; font-family:var(--mono); font-size:16px; letter-spacing:.06em;
  color:var(--muted); margin-top:6px; text-transform:uppercase;
} 

/* ============================================================
   ADVANTAGES (dark, spec-sheet)
   ============================================================ */
.advantages{ background:var(--ink); }
.advantages h2{ margin-bottom:44px; }
.spec-sheet{ border-top:1px solid rgba(255,255,255,.15); }
.spec-row{
  display:grid; grid-template-columns:64px 220px 1fr;
  gap:24px; align-items:baseline;
  padding:22px 0; border-bottom:1px solid rgba(255,255,255,.15);
}
.spec-code{
  font-family:var(--mono); font-size:16px; color:var(--cyan); font-weight:500;
}
.spec-name{ font-family:var(--display); font-size:19px; color:#fff; font-weight:600; }
.spec-desc{ color:rgba(255,255,255,.62); font-size:14px; }

/* ============================================================
   PRODUCTS
   ============================================================ */
.products h2{ margin-bottom:48px; font-size:clamp(26px,3vw,36px); font-weight:800; }

/* shared card look (used by both homepage teaser and product.html grid) */
.product-card{
  background:var(--paper); border:1px solid var(--line); border-radius:10px;
  overflow:hidden; transition:border-color .2s ease;
}
.product-thumb{
  aspect-ratio:4 / 3;
  background-color:#eef4f9;
  background-size:cover, cover;
  background-position:center, center;
}
.product-card h3{ font-size:clamp(17px,1.8vw,22px); padding:20px 22px 4px; }
.product-card p{ color:var(--muted); font-size:clamp(13px,1.3vw,16px); padding:0 22px 22px; margin:0; }
.view-all-wrap{ text-align:center; margin-top:44px; }

.product-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.product-grid .product-card{
  position:relative; overflow:hidden;
  border:none;
  box-shadow:0 3px 3px rgba(11,37,69,.08);
  aspect-ratio:3 / 4;
  display:block;
  transition:transform .25s ease, border-color .2s ease;
}
.product-grid .product-card:hover{ transform:translateY(-4px); background-color: white; }

.product-grid .product-thumb{
  position:absolute; inset:0;
  width:100%; height:100%;
  aspect-ratio:auto;
}

.product-grid .product-main{
  position:absolute; inset:0; z-index:2;
  display:flex; flex-direction:column; justify-content:flex-end;
  transition:background .4s ease;
}

.product-grid .product-card:hover .product-main{
  background-color:white;
}

.product-grid .product-main h3{
  position:relative; z-index:2;
  font-size:16px; font-weight:700; padding:20px 22px 0; margin:0;
  background:linear-gradient(to top, rgba(255,255,255,.98) 0%, rgba(255,255,255,.98) 46%, rgba(255,255,255,0) 100%);
  color:var(--ink);
}
.product-grid .product-main p{
  position:relative; z-index:2;
  font-size:14px; color:var(--muted); margin:0; padding:0 22px 20px;
  max-height:0; opacity:0; overflow:hidden;
  transition:max-height .4s ease, opacity .3s ease .05s;
  background-color:white;
}

.product-grid .product-card:hover .product-main p{
  max-height:80px; opacity:1; 
}

/* ============================================================
   ABOUT
   ============================================================ */
.about h2{ margin-bottom:48px; }
.about-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:28px; margin-bottom:64px;
}
.about-item{
  background:var(--paper); border:1px solid var(--line); border-radius:4px;
  padding:28px 26px;
}
.about-num{
  font-family:var(--mono); font-size:16px; font-weight:500; color:var(--blue);
  width:28px; height:28px; border:1px solid var(--blue); border-radius:50%;
  display:flex; align-items:center; justify-content:center; margin-bottom:18px;
}
.about-item h3{ font-size:19px; margin-bottom:10px; }
.about-item p{ color:var(--muted); font-size:16px; margin:0; }

.stats-strip{
  display:grid; grid-template-columns:repeat(4,1fr);
  border-top:1px solid var(--line); border-bottom:1px solid var(--line);
  padding:36px 0;
}
.stat{ text-align:center; border-left:1px solid var(--line); }
.stat:first-child{ border-left:none; }
.stat-num{
  display:block; font-family:var(--display); font-weight:700;
  font-size:clamp(30px,3.6vw,44px); color:var(--ink);
}
.stat-label{
  display:block; font-family:var(--mono); font-size:16px; letter-spacing:.06em;
  color:var(--muted); margin-top:6px; text-transform:uppercase;
}

/* ============================================================
   SINCE 1988 — homepage banner section (image/aboutus.png)
   ============================================================ */
.since-section{ padding:0 0; }
.since-head{ text-align:left; max-width:640px; margin:0 0 48px; }

.since-title{ font-size:clamp(28px,3.4vw,38px); margin:0; color:var(--ink); white-space:nowrap; font-weight:800; }

.since-banner{
  position:relative;
  aspect-ratio:1920/820;
  border-radius:6px;
  overflow:hidden;
  background:#fff url('../image/aboutus.png') center/cover no-repeat;
  box-shadow:0 12px 36px rgba(11,37,69,.06);
}

.since-text strong em{ font-style:italic; font-weight:700; color:var(--ink); }

.since-text{
  position:absolute; top:50%; transform:translateY(-50%);
  width:26%;
  font-size:clamp(12px,1.1vw,15px); line-height:1.85; color:var(--text); font-weight: 400;
  background:rgba(255,255,255,.2);
  backdrop-filter:blur(2px);
  -webkit-backdrop-filter:blur(6px);
  border-radius:10px;
  padding:10px 20px;
  box-shadow:0 3px 3px rgba(11,37,69,.01);
}
.since-logo-strip{
  display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:14px;
  padding:28px 24px 0;
}
.since-logo-slot{
  position:relative;
  height:63px; min-width:56px; padding:0 12px;
  display:flex; align-items:center; justify-content:center;
  
  transition:transform .35s cubic-bezier(.34,1.4,.4,1), box-shadow .3s ease, background .3s ease;
}
.since-logo-slot:hover{
  transform:scale(1.2);
  z-index:2;
}
.since-logo-slot::before,
.since-logo-slot::after{
  position:absolute; left:50%; opacity:0; pointer-events:none;
  transition:opacity .2s ease, transform .2s ease;
  z-index:5;
}
.since-logo-slot::before{
  content:"";
  bottom:calc(100% + 6px); top:auto;
  transform:translate(-50%,4px);
  border:5px solid transparent;
}
.since-logo-slot::after{
  content:attr(data-tip);
  bottom:calc(100% + 12px); top:auto;
  transform:translate(-50%,4px);
  background:(255,255,255,0.6); color:#5f5f5f;
  backdrop-filter:blur(8px);
  font-family:var(--body); font-size:12px; font-weight:500; white-space:nowrap;
  padding:6px 12px; border-radius:30px;
  box-shadow:0 6px 16px rgba(11,37,69,.18);
}
.since-logo-slot:hover::before,
.since-logo-slot:hover::after{
  opacity:1;
  transform:translate(-50%,0);
}
.since-logo-slot img{ display:block; max-height:100%; max-width:100%; width:auto; height:auto; object-fit:contain; }
.since-logo-slot span{
  font-family:var(--mono); font-size:10px; letter-spacing:.02em;
  color:var(--muted); white-space:nowrap;
}

.since-text-a{ left:8%; }
.since-text-b{ right:8%; }

/* ============================================================
   GALLERY — pure image-card showcase (gallery.html)
   ============================================================ */
.gallery-section{ padding-top:30px; }
.gallery-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:20px;
}
.gallery-card{ display:block; transition:transform .2s ease; }
.gallery-card:hover{ transform:translateY(-4px); }
.gallery-thumb{
  aspect-ratio:1/1; border-radius:12px;
  background-color:#eef4f9;
  background-size:cover; background-position:center;
  margin-bottom:10px;
}
.gallery-card span{
  display:block; font-family:var(--body); font-size:16px; color:var(--ink); text-align:center;
}
@media (max-width:900px){
  .gallery-grid{ grid-template-columns:repeat(3,1fr); }
}
@media (max-width:600px){
  .gallery-grid{ grid-template-columns:repeat(2,1fr); gap:14px; }
}

/* ============================================================
   PRODUCT INTRO (PTFE Thread Seal Tape overview block)
   ============================================================ */
.filter-tabs-section{ padding-top:40px; padding-bottom:0; }
.intro-section{ padding-top:32px; padding-bottom:56px; }
.intro-panel{ display:none; }
.intro-panel.is-active{ display:block; }
.intro-head{ display:flex; align-items:center; gap:10px; margin-bottom:8px; }
.intro-icon{ width:26px; height:26px; color:var(--ink); flex:none; }
.intro-head h2{ font-size:clamp(34px,1.7vw,24px); color:var(--ink); white-space:nowrap; font-weight:700; }
.intro-underline{ display:block; width:170px; height:8px; margin:0 0 22px 36px; color:var(--blue); }
 
.intro-grid{ display:grid; grid-template-columns:420px 1fr; gap:56px; align-items:start; }
.intro-photo{
  position:relative; aspect-ratio:3.8 / 4; border-radius:12px;
  background-color:#eef4f9; overflow:hidden;
}
.intro-slide{
  position:absolute; inset:0;
  background-size:cover; background-position:center;
  opacity:0; transition:opacity .7s ease;
}
.intro-slide.is-active{ opacity:1; }
.intro-dots{
  position:absolute; left:50%; bottom:14px; transform:translateX(-50%);
  display:flex; gap:8px; z-index:2;
}
.intro-dots span{
  width:7px; height:7px; border-radius:50%;
  background:rgba(255,255,255,.65); box-shadow:0 0 0 1px rgba(15,23,42,.08);
  cursor:pointer; transition:background .2s ease, transform .2s ease;
}
.intro-dots span:hover{ background:#fff; }
.intro-dots span.is-active{ background:var(--blue); box-shadow:none; transform:scale(1.25); }
 
.intro-caption{
  color:var(--muted); font-size:16px; line-height:1.65;
  margin:14px 0 0;
}
 
.intro-spec-btn{
  display:flex; align-items:center; justify-content:center; gap:7px;
  width:fit-content; margin:12px 0 0 auto;
  background:#fff;
  border-radius:999px; padding:8px 16px 8px 12px;
  font-family:var(--display); font-weight:600; font-size:16px; color:var(--ink);
  text-decoration:none; box-shadow:0 2px 8px rgba(15,23,42,.06);
  transition:background .2s ease, color .2s ease, box-shadow .2s ease;
}
.intro-spec-btn svg{ flex:none; color:var(--blue); transition:color .2s ease; }
.intro-spec-btn:hover{ background:var(--blue); color:#fff; box-shadow:0 4px 14px rgba(37,99,235,.3); }
.intro-spec-btn:hover svg{ color:#fff; }
 
.intro-copy h4{ font-family:var(--display); font-size:16px; font-weight:700; color:var(--ink); margin:0 0 10px; }
.intro-copy h4:not(:first-child){ margin-top:18px; }
.intro-copy p{ color:var(--muted); font-size:16px; line-height:1.75; margin:0; }
 
.intro-spec-list{ display:flex; flex-direction:column; }
.intro-spec-list li{
  display:flex; justify-content:space-between; gap:20px;
  padding:5px 0; border-bottom:1px solid var(--line); font-size:16px;
}
.intro-spec-list li:last-child{ border-bottom:none; }
.intro-spec-list li span:first-child{ color:var(--muted); }
.intro-spec-list li span:last-child{ font-family:var(--body); color:var(--ink); font-weight:500; text-align:right; }
/* ============================================================
   CTA
   ============================================================ */
.on-dark-muted{ color:rgba(255,255,255,1); margin:0; font-weight: 500; }

/* ============================================================
   NEWS
   ============================================================ */
.news h2{ margin-bottom:48px; font-size:clamp(26px,3vw,36px); font-weight:800; }

/* ============================================================
   FOOTER 
   ============================================================ */
.site-footer{ background:var(--ink); color:rgba(255,255,255,.75); padding:140px 0 0; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; padding-bottom:72px; }
.footer-brand .logo-text{ color:#fff; }
.footer-brand p{ margin-top:12px; font-size:16px; color:rgba(255,255,255,.55); max-width:28ch; }
.footer-col h4{ color:#fff; font-size:13px; letter-spacing:.05em; margin-bottom:16px; font-family:var(--body); font-weight:500; }
.footer-col p{ margin:0 0 8px; font-size:13px; }
.footer-col a:hover{ color:var(--cyan); }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.15);
  padding:20px 32px; font-size:13px; font-family:var(--mono); color:rgba(255,255,255,.5);
}

/* ============================================================
   SCROLL TOP
   ============================================================ */
.mascot-fab{
  position:fixed; right:16px; bottom:78px; z-index:90;
  width:60px; height:60px; border-radius:50%;
  background:var(--paper); border:1px solid var(--line);
  box-shadow:0 8px 20px rgba(11,37,69,.18);
  display:flex; align-items:center; justify-content:center;
  transition:transform .2s ease, box-shadow .2s ease;
}
.mascot-fab img{
  width:78%; height:78%; object-fit:contain;
  border-radius:50%;
}
.mascot-fab:hover{
  transform:translateY(-3px) scale(1.05);
  box-shadow:0 12px 26px rgba(11,37,69,.26);
}
.mascot-fab-dot{
  position:absolute; top:-2px; right:-2px;
  width:14px; height:14px; border-radius:50%;
  background:var(--blue); border:2px solid var(--paper);
}
.mascot-fab-bubble{
  position:absolute; right:calc(100% + 12px); top:50%;
  transform:translateY(-50%) translateX(6px);
  background:var(--paper); color:var(--ink);
  font-family:var(--display); font-weight:600; font-size:14px;
  white-space:nowrap;
  padding:10px 16px; border-radius:20px;
  box-shadow:0 8px 20px rgba(11,37,69,.16);
  opacity:0; pointer-events:none;
  transition:opacity .2s ease, transform .2s ease;
}
.mascot-fab-bubble::after{
  content:""; position:absolute; left:100%; top:50%;
  transform:translateY(-50%);
  border:6px solid transparent; border-left-color:var(--paper);
}
.mascot-fab:hover .mascot-fab-bubble{
  opacity:1; transform:translateY(-50%) translateX(0);
}
/* ============================================================
   SCROLL-REVEAL (JS adds .in-view)
   ============================================================ */
.reveal{ opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease; }
.reveal.in-view{ opacity:1; transform:translateY(0); }

/* ============================================================
   PAGE HEADER (sub-pages)
   ============================================================ */
.page-header{
  padding:150px 0 56px;
}
.page-header h1{
  font-size:clamp(30px,4vw,42px); font-weight:800; margin:0 0 12px;
}
.page-header .page-sub{ color:var(--body); max-width:56ch; margin:0; font-size:17px; }

.breadcrumb{
  font-family:var(--mono); font-size:13px; color:var(--muted);
  letter-spacing:.03em; margin:0 0 18px;
}
.breadcrumb a{ color:var(--blue); }
.breadcrumb a:hover{ text-decoration:underline; }

/* ============================================================
   PRODUCT FILTER TABS
   ============================================================ */

.products h2{ margin-bottom:48px; font-size:clamp(26px,3vw,36px); font-weight:800; }
.products-title{ text-align:center; max-width:none; width:100%; margin-left:auto; margin-right:auto; }

.filter-tabs{
  display:flex; gap:10px; flex-wrap:wrap;
  margin:0px 0 8px;
}
.filter-tab{
  font-family:var(--body); font-size:16px; font-weight:600; letter-spacing:.03em;
  padding:9px 18px; border:none; border-radius:20px;
  background:var(--paper); color:var(--muted); cursor:pointer;
  transition:border-color .2s ease, color .2s ease, background .2s ease;
}
.filter-tab:hover{ border-color:var(--blue); color:var(--blue); }
.filter-tab.is-active{ background:var(--ink); border-color:var(--ink); color:#fff; }

.product-grid-full{
  
  display:grid; grid-template-columns:repeat(3,1fr); gap:28px; margin-top:36px;
}

.product-grid-full .product-card{
  display:block; transition:transform .2s ease; border:none;
}
.product-grid-full .product-card:hover{ transform:translateY(-4px); }

/* product.html grid: hover-reveal panel sliding up over the bottom of the card */
.product-grid-full .product-card{ position:relative; }
.product-grid-full .product-detail{
  position:absolute; left:0; right:0; bottom:0;
  background:rgba(255,255,255,.86);
  backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
  padding:20px 22px 22px;
  display:block;
  transform:translateY(100%);
  opacity:0;
  pointer-events:none;
  transition:transform .35s cubic-bezier(.4,0,.2,1), opacity .3s ease;

}
.product-grid-full .product-card:hover .product-detail{

  transform:translateY(0);
  opacity:1;
  pointer-events:auto;
}
.product-card[hidden]{ display:none; }

.product-card .spec-line{
  display:flex; justify-content:space-between; align-items:center;
  padding:0 22px 20px; font-family:var(--mono); font-size:14px; color:var(--muted);
}
.product-card .spec-line span:last-child{ color:var(--blue); font-weight:500; }

/* ============================================================
   CERTIFICATE RAIL 鈥� horizontal scroll, hover-to-focus cards
   ============================================================ */
.cert-section{ padding:0px 0 40px; overflow:hidden; }
.cert-rail{
  overflow-x:auto; overflow-y:visible;
  padding:60px 0 40px;
  cursor:grab;
  scrollbar-width:thin;
  display:flex; justify-content:center;
}
.cert-rail.is-dragging{ cursor:grabbing; scroll-snap-type:none; }
.cert-rail-track{
  display:flex; gap:0;
  padding:70px 40px 40px;
  width:max-content;
  perspective:1400px;
}
.cert-card{
  flex:0 0 auto; width:250px;
  margin-left:-78px;
  display:block; text-align:center;
  user-select:none;
  position:relative;
}
.cert-card:first-child{ margin-left:0; }

.cert-thumb{
  aspect-ratio:3 / 4;
  background-color:#eef4f9;
  background-size:cover, cover;
  background-position:center, center;
  border-radius:6px;
  border:1px solid var(--line);
  box-shadow:0 6px 18px rgba(11,37,69,.1), 0 1px 3px rgba(11,37,69,.08);
  transition:transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s ease, opacity .4s ease, filter .4s ease;
  transform-origin:center 120%;
}

/* fan the deck: rotate + arc each thumbnail outward from center */
.cert-card:nth-child(1) .cert-thumb{ transform:rotate(-11deg) translateY(20px); }
.cert-card:nth-child(2) .cert-thumb{ transform:rotate(-5.5deg) translateY(6px); }
.cert-card:nth-child(3) .cert-thumb{ transform:rotate(0deg)    translateY(0); }
.cert-card:nth-child(4) .cert-thumb{ transform:rotate(5.5deg)  translateY(6px); }
.cert-card:nth-child(5) .cert-thumb{ transform:rotate(11deg)   translateY(20px); }
.cert-card:nth-child(6) .cert-thumb{ transform:rotate(16deg)   translateY(38px); }
.cert-card:nth-child(7) .cert-thumb{ transform:rotate(21deg)   translateY(58px); }
.cert-card:nth-child(8) .cert-thumb{ transform:rotate(26deg)   translateY(80px); }

.cert-card:nth-child(1){ z-index:1; }
.cert-card:nth-child(2){ z-index:2; }
.cert-card:nth-child(3){ z-index:3; }
.cert-card:nth-child(4){ z-index:4; }
.cert-card:nth-child(5){ z-index:5; }
.cert-card:nth-child(6){ z-index:6; }
.cert-card:nth-child(7){ z-index:7; }
.cert-card:nth-child(8){ z-index:8; }

.cert-rail-track:hover .cert-thumb{ opacity:.55; filter:saturate(.6); }
.cert-card:hover{ z-index:50; }
.cert-card:hover .cert-thumb{
  opacity:1; filter:saturate(1);
  transform:rotate(0deg) translateY(-26px) scale(1.2) !important;
  box-shadow:0 28px 48px rgba(11,37,69,.28);
}

/* caption: hidden by default, only shown (upright, non-overlapping) for the hovered card */
.cert-info{
  position:absolute; left:50%; bottom:-8px;
  transform:translate(-50%, 0);
  width:220px;
  opacity:0; pointer-events:none;
  transition:opacity .25s ease .1s;
}
.cert-card:hover .cert-info{ opacity:1; }
.cert-info h3{
  font-family:var(--display); font-weight:700; font-size:15px; color:var(--ink); margin:0 0 4px;
}
.cert-info p{
  font-size:14px; color:var(--muted); margin:0; line-height:1.4;
}
.cert-hint{
  text-align:center; font-family:var(--mono); font-size:15px; letter-spacing:.05em;
  color:var(--muted); margin:0 0 20px;
}


/* ============================================================
   CTA
   ============================================================ */
.cta{ background:linear-gradient(120deg,var(--blue-dark),var(--ink)); }
.cta-mail-scene{
  max-width:var(--container); margin:0 auto; padding:56px 32px;
  position:relative;
  display:flex; align-items:center; gap:32px;
  height:220px;
}
.cta-mail-line{
  position:absolute; left:0; right:0; top:58%;
  width:100%; height:120px;
  pointer-events:none;
}
.cta-mail-visual{
  position:relative; flex-shrink:0;
  width:250px; height:100%;
}
.cta-mail-mascot{
  position:absolute; left:0; top:50%;
  width:250px; height:auto;
  transform:translateY(-50%);
  z-index:2;
  animation:cta-mascot-float 4s ease-in-out infinite;
}
@keyframes cta-mascot-float{
  0%, 100%{ transform:translateY(-50%); }
  50%{ transform:translateY(calc(-50% - 10px)); }
}


/* ============================================================
   NEWS
   ============================================================ */
.news h2{ margin-bottom:48px; font-size:clamp(26px,3vw,36px); font-weight:800; }
.news-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.news-card{
  display:block;
  transition:transform .2s ease;
}
.news-card:hover{ transform:translateY(-4px); }
.news-thumb{
  aspect-ratio:16 / 10;
  background-color:#eef4f9;
  background-size:cover, cover;
  background-position:center, center;
  border-radius:6px;
  margin-bottom:16px;
}
.news-date{ font-family:var(--mono); font-size:12px; color:var(--muted); letter-spacing:.04em; }
.news-card h3{ font-size:clamp(15px,1.4vw,18px); margin:10px 0 8px; }
.news-card p{ color:var(--muted); font-size:clamp(13px,1.1vw,15px); margin:0; }


@media (max-width:960px){
  .product-grid-full{ grid-template-columns:1fr 1fr; }
}
@media (max-width:720px){
  .page-header{ padding:120px 0 40px; }
  .product-grid-full{ grid-template-columns:1fr; }
}
@media (max-width:960px){
  .hero{ min-height:80vh; }
  .about-grid,.news-grid{ grid-template-columns:1fr 1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .stats-strip{ grid-template-columns:1fr 1fr; row-gap:24px; }
  .stat:nth-child(3){ border-left:none; }
}

@media (max-width:720px){
  .header-actions .btn{ display:none; }
  .menu-toggle{ display:flex; }
  .site-nav{
    position:absolute; top:76px; left:0; right:0;
    background:var(--bg);
    max-height:0; overflow:hidden; transition:max-height .3s ease;
  }

  .site-nav ul{ flex-direction:column; gap:0; padding:8px 32px 16px; }
  .site-nav a{ display:block; padding:12px 0; }
  .site-header.menu-open .site-nav{ max-height:320px; border-bottom:1px solid var(--line); }
  .menu-toggle.is-active span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
  .menu-toggle.is-active span:nth-child(2){ opacity:0; }
  .menu-toggle.is-active span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }
  .menu-toggle span{ transition:transform .2s ease, opacity .2s ease; }

  .about-grid,.news-grid,.footer-grid{ grid-template-columns:1fr; }

  .product-grid{ grid-template-columns:1fr 1fr; gap:14px; }
  .product-grid .product-card:hover{ transform:none; }
  .spec-row{ grid-template-columns:44px 1fr; row-gap:6px; }
  .spec-desc{ grid-column:2; }
  .header-in{ gap:16px; }
}

/* ============================================================
   ABOUT — CHAPTER TIMELINE (moved from about.html inline <style>)
   ============================================================ */
  .story-section{ padding:120px 0 100px; }
  .story-head{ text-align:center; max-width:640px; margin:0 auto 96px; }
  .story-title{ font-size:clamp(28px,3.4vw,38px); margin:0 0 16px; }
  .story-sub{ color:var(--muted); font-size:16px; line-height:1.7; margin:0; }

  .chapter-timeline{ position:relative; max-width:1080px; margin:0 auto; }

  .chapter-line{
    position:absolute; left:50%; top:8px; bottom:0px; width:2px;
    transform:translateX(-50%);
    background:var(--line-strong);
    mask-image:linear-gradient(to bottom, black 60%, transparent 100%);
    -webkit-mask-image:linear-gradient(to bottom, black 60%, transparent 100%);
  }
  
  .chapter-line-fill{
    position:absolute; left:0; top:0; width:100%;
    background:var(--blue-dark);
    height:68%;
    transform-origin:top center;
    animation:growChapterLine 1.4s cubic-bezier(.4,0,.2,1) both;
  }
  .chapter-line-fill.is-dashed{
    top:68%; height:32%; background:none;
    border-left:2px dashed var(--blue-dark); width:0;
    animation:none;
    

  }

  /* ============================================================
     PHOTO WALL — stacked cards, click to shuffle
     ============================================================ */
  .photo-wall-section{ padding:0px 0 120px; text-align:center; }
  .photo-wall{
    position:relative; width:400px; height:300px;
    margin:0 auto 24px; cursor:pointer;
  }
  .photo-wall-card{
    position:absolute; inset:0;
    box-shadow:0 10px 26px rgba(11,37,69,.12);
    display:flex; align-items:center; justify-content:center;
    color:var(--muted); font-family:var(--mono); font-size:12px;
    transition:transform .45s cubic-bezier(.2,.8,.2,1), opacity .3s ease;
  }
  .photo-wall-hint{
    padding-top: 50px;
    font-family:var(--mono); font-size:14px; color:var(--muted);
    letter-spacing:.03em;
  }
  @keyframes growChapterLine{ from{ transform:scaleY(0); } to{ transform:scaleY(1); } }

  .chapter-mark{
    position:absolute; left:calc(50% - 28px); top:0; transform:translate(-50%,-50%);
    width:60px; height:60px; border-radius:50%;
    background:white;
    box-shadow:inset 0 0 0 2px var(--blue-dark);
    z-index:2;
  }

  .chapter-mark svg{ display:block; width:100%; height:100%; }

  .chapter-row{
    position:relative; z-index:1;
    display:grid; grid-template-columns:1fr 56px 1fr; align-items:center;
    padding:52px 0;
  }

  .chapter-dot{
    justify-self:center;
    width:12px; height:12px; border-radius:50%;
    background:var(--blue-dark); border:3px solid var(--paper);
    box-shadow:0 0 0 2px var(--blue-dark);
    opacity:0; animation:chapterDotIn .4s ease forwards;
  }
  .chapter-row:nth-child(2) .chapter-dot{ animation-delay:.1s; }
  .chapter-row:nth-child(3) .chapter-dot{ animation-delay:.4s; }
  .chapter-row:nth-child(4) .chapter-dot{ animation-delay:.7s; }
  .chapter-row:nth-child(5) .chapter-dot{ animation-delay:1s; }
  @keyframes chapterDotIn{ from{ opacity:0; transform:scale(.3); } to{ opacity:1; transform:scale(1); } }

  .chapter-year{
    display:flex; align-items:center; gap:16px;
  }
  .chapter-year.align-right{ justify-content:flex-end; }
  .chapter-year.align-left{ justify-content:flex-start; }
  .chapter-year-num{
    font-family:var(--display); font-weight:700; font-size:clamp(22px,2.2vw,28px);
    color:var(--blue-dark); white-space:nowrap; letter-spacing:-.01em;
  }
  .chapter-year-line{ width:36px; height:2px; background:var(--line-strong); flex:none; }

  .chapter-body{ max-width:400px; }
  .chapter-body.align-right{ margin-left:auto; text-align:right; }
  .chapter-body h3{
    font-family:var(--display); font-weight:700; font-size:clamp(18px,1.8vw,22px);
    color:var(--ink); margin:0 0 10px;
  }
  .chapter-body p{ color:var(--muted); font-size:16px; line-height:1.75; margin:0; }
  .chapter-image{
    margin-top:18px; aspect-ratio:4/3; max-width:280px;
    
    display:flex; align-items:center; justify-content:center;
    color:var(--muted); font-family:var(--mono); font-size:12px;
  }
  .chapter-body.align-right .chapter-image{ margin-left:auto; }
.chapter-collage{
    position:relative;
    width:520px;
    height:360px;
    margin-top:40px;
}

.chapter-collage .photo{
    position:absolute;
    object-fit:cover;
    border-radius: 10px;
    background:#fff;
    transition:transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
}

.chapter-collage .photo:hover{
    transform:scale(1.05);
    box-shadow:0 16px 34px rgba(11,37,69,.22);

}

.chapter-collage .large{
    width:300px;
    left:0;
    top:0;
}

.chapter-collage .overlap{
    width:260px;
    right:0;
    bottom:10px;
    box-shadow:0 12px 30px rgba(0,0,0,.12);
}

.chapter-collage .bottom{
    width:250px;
    bottom: -50px;
    left:30px;
    z-index: -1;

    box-shadow:0 12px 30px rgba(0,0,0,.12);
}
  @media (max-width:820px){
    .story-section{ padding:80px 0 60px; }
    .chapter-timeline{ padding:0 20px; }
    .chapter-line{ left:20px; }
    .chapter-mark{ display:none; }
    .chapter-row{
      grid-template-columns:32px 1fr; column-gap:20px; padding:32px 0;
    }
    .chapter-dot{ grid-column:1; justify-self:center; }
    .chapter-year{ grid-column:2; justify-content:flex-start !important; }
    .chapter-body{ grid-column:2; max-width:none; text-align:left !important; margin-left:0 !important; }
    .chapter-year-line{ display:none; }
    /* re-order so year sits above body inside the single right-hand column */
    .chapter-row{ grid-template-rows:auto auto; }
  }

.contact-section{ padding:80px 0 120px; }
.contact-grid{
  display:grid; grid-template-columns:1.3fr 1fr; gap:64px; align-items:start;
}
.contact-info{ order:2; }
.contact-form{ order:1; }
 .contact-map{
  margin-top:24px; border-radius:16px; overflow:hidden;
}
.contact-map iframe{ display:block; filter:grayscale(15%); }
 
.contact-info-item{
  padding:11px 0;
}
.contact-info-item:first-child{ padding-top:0; }
.contact-info-label{
  display:block; font-family:var(--mono); font-size:11px; letter-spacing:.06em;
  text-transform:uppercase; color:var(--blue); margin-bottom:6px;
}
.contact-info-item p{ margin:0; color:var(--text); font-size:13px; }
 
.contact-form{
  background:var(--paper); border:1px solid var(--line); border-radius:16px;
  padding:36px;
}
.contact-form-note{
  font-size:12px; color:var(--muted); line-height:1.6;
  background:rgba(58,133,210,.06); border-radius:10px; padding:12px 14px;
  margin:0 0 28px;
}
.contact-form label{ display:block; font-size:14px; color:var(--muted); }
.contact-form label span{ display:block; margin-bottom:6px; }
.contact-form input,
.contact-form textarea{
  width:100%; font-family:var(--body); font-size:14px; color:var(--text);
  border:1px solid var(--line-strong); border-radius:8px; padding:10px 12px;
  background:var(--bg);
}
.contact-form input:focus,
.contact-form textarea:focus{ outline:none; border-color:var(--blue); }
.contact-form textarea{ resize:vertical; }
.form-full{ margin-bottom:24px; }

.contact-form .btn{
  border:none; cursor:pointer;
  background:var(--ink); color:#fff;
}
.contact-form .btn:hover{ background:var(--blue-dark); color:#fff; transform:translateY(-2px); }

 
@media (max-width:860px){
  .contact-grid{ grid-template-columns:1fr; gap:48px; }
  .contact-form{ padding:24px; }
}
 