/* ============================================================
   Home.al 家都汇家居官网 — 前台样式
   风格：Apple / Poliform / Minotti —— 黑白灰、大留白、大图沉浸
   ============================================================ */

:root {
    --ink: #1d1d1f;
    --ink-2: #6e6e73;
    --ink-3: #a1a1a6;
    --line: #e8e8ed;
    --bg-soft: #f5f5f7;
    --brand: #2e5bff;
    --header-h: 64px;
    --radius: 12px;
    --radius-lg: 18px;
    --ease: cubic-bezier(.22, .61, .36, 1);
    --font: "MiSans", -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
}

/* ---------- reset & base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease), opacity .25s var(--ease); }
ul, ol { list-style: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }
::selection { background: rgba(46, 91, 255, .18); }

.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

/* ---------- typography helpers ---------- */
.eyebrow {
    font-size: 12px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: 14px;
    font-weight: 500;
}
.eyebrow.light { color: rgba(255,255,255,.72); }
.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 600;
    letter-spacing: .01em;
    line-height: 1.25;
}
.section-head {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "eyebrow more"
        "title more";
    align-items: end;
    column-gap: 24px;
    margin-bottom: clamp(36px, 5vw, 64px);
}
.section-head .eyebrow { grid-area: eyebrow; }
.section-head .section-title { grid-area: title; }
.section-head .section-more { grid-area: more; align-self: end; }
.section-head.center { grid-template-columns: 1fr; grid-template-areas: "eyebrow" "title"; justify-items: center; text-align: center; }
.section-more {
    flex-shrink: 0;
    font-size: 14px;
    color: var(--ink-2);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid transparent;
}
.section-more i { font-style: normal; transition: transform .3s var(--ease); }
.section-more:hover { color: var(--ink); border-color: var(--ink); }
.section-more:hover i { transform: translateX(4px); }
.section { padding: clamp(72px, 9vw, 120px) 0; }
.empty-tip { grid-column: 1 / -1; text-align: center; color: var(--ink-3); padding: 48px 0; }

