/* ==========================================================================
   广禾智能建造 · 官网视觉系统 v3 "Bonsai / Oakridge"
   设计语言：暖白纸面 + 墨黑章节 + 单一红点缀；几何细体大标题；
             等宽小标签；全出血影像；1px 细线；极大留白；无阴影卡片。
   参考：bonsaihomes.com.au/oakridge（配色 / 排版节奏 / 悬浮胶囊导航）
   说明：保留原站全部 class 名、i18n 属性与交互脚本，仅重做视觉层。
   ========================================================================== */

/* ===== Fonts (self-hosted, latin subsets; CJK falls back to system) ===== */
@font-face {
    font-family: 'Unbounded';
    src: url('../fonts/Unbounded.woff2') format('woff2');
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/PlusJakartaSans.woff2') format('woff2');
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'JetBrains Mono';
    src: url('../fonts/JetBrainsMono.woff2') format('woff2');
    font-weight: 400 500;
    font-style: normal;
    font-display: swap;
}

/* ===== Design tokens ===== */
:root {
    /* surface */
    --paper:        #FAF8F5;
    --paper-2:      #F3F0EB;
    --paper-3:      #EDE9E3;
    --line:         #E8E3DC;
    --line-dark:    rgba(255,255,255,.16);
    --ink:          #0A0A0A;
    --night:        #171717;
    --night-2:      #1F1F1F;
    --on-night:     #F4F2EF;
    --on-night-60:  rgba(255,255,255,.60);
    --on-night-40:  rgba(255,255,255,.40);
    --text:         #3D3831;
    --muted:        #756D65;
    --soft:         #9A928A;
    --red:          #ED0800;
    --red-dark:     #C80600;
    --white:        #FFFFFF;

    /* type */
    --f-display: 'Unbounded', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --f-body:    'Plus Jakarta Sans', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
    --f-mono:    'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;

    /* rhythm */
    --sec: 140px;
    --sec-tight: 96px;
    --gutter: 48px;
    --radius: 2px;
    --pill: 999px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --t-fast: .25s;
    --t-mid: .45s;
    --t-slow: .9s;
}

/* ===== Reset & base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--f-body);
    font-size: 15px;
    line-height: 1.75;
    color: var(--text);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

::selection { background: var(--red); color: #fff; }

h1, h2, h3, h4 {
    font-family: var(--f-display);
    font-weight: 300;
    letter-spacing: -.03em;
    line-height: 1.18;
}

/* ===== Floating pill header ===== */
.header {
    position: fixed; top: 22px; left: 0; right: 0; z-index: 1000;
    height: auto; background: transparent; border: 0;
    transition: top var(--t-mid) var(--ease);
}
.header.scrolled { top: 14px; }

.header-inner.container {
    max-width: 1160px;
    height: 58px;
    padding: 0 8px;
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    background: rgba(250, 248, 245, .86);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid rgba(255,255,255,.8);
    border-radius: var(--pill);
    box-shadow: 0 10px 34px rgba(10,10,10,.13), 0 2px 6px rgba(10,10,10,.06);
}

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; padding-left: 4px; }
.logo-icon {
    width: 38px; height: 38px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--red); color: #fff;
    border-radius: 7px;
    font-family: var(--f-display); font-size: 19px; font-weight: 500;
    letter-spacing: -.05em;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name { font-family: var(--f-display); font-size: 13px; font-weight: 500; color: var(--ink); letter-spacing: -.02em; white-space: nowrap; }
.logo-sub { font-family: var(--f-mono); font-size: 8px; color: var(--muted); letter-spacing: .06em; white-space: nowrap; }

