:root {
  --ink: #131313;
  --paper: #f6f5f2;
  --muted: #e9e7e1;
  --accent: #c4933f;
  --line: rgba(19, 19, 19, .14);
  --max: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif; line-height: 1.7; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 999; background: white; padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }
.site-header { position: sticky; z-index: 100; top: 0; display: flex; align-items: center; min-height: 78px; padding: 0 clamp(1rem, 4vw, 4rem); color: white; background: rgba(14,14,14,.94); backdrop-filter: blur(14px); }
.brand img { width: 120px; filter: brightness(0) invert(1); }
.main-nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2.3rem); margin-left: auto; font-size: .9rem; letter-spacing: .06em; }
.main-nav a { position: relative; padding: 1.7rem 0; }
.main-nav a::after { position: absolute; right: 0; bottom: 1.3rem; left: 0; height: 1px; content: ""; background: var(--accent); transform: scaleX(0); transition: transform .25s; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); }
.nav-toggle { display: none; margin-left: auto; color: white; border: 1px solid rgba(255,255,255,.4); background: transparent; padding: .45rem .75rem; }
.hero { position: relative; min-height: calc(100vh - 78px); color: white; background: #111; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .68; animation: hero-scale 12s ease-out both; }
.hero::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(0,0,0,.72), transparent 70%); }
.hero-copy { position: relative; z-index: 1; width: min(740px, 88vw); padding: clamp(10rem, 24vh, 18rem) clamp(1.5rem, 8vw, 9rem) 5rem; }
.hero h1, .page-hero h1 { margin: .2em 0; font-size: clamp(2.5rem, 6vw, 5.8rem); font-weight: 500; line-height: 1.08; letter-spacing: .02em; }
.hero-copy > p:last-child { max-width: 560px; font-size: 1.08rem; }
.eyebrow { margin: 0 0 .75rem; color: var(--accent); font-size: .76rem; font-weight: 700; letter-spacing: .2em; }
.content-section, .split-section, .detail-page, .customizer { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; padding: clamp(4rem, 9vw, 9rem) 0; }
.content-section > h2, .split-section h2 { margin: .15em 0 .65em; font-size: clamp(2rem, 4vw, 4.2rem); font-weight: 500; line-height: 1.15; }
.split-section { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 7vw, 7rem); }
.split-section > img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.feature-band:nth-of-type(even) > img { order: -1; }
.statement-section { padding: clamp(5rem, 11vw, 11rem) max(1rem, calc((100% - 760px)/2)); color: white; text-align: center; background: #171717; }
.statement-section h2 { margin: .2em 0; font-size: clamp(2.3rem, 6vw, 5rem); font-weight: 500; }
.statement-section .primary-button { margin: 1.5rem auto 0; color: #111; background: var(--accent); }
.statement-subtitle { color: #ccc; font-size: 1.15rem; }
.link-panels { display: grid; grid-template-columns: repeat(2, 1fr); }
.link-panels a { display: grid; min-height: 380px; padding: 4rem; color: white; background: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.7)), var(--panel-image) center/cover; align-content: end; }
.link-panels span { color: var(--accent); font-size: .75rem; letter-spacing: .2em; }
.link-panels strong { font-size: clamp(2rem, 4vw, 4rem); font-weight: 500; }
.link-panels small { max-width: 28rem; }
.text-link { display: inline-block; margin-top: 1rem; border-bottom: 1px solid var(--ink); font-weight: 600; }
.muted { width: 100%; max-width: none; padding-right: max(1rem, calc((100% - var(--max))/2)); padding-left: max(1rem, calc((100% - var(--max))/2)); background: var(--muted); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); }
.content-card { display: block; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.content-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: #ddd; transition: transform .5s ease; }
.content-card:hover img { transform: scale(.985); }
.content-card h2, .content-card h3 { margin: 1rem 0 .25rem; font-size: 1.2rem; }
.content-card p, .content-card time { color: #666; }
.page-hero { min-height: 42vh; padding: clamp(7rem, 15vw, 13rem) max(1rem, calc((100% - var(--max))/2)); color: white; background: #151515; }
.about-hero { background: linear-gradient(rgba(0,0,0,.42), rgba(0,0,0,.68)), var(--about-cover) center/cover; }
.page-subtitle { margin-top: -1.5rem; color: #777; font-size: 1.1rem; }
.about-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.about-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.narrow { max-width: 880px; }
.page-section { margin-bottom: 6rem; }
.page-section h2 { font-size: clamp(1.8rem, 4vw, 3.5rem); }
.page-section > img { width: 100%; max-height: 620px; margin: 2rem 0; object-fit: cover; }
.detail-page > header { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: clamp(2rem, 7vw, 7rem); }
.detail-cover { width: 100%; max-height: 720px; object-fit: cover; }
.detail-page h1, .customizer h1 { font-size: clamp(2.2rem, 5vw, 5rem); line-height: 1.12; }
.detail-body { max-width: 880px; margin: 5rem auto; }
.rich-text img { height: auto !important; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.dealer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.dealer-card { padding: 1.5rem; border: 1px solid var(--line); background: white; }
.dealer-card a { display: block; margin-top: .5rem; color: #795718; }
.download-list { border-top: 1px solid var(--line); }
.download-item { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.download-item > span:first-child { display: grid; grid-template-columns: 72px 1fr; align-items: center; gap: 1rem; }
.download-item img { grid-row: 1/3; width: 72px; height: 72px; object-fit: cover; }
.contact-form { display: grid; gap: 1.2rem; }
.contact-form label { display: grid; gap: .35rem; font-weight: 600; }
.contact-form input, .contact-form textarea { width: 100%; padding: .8rem; border: 1px solid #aaa; border-radius: 0; background: white; }
.honeypot { position: absolute !important; left: -9999px !important; }
.primary-button { display: inline-flex; width: fit-content; align-items: center; justify-content: center; padding: .8rem 1.5rem; color: white; border: 0; background: var(--ink); cursor: pointer; }
.customizer-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; }
.customizer-preview { display: grid; min-height: 520px; place-items: center; background: white; }
.customizer-preview img { max-height: 560px; object-fit: contain; }
.customizer-field { display: grid; gap: .4rem; margin-bottom: 1.25rem; font-weight: 700; }
.customizer-field select { width: 100%; padding: .75rem; background: white; }
.customizer-summary { display: grid; gap: .25rem; margin: 2rem 0; padding: 1.25rem; border-left: 3px solid var(--accent); background: white; }
.customizer-summary span { color: #666; font-size: .8rem; letter-spacing: .08em; }
.customizer-summary b { color: #795718; font-size: 1.35rem; }
.error-page { display: grid; min-height: 65vh; place-content: center; justify-items: start; padding: 2rem; }
.error-page h1 { margin: 0; font-size: clamp(2.3rem, 6vw, 5rem); }
.site-footer { display: grid; min-height: 300px; padding: 4rem max(1rem, calc((100% - var(--max))/2)); color: #ddd; background: #111; align-content: center; }
.site-footer img { filter: brightness(0) invert(1); }
.site-footer nav { display: flex; gap: 1.5rem; margin: 1rem 0; }
@keyframes hero-scale { from { transform: scale(1.04); } to { transform: scale(1); } }
@media (max-width: 900px) {
  .site-header { min-height: 68px; }
  .nav-toggle { display: block; }
  .main-nav { position: absolute; top: 68px; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: .5rem 1.2rem 1rem; background: #111; flex-direction: column; }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: .75rem 0; }
  .main-nav a::after { display: none; }
  .hero { min-height: 72vh; }
  .hero-copy { padding-top: 25vh; }
  .split-section, .detail-page > header, .customizer-layout { grid-template-columns: 1fr; }
  .feature-band:nth-of-type(even) > img { order: initial; }
  .card-grid, .dealer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .card-grid, .dealer-grid, .gallery, .about-gallery, .link-panels { grid-template-columns: 1fr; }
  .about-hero { background-image: linear-gradient(rgba(0,0,0,.42), rgba(0,0,0,.68)), var(--about-cover-mobile); }
  .content-section, .split-section, .detail-page, .customizer { width: min(100% - 2rem, var(--max)); }
  .page-hero { min-height: 32vh; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
@media print {
  .site-header, .site-footer, .nav-toggle { display: none !important; }
  .customizer { width: 100%; padding: 0; }
  .customizer-layout { grid-template-columns: 1fr 1fr; }
  .primary-button { display: none; }
}