/* ---------- grid ---------- */
.grid { display: grid; gap: clamp(18px, 2.5vw, 32px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 34px;
    font-size: 15px;
    letter-spacing: .04em;
    border-radius: 999px;
    transition: all .3s var(--ease);
    white-space: nowrap;
}
.btn-sm { padding: 9px 22px; font-size: 14px; }
.btn-wide { width: 100%; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(0,0,0,.18); }
.btn-ghost { border: 1px solid rgba(255,255,255,.65); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.btn-line { border: 1px solid var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    background: rgba(255,255,255,.86);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    backdrop-filter: saturate(180%) blur(18px);
    border-bottom: 1px solid var(--line);
    transition: transform .45s var(--ease), background .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
    will-change: transform;
}
/* 下滑隐藏，上滑出现 */
.site-header.nav-hidden { transform: translateY(-100%); box-shadow: none; }
.site-header.scrolled { box-shadow: 0 2px 18px rgba(0,0,0,.06); }
.logo-white { display: none; }

/* ---------- 首页首屏：透明沉浸态（滚过首屏后恢复白底） ---------- */
.site-header.header-overlay {
    background: transparent;
    border-bottom-color: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    transition: background .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.header-overlay .logo-default { display: none; }
.site-header.header-overlay .logo-white { display: block; }
.site-header.header-overlay .main-nav ul > li > a { color: rgba(255,255,255,.88); }
.site-header.header-overlay .main-nav li.active > a,
.site-header.header-overlay .main-nav ul > li > a:hover { color: #fff; }
.site-header.header-overlay .lang-switch { color: rgba(255,255,255,.88); }
.site-header.header-overlay .lang-switch:hover { color: #fff; background: rgba(255,255,255,.14); }
.site-header.header-overlay .header-cta { background: transparent; border: 1px solid rgba(255,255,255,.75); color: #fff; }
.site-header.header-overlay .header-cta:hover { background: rgba(255,255,255,.16); transform: none; }
.site-header.header-overlay .nav-toggle span { background: #fff; }
.site-header.header-overlay.scrolled {
    background: rgba(255,255,255,.92);
    border-bottom-color: var(--line);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    backdrop-filter: saturate(180%) blur(18px);
    box-shadow: 0 2px 18px rgba(0,0,0,.06);
}
.site-header.header-overlay.scrolled .logo-default { display: block; }
.site-header.header-overlay.scrolled .logo-white { display: none; }
.site-header.header-overlay.scrolled .main-nav ul > li > a { color: var(--ink-2); }
.site-header.header-overlay.scrolled .main-nav li.active > a,
.site-header.header-overlay.scrolled .main-nav ul > li > a:hover { color: var(--ink); }
.site-header.header-overlay.scrolled .lang-switch { color: var(--ink-2); }
.site-header.header-overlay.scrolled .lang-switch:hover { color: var(--ink); background: var(--bg-soft); }
.site-header.header-overlay.scrolled .header-cta { background: var(--ink); border-color: var(--ink); color: #fff; }
.site-header.header-overlay.scrolled .header-cta:hover { background: #000; transform: translateY(-1px); }
.site-header.header-overlay.scrolled .nav-toggle span { background: var(--ink); }
/* 移动端抽屉打开时，汉堡恢复黑色（抽屉为白底） */
body.nav-open .nav-toggle span { background: var(--ink) !important; }

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    height: var(--header-h);
    display: flex;
    align-items: center;
    gap: 32px;
}
.logo { flex-shrink: 0; display: flex; align-items: center; }
.logo img { height: 34px; width: auto; }

.main-nav { flex: 1; }
.main-nav ul { display: flex; justify-content: center; gap: clamp(20px, 3vw, 44px); }
.main-nav ul > li { position: relative; }
.main-nav ul > li > a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 15px;
    color: var(--ink-2);
    padding: 22px 2px;
    letter-spacing: .02em;
}
.main-nav ul > li > a:hover, .main-nav li.active > a { color: var(--ink); }
.main-nav .caret {
    width: 7px; height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .25s var(--ease);
    opacity: .55;
}
.has-sub:hover .caret { transform: rotate(225deg) translateY(-1px); }

/* 分类下拉 */
.sub-panel {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 18px 48px rgba(0,0,0,.10);
    padding: 12px;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transition: all .28s var(--ease);
}
.has-sub:hover .sub-panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.sub-inner { display: grid; gap: 2px; }
.sub-item { padding: 10px 14px; border-radius: 8px; display: grid; gap: 1px; }
.sub-item:hover { background: var(--bg-soft); }
.sub-top { border-bottom: 1px dashed var(--line); border-radius: 8px 8px 0 0; }
.sub-top .sub-name { font-weight: 600; }
.sub-children { padding: 4px 0 6px; }
.sub-child { padding: 7px 14px 7px 26px; border-radius: 8px; }
.sub-child .sub-name { font-size: 13.5px; color: var(--ink-2); }
.sub-child:hover .sub-name { color: var(--ink); }
.sub-name { font-size: 14.5px; color: var(--ink); }
.sub-en { font-size: 12px; color: var(--ink-3); }

.header-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    color: var(--ink-2);
    padding: 8px 10px;
    border-radius: 999px;
    transition: all .25s var(--ease);
}
.lang-switch:hover { color: var(--ink); background: var(--bg-soft); }
.header-cta { display: inline-flex; }

/* 移动端汉堡 */
.nav-toggle { display: none; width: 40px; height: 40px; position: relative; }
.nav-toggle span {
    position: absolute;
    left: 10px;
    width: 20px;
    height: 1.8px;
    background: var(--ink);
    transition: all .3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 19.5px; }
.nav-toggle span:nth-child(3) { top: 25px; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
.nav-mask {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.32);
    z-index: 90;
    opacity: 0; visibility: hidden;
    transition: all .3s var(--ease);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 560px;
    max-height: 1080px;
    overflow: hidden;
    background: #111;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.4s var(--ease), visibility 1.4s var(--ease);
    display: flex;
    align-items: center;
    z-index: 1;
}
.hero-slide.current { opacity: 1; visibility: visible; z-index: 2; }
/* 背景图层：与文字分离，承载 Ken Burns 缓慢推近 */
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.06);
}
.hero-slide.current .hero-bg {
    animation: heroKenburns 8s var(--ease) forwards;
}
@keyframes heroKenburns {
    from { transform: scale(1.06); }
    to { transform: scale(1); }
}
.hero-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0,0,0,.38) 0%, rgba(0,0,0,.12) 45%, rgba(0,0,0,.42) 100%);
}
.hero-content { position: relative; z-index: 2; width: 100%; color: #fff; }
.hero-eyebrow {
    font-size: 13px;
    letter-spacing: .34em;
    margin-bottom: 18px;
    opacity: .82;
}
.hero-title {
    font-size: clamp(38px, 6.4vw, 76px);
    font-weight: 600;
    line-height: 1.16;
    letter-spacing: .01em;
    max-width: 15em;
}
.hero-sub {
    margin-top: 18px;
    font-size: clamp(16px, 1.6vw, 20px);
    font-weight: 300;
    opacity: .88;
    max-width: 32em;
}
.hero-actions { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero-dots {
    position: absolute;
    bottom: 34px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}
.hero-dots button {
    width: 28px;
    height: 3px;
    border-radius: 2px;
    background: rgba(255,255,255,.36);
    transition: background .3s var(--ease);
}
.hero-dots button.on { background: #fff; }
.hero-scroll {
    position: absolute;
    bottom: 28px;
    right: 44px;
    z-index: 3;
    width: 24px; height: 40px;
    border: 1.5px solid rgba(255,255,255,.6);
    border-radius: 14px;
}
.hero-scroll span {
    position: absolute;
    top: 7px; left: 50%;
    width: 3px; height: 7px;
    margin-left: -1.5px;
    border-radius: 2px;
    background: rgba(255,255,255,.85);
    animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint {
    0%, 100% { transform: translateY(0); opacity: 1; }
    55% { transform: translateY(12px); opacity: .15; }
}

/* ============================================================
   卡片：产品 / 分类 / 新闻
   ============================================================ */
.product-card { display: block; }
.card-media {
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--bg-soft);
}
.card-media img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform .8s var(--ease);
}
.product-card:hover .card-media img { transform: scale(1.045); }
.card-body { padding: 18px 4px 0; }
.card-body h3 { font-size: 17px; font-weight: 600; letter-spacing: .01em; }
.card-body p {
    margin-top: 4px;
    font-size: 13.5px;
    color: var(--ink-2);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.product-card .card-body h3 { position: relative; display: inline-block; }
.product-card .card-body h3::after {
    content: "";
    position: absolute;
    left: 0; bottom: -3px;
    width: 100%; height: 1px;
    background: var(--ink);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .35s var(--ease);
}
.product-card:hover .card-body h3::after { transform: scaleX(1); transform-origin: left; }

/* 分类大卡 */
.cat-grid { gap: clamp(18px, 2vw, 28px); }
.cat-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    aspect-ratio: 16 / 11;
    display: block;
}
.cat-card.tall { aspect-ratio: 16 / 13; }
.cat-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .9s var(--ease);
}
.cat-card:hover img { transform: scale(1.05); }
.cat-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(22px, 3vw, 36px);
    color: #fff;
    background: linear-gradient(180deg, transparent 42%, rgba(0,0,0,.52) 100%);
}
.cat-en {
    font-size: 11.5px;
    letter-spacing: .22em;
    text-transform: uppercase;
    opacity: .75;
}
.cat-overlay h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; margin-top: 6px; }
.cat-overlay p { font-size: 14px; opacity: .85; margin-top: 2px; }
.cat-arrow {
    position: absolute;
    right: clamp(22px, 3vw, 36px);
    bottom: clamp(22px, 3vw, 36px);
    font-size: 22px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all .35s var(--ease);
}
.cat-card:hover .cat-arrow { opacity: 1; transform: translateX(0); }