.nav { display: flex; gap: 1px; align-items: center; }
.nav-link {
    font-size: 12.5px; font-weight: 500; color: #5C554E;
    padding: 8px 11px; border-radius: var(--pill);
    transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
    white-space: nowrap;
}
.nav-link:hover { color: var(--ink); background: rgba(255,255,255,.75); }
.nav-link.active { color: var(--ink); background: #fff; box-shadow: 0 1px 5px rgba(0,0,0,.10); font-weight: 600; }

.header-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.lang-toggle {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 7px 10px; border-radius: var(--pill);
    border: 1px solid rgba(0,0,0,.12); background: rgba(255,255,255,.45);
    font-family: var(--f-mono); font-size: 11px; color: var(--muted);
    transition: var(--t-fast) var(--ease);
}
.lang-toggle:hover { background: #fff; color: var(--ink); }
.lang-toggle .lang-cn, .lang-toggle .lang-en { font-weight: 500; }
.lang-toggle .lang-cn.active, .lang-toggle .lang-en.active { color: var(--ink); }
.lang-toggle .lang-cn:not(.active), .lang-toggle .lang-en:not(.active) { color: var(--soft); }
.lang-toggle .lang-sep { color: var(--soft); }

.nav-cta {
    padding: 10px 18px; background: var(--red); color: #fff;
    border-radius: var(--pill); font-size: 12.5px; font-weight: 600;
    white-space: nowrap; transition: var(--t-fast) var(--ease);
}
.nav-cta:hover { background: var(--red-dark); transform: translateY(-1px); }

.menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 10px; margin-right: 6px; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 1px; transition: var(--t-fast) var(--ease); }
.menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Mobile nav ===== */
.mobile-nav {
    position: fixed; inset: 0; z-index: 990;
    display: none; flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 4px; padding: 110px 32px 48px;
    background: var(--paper); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity var(--t-mid) var(--ease), transform var(--t-mid) var(--ease), visibility var(--t-mid);
}
.mobile-nav.open { opacity: 1; visibility: visible; transform: none; }
.mobile-nav a {
    font-family: var(--f-display); font-size: 22px; font-weight: 300; color: var(--ink);
    padding: 9px 0; letter-spacing: -.03em;
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--red); }
.mobile-nav-cta {
    margin-top: 22px; padding: 14px 30px; background: var(--red); color: #fff;
    border-radius: var(--pill); font-size: 14px; font-weight: 600;
}
.mobile-lang-toggle {
    margin-top: 18px; display: inline-flex; gap: 8px; align-items: center;
    padding: 10px 18px; background: transparent; border: 1px solid var(--line);
    border-radius: var(--pill); font-family: var(--f-mono); font-size: 12px; color: var(--muted);
}
.mobile-lang-toggle .lang-cn.active, .mobile-lang-toggle .lang-en.active { color: var(--red); font-weight: 600; }
.mobile-lang-toggle .lang-sep { color: var(--soft); }

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 28px; border: 1px solid transparent; border-radius: var(--pill);
    font-size: 13px; font-weight: 600; letter-spacing: .01em; line-height: 1.2;
    transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
                border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: rgba(10,10,10,.35); }
.btn-outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--paper-2); color: var(--ink); }
.btn-light { background: var(--paper-2); color: var(--ink); }
.btn-light:hover { background: var(--line); color: var(--ink); }
.btn-full { width: 100%; }

