﻿:root {
  --g1: #0f1f16;
  --g2: #1a3021;
  --g3: #2d5a3d;
  --g4: #3d7a52;
  --gold: #c8a060;
  --gold2: #e8d5a0;
  --cream: #f5f0e6;
  --cream2: #ede8dc;
  --white: #fdfcf8;
  --text: #2a2a2a;
  --muted: #6a6a6a;
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{font-family:'Noto Sans TC',sans-serif;background:var(--white);color:var(--text);overflow-x:hidden;}

/* ── NAV ── */
nav{
  position:fixed;top:0;left:0;right:0;z-index:200;
  display:flex;align-items:center;justify-content:space-between;
  padding:18px 5%;
  background:rgba(15,31,22,0.97);
  backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(200,160,96,0.18);
  transition:padding .3s;
}
.logo-wrap{display:flex;flex-direction:column;gap:2px;}
.logo-main{font-family:'Noto Serif TC',serif;font-size:15px;font-weight:700;color:var(--gold2);letter-spacing:3px;}
.logo-sub{font-family:'Cormorant Garamond',serif;font-size:10px;letter-spacing:6px;color:rgba(200,160,96,.55);font-weight:400;}
.nav-links{display:flex;align-items:center;gap:36px;list-style:none;}
.nav-links a{font-size:12.5px;letter-spacing:2px;color:rgba(245,240,230,.75);text-decoration:none;font-weight:300;transition:color .25s;}
.nav-links a:hover{color:var(--gold);}
.nav-btn{background:transparent;border:1px solid var(--gold);color:var(--gold)!important;padding:8px 22px;font-size:11.5px!important;letter-spacing:2px;transition:all .25s!important;cursor:pointer;}
.nav-btn:hover{background:var(--gold)!important;color:var(--g2)!important;}

/* ── HERO ── */
.hero{
  min-height:100vh;
  display:grid;
  grid-template-columns:1fr 1fr;
  position:relative;
  overflow:hidden;
}

/* Left panel */
.hero-left{
  background:var(--g2);
  display:flex;flex-direction:column;justify-content:center;
  padding:140px 6% 100px 7%;
  position:relative;
  z-index:2;
}
.hero-left::after{
  content:'';
  position:absolute;top:0;right:-1px;bottom:0;width:60px;
  background:var(--g2);
  clip-path:polygon(0 0,100% 0,0 100%);
  z-index:3;
}

/* Vertical text accent */
.hero-vert{
  position:absolute;right:32px;top:50%;transform:translateY(-50%);
  writing-mode:vertical-rl;
  font-family:'Cormorant Garamond',serif;
  font-size:10px;letter-spacing:5px;
  color:rgba(200,160,96,.35);
  z-index:4;
}

.eyebrow{display:flex;align-items:center;gap:14px;margin-bottom:32px;animation:fadeUp .9s .1s both;}
.eyebrow-line{width:36px;height:1px;background:var(--gold);}
.eyebrow span{font-family:'Cormorant Garamond',serif;font-size:11px;letter-spacing:6px;color:var(--gold);font-weight:400;}

.hero-title{
  font-family:'Noto Serif TC',serif;
  font-size:clamp(30px,3.2vw,50px);
  font-weight:700;
  color:#f0ece2;
  line-height:1.5;
  letter-spacing:3px;
  margin-bottom:10px;
  animation:fadeUp .9s .2s both;
}
.hero-title em{
  color:var(--gold);
  font-style:normal;
  display:block;
  font-size:.7em;
  letter-spacing:8px;
  margin-bottom:6px;
  font-family:'Cormorant Garamond',serif;
  font-weight:400;
}
.hero-subtitle{
  font-size:13.5px;line-height:2;
  color:rgba(240,235,220,.62);
  font-weight:300;
  max-width:420px;
  margin-bottom:48px;
  animation:fadeUp .9s .3s both;
}
.hero-btns{display:flex;gap:16px;flex-wrap:wrap;animation:fadeUp .9s .4s both;}
.btn-gold{background:var(--gold);color:var(--g2);padding:15px 38px;font-size:12.5px;letter-spacing:3px;font-weight:600;border:none;cursor:pointer;font-family:'Noto Sans TC',sans-serif;text-decoration:none;display:inline-block;transition:all .3s;}
.btn-gold:hover{background:var(--gold2);transform:translateY(-2px);}
.btn-outline{background:transparent;color:rgba(240,235,220,.75);border:1px solid rgba(200,160,96,.4);padding:15px 38px;font-size:12.5px;letter-spacing:3px;font-weight:300;cursor:pointer;font-family:'Noto Sans TC',sans-serif;text-decoration:none;display:inline-block;transition:all .3s;}
.btn-outline:hover{border-color:var(--gold);color:var(--gold);}

/* Stats row */
.hero-stats{
  display:flex;gap:48px;margin-top:60px;
  padding-top:40px;
  border-top:1px solid rgba(200,160,96,.15);
  animation:fadeUp .9s .5s both;
}
.stat-num{font-family:'Cormorant Garamond',serif;font-size:42px;font-weight:600;color:var(--gold);line-height:1;}
.stat-unit{font-size:14px;color:var(--gold);margin-left:2px;}
.stat-label{font-size:11px;letter-spacing:2px;color:rgba(240,235,220,.45);margin-top:4px;font-weight:300;}

/* Right panel */
.hero-right{
  background:var(--g3);
  position:relative;overflow:hidden;
}
.hero-right::before{
  content:'';
  position:absolute;inset:0;
  background:
    repeating-linear-gradient(90deg,rgba(200,160,96,.04) 0,rgba(200,160,96,.04) 1px,transparent 1px,transparent 48px),
    repeating-linear-gradient(0deg,rgba(200,160,96,.04) 0,rgba(200,160,96,.04) 1px,transparent 1px,transparent 48px);
}
.hero-right::after{
  content:'FACTORY · PRECISION · CRAFTSMANSHIP';
  position:absolute;bottom:48px;right:48px;
  font-family:'Cormorant Garamond',serif;
  font-size:9.5px;letter-spacing:5px;
  color:rgba(200,160,96,.25);
  writing-mode:vertical-rl;
}
/* Simulated material panel grid */
.panel-grid{
  position:absolute;inset:0;
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  grid-template-rows:1fr 1fr 1fr;
  gap:3px;padding:3px;
}
.panel-cell{opacity:.7;transition:opacity .3s;}
.panel-cell:hover{opacity:1;}
.pc1{background:linear-gradient(145deg,#3d5c48,#2a4035);}
.pc2{background:linear-gradient(145deg,#5a7a60,#3d5c48);}
.pc3{background:linear-gradient(145deg,#2a3528,#1e2a20);}
.pc4{background:linear-gradient(145deg,#c8a060,#a07840);}
.pc5{background:linear-gradient(145deg,#8a9888,#6a7868);}
.pc6{background:linear-gradient(145deg,#4a6850,#354d3a);}
.pc7{background:linear-gradient(145deg,#e8d5a0,#c8b580);}
.pc8{background:linear-gradient(145deg,#2d4030,#1f2d22);}
.pc9{background:linear-gradient(145deg,#6a8870,#4a6850);}

/* Floating badge */
.hero-badge{
  position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
  z-index:10;
  background:rgba(15,31,22,.92);
  border:1px solid rgba(200,160,96,.5);
  padding:28px 36px;
  text-align:center;
  backdrop-filter:blur(8px);
  min-width:200px;
}
.badge-num{font-family:'Cormorant Garamond',serif;font-size:56px;font-weight:600;color:var(--gold);line-height:1;}
.badge-label{font-size:10px;letter-spacing:4px;color:rgba(200,160,96,.7);font-weight:300;margin-top:4px;}
.badge-sub{font-size:9px;letter-spacing:3px;color:rgba(200,160,96,.4);margin-top:2px;}

@keyframes fadeUp{from{opacity:0;transform:translateY(24px);}to{opacity:1;transform:translateY(0);}}

/* ── TRUST BAR ── */
.trust-bar{
  background:var(--g1);
  padding:0 5%;
  display:flex;align-items:stretch;
  border-bottom:1px solid rgba(200,160,96,.12);
}
.trust-item{
  display:flex;align-items:center;gap:16px;
  padding:26px 0;
  flex:1;
  border-right:1px solid rgba(200,160,96,.1);
  padding-left:32px;
}
.trust-item:last-child{border-right:none;}
.trust-icon{
  width:40px;height:40px;
  border:1px solid rgba(200,160,96,.3);
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  font-size:16px;flex-shrink:0;
}
.trust-title{font-size:12.5px;font-weight:600;color:var(--gold2);letter-spacing:1px;margin-bottom:3px;font-family:'Noto Serif TC',serif;}
.trust-desc{font-size:10.5px;color:rgba(240,235,220,.45);font-weight:300;letter-spacing:.5px;}

/* ── REFERENCE PROJECTS ── */
.ref-section{
  background:var(--cream);
  padding:90px 7%;
  position:relative;overflow:hidden;
}
.ref-section::before{
  content:'PUBLIC WORKS';
  position:absolute;right:-20px;top:50%;transform:translateY(-50%) rotate(90deg);
  font-family:'Cormorant Garamond',serif;
  font-size:80px;font-weight:600;
  color:rgba(26,48,33,.06);
  white-space:nowrap;
  pointer-events:none;
}

.section-header{margin-bottom:56px;}
.label-row{display:flex;align-items:center;gap:14px;margin-bottom:16px;}
.label-line{width:32px;height:1px;background:var(--gold);}
.label-text{font-family:'Cormorant Garamond',serif;font-size:11px;letter-spacing:6px;color:var(--gold);}
.sec-title{font-family:'Noto Serif TC',serif;font-size:clamp(24px,2.8vw,38px);font-weight:700;color:var(--g2);letter-spacing:3px;line-height:1.4;}
.sec-desc{font-size:14px;line-height:2;color:var(--muted);font-weight:300;max-width:560px;margin-top:14px;}

/* Projects grid */
.proj-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:2px;
}
.proj-card{
  background:var(--white);
  border:1px solid rgba(26,48,33,.08);
  padding:32px 28px;
  position:relative;
  transition:all .3s;
  cursor:default;
  overflow:hidden;
}
.proj-card::before{
  content:'';
  position:absolute;bottom:0;left:0;right:0;
  height:3px;background:var(--gold);
  transform:scaleX(0);
  transition:transform .3s;
}
.proj-card:hover{box-shadow:0 12px 40px rgba(26,48,33,.1);transform:translateY(-4px);}
.proj-card:hover::before{transform:scaleX(1);}

.proj-icon{
  width:52px;height:52px;
  background:var(--g2);
  border-radius:2px;
  display:flex;align-items:center;justify-content:center;
  font-size:22px;
  margin-bottom:20px;
}
.proj-tag{
  display:inline-block;
  font-size:9px;letter-spacing:3px;
  border:1px solid rgba(200,160,96,.4);
  color:var(--gold);padding:3px 10px;
  margin-bottom:12px;
  font-family:'Cormorant Garamond',serif;
}
.proj-name{
  font-family:'Noto Serif TC',serif;
  font-size:15px;font-weight:600;
  color:var(--g2);letter-spacing:1px;
  line-height:1.5;
}

/* More projects row */
.proj-more{
  display:flex;align-items:center;gap:8px;
  margin-top:24px;
  padding:18px 24px;
  background:var(--g2);
  font-size:12px;letter-spacing:2px;
  color:rgba(200,160,96,.7);
  font-family:'Cormorant Garamond',serif;
}
.proj-more span{color:rgba(200,160,96,.4);}

/* ── SERVICES ── */
.services{background:var(--g2);padding:90px 7%;}
.services .sec-title{color:var(--cream);}

.svc-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr;
  gap:16px;
  margin-top:56px;
}
.svc-card{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(200,160,96,.12);
  padding:44px 40px;
  position:relative;overflow:hidden;
  transition:all .35s;
  cursor:pointer;
}
.svc-card::after{
  content:'';
  position:absolute;left:0;top:0;bottom:0;
  width:3px;background:var(--gold);
  transform:scaleY(0);transform-origin:bottom;
  transition:transform .35s;
}
.svc-card:hover{background:rgba(255,255,255,.07);}
.svc-card:hover::after{transform:scaleY(1);}
.svc-card.primary{
  background:rgba(200,160,96,.1);
  border-color:rgba(200,160,96,.3);
}
.svc-card.primary::after{transform:scaleY(1);}

.svc-badge{
  display:inline-block;
  font-size:9px;letter-spacing:3px;
  border:1px solid var(--gold);
  color:var(--gold);padding:3px 12px;
  margin-bottom:24px;
  font-family:'Cormorant Garamond',serif;
}
.svc-num{
  font-family:'Cormorant Garamond',serif;
  font-size:72px;font-weight:400;
  color:rgba(200,160,96,.1);
  line-height:1;margin-bottom:12px;
}
.svc-title{
  font-family:'Noto Serif TC',serif;
  font-size:20px;font-weight:600;
  color:#f0ece2;letter-spacing:2px;
  margin-bottom:14px;
}
.svc-desc{
  font-size:13px;line-height:2;
  color:rgba(240,235,220,.5);
  font-weight:300;margin-bottom:28px;
}
.svc-tags{display:flex;flex-wrap:wrap;gap:8px;}
.svc-tag{
  font-size:10.5px;letter-spacing:1px;
  color:rgba(200,160,96,.8);
  border:1px solid rgba(200,160,96,.2);
  padding:4px 12px;
}

/* ── PROCESS ── */
.process{background:var(--cream2);padding:90px 7%;}

.proc-steps{
  display:grid;grid-template-columns:repeat(4,1fr);
  gap:0;margin-top:56px;
  position:relative;
}
.proc-steps::before{
  content:'';
  position:absolute;top:34px;left:12%;right:12%;
  height:1px;
  background:linear-gradient(to right,var(--gold),rgba(200,160,96,.1));
}
.proc-step{padding:0 20px;text-align:center;}
.proc-circle{
  width:68px;height:68px;
  border:1.5px solid var(--gold);
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 20px;
  background:var(--cream2);
  position:relative;z-index:1;
  font-size:20px;
  transition:all .3s;
  cursor:default;
}
.proc-circle:hover{background:var(--g2);}
.proc-step-num{font-family:'Cormorant Garamond',serif;font-size:10px;letter-spacing:3px;color:var(--gold);margin-bottom:8px;}
.proc-step-title{font-family:'Noto Serif TC',serif;font-size:14px;font-weight:600;color:var(--g2);letter-spacing:2px;margin-bottom:8px;}
.proc-step-desc{font-size:11.5px;line-height:1.9;color:var(--muted);font-weight:300;}

/* ── CASES ── */
.cases{padding:90px 7%;background:var(--white);}

.cases-header{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:52px;}
.cases-more{
  font-family:'Cormorant Garamond',serif;
  font-size:12px;letter-spacing:3px;
  color:var(--g3);text-decoration:none;
  display:flex;align-items:center;gap:8px;
  transition:gap .3s;
}
.cases-more:hover{gap:14px;}

.cases-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  grid-template-rows:auto auto;
  gap:12px;
}
.case-card{position:relative;overflow:hidden;cursor:pointer;}
.case-card:first-child{grid-row:1/3;}
.case-img{
  width:100%;aspect-ratio:4/3;
  display:flex;align-items:center;justify-content:center;
  font-size:11px;letter-spacing:3px;
  color:rgba(200,160,96,.45);
  font-family:'Noto Sans TC',sans-serif;
  font-weight:300;
  transition:transform .5s;
  overflow:hidden;
}
.case-card:first-child .case-img{aspect-ratio:unset;height:100%;min-height:320px;}
.case-card:hover .case-img{transform:scale(1.04);}

.ci1{background:linear-gradient(135deg,#2a4035,#1a2a22);}
.ci2{background:linear-gradient(135deg,#3d5c48,#2a4035);}
.ci3{background:linear-gradient(135deg,#4a6850,#354d3a);}
.ci4{background:linear-gradient(135deg,#2d4832,#1e3224);}
.ci5{background:linear-gradient(135deg,#3a5540,#283d2e);}

.case-overlay{
  position:absolute;bottom:0;left:0;right:0;
  padding:20px 22px;
  background:linear-gradient(to top,rgba(15,31,22,.95),transparent);
  transform:translateY(6px);
  transition:transform .3s;
}
.case-card:hover .case-overlay{transform:translateY(0);}
.case-label{font-size:9.5px;letter-spacing:3px;color:var(--gold);font-family:'Cormorant Garamond',serif;display:block;margin-bottom:5px;}
.case-name{font-family:'Noto Serif TC',serif;font-size:14.5px;font-weight:600;color:#f0ece2;letter-spacing:1px;}

/* ── MATERIALS ── */
.materials{background:var(--g1);padding:90px 7%;}
.materials .sec-title{color:var(--cream);}

.mat-grid{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:10px;margin-top:52px;
}
.swatch{overflow:hidden;cursor:pointer;transition:transform .25s;}
.swatch:hover{transform:scale(1.06);z-index:1;}
.swatch-color{aspect-ratio:1;}
.swatch-info{padding:7px 9px;background:rgba(255,255,255,.04);}
.swatch-name{font-size:9.5px;letter-spacing:1px;color:rgba(240,235,220,.65);display:block;margin-bottom:1px;}
.swatch-code{font-family:'Cormorant Garamond',serif;font-size:9px;color:rgba(200,160,96,.4);}

/* ── CERTS ── */
.certs{background:var(--g2);padding:60px 7%;}
.certs-row{
  display:flex;align-items:center;justify-content:space-between;
  gap:20px;flex-wrap:wrap;
  padding-top:40px;
}
.cert-item{
  display:flex;align-items:center;gap:14px;
  padding:18px 24px;
  border:1px solid rgba(200,160,96,.15);
  flex:1;min-width:200px;
  background:rgba(255,255,255,.03);
}
.cert-icon{font-size:26px;flex-shrink:0;}
.cert-title{font-size:12.5px;font-weight:600;color:var(--gold2);letter-spacing:1px;font-family:'Noto Serif TC',serif;margin-bottom:2px;}
.cert-desc{font-size:10.5px;color:rgba(240,235,220,.4);font-weight:300;}
.cert-download{
  display:inline-block;
  background:rgba(200,160,96,.12);
  border:1px solid rgba(200,160,96,.3);
  color:var(--gold);
  font-size:10px;letter-spacing:2px;
  padding:5px 16px;
  margin-top:6px;
  text-decoration:none;
  font-family:'Cormorant Garamond',serif;
  transition:all .25s;cursor:pointer;
}
.cert-download:hover{background:var(--gold);color:var(--g2);}

/* ── CTA ── */
.cta{
  padding:110px 7%;
  background:var(--cream);
  text-align:center;
  position:relative;overflow:hidden;
}
.cta::before{
  content:'合作洽詢';
  position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
  font-family:'Noto Serif TC',serif;font-size:180px;font-weight:700;
  color:rgba(26,48,33,.04);white-space:nowrap;letter-spacing:20px;
  pointer-events:none;
}
.cta-label-row{display:flex;align-items:center;justify-content:center;gap:16px;margin-bottom:20px;}
.cta-title{font-family:'Noto Serif TC',serif;font-size:clamp(26px,3.5vw,44px);font-weight:700;color:var(--g2);letter-spacing:4px;margin-bottom:18px;}
.cta-desc{font-size:14.5px;line-height:2;color:var(--muted);font-weight:300;max-width:480px;margin:0 auto 44px;}
.cta-btns{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;}
.btn-dark{background:var(--g2);color:var(--cream);padding:17px 50px;font-size:12.5px;letter-spacing:3px;font-weight:500;border:none;cursor:pointer;font-family:'Noto Sans TC',sans-serif;text-decoration:none;display:inline-block;transition:all .3s;}
.btn-dark:hover{background:var(--g3);transform:translateY(-2px);}
.btn-out{background:transparent;color:var(--g2);border:1.5px solid var(--g2);padding:17px 50px;font-size:12.5px;letter-spacing:3px;font-weight:400;cursor:pointer;font-family:'Noto Sans TC',sans-serif;text-decoration:none;display:inline-block;transition:all .3s;}
.btn-out:hover{background:var(--g2);color:var(--cream);}

/* LINE block */
.line-block{
  margin-top:52px;
  display:inline-flex;align-items:center;gap:20px;
  padding:20px 36px;
  background:var(--white);
  border:1px solid rgba(26,48,33,.12);
}
.line-icon{width:44px;height:44px;background:#06C755;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:22px;}
.line-text strong{display:block;font-size:13px;font-weight:600;color:var(--g2);letter-spacing:1px;font-family:'Noto Serif TC',serif;}
.line-text span{font-size:11px;color:var(--muted);font-weight:300;}

/* ── FOOTER ── */
footer{background:var(--g1);padding:56px 7% 36px;border-top:1px solid rgba(200,160,96,.1);}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:52px;margin-bottom:44px;}
.footer-logo{font-family:'Noto Serif TC',serif;font-size:18px;font-weight:700;color:var(--gold2);letter-spacing:5px;}
.footer-logo-sub{font-family:'Cormorant Garamond',serif;font-size:9.5px;letter-spacing:5px;color:rgba(200,160,96,.4);margin-top:3px;margin-bottom:18px;}
.footer-about{font-size:12.5px;line-height:1.9;color:rgba(240,235,220,.35);font-weight:300;max-width:240px;}
.footer-col h4{font-family:'Noto Serif TC',serif;font-size:12.5px;letter-spacing:3px;color:var(--gold);font-weight:600;margin-bottom:18px;}
.footer-col ul{list-style:none;}
.footer-col ul li{margin-bottom:11px;}
.footer-col ul li a{font-size:12px;letter-spacing:1px;color:rgba(240,235,220,.38);text-decoration:none;font-weight:300;transition:color .25s;}
.footer-col ul li a:hover{color:var(--gold);}
.footer-bottom{border-top:1px solid rgba(200,160,96,.08);padding-top:24px;display:flex;justify-content:space-between;align-items:center;}
.footer-bottom p{font-size:10.5px;letter-spacing:2px;color:rgba(240,235,220,.2);font-family:'Cormorant Garamond',serif;}

/* ── MOBILE ── */
@media(max-width:768px){
  .nav-links{display:none;}
  .hero{grid-template-columns:1fr;}
  .hero-right{display:none;}
  .hero-left{padding:120px 6% 80px;}
  .trust-bar{flex-direction:column;}
  .trust-item{border-right:none;border-bottom:1px solid rgba(200,160,96,.1);}
  .proj-grid{grid-template-columns:1fr 1fr;}
  .svc-grid{grid-template-columns:1fr;}
  .proc-steps{grid-template-columns:1fr 1fr;}
  .cases-grid{grid-template-columns:1fr;}
  .case-card:first-child{grid-row:auto;}
  .mat-grid{grid-template-columns:repeat(3,1fr);}
  .certs-row{flex-direction:column;}
  .footer-grid{grid-template-columns:1fr 1fr;}
  .hero-stats{gap:28px;}
}