/* 产品体系：一级大卡 + 子品类卡 */
.system-grid { gap: clamp(18px, 2vw, 28px); }
.system-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    aspect-ratio: 16 / 8.2;
    display: block;
}
.system-card .card-media { position: absolute; inset: 0; border-radius: 0; background: var(--bg-soft); }
.system-card .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.system-card:hover .card-media img { transform: scale(1.05); }
.system-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 24px;
    background: rgba(0,0,0,.30);
    transition: background .4s var(--ease);
}
.system-card:hover .system-overlay { background: rgba(0,0,0,.42); }
.system-overlay .cat-en { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; opacity: .8; }
.system-overlay h3 { font-size: clamp(26px, 3vw, 38px); font-weight: 600; margin-top: 8px; }
.system-overlay p { font-size: 14px; opacity: .85; margin-top: 6px; }
.system-overlay .cat-arrow {
    position: static;
    margin-top: 16px;
    font-size: 20px;
    opacity: 0;
    transform: translateY(-8px);
    transition: all .35s var(--ease);
}
.system-card:hover .cat-arrow { opacity: 1; transform: none; }

.system-children { margin-top: clamp(28px, 4vw, 44px); }
.system-children-title {
    font-size: 13px;
    letter-spacing: .18em;
    color: var(--ink-3);
    text-transform: uppercase;
    margin-bottom: 18px;
}
.system-children-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.child-card { display: block; text-align: center; }
.child-media {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-soft);
    margin-bottom: 12px;
}
.child-media img { width: 100%; aspect-ratio: 1 / 1.12; object-fit: cover; transition: transform .7s var(--ease); }
.child-card:hover .child-media img { transform: scale(1.05); }
.child-name { display: block; font-size: 15.5px; font-weight: 600; color: var(--ink); }
.child-en { display: block; margin-top: 2px; font-size: 12px; letter-spacing: .08em; color: var(--ink-3); text-transform: uppercase; }
.child-card:hover .child-name { color: var(--brand); }

/* 品牌漂浮区：横向流水照片墙（复刻参考站 100 GETHER） */
/* 外层 300vh 提供滚动行程（sticky 行程 = 300vh - 100vh = 1800px，与参考站一致） */
.float-wrap { position: relative; height: 300vh; background: var(--bg-soft); }
.float-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
}
/* 照片墙：纵向差速流动（top/left 取自参考站采样初始值，data-k 为滚动速度系数） */
.float-wall { position: absolute; inset: 0; will-change: transform; }
.wall-photo {
    position: absolute;
    box-shadow: 0 30px 70px rgba(0,0,0,.15);
    border-radius: 4px;
    overflow: hidden;
    will-change: transform;
}
.wall-photo img { width: 100%; height: 100%; object-fit: cover; }
.wp-1 { left: 62px;   top: 410px;  width: 222px; height: 296px; }
.wp-2 { left: 120px;  top: 1400px; width: 263px; height: 329px; }
.wp-3 { left: 613px;  top: 973px;  width: 271px; height: 361px; }
.wp-4 { left: 655px;  top: 1778px; width: 216px; height: 216px; }
.wp-5 { left: 1183px; top: 20px;   width: 197px; height: 263px; }
.wp-6 { left: 1461px; top: 1097px; width: 253px; height: 317px; }
.wp-7 { left: 2003px; top: 379px;  width: 207px; height: 276px; }
.wp-8 { left: 2041px; top: 842px;  width: 246px; height: 308px; }