.hero .btn-outline { color: #fff; border-color: rgba(255,255,255,.5); }
.hero .btn-outline:hover { background: #fff; color: var(--ink); border-color: #fff; }

.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* ===== Hero · full-bleed carousel ===== */
.hero {
    position: relative; min-height: 100vh; min-height: 100svh;
    display: flex; align-items: flex-end;
    background: var(--night); color: #fff; overflow: hidden;
}
.hero .container { position: static; padding-top: 190px; padding-bottom: 92px; }
.hero-grid { display: block; position: static; }

.hero-visual { position: absolute; inset: 0; }
.hero-visual-main {
    position: absolute; inset: 0; width: 100%; height: 100%;
    border-radius: 0; box-shadow: none; border: 0; overflow: hidden; background: #111;
}
.hero-visual-main::after { display: none; }
.hero-visual-icon { display: none; }
.hero-carousel { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-slide {
    position: absolute; inset: 0; width: 100%; height: 100%;
    opacity: 0; transition: opacity 1.1s var(--ease);
}
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-visual-main img { width: 100%; height: 100%; object-fit: cover; }

.hero-pattern {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
        linear-gradient(90deg, rgba(8,8,8,.88) 0%, rgba(8,8,8,.58) 40%, rgba(8,8,8,.10) 82%),
        linear-gradient(0deg, rgba(8,8,8,.76) 0%, rgba(8,8,8,.02) 55%, rgba(8,8,8,.14) 100%);
}

.hero-text { position: relative; z-index: 3; max-width: 960px; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 12px;
    font-family: var(--f-mono); font-size: 11px; font-weight: 500;
    letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.88);
    margin-bottom: 30px;
}
.hero-badge-dot {
    width: 22px; height: 2px; background: var(--red); border-radius: 0;
    display: inline-block; animation: none;
}
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.hero-badge-dot { animation: pulse-dot 2.6s ease-in-out infinite; }

.hero-title {
    font-size: clamp(38px, 5vw, 72px);
    font-weight: 300; line-height: 1.12; letter-spacing: -.045em;
    color: #fff; text-wrap: balance;
}
.hero-title span {
    display: block; margin-top: 22px;
    font-size: .36em; font-weight: 300; letter-spacing: -.01em;
    color: rgba(255,255,255,.68); line-height: 1.5;
}
.hero-subtitle {
    max-width: 62ch; margin-top: 28px;
    font-size: 14.5px; line-height: 1.9; color: rgba(255,255,255,.72);
}
.hero-subtitle br { display: block; }

.hero-visual-float { display: none; }
.float-icon, .float-text, .float-label, .float-value { display: none; }

.hero-carousel-dots {
    position: absolute; right: var(--gutter); bottom: 46px; z-index: 4;
    display: flex; align-items: center; gap: 8px;
}
.hero-carousel-dots .dot {
    width: 26px; height: 3px; padding: 0; border: 0; border-radius: 0;
    background: rgba(255,255,255,.38); transition: width var(--t-mid) var(--ease), background var(--t-mid) var(--ease);
}
.hero-carousel-dots .dot.active { width: 50px; background: var(--red); }
.hero-carousel-dots .dot:hover { background: rgba(255,255,255,.8); }
.hero-carousel-dots .dot.active:hover { background: var(--red); }

/* ===== Stats bar ===== */
.stats-bar { position: relative; padding: 0; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-bar::before { display: none; }
.stats-bar .container { position: relative; z-index: 1; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-bar .stat-item {
    padding: 46px 28px; text-align: left;
    border-right: 1px solid var(--line); position: relative;
}
.stats-bar .stat-item:first-child { padding-left: 0; }
.stats-bar .stat-item:last-child { border-right: 0; }
.stat-icon { display: block; font-size: 15px; color: var(--red); filter: grayscale(1); opacity: .75; margin-bottom: 14px; }
.stat-number {
    font-family: var(--f-display); font-size: clamp(34px, 3.4vw, 52px);
    font-weight: 300; letter-spacing: -.06em; line-height: 1; color: var(--ink);
}
.stat-label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; color: var(--muted); margin-top: 12px; }

/* ===== Section common ===== */
.section { padding: var(--sec) 0; position: relative; background: var(--paper); }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--night); color: var(--on-night); }

.section-header { max-width: 900px; margin-bottom: 68px; }
.section-label {
    display: flex; align-items: center; gap: 12px;
    font-family: var(--f-mono); font-size: 11px; font-weight: 500;
    letter-spacing: .2em; text-transform: uppercase; color: var(--red);
    margin-bottom: 26px;
}
.section-label::before { content: ''; display: block; width: 26px; height: 1px; background: var(--red); flex-shrink: 0; }
.section-title {
    font-size: clamp(30px, 3.6vw, 50px);
    font-weight: 300; line-height: 1.16; letter-spacing: -.04em; color: var(--ink);
}
.section-title span { color: var(--red); }
.section-desc { max-width: 64ch; margin-top: 22px; font-size: 15px; line-height: 1.85; color: var(--muted); }

.section-dark .section-title { color: var(--on-night); }
.section-dark .section-desc { color: var(--on-night-60); }
.section-dark .section-label { color: #FF5B54; }
.section-dark .section-label::before { background: #FF5B54; }

/* ===== Products ===== */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; counter-reset: prod; }
.product-card {
    counter-increment: prod; background: transparent; border: 0; border-radius: 0;
    box-shadow: none; overflow: visible; transition: none;
}
.product-card:hover { transform: none; box-shadow: none; }
.product-card-img {
    position: relative; aspect-ratio: 4 / 5; overflow: hidden;
    background: var(--paper-3); border-radius: var(--radius);
}
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.product-card:hover .product-card-img img { transform: scale(1.055); }
.product-card-img .bg-gradient-blue,
.product-card-img .bg-gradient-green,
.product-card-img .bg-gradient-amber,
.product-card-img .bg-gradient-purple { display: none; }
.product-card-img .product-card-img-icon { display: none; }
.product-card-img .product-card-img-tag {
    position: absolute; top: 14px; left: 14px; z-index: 2;
    background: var(--red); color: #fff; padding: 6px 11px; border-radius: 2px;
    font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
}
.product-card-body { padding: 22px 0 0; }
.product-card-body::before {
    content: '0' counter(prod) ' /'; display: block; margin-bottom: 14px;
    font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; color: var(--red);
}
.product-card-body h3 { font-size: 19px; font-weight: 400; color: var(--ink); letter-spacing: -.03em; margin-bottom: 10px; }
.product-card-body p { font-size: 13.5px; line-height: 1.8; color: var(--muted); }
.product-card-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.product-tag {
    padding: 5px 10px; border: 1px solid var(--line); border-radius: var(--pill);
    font-family: var(--f-mono); font-size: 10px; letter-spacing: .04em; color: var(--muted); background: transparent;
}
.product-tag.blue, .product-tag.green, .product-tag.amber { color: var(--muted); background: transparent; border-color: var(--line); }

/* ===== Advantages ===== */
.adv-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.adv-card {
    padding: 42px 34px 46px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
    background: transparent; border-radius: 0; box-shadow: none;
    transition: background var(--t-mid) var(--ease);
}
.adv-card:hover { background: rgba(237,8,0,.035); transform: none; box-shadow: none; }
.adv-card-icon {
    width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    background: transparent; border: 1px solid var(--line); border-radius: 2px;
    font-size: 19px; margin-bottom: 28px; filter: grayscale(1); opacity: .8;
}
.adv-card-icon.blue, .adv-card-icon.green, .adv-card-icon.amber { background: transparent; border-color: var(--line); }
.adv-card h3 { font-size: 18px; font-weight: 400; color: var(--ink); margin-bottom: 12px; letter-spacing: -.03em; }
.adv-card p { font-size: 13.5px; line-height: 1.85; color: var(--muted); }

/* ===== Technical specs table ===== */
.specs-table-wrap { overflow-x: auto; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.specs-table { width: 100%; border-collapse: collapse; min-width: 680px; }
.specs-table thead tr { background: transparent; }
.specs-table th {
    text-align: left; padding: 16px 18px; background: transparent;
    border-bottom: 2px solid var(--ink);
    font-family: var(--f-mono); font-size: 10.5px; font-weight: 500;
    letter-spacing: .16em; text-transform: uppercase; color: var(--muted); white-space: nowrap;
}
.specs-table tbody tr { border-bottom: 1px solid var(--line); transition: background var(--t-fast) var(--ease); }
.specs-table tbody tr:hover { background: var(--paper-2); }
.specs-table tbody tr:last-child { border-bottom: 1px solid var(--line); }
.specs-table td { padding: 19px 18px; font-size: 14px; color: var(--text); vertical-align: top; }
.specs-table td.spec-name { font-weight: 600; color: var(--ink); }
.specs-table td:nth-child(2) { color: var(--muted); }
.specs-table td:nth-child(3) { font-family: var(--f-mono); font-size: 13px; }
.specs-table td:nth-child(4) { color: var(--muted); font-size: 13px; }
.specs-note {
    display: flex; align-items: flex-start; gap: 18px; margin-top: 38px; padding: 20px 24px;
    background: transparent; border-left: 2px solid var(--red); border-radius: 0;
}
.specs-note-icon { font-size: 18px; filter: grayscale(1); opacity: .7; }
.specs-note p { font-size: 13px; line-height: 1.8; color: var(--muted); }
.specs-note a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

/* ===== Film / video chapter ===== */
.film-section { overflow: hidden; }
.film-section .section-header { margin-bottom: 54px; }
.film-frame {
    position: relative; width: 100%; aspect-ratio: 16 / 9;
    background: #000; overflow: hidden; border-radius: var(--radius);
}
.film-video { display: block; width: 100%; height: 100%; object-fit: cover; background: #000; }
.film-play {
    position: absolute; inset: 0; z-index: 3;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
    background: transparent; border: 0; color: #fff;
    transition: opacity var(--t-mid) var(--ease);
}
.film-play.is-hidden { opacity: 0; pointer-events: none; }
.film-play-icon {
    position: relative; width: 92px; height: 92px; border-radius: 50%;
    background: var(--red); box-shadow: 0 12px 40px rgba(0,0,0,.35);
    transition: transform var(--t-mid) var(--ease), background var(--t-mid) var(--ease);
}
.film-play-icon::after {
    content: ''; position: absolute; top: 50%; left: 52%; transform: translate(-50%, -50%);
    width: 0; height: 0; border-left: 22px solid #fff;
    border-top: 13px solid transparent; border-bottom: 13px solid transparent;
}
.film-play:hover .film-play-icon { transform: scale(1.09); background: var(--red-dark); }
.film-play-label {
    font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
    color: #fff; padding: 9px 18px; border-radius: var(--pill);
    background: rgba(10,10,10,.55); backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.film-caption {
    position: absolute; left: 32px; bottom: 26px; z-index: 2;
    font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em;
    text-transform: uppercase; color: rgba(255,255,255,.75);
    text-shadow: 0 1px 8px rgba(0,0,0,.6); pointer-events: none;
}
.film-section.is-playing .film-caption { opacity: 0; }
.film-facts {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px;
    margin-top: 64px; padding-top: 34px; border-top: 1px solid var(--line-dark);
}
.film-fact-num {
    font-family: var(--f-display); font-size: clamp(30px, 3.2vw, 46px);
    font-weight: 300; letter-spacing: -.05em; color: var(--on-night); line-height: 1.1;
}
.film-fact-label {
    margin-top: 12px; font-family: var(--f-mono); font-size: 11px;
    letter-spacing: .1em; color: var(--on-night-60);
}

/* ===== Cases ===== */
.case-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 44px; }
.case-filter-btn {
    padding: 9px 20px; border: 1px solid var(--line); border-radius: var(--pill);
    background: transparent; color: var(--muted); font-size: 12.5px; font-weight: 500;
    transition: var(--t-fast) var(--ease);
}
.case-filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.case-filter-btn.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.case-card { background: transparent; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
.case-card:hover { transform: none; box-shadow: none; }
.case-card.hidden { display: none; }
.case-card-img {
    position: relative; aspect-ratio: 4 / 3; overflow: hidden;
    background: var(--paper-3); border-radius: var(--radius);
}
.case-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.case-card:hover .case-card-img img { transform: scale(1.055); }
.case-card-img .bg, .case-card-img .case-card-img-icon { display: none; }
.case-card-body { padding: 22px 0 0; }
.case-card .case-location { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.case-card .case-year { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; color: var(--soft); margin-left: 12px; }
.case-card-body h3 { font-size: 19px; font-weight: 400; color: var(--ink); margin: 14px 0 10px; letter-spacing: -.03em; }
.case-card-body p { font-size: 13.5px; line-height: 1.8; color: var(--muted); }
.case-card-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.case-tag {
    padding: 5px 10px; border: 1px solid var(--line); border-radius: var(--pill);
    font-family: var(--f-mono); font-size: 10px; color: var(--muted); background: transparent;
}
.case-tag.blue, .case-tag.green, .case-tag.amber { color: var(--muted); background: transparent; border-color: var(--line); }
.case-region { font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.case-region.domestic { color: var(--ink); }
.case-region.overseas { color: var(--red); }
.case-details { margin-top: 18px; border-top: 1px solid var(--line); }
.case-details li { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.case-details li span { color: var(--ink); text-align: right; }

/* ===== Design gallery ===== */
.gallery-section { padding-top: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-item {
    position: relative; aspect-ratio: 4 / 3; overflow: hidden;
    background: var(--paper-3); border-radius: var(--radius); cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item-overlay {
    position: absolute; inset: 0; z-index: 1;
    display: flex; align-items: flex-end; padding: 20px;
    background: linear-gradient(0deg, rgba(8,8,8,.86) 0%, rgba(8,8,8,.15) 55%, transparent 100%);
    opacity: 0; transition: opacity var(--t-mid) var(--ease);
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-info { color: #fff; transform: translateY(8px); transition: transform var(--t-mid) var(--ease); }
.gallery-item:hover .gallery-item-info { transform: none; }
.gallery-item-title { font-family: var(--f-display); font-size: 15px; font-weight: 400; letter-spacing: -.02em; }
.gallery-item-meta { font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; color: rgba(255,255,255,.7); margin-top: 7px; }
.gallery-item-tag {
    position: absolute; top: 12px; left: 12px; z-index: 2;
    padding: 5px 9px; background: var(--red); color: #fff; border-radius: 2px;
    font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .08em;
}

/* ===== Process ===== */
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 26px; position: relative; }
.process-grid::before { content: ''; position: absolute; top: 34px; left: 0; right: 0; height: 1px; background: var(--line); }
.process-step { position: relative; z-index: 1; }
.process-step-num {
    display: flex; align-items: center; justify-content: flex-start;
    width: 76px; height: 68px; background: var(--paper);
    font-family: var(--f-display); font-size: 42px; font-weight: 300;
    letter-spacing: -.07em; color: var(--ink); line-height: 1;
    transition: color var(--t-mid) var(--ease);
}
.process-step:hover .process-step-num { color: var(--red); }
.process-step h3 { font-size: 16px; font-weight: 400; color: var(--ink); margin: 12px 0 10px; letter-spacing: -.025em; }
.process-step p { font-size: 13px; line-height: 1.8; color: var(--muted); }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-image { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-3); border-radius: var(--radius); }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-image .about-image-icon { display: none; }
.about-image .about-image-badge {
    position: absolute; left: 24px; bottom: 24px;
    display: flex; align-items: baseline; gap: 10px;
    padding: 16px 22px; background: var(--night); color: #fff; border-radius: 2px;
}
.about-image-badge .badge-num { font-family: var(--f-display); font-size: 30px; font-weight: 300; letter-spacing: -.06em; }
.about-image-badge .badge-label { font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; color: var(--on-night-60); }
.about-content h2 { font-size: clamp(28px, 2.8vw, 38px); font-weight: 300; color: var(--ink); margin-bottom: 22px; }
.about-content h2 span { color: var(--red); }
.about-content .lead { font-size: 16px; line-height: 1.9; color: var(--text); margin-bottom: 20px; }
.about-content p { font-size: 14px; line-height: 1.95; color: var(--muted); margin-bottom: 16px; }

/* Timeline */
.timeline { margin-top: 86px; padding-top: 40px; border-top: 1px solid var(--line); }
.timeline-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.timeline-grid::before { content: ''; position: absolute; top: 7px; left: 0; right: 0; height: 1px; background: var(--line); }
.timeline-item { position: relative; z-index: 1; padding-top: 30px; }
.timeline-dot { position: absolute; top: 2px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--paper-2); border: 2px solid var(--red); }
.timeline-year { font-family: var(--f-display); font-size: 26px; font-weight: 300; letter-spacing: -.05em; color: var(--ink); }
.timeline-desc { font-size: 13px; line-height: 1.8; color: var(--muted); margin-top: 10px; }

/* ===== Certifications ===== */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cert-card {
    padding: 38px 30px 42px; background: transparent; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
    border-radius: 0; box-shadow: none; transition: background var(--t-mid) var(--ease);
}
.cert-card:hover { background: rgba(237,8,0,.035); transform: none; box-shadow: none; }
.cert-badge { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 2px; display: flex; align-items: center; justify-content: center; font-size: 16px; filter: grayscale(1); opacity: .8; margin-bottom: 26px; }
.cert-card h3 { font-size: 16px; font-weight: 400; color: var(--ink); margin-bottom: 12px; letter-spacing: -.025em; }
.cert-card p { font-size: 13px; line-height: 1.8; color: var(--muted); }
.cert-year { font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; color: var(--red); margin-top: 18px; display: block; }

/* ===== News ===== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.news-card { padding: 26px 0 0; border-top: 1px solid var(--ink); background: transparent; border-radius: 0; box-shadow: none; }
.news-card:hover { transform: none; box-shadow: none; }
.news-card-date { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; color: var(--red); }
.news-card h3 { font-size: 18px; font-weight: 400; color: var(--ink); margin: 16px 0 12px; letter-spacing: -.025em; line-height: 1.45; }
.news-card p { font-size: 13.5px; line-height: 1.85; color: var(--muted); }

/* ===== FAQ ===== */
.faq-list { max-width: 960px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); background: transparent; }
.faq-item:hover { background: transparent; }
.faq-question {
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    width: 100%; padding: 26px 4px; background: transparent; border: 0; text-align: left;
    font-family: var(--f-display); font-size: 16px; font-weight: 400; color: var(--ink);
    letter-spacing: -.02em;
}
.faq-question:hover { color: var(--red); }
.faq-icon { position: relative; flex-shrink: 0; width: 22px; height: 22px; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; top: 50%; left: 50%; background: var(--red); transform: translate(-50%,-50%); transition: transform var(--t-mid) var(--ease); }
.faq-icon::before { width: 16px; height: 1.5px; }
.faq-icon::after { width: 1.5px; height: 16px; }
.faq-item.open .faq-icon::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height var(--t-mid) var(--ease); }
.faq-item.open .faq-answer { max-height: 420px; }
.faq-answer p { padding: 0 4px 28px; font-size: 14px; line-height: 1.9; color: var(--muted); }
.faq-answer a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

/* ===== Support ===== */
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.support-card { padding: 40px 34px 44px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; border-radius: 0; box-shadow: none; }
.support-card:hover { background: rgba(237,8,0,.035); transform: none; box-shadow: none; }
.support-card-icon { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 2px; display: flex; align-items: center; justify-content: center; font-size: 19px; filter: grayscale(1); opacity: .8; margin-bottom: 26px; }
.support-card-icon.blue, .support-card-icon.green { border-color: var(--line); background: transparent; }
.support-card h3 { font-size: 17px; font-weight: 400; color: var(--ink); margin-bottom: 12px; }
.support-card p { font-size: 13.5px; line-height: 1.85; color: var(--muted); }

/* ===== Contact (dark chapter) ===== */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.contact-info-card { padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.contact-info-item { display: flex; gap: 20px; align-items: flex-start; padding: 26px 0; border-bottom: 1px solid var(--line-dark); }
.contact-info-item + .contact-info-item { margin-top: 0; }
.contact-info-icon {
    width: 38px; height: 38px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
    background: transparent; border: 1px solid var(--line-dark); border-radius: 2px;
    font-size: 17px; filter: grayscale(1); opacity: .85;
}
.contact-info-icon.blue, .contact-info-icon.green, .contact-info-icon.amber { background: transparent; border-color: var(--line-dark); }
.contact-info-item h4 { font-family: var(--f-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--on-night-60); margin-bottom: 7px; }
.contact-info-item p { font-size: 15px; color: var(--on-night); line-height: 1.7; }
.contact-info-item a:hover { color: #FF5B54; }

.contact-form-wrap { padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.contact-form-wrap h3 { font-size: 24px; font-weight: 300; color: var(--on-night); margin-bottom: 28px; }
.contact-form input, .contact-form textarea, .contact-form select {
    width: 100%; padding: 15px 16px; background: rgba(255,255,255,.04);
    border: 1px solid var(--line-dark); border-radius: 2px;
    color: var(--on-night); font-size: 14px; transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,.35); }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
    outline: none; border-color: var(--red); background: rgba(255,255,255,.07);
}
.contact-form select option { background: var(--night); color: var(--on-night); }
.contact-form textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-row input, .form-row select { margin-bottom: 0; }
.contact-form > input, .contact-form > textarea, .contact-form > .form-row { margin-bottom: 14px; }
.form-note { font-size: 12px; color: var(--on-night-40); margin-top: 14px; }
.form-status { margin-top: 14px; font-size: 13px; }
.form-status.success { color: #7DDC9B; }
.form-status.sending { color: var(--on-night-60); }

/* ===== Footer ===== */
.footer { background: #0A0A0A; color: rgba(255,255,255,.62); padding: 96px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 56px; padding-bottom: 72px; }
.footer-brand p { max-width: 40ch; margin-top: 24px; font-size: 13.5px; line-height: 1.9; color: rgba(255,255,255,.5); }
.footer .logo-icon { background: var(--red); }
.footer .logo-name { color: #fff; }
.footer .logo-sub { color: rgba(255,255,255,.4); }
.footer h4 { font-family: var(--f-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: #fff; margin-bottom: 22px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 13.5px; color: rgba(255,255,255,.6); transition: color var(--t-fast) var(--ease); }
.footer-links a:hover { color: #fff; }
.footer-contact p { font-size: 13.5px; line-height: 1.9; color: rgba(255,255,255,.6); }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
    padding: 26px 0; border-top: 1px solid rgba(255,255,255,.12);
    font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .06em; color: rgba(255,255,255,.38);
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: #fff; }

/* ===== Back to top / floating contact ===== */
.back-to-top {
    position: fixed; right: 28px; bottom: 28px; z-index: 900;
    width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
    background: var(--ink); color: #fff; border-radius: 2px; font-size: 17px;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: var(--t-mid) var(--ease);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--red); color: #fff; }

.float-contact-bar { display: none; }
.float-contact-item { display: flex; align-items: center; justify-content: center; gap: 8px; flex: 1; padding: 14px; font-size: 13px; font-weight: 600; color: #fff; }
.float-contact-item.float-phone { background: var(--red); }
.float-contact-item.float-message { background: var(--ink); }
.float-contact-icon { font-size: 15px; }

/* ===== Page banner (sub-pages, legacy) ===== */
.page-banner { padding: 190px 0 90px; background: var(--night); text-align: left; position: relative; overflow: hidden; }
.page-banner::before { display: none; }
.page-banner-title { font-size: clamp(34px, 4.6vw, 62px); font-weight: 300; color: #fff; letter-spacing: -.04em; }
.page-banner-subtitle { font-size: 15px; color: var(--on-night-60); margin-top: 16px; }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 1280px) {
    :root { --gutter: 36px; }
    .nav-link { padding: 8px 8px; font-size: 12px; }
    .logo-sub { display: none; }
}

@media (max-width: 1120px) {
    .nav, .header-right .lang-toggle { display: none; }
    .menu-btn { display: flex; }
    .mobile-nav { display: flex; }
    .header-inner.container { max-width: 720px; }
    .process-grid { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
    .process-grid::before { display: none; }
}

@media (max-width: 1024px) {
    :root { --sec: 108px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 30px; }
    .case-grid { grid-template-columns: repeat(2, 1fr); }
    .adv-grid { grid-template-columns: repeat(2, 1fr); }
    .cert-grid { grid-template-columns: repeat(2, 1fr); }
    .support-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .about-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
    .contact-grid { grid-template-columns: 1fr; gap: 56px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 44px; }
    .hero .container { padding-top: 170px; padding-bottom: 80px; }
    .hero-title { font-size: clamp(36px, 6vw, 60px); }
    .hero-carousel-dots { right: var(--gutter); bottom: 32px; }
}

@media (max-width: 768px) {
    :root { --gutter: 24px; --sec: 88px; }
    .header { top: 14px; }
    .header.scrolled { top: 10px; }
    .header-inner.container { height: 54px; }
    .logo-icon { width: 34px; height: 34px; font-size: 17px; }
    .logo-name { font-size: 12px; }
    .nav-cta { padding: 9px 15px; font-size: 12px; }

    .hero { min-height: 92svh; }
    .hero .container { padding-top: 150px; padding-bottom: 74px; }
    .hero-badge { margin-bottom: 22px; font-size: 10px; }
    .hero-title { font-size: clamp(32px, 8.5vw, 50px); }
    .hero-title span { margin-top: 16px; font-size: .46em; }
    .hero-subtitle { margin-top: 20px; font-size: 13.5px; }
    .hero-btns { margin-top: 30px; gap: 10px; }
    .hero-btns .btn { padding: 12px 20px; font-size: 12.5px; }
    .hero-pattern {
        background: linear-gradient(90deg, rgba(8,8,8,.82) 0%, rgba(8,8,8,.52) 60%, rgba(8,8,8,.32) 100%),
                    linear-gradient(0deg, rgba(8,8,8,.75), transparent 65%);
    }
    .hero-carousel-dots { bottom: 26px; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-bar .stat-item { padding: 30px 18px; }
    .stats-bar .stat-item:nth-child(2) { border-right: 0; }
    .stats-bar .stat-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .stats-bar .stat-item:nth-child(3) { padding-left: 0; }
    .stat-number { font-size: 36px; }

    .section-header { margin-bottom: 46px; }
    .section-title { font-size: clamp(28px, 7vw, 38px); }
    .section-label { margin-bottom: 20px; font-size: 10px; }

    .adv-grid, .support-grid, .cert-grid, .news-grid, .case-grid, .product-grid { grid-template-columns: 1fr; }
    .adv-card, .support-card, .cert-card { padding: 32px 24px; }
    .news-grid { gap: 26px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .gallery-item-overlay { opacity: 1; padding: 14px; background: linear-gradient(0deg, rgba(8,8,8,.8), transparent 70%); }
    .gallery-item-title { font-size: 12.5px; }
    .gallery-item-meta { font-size: 9px; }

    .process-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
    .process-step-num { font-size: 36px; height: 54px; width: 62px; }
    .timeline-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
    .timeline-grid::before { display: none; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-image { aspect-ratio: 4 / 3; }
    .timeline { margin-top: 56px; }

    .film-facts { grid-template-columns: 1fr; gap: 22px; margin-top: 40px; }
    .film-play-icon { width: 68px; height: 68px; }
    .film-play-icon::after { border-left-width: 17px; border-top-width: 10px; border-bottom-width: 10px; }
    .film-caption { left: 18px; bottom: 16px; font-size: 9px; }

    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; padding-bottom: 50px; }
    .footer { padding-top: 72px; }
    .footer-bottom { flex-direction: column; }

    .float-contact-bar {
        display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
        background: var(--ink);
    }
    .back-to-top { bottom: 78px; right: 18px; width: 40px; height: 40px; }
    .case-filter { gap: 6px; }
    .case-filter-btn { padding: 8px 15px; font-size: 12px; }
    .faq-question { font-size: 14.5px; padding: 22px 2px; }
}

@media (max-width: 480px) {
    :root { --gutter: 20px; }
    .hero-title { font-size: 34px; }
    .hero-title span { font-size: .48em; }
    .hero-btns .btn { flex: 1 1 auto; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-number { font-size: 30px; }
    .gallery-grid { gap: 8px; }
    .specs-table th, .specs-table td { padding: 14px 12px; }
    .footer-grid { grid-template-columns: 1fr; }
    .film-play-label { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}