/* 大字组：固定于视口 45% 高度处，全程可见，随 sticky 释放自然滚出 */
.float-word-wrap {
    position: absolute;
    left: 50%;
    top: 45%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 3;
    pointer-events: none;
}
.float-word {
    font-family: Georgia, 'Times New Roman', 'Songti SC', 'SimSun', serif;
    font-size: clamp(54px, 4.5vw, 68px);
    font-weight: 400;
    letter-spacing: .06em;
    color: rgba(29, 29, 31, .85);
    white-space: nowrap;
    line-height: 1.1;
}
.float-sub {
    margin-top: 16px;
    font-size: 12.5px;
    letter-spacing: .5em;
    text-indent: .5em;
    color: var(--ink-2);
    text-shadow: 0 0 10px rgba(245, 245, 244, .9);
}
/* 品牌故事：行程后期浮现于视口上部 */
.float-copy {
    position: absolute;
    left: 50%;
    top: 14%;
    transform: translateX(-50%);
    z-index: 4;
    max-width: 620px;
    text-align: center;
    opacity: 0;
    text-shadow: 0 0 14px rgba(245, 245, 244, .9), 0 0 30px rgba(245, 245, 244, .7);
}
.float-para {
    font-size: 15px;
    color: var(--ink-2);
    line-height: 2.25;
    text-align: center;
}

/* 精选产品：焦点式横向画廊（拖拽/箭头，不劫持滚动） */
.curated { background: #fff; padding: clamp(72px, 9vw, 120px) 0 clamp(48px, 6vw, 80px); overflow: hidden; }
.curated-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: clamp(30px, 4vw, 52px);
}
.curated-arrows { display: flex; gap: 10px; }
.cur-arrow {
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--ink-2);
    font-size: 18px;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: all .25s var(--ease);
}
.cur-arrow:hover { border-color: var(--ink); color: var(--ink); }
.cur-arrow:active { transform: scale(.94); }
.curated-viewport {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}
.curated-viewport::-webkit-scrollbar { display: none; }
.curated-viewport.dragging { cursor: grabbing; }
.curated-track {
    display: flex;
    gap: clamp(20px, 2.4vw, 36px);
    padding: 0 max(40px, calc((100vw - 1280px) / 2));
    width: max-content;
}
.curated-card { flex: 0 0 clamp(300px, 28vw, 420px); user-select: none; }
.curated-media { overflow: hidden; border-radius: var(--radius); background: var(--bg-soft); }
.curated-media img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; transition: transform .8s var(--ease); }
.curated-card:hover .curated-media img { transform: scale(1.045); }
.curated-body { padding: 16px 4px 0; }
.curated-body h3 { font-size: 17px; font-weight: 600; }
.curated-body p { margin-top: 3px; font-size: 13.5px; color: var(--ink-2); }
.curated-progress-wrap { margin-top: clamp(30px, 4vw, 48px); }
.curated-progress {
    max-width: 380px;
    height: 2px;
    background: var(--line);
    margin: 0 auto;
    border-radius: 2px;
    overflow: hidden;
}
.curated-progress i { display: block; height: 100%; width: 12%; background: var(--ink); border-radius: 2px; transition: width .2s linear; }

/* 新闻卡 */
.news-card { display: block; }
.news-card .card-media img { aspect-ratio: 16 / 10; }
.news-card:hover .card-media img { transform: scale(1.045); }
.news-card time { font-size: 12.5px; color: var(--ink-3); letter-spacing: .08em; }
.news-card .card-body h3 {
    margin-top: 8px;
    font-size: 16.5px;
    font-weight: 600;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card .card-body p {
    margin-top: 6px;
    font-size: 13.5px;
    color: var(--ink-2);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
}
.news-more { display: inline-block; margin-top: 12px; font-size: 13.5px; color: var(--ink-2); }
.news-card:hover .news-more { color: var(--ink); }

/* ============================================================
   品牌视频：全宽封面 + 中央圆形播放按钮（后台"首页视频"可配）
   ============================================================ */
.video-wrap { position: relative; background: #000; }
.video-stage {
    position: relative;
    width: 100%;
    max-height: 82vh;
    margin: 0 auto;
    overflow: hidden;
    background: #000;
}
.video-player {
    display: block;
    width: 100%;
    height: auto;
    max-height: 82vh;
    object-fit: contain;
    background: #000;
}
.video-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 3.2vw, 36px);
    background-size: cover;
    background-position: center;
    cursor: pointer;
    opacity: 1;
    visibility: visible;
    transition: opacity .6s var(--ease), visibility .6s;
}
.video-cover::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.34) 0%, rgba(0,0,0,.16) 44%, rgba(0,0,0,.44) 100%);
    transition: opacity .5s var(--ease);
}
.video-cover:hover::before { opacity: .82; }
.video-stage.playing .video-cover { opacity: 0; visibility: hidden; pointer-events: none; }
.video-copy { position: relative; text-align: center; max-width: min(88vw, 860px); padding: 0 24px; }
.video-title {
    font-size: clamp(26px, 3.6vw, 46px);
    font-weight: 600;
    color: #fff;
    letter-spacing: .02em;
    line-height: 1.3;
    text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.video-sub {
    margin-top: 12px;
    color: rgba(255,255,255,.85);
    font-size: clamp(13px, 1.2vw, 16px);
    letter-spacing: .05em;
    text-shadow: 0 1px 14px rgba(0,0,0,.3);
}
.video-play {
    position: relative;
    width: clamp(62px, 7vw, 88px);
    height: clamp(62px, 7vw, 88px);
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.92);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 40px rgba(0,0,0,.28);
    transition: transform .45s var(--ease), box-shadow .45s var(--ease), background-color .45s var(--ease);
}
.video-play i {
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 11px 0 11px 18px;
    border-color: transparent transparent transparent #fff;
    margin-left: 5px;
}
.video-cover:hover .video-play {
    transform: scale(1.08);
    background-color: rgba(255,255,255,.14);
    box-shadow: 0 10px 48px rgba(0,0,0,.4);
}
.video-duration {
    position: relative;
    font-size: 13px;
    letter-spacing: .16em;
    color: rgba(255,255,255,.88);
    font-variant-numeric: tabular-nums;
    text-shadow: 0 1px 10px rgba(0,0,0,.35);
}

/* ============================================================
   品牌优势 / 场景 CTA / 询盘条
   ============================================================ */
.section-adv { background: var(--bg-soft); }
.adv-grid { text-align: left; }
.adv-item { padding: 8px clamp(4px, 2vw, 24px); }
.adv-num {
    font-size: 13px;
    letter-spacing: .18em;
    color: var(--ink-3);
}
.adv-item h3 { margin-top: 14px; font-size: 20px; font-weight: 600; }
.adv-item p { margin-top: 10px; font-size: 14.5px; color: var(--ink-2); line-height: 1.85; }

.scene-cta {
    position: relative;
    min-height: 520px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    text-align: center;
}
.scene-shade { position: absolute; inset: 0; background: rgba(0,0,0,.42); }
.scene-content { position: relative; z-index: 2; color: #fff; }
.scene-content h2 { font-size: clamp(28px, 4.4vw, 52px); font-weight: 600; }
.scene-content p { margin: 16px auto 30px; max-width: 36em; opacity: .88; }

.inquiry-band { background: var(--ink); color: #fff; padding: clamp(56px, 7vw, 96px) 0; }
.band-inner { text-align: center; }
.band-inner h2 { font-size: clamp(26px, 3.6vw, 42px); font-weight: 600; }
.band-inner p { margin: 12px 0 30px; opacity: .72; font-size: 15px; letter-spacing: .04em; }

/* ============================================================
   内页公共：page-hero / crumbs / 筛选 / 分页
   ============================================================ */
.page-hero {
    position: relative;
    padding: calc(var(--header-h) + clamp(72px, 11vw, 150px)) 0 clamp(44px, 6vw, 72px);
    background: var(--ink);
    overflow: hidden;
}
.page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
    animation: pageHeroIn 9s var(--ease) forwards;
}
@keyframes pageHeroIn {
    from { transform: scale(1.04); }
    to { transform: scale(1); }
}
.page-hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.52) 0%, rgba(0,0,0,.44) 55%, rgba(0,0,0,.60) 100%);
}
.page-hero .container { position: relative; z-index: 1; color: #fff; }
.page-hero h1 {
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 600;
    letter-spacing: .01em;
    color: #fff;
}
.crumbs { margin-top: 12px; font-size: 13.5px; color: rgba(255,255,255,.72); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: rgba(255,255,255,.72); }
.crumbs a:hover { color: #fff; }
.crumbs-tight { margin-bottom: clamp(24px, 3vw, 40px); }

.cat-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: clamp(30px, 4vw, 48px);
}
.filter-item {
    padding: 9px 22px;
    font-size: 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink-2);
    transition: all .25s var(--ease);
}
.filter-item:hover { border-color: var(--ink); color: var(--ink); }
.filter-item.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.cat-filter-sub { margin-top: -18px; }
.cat-filter-sub .filter-item { font-size: 13.5px; padding: 7px 18px; color: var(--ink-3); border-color: transparent; }
.cat-filter-sub .filter-item:hover { color: var(--ink); border-color: var(--line); }
.cat-filter-sub .filter-item.active { background: transparent; border-color: var(--ink); color: var(--ink); }

/* 分类页顶部介绍 */
.cat-intro { padding: clamp(8px, 1.5vw, 20px) 0 clamp(28px, 4vw, 44px); }
.cat-intro h2 { font-size: clamp(22px, 3vw, 32px); font-weight: 600; }
.cat-intro p { margin-top: 10px; color: var(--ink-2); max-width: 56em; font-size: 15px; }

/* 分页（TP5 paginate） */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: clamp(36px, 5vw, 56px); }
.pagination li { display: inline-block; }
.pagination li a, .pagination li span {
    min-width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 14px;
    color: var(--ink-2);
    transition: all .25s var(--ease);
}
.pagination li a:hover { border-color: var(--ink); color: var(--ink); }
.pagination li.active span { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination li.disabled span { color: var(--ink-3); cursor: default; }

/* ============================================================
   产品详情
   ============================================================ */
.product-detail { padding-top: calc(var(--header-h) + 40px); }
.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
}
.gallery-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-soft);
}
.gallery-main img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; transition: opacity .35s var(--ease); }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.thumb {
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 1.5px solid transparent;
    opacity: .72;
    transition: all .25s var(--ease);
}
.thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.thumb.active, .thumb:hover { opacity: 1; border-color: var(--ink); }

.detail-cat { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.detail-info h1 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 600; margin-top: 8px; line-height: 1.3; }
.detail-tagline { margin-top: 8px; font-size: 16px; color: var(--ink-2); }
.detail-summary { margin-top: 16px; font-size: 14.5px; color: var(--ink-2); line-height: 1.9; }

.spec-table { margin-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--line); }
.spec-row {
    display: grid;
    grid-template-columns: 108px 1fr;
    gap: 18px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14.5px;
}
.spec-row dt { color: var(--ink-3); }
.spec-row dd { color: var(--ink); line-height: 1.7; }

.detail-actions { margin-top: clamp(24px, 3vw, 36px); display: flex; gap: 12px; flex-wrap: wrap; }
.whatsapp-inline {
    display: inline-block;
    margin-top: 18px;
    font-size: 13.5px;
    color: var(--ink-2);
    border-bottom: 1px solid var(--line);
    padding-bottom: 2px;
}
.whatsapp-inline:hover { color: var(--ink); border-color: var(--ink); }

.detail-content { margin-top: clamp(48px, 6vw, 80px); }
.related-section { padding-top: 0; }

/* ============================================================
   关于我们
   ============================================================ */
.about-intro-grid, .about-factory-grid {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    gap: clamp(36px, 6vw, 88px);
    align-items: center;
}
.about-intro-media img, .about-factory-media img {
    width: 100%;
    border-radius: var(--radius-lg);
    aspect-ratio: 4 / 3.2;
    object-fit: cover;
}
.about-factory-grid .about-factory-media { order: -1; }
.rich-text { margin-top: 22px; color: var(--ink-2); font-size: 15px; line-height: 2; }
.rich-text p + p { margin-top: 12px; }
.rich-text ul, .rich-text ol { margin: 14px 0 14px 4px; display: grid; gap: 8px; }
.rich-text ul li { position: relative; padding-left: 20px; }
.rich-text ul li::before {
    content: "";
    position: absolute;
    left: 2px; top: .82em;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--ink-3);
}
.rich-text ol { list-style: decimal; padding-left: 22px; }
.rich-text strong { color: var(--ink); font-weight: 600; }
.rich-text em { color: var(--ink-3); font-style: normal; font-size: 13.5px; }
.rich-text-center { text-align: center; max-width: 860px; margin-left: auto; margin-right: auto; }
/* 居中文本内的列表：整体居中收窄，内容左对齐，保证圆点与文字严格对齐 */
.rich-text-center ul, .rich-text-center ol {
    text-align: left;
    max-width: 780px;
    margin: 22px auto 6px;
    padding: 22px 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.rich-text-center ul li { padding-left: 22px; }
.rich-text-center ul li::before { top: .74em; background: var(--brand); }
.rich-text-center ul li + li { margin-top: 4px; }
.rich-text-center ul li strong { font-size: 15.5px; }
.rich-text-center p { margin-top: 16px; }
.rich-text-center ul + p { margin-top: 18px; }

.stat-band { background: var(--bg-soft); padding: clamp(44px, 6vw, 72px) 0; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item strong {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    letter-spacing: -.01em;
    display: block;
}
.stat-item span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--ink-2); }

/* ============================================================
   新闻详情
   ============================================================ */
.article-container { max-width: 820px; }
.article-head h1 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 600; line-height: 1.4; }
.article-meta { margin-top: 14px; display: flex; gap: 18px; font-size: 13.5px; color: var(--ink-3); letter-spacing: .04em; }
.article-cover { margin-top: clamp(26px, 4vw, 44px); }
.article-cover img { width: 100%; border-radius: var(--radius-lg); }
.article-body { margin-top: clamp(26px, 4vw, 44px); font-size: 15.5px; }
.article-body img { border-radius: var(--radius); margin: 18px 0; }
.article-sibling {
    margin-top: clamp(40px, 5vw, 60px);
    padding-top: 26px;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.sibling { display: grid; gap: 5px; font-size: 15px; font-weight: 500; }
.sibling small { color: var(--ink-3); font-size: 12.5px; letter-spacing: .1em; }
.sibling.next { text-align: right; }
.sibling:hover { color: var(--brand); }

/* ============================================================
   联系我们
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
}
.contact-list { margin-top: 26px; display: grid; gap: 22px; }
.contact-list li { display: grid; gap: 3px; }
.contact-list small { color: var(--ink-3); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; }
.contact-list a, .contact-list span { font-size: 16.5px; font-weight: 500; }
.contact-list a:hover { color: var(--brand); }
.contact-channels { margin-top: 30px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.qr-box { display: grid; gap: 6px; justify-items: center; }
.qr-box img { width: 116px; height: 116px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.qr-box span { font-size: 12.5px; color: var(--ink-3); }

.contact-form-wrap {
    background: var(--bg-soft);
    border-radius: var(--radius-lg);
    padding: clamp(28px, 4vw, 48px);
}
.contact-form-wrap h3 { font-size: 22px; font-weight: 600; }
.form-tip { margin-top: 6px; font-size: 13.5px; color: var(--ink-2); }
.form-product {
    margin-top: 16px;
    padding: 10px 16px;
    background: #fff;
    border-radius: 8px;
    font-size: 13.5px;
    color: var(--ink-2);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-field { margin-top: 20px; display: grid; gap: 7px; }
.form-field label { font-size: 13px; color: var(--ink-2); letter-spacing: .04em; }
.form-field input, .form-field textarea {
    font-family: inherit;
    font-size: 15px;
    color: var(--ink);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--line);
    padding: 9px 2px;
    outline: none;
    transition: border-color .3s var(--ease);
    border-radius: 0;
    resize: vertical;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--ink-3); }
.form-field input:focus, .form-field textarea:focus { border-bottom-color: var(--ink); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-actions { margin-top: 30px; display: grid; gap: 14px; justify-items: center; }
.form-msg { font-size: 14px; color: var(--ink-2); text-align: center; }
.form-msg.ok { color: #1d8a3c; }
.form-msg.err { color: #d43a3a; }
.form-msg.loading { color: var(--ink-3); }

/* ============================================================
   右侧悬浮侧边栏（滚过首屏后出现）
   ============================================================ */
.float-sidebar {
    position: fixed;
    right: 20px;
    bottom: 16vh;
    z-index: 90;
    display: grid;
    gap: 2px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 10px 34px rgba(0,0,0,.12);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(14px);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.float-sidebar.show { opacity: 1; visibility: visible; transform: none; }
.fs-item {
    position: relative;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: var(--ink-2);
    border-radius: 9px;
    cursor: pointer;
    transition: background .25s var(--ease), color .25s var(--ease);
    border: none;
    background: none;
    font-family: inherit;
}
.fs-item:hover { background: var(--bg-soft); color: var(--ink); }
.fs-item svg { width: 20px; height: 20px; }
.fs-tip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    background: var(--ink);
    color: #fff;
    font-size: 12.5px;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all .25s var(--ease);
    pointer-events: none;
}
.fs-item:hover .fs-tip { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); }
.fs-qr {
    position: absolute;
    right: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all .25s var(--ease);
    box-shadow: 0 8px 26px rgba(0,0,0,.10);
}
.fs-wechat:hover .fs-qr { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); }
.fs-qr img { display: block; width: 122px; height: 122px; max-width: none; border-radius: 6px; }
.fs-qr::after {
    content: "";
    position: absolute;
    right: -5px;
    top: 50%;
    width: 9px;
    height: 9px;
    background: #fff;
    border-right: 1px solid var(--line);
    border-top: 1px solid var(--line);
    transform: translateY(-50%) rotate(45deg);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); margin-top: clamp(48px, 6vw, 88px); }
.footer-main {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 2fr) minmax(0, 2fr) minmax(0, 3fr);
    gap: clamp(28px, 4vw, 56px);
    padding-top: clamp(44px, 6vw, 72px);
    padding-bottom: clamp(36px, 5vw, 56px);
}
.footer-logo { height: 34px; width: auto; }
.footer-desc { margin-top: 18px; font-size: 13.5px; color: var(--ink-2); line-height: 1.9; max-width: 30em; }
.footer-qrcode { margin-top: 20px; display: grid; gap: 6px; justify-items: start; }
.footer-qrcode img { width: 96px; height: 96px; object-fit: cover; border-radius: 8px; }
.footer-qrcode span { font-size: 12px; color: var(--ink-3); }
.footer-col h4 {
    font-size: 13px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ink-3);
    font-weight: 500;
    margin-bottom: 16px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a, .footer-col li { font-size: 14px; color: var(--ink-2); }
.footer-col a:hover { color: var(--ink); }
.footer-bar { border-top: 1px solid var(--line); }
.footer-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 18px;
    padding-bottom: 18px;
    font-size: 12.5px;
    color: var(--ink-3);
}
.footer-bar a { color: var(--ink-3); }
.footer-bar a:hover { color: var(--ink); }

/* ============================================================
   揭幕 / 视差（首页流动感）
   ============================================================ */
/* 图片揭幕：滚动进入视口后自下而上"水涨"式展开 */
.reveal-mask {
    clip-path: inset(7% 4% 7% 4% round 18px);
    opacity: .001;
    transition: clip-path 1.15s var(--ease), opacity .7s var(--ease);
}
.reveal-mask.revealed { clip-path: inset(0 0 0 0 round 18px); opacity: 1; }
/* 视差容器内的图片由 JS 接管 transform，禁用 hover 缩放与过渡 */
img[data-parallax], [data-parallax] img { transition: none !important; transform: scale(1.14); will-change: transform; }

/* ============================================================
   Reveal 动效
   ============================================================ */
[data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
    .hero-slide.current .hero-bg { animation: none; transform: scale(1); }
    .page-hero-bg { animation: none; transform: scale(1); }
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1024px) {
    .container { padding: 0 28px; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .main-nav ul { gap: 18px; }
    .detail-layout, .about-intro-grid, .about-factory-grid, .contact-grid { grid-template-columns: 1fr; }
    .about-factory-grid .about-factory-media { order: 0; }
    .footer-main { grid-template-columns: 1fr 1fr; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
    .scene-cta { background-attachment: scroll; }
}

@media (max-width: 768px) {
    body { font-size: 15px; }
    .container { padding: 0 20px; }
    .header-inner { padding: 0 20px; gap: 14px; }
    .logo img { height: 30px; }
    .header-cta { display: none; }
    .nav-toggle { display: block; }

    /* 移动端抽屉导航 */
    .main-nav {
        position: fixed;
        top: 0; right: 0;
        width: min(78vw, 340px);
        height: 100vh;
        height: 100dvh;
        background: #fff;
        z-index: 110;
        transform: translateX(100%);
        transition: transform .38s var(--ease);
        overflow-y: auto;
        padding: 84px 28px 40px;
    }
    body.nav-open .main-nav { transform: translateX(0); }
    body.nav-open .nav-mask { opacity: 1; visibility: visible; }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav ul > li { border-bottom: 1px solid var(--line); }
    .main-nav ul > li > a { padding: 16px 2px; font-size: 16px; width: 100%; justify-content: space-between; }
    .sub-panel {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0 0 12px 12px;
        min-width: 0;
        display: none;
    }
    .has-sub.open .sub-panel { display: block; }
    .has-sub:hover .sub-panel { transform: none; }
    .has-sub.open > a .caret { transform: rotate(225deg) translateY(-1px); }

    .hero { min-height: 520px; }
    .hero-scroll { display: none; }
    .hero-actions .btn { padding: 12px 26px; }

    .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
    .cat-grid { grid-template-columns: 1fr; }
    .cat-card, .cat-card.tall { aspect-ratio: 16 / 11; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
    .section-head.center { align-items: center; }
    .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .article-sibling { grid-template-columns: 1fr; gap: 16px; }
    .sibling.next { text-align: left; }
    .footer-main { grid-template-columns: 1fr; gap: 32px; }
    .float-sidebar { right: 12px; bottom: 14px; padding: 4px; }
    .fs-item { width: 40px; height: 40px; }
    .fs-item svg { width: 18px; height: 18px; }
    .float-stage { min-height: 78vh; }
    .float-word { font-size: 26vw; }
    .float-img-a { left: 6%; top: 8%; width: 42vw; }
    .float-img-b { right: 6%; bottom: 7%; width: 48vw; }
    .curated-head { flex-direction: column; align-items: flex-start; gap: 16px; }
    .curated-viewport { overflow-x: auto; -webkit-overflow-scrolling: touch; cursor: auto; }
    .curated-track { padding: 0 20px; }
    .curated-card { flex: 0 0 76vw; }
    .float-wrap { height: 220vh; }
    .wp-1 { left: 5vw;   top: 46vh; width: 30vw; height: 40vw; }
    .wp-2 { left: 10vw;  top: 155vh; width: 36vw; height: 45vw; }
    .wp-3 { left: 46vw;  top: 108vh; width: 36vw; height: 48vw; }
    .wp-4 { left: 50vw;  top: 198vh; width: 28vw; height: 28vw; }
    .wp-5 { left: 72vw;  top: 3vh;  width: 26vw; height: 34vw; }
    .wp-6 { left: 88vw;  top: 122vh; width: 32vw; height: 40vw; }
    .wp-7 { left: 120vw; top: 42vh; width: 26vw; height: 34vw; }
    .wp-8 { left: 124vw; top: 94vh; width: 30vw; height: 38vw; }
    .float-word-wrap { top: 38%; width: 100%; }
    .float-word { font-size: 11vw; }
    .float-sub { font-size: 10px; letter-spacing: .4em; }
    .float-copy { max-width: 86vw; top: 10%; }
    .system-children-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}

@media (max-width: 480px) {
    .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .stat-grid { grid-template-columns: 1fr 1fr; }
    .pagination li a, .pagination li span { min-width: 34px; height: 34px; padding: 0 9px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { justify-content: center; }
}
