/* ==========================================================================
   FUPAI · Industrial template
   Author: Fupai CMS
   Palette: charcoal #0f1319 / orange #e8551f / steel #5c6672
   ========================================================================== */

:root {
    --orange: #e8551f;
    --orange-bright: #ff6a2f;
    --orange-deep: #c8410f;
    --ink: #0f1319;
    --ink-2: #161c24;
    --ink-3: #1e2630;
    --steel: #5c6672;
    --steel-light: #8b96a3;
    --line: #e4e7ea;
    --paper: #f4f5f6;
    --white: #ffffff;
    --container: 1240px;
    --font: "Inter", "Helvetica Neue", Helvetica, Arial, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.62;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
figure { margin: 0; }

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

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--orange);
    color: #fff;
    padding: 10px 18px;
    z-index: 999;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   Typography helpers
   -------------------------------------------------------------------------- */

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--orange);
}
.eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    background: var(--orange);
    display: block;
}
.eyebrow.light { color: #ff8455; }
.eyebrow.light::before { background: #ff8455; }

.section-title {
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -.015em;
    margin-top: 14px;
}

.lead {
    font-size: 17px;
    line-height: 1.75;
    color: var(--steel);
}

.section { padding: 100px 0; }
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 52px;
}
.section-note {
    max-width: 360px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--steel);
    text-align: right;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 50px;
    padding: 0 26px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    border: 1px solid transparent;
    border-radius: 1px;
    transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
    white-space: nowrap;
}
.btn svg { flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-deep); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }

.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f1f1f1; }

.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }

.btn-ghost { border-color: rgba(255, 255, 255, .4); color: #fff; backdrop-filter: blur(2px); }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn-sm { height: 42px; padding: 0 18px; font-size: 12px; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink);
    transition: color .2s var(--ease), gap .2s var(--ease);
}
.link-arrow:hover { color: var(--orange); gap: 12px; }
.link-arrow svg { color: var(--orange); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
}

.topbar {
    background: var(--ink);
    color: #98a2ad;
    font-size: 12.5px;
}
.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 38px;
    gap: 20px;
}
.topbar-left { display: flex; align-items: center; gap: 26px; min-width: 0; }
.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color .2s;
}
.topbar-item:hover { color: #fff; }
.topbar-item svg { color: var(--orange); }
.topbar-right { display: flex; align-items: center; gap: 24px; }
.topbar-tag {
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #6f7a86;
    white-space: nowrap;
}

.lang-switch { position: relative; }
.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: none;
    border: 0;
    color: #cfd6de;
    font-size: 12px;
    letter-spacing: .08em;
    padding: 4px 0;
}
.lang-btn:hover { color: #fff; }
.lang-btn svg { color: var(--orange); }
.lang-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 7px);
    min-width: 168px;
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(15, 19, 25, .16);
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: .2s var(--ease);
    z-index: 120;
}
.lang-switch.is-open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu a {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 16px;
    font-size: 13px;
}
.lang-menu a:hover { background: var(--paper); }
.lang-menu a.is-active { color: var(--orange); font-weight: 600; }
.lang-code { font-size: 10px; color: var(--steel-light); letter-spacing: .1em; }

.navbar { border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.navbar.is-scrolled { box-shadow: 0 8px 28px rgba(15, 19, 25, .08); }
.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    height: 78px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { width: 34px; height: 34px; display: block; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong {
    font-size: 25px;
    font-weight: 800;
    letter-spacing: .1em;
}
.brand-text em {
    font-style: normal;
    font-size: 10.5px;
    letter-spacing: .04em;
    color: var(--steel-light);
    margin-top: 3px;
}
.brand-light .brand-text strong { color: #fff; }
.brand-light .brand-text em { color: #6f7a86; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
    position: relative;
    padding: 10px 14px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink);
    transition: color .2s;
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 2px;
    height: 2px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--ease);
}
.nav-link:hover { color: var(--orange); }
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--orange); }

.nav-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.nav-quote svg { color: #fff; }

.burger {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    background: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
}
.burger span { width: 18px; height: 2px; background: var(--ink); transition: .25s; }

/* Mobile drawer */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(9, 12, 16, .55);
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    z-index: 300;
}
.nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 86vw);
    height: 100%;
    background: var(--ink);
    color: #fff;
    z-index: 310;
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    display: flex;
    flex-direction: column;
    padding: 22px 26px 32px;
    overflow-y: auto;
}
.nav-open .nav-drawer { transform: none; }
.nav-open .nav-overlay { opacity: 1; visibility: visible; }
.nav-open { overflow: hidden; }

.nav-drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.drawer-close {
    background: none;
    border: 1px solid rgba(255, 255, 255, .2);
    color: #fff;
    width: 38px;
    height: 38px;
    font-size: 22px;
    line-height: 1;
}
.drawer-nav { display: flex; flex-direction: column; border-top: 1px solid rgba(255, 255, 255, .1); }
.drawer-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    color: #d4dae1;
}
.drawer-nav a.is-active { color: var(--orange); }
.drawer-nav svg { color: #6f7a86; }
.drawer-footer { margin-top: auto; padding-top: 28px; display: flex; flex-direction: column; gap: 8px; }
.drawer-contact { font-size: 13px; color: #98a2ad; }
.drawer-langs { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.drawer-langs a {
    font-size: 11px;
    letter-spacing: .08em;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, .16);
    color: #98a2ad;
}
.drawer-langs a.is-active { border-color: var(--orange); color: var(--orange); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
    position: relative;
    min-height: clamp(560px, 76vh, 740px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #0b0e12;
    color: #fff;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1.4s var(--ease), transform 7s var(--ease);
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-slide-fallback { background: radial-gradient(120% 120% at 78% 20%, #2a333d 0%, #0b0e12 58%); }
.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8, 11, 15, .94) 0%, rgba(8, 11, 15, .82) 42%, rgba(8, 11, 15, .34) 78%, rgba(8, 11, 15, .25) 100%),
        linear-gradient(0deg, rgba(8, 11, 15, .86) 0%, rgba(8, 11, 15, 0) 46%);
}
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 120px 120px;
    mask-image: linear-gradient(90deg, #000 0%, transparent 65%);
    pointer-events: none;
}
.hero-inner {
    position: relative;
    z-index: 3;
    padding-top: 90px;
    padding-bottom: 110px;
    width: 100%;
}
.hero-copy { max-width: 880px; }
.hero-kicker {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: #b8c2cd;
}
.hero-kicker span { width: 34px; height: 2px; background: var(--orange); display: block; }
.hero-title {
    margin-top: 26px;
    font-size: clamp(30px, 3.8vw, 50px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -.02em;
    text-wrap: balance;
}
.hero-sub {
    margin-top: 26px;
    max-width: 560px;
    font-size: 16.5px;
    line-height: 1.75;
    color: #c3ccd6;
}
.hero-actions { display: flex; align-items: center; gap: 14px; margin-top: 38px; flex-wrap: wrap; }

.hero-dots {
    position: absolute;
    right: 32px;
    bottom: 40px;
    z-index: 4;
    display: flex;
    gap: 10px;
}
.hero-dots button {
    width: 42px;
    height: 42px;
    background: none;
    border: 1px solid rgba(255, 255, 255, .22);
    padding: 0;
    position: relative;
}
.hero-dots button span {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 16px;
    height: 2px;
    background: #6f7a86;
    transition: .25s;
}
.hero-dots button.is-active { border-color: var(--orange); }
.hero-dots button.is-active span { background: var(--orange); width: 22px; }

.hero-scroll {
    position: absolute;
    left: 32px;
    bottom: 0;
    z-index: 3;
    display: none;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    letter-spacing: .24em;
    color: #7d8792;
}
.hero-scroll svg { color: var(--orange); animation: nudge 2s infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */

.stats-band { background: var(--ink); color: #fff; border-bottom: 1px solid #1f262e; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.stat {
    padding: 40px 36px 42px;
    position: relative;
}
.stat:first-child { padding-left: 0; }
.stat + .stat { padding-left: 36px; }
.stat + .stat::before {
    content: "";
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 42px;
    width: 1px;
    background: #262e37;
}
.stat-num {
    display: block;
    font-size: clamp(34px, 3.4vw, 48px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.02em;
}
.stat-num em { font-style: normal; color: var(--orange); font-size: .62em; vertical-align: 3px; margin-left: 2px; }
.stat-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 13px;
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #95a0ac;
    white-space: nowrap;
}
.stat-label::before {
    content: "";
    flex: 0 0 auto;
    width: 16px;
    height: 2px;
    background: var(--orange);
}

/* --------------------------------------------------------------------------
   Intro
   -------------------------------------------------------------------------- */

.section-intro { background: #fff; }
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 76px;
    align-items: center;
}
.intro-figure {
    position: relative;
    padding: 14px;
    border: 1px solid var(--line);
}
.intro-figure img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.intro-figure::after {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(255, 255, 255, .55);
    pointer-events: none;
}
.intro-badge {
    position: absolute;
    right: -18px;
    bottom: -18px;
    background: var(--orange);
    color: #fff;
    padding: 16px 22px;
    text-align: center;
    line-height: 1;
    box-shadow: 0 18px 40px rgba(232, 85, 31, .3);
}
.intro-badge strong { display: block; font-size: 30px; font-weight: 800; letter-spacing: .02em; }
.intro-badge em { display: block; font-style: normal; font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; margin-top: 6px; opacity: .9; }

.intro-body .section-title { margin-top: 16px; }
.intro-body .lead { margin-top: 22px; }
.intro-list { margin-top: 30px; display: flex; flex-direction: column; gap: 16px; }
.intro-list li {
    display: grid;
    grid-template-columns: 10px 1fr;
    column-gap: 14px;
    align-items: start;
}
.intro-list .dot {
    width: 7px;
    height: 7px;
    background: var(--orange);
    margin-top: 7px;
    transform: rotate(45deg);
}
.intro-list li > span.dot { display: block; }
.intro-list li { position: relative; }
.intro-list li small {
    grid-column: 2;
    display: block;
    font-size: 13px;
    color: var(--steel);
    margin-top: 3px;
    line-height: 1.6;
}
.intro-list li { font-size: 15px; font-weight: 600; }
.intro-list li small { font-weight: 400; }
.intro-actions { margin-top: 38px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.intro-richtext { margin-top: 24px; }

/* --------------------------------------------------------------------------
   Industries
   -------------------------------------------------------------------------- */

.section-industries { background: var(--paper); }
.industry-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.industry-card {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--ink);
    color: #fff;
}
.industry-media { position: absolute; inset: 0; }
.industry-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease);
}
.industry-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(8, 11, 15, .92) 0%, rgba(8, 11, 15, .45) 48%, rgba(8, 11, 15, .1) 100%);
    transition: background .3s;
}
.industry-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 34px 36px 32px;
}
.industry-index {
    position: absolute;
    right: 32px;
    top: -132px;
    font-size: 74px;
    font-weight: 800;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, .38);
    letter-spacing: -.02em;
}
.industry-body h3 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; line-height: 1.15; letter-spacing: -.01em; }
.industry-body p { margin-top: 12px; max-width: 430px; font-size: 13.5px; line-height: 1.7; color: #c5ced8; }
.industry-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #fff;
}
.industry-more svg { color: var(--orange); transition: transform .25s; }
.industry-card:hover .industry-media img { transform: scale(1.05); }
.industry-card:hover .industry-more svg { transform: translateX(5px); }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */

.card-grid { display: grid; gap: 28px; }
.product-grid { grid-template-columns: repeat(3, 1fr); }
.case-grid { grid-template-columns: repeat(4, 1fr); }

.card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.card::before {
    content: "";
    position: absolute;
    left: -1px;
    right: -1px;
    top: -1px;
    height: 3px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s var(--ease);
    z-index: 2;
}
.card:hover { border-color: transparent; box-shadow: 0 24px 54px rgba(15, 19, 25, .12); transform: translateY(-5px); }
.card:hover::before { transform: scaleX(1); }
.card-link { display: flex; flex-direction: column; height: 100%; }

.card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eef0f2;
}
.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease);
}
.card:hover .card-media img { transform: scale(1.04); }
.card-media.is-placeholder { display: flex; align-items: center; justify-content: center; background: repeating-linear-gradient(45deg, #f2f3f4, #f2f3f4 10px, #eceef0 10px, #eceef0 20px); }
.card-media-mark { font-size: 12px; letter-spacing: .34em; color: #b4bcc4; font-weight: 700; }

.card-date {
    position: absolute;
    left: 0;
    top: 0;
    background: #fff;
    padding: 10px 14px;
    text-align: center;
    line-height: 1;
}
.card-date strong { display: block; font-size: 20px; font-weight: 800; }
.card-date em { display: block; font-style: normal; font-size: 9px; letter-spacing: .12em; color: var(--steel); margin-top: 4px; }

.card-badge {
    position: absolute;
    right: 0;
    top: 0;
    background: var(--orange);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 8px 12px;
}

.card-body { padding: 26px 26px 24px; display: flex; flex-direction: column; flex: 1; }
.card-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; min-height: 14px; }
.card-cat {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--orange);
}
.card-ind {
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--steel-light);
    border-left: 1px solid var(--line);
    padding-left: 12px;
}
.card-title { margin-top: 12px; font-size: 19px; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
.card-summary {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.65;
    color: var(--steel);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 20px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ink);
    transition: color .2s;
}
.card:hover .card-more { color: var(--orange); }
.card-more svg { color: var(--orange); }

.case-grid .card-title { font-size: 17px; }
.case-grid .card-image,
.case-grid .card-media { aspect-ratio: 1 / 1; }

.card-more.card-more-tile,
.card.card-more {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    padding: 36px;
    min-height: 240px;
    background: var(--paper);
    border: 1px dashed #ccd2d8;
}
.card.card-more:hover { background: #fff; }
.card-more-icon {
    width: 46px;
    height: 46px;
    border: 1px solid var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    transition: .25s;
}
.card.card-more:hover .card-more-icon { background: var(--orange); border-color: var(--orange); color: #fff; }
.card.card-more strong { font-size: 17px; font-weight: 700; }
.card.card-more em { font-style: normal; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--steel); }

.section-products { background: #fff; }
.section-cases { background: var(--paper); }

/* --------------------------------------------------------------------------
   News section (dark)
   -------------------------------------------------------------------------- */

.section-news { background: var(--ink); color: #fff; }
.news-grid { display: grid; grid-template-columns: .8fr 1.6fr; gap: 72px; align-items: start; }
.news-head .section-title { color: #fff; }
.news-head .btn-outline { margin-top: 30px; border-color: rgba(255, 255, 255, .35); color: #fff; }
.news-head .btn-outline:hover { background: #fff; color: var(--ink); }
.news-list { border-top: 1px solid rgba(255, 255, 255, .12); }
.news-row {
    display: grid;
    grid-template-columns: 92px 1fr 40px;
    gap: 24px;
    align-items: center;
    padding: 26px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    transition: padding-left .3s var(--ease), border-color .3s;
}
.news-row:hover { padding-left: 8px; border-color: var(--orange); }
.news-row-date { line-height: 1; }
.news-row-date strong { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.news-row-date em { display: block; font-style: normal; font-size: 9.5px; letter-spacing: .14em; color: #8b96a3; margin-top: 7px; }
.news-row-cat { font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); }
.news-row-body h3 { margin-top: 7px; font-size: 18px; font-weight: 700; line-height: 1.35; color: #fff; }
.news-row-body p { margin-top: 7px; font-size: 13px; line-height: 1.65; color: #98a2ad; }
.news-row-arrow {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: .25s;
}
.news-row:hover .news-row-arrow { background: var(--orange); border-color: var(--orange); }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
    position: relative;
    background: var(--orange);
    color: #fff;
    overflow: hidden;
}
.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 12px);
    pointer-events: none;
}
.cta-band-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding-top: 64px;
    padding-bottom: 64px;
    z-index: 2;
}
.cta-band-text { max-width: 640px; }
.cta-band-text .eyebrow { color: rgba(255, 255, 255, .75); }
.cta-band-text .eyebrow::before { background: rgba(255, 255, 255, .55); }
.cta-band-text h2 { margin-top: 14px; font-size: clamp(26px, 2.8vw, 38px); font-weight: 800; line-height: 1.12; letter-spacing: -.01em; }
.cta-band-text p { margin-top: 14px; font-size: 14.5px; line-height: 1.7; color: rgba(255, 255, 255, .86); }
.cta-band-actions { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-phone { display: block; padding-left: 30px; border-left: 1px solid rgba(255, 255, 255, .3); }
.cta-phone-label { display: block; font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; opacity: .72; }
.cta-phone strong { display: block; font-size: 21px; font-weight: 700; margin-top: 6px; white-space: nowrap; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer { background: #0b0e12; color: #98a2ad; font-size: 13.5px; }
.footer-main {
    display: grid;
    grid-template-columns: 1.5fr .8fr .9fr 1.1fr;
    gap: 56px;
    padding-top: 76px;
    padding-bottom: 56px;
}
.footer-about { margin-top: 22px; max-width: 340px; font-size: 13px; line-height: 1.75; color: #8b96a3; }
.footer-qr { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.footer-qr img { border: 1px solid #262e37; padding: 4px; background: #fff; }
.footer-qr span { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: #6f7a86; line-height: 1.8; }
.footer-qr small { font-size: 9px; color: #59636e; }

.footer-col h3 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 22px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: #98a2ad; transition: color .2s; }
.footer-col a:hover { color: var(--orange); }
.footer-contact li { display: flex; flex-direction: column; gap: 2px; line-height: 1.6; }
.footer-label { font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: #59636e; }

.footer-links {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    padding-top: 22px;
    padding-bottom: 22px;
    border-top: 1px solid #1a2129;
    font-size: 11.5px;
    color: #6f7a86;
}
.footer-links a:hover { color: var(--orange); }

.footer-bottom { border-top: 1px solid #1a2129; }
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 22px;
    padding-bottom: 26px;
    font-size: 11.5px;
    color: #59636e;
    flex-wrap: wrap;
}
.footer-bottom-links { display: flex; gap: 22px; }
.footer-bottom-links a:hover { color: var(--orange); }

.to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: var(--ink);
    color: #fff;
    font-size: 17px;
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--orange); border-color: var(--orange); }

/* --------------------------------------------------------------------------
   Page hero / breadcrumb
   -------------------------------------------------------------------------- */

.page-hero {
    position: relative;
    background: var(--ink);
    color: #fff;
    padding: 34px 0 62px;
    overflow: hidden;
}
.page-hero::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(232, 85, 31, .18), transparent 62%);
    pointer-events: none;
}
.page-hero::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34%;
    height: 3px;
    background: var(--orange);
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 10.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #8b96a3;
}
.breadcrumb a { color: #8b96a3; transition: color .2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { color: #4a545e; }
.breadcrumb .current { color: var(--orange); }
.page-hero-grid {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-top: 44px;
}
.page-title {
    margin-top: 14px;
    font-size: clamp(30px, 3.6vw, 50px);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -.02em;
}
.page-sub { margin-top: 16px; max-width: 680px; font-size: 15px; line-height: 1.7; color: #b0bac5; }
.page-hero-count { text-align: right; line-height: 1; }
.page-hero-count strong { display: block; font-size: 52px; font-weight: 800; letter-spacing: -.02em; }
.page-hero-count span { display: block; margin-top: 8px; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: #8b96a3; }

/* --------------------------------------------------------------------------
   List page
   -------------------------------------------------------------------------- */

.section-list { padding-top: 64px; }
.filter-bar {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
    margin-bottom: 22px;
    overflow-x: auto;
    scrollbar-width: none;
}
.filter-bar::-webkit-scrollbar { display: none; }
.filter-tabs { display: flex; align-items: center; gap: 4px; min-width: max-content; }
.filter-tab {
    position: relative;
    padding: 0 18px 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--steel);
    white-space: nowrap;
}
.filter-tab::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: -1px;
    height: 2px;
    background: var(--orange);
    transform: scaleX(0);
    transition: transform .25s;
}
.filter-tab.is-active, .filter-tab:hover { color: var(--ink); }
.filter-tab.is-active::after { transform: scaleX(1); }
.sub-filter {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    font-size: 12px;
    color: var(--steel);
}
.sub-filter span { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--steel-light); }
.sub-filter a { border-bottom: 1px solid transparent; padding-bottom: 2px; }
.sub-filter a:hover { color: var(--orange); }
.sub-filter a.is-active { color: var(--orange); border-color: var(--orange); }

.news-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.news-card { display: flex; flex-direction: column; border-bottom: 1px solid var(--line); padding-bottom: 26px; }
.news-card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper); }
.news-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.news-card:hover .news-card-media img { transform: scale(1.04); }
.news-card-body { padding-top: 20px; display: flex; flex-direction: column; flex: 1; }
.news-card-meta { display: flex; align-items: center; gap: 14px; font-size: 11px; color: var(--steel-light); }
.news-card-meta time { letter-spacing: .04em; }
.news-card h2 { margin-top: 10px; font-size: 20px; font-weight: 700; line-height: 1.3; }
.news-card p { margin-top: 10px; font-size: 13.5px; line-height: 1.65; color: var(--steel); }
.news-card .card-more { padding-top: 16px; }

.designer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.designer-card { display: block; }
.designer-photo { aspect-ratio: 3 / 4; overflow: hidden; background: var(--paper); }
.designer-photo img { width: 100%; height: 100%; object-fit: cover; }
.designer-card h2 { margin-top: 16px; font-size: 18px; font-weight: 700; }
.designer-role { margin-top: 4px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }

.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.cat-card {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    background: var(--paper);
    border: 1px solid transparent;
    transition: .3s var(--ease);
}
.cat-card:hover { background: #fff; border-color: var(--line); box-shadow: 0 20px 44px rgba(15, 19, 25, .09); }
.cat-card-media { aspect-ratio: 4 / 3; overflow: hidden; background: #e9ebed; }
.cat-card-media img { width: 100%; height: 100%; object-fit: cover; }
.cat-card-body { padding: 28px 30px; display: flex; flex-direction: column; justify-content: center; }
.cat-card-body h2 { font-size: 20px; font-weight: 700; line-height: 1.25; }
.cat-card-body p { margin-top: 10px; font-size: 13px; line-height: 1.65; color: var(--steel); }
.cat-card-body .card-more { margin-top: 16px; padding-top: 0; }

.pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 64px;
}
.pager a, .pager span {
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    font-size: 13px;
    color: var(--steel);
    transition: .2s;
}
.pager a:hover { border-color: var(--ink); color: var(--ink); }
.pager .is-current { background: var(--ink); border-color: var(--ink); color: #fff; }

.empty-state {
    padding: 90px 0 40px;
    text-align: center;
}
.empty-title { font-size: 18px; color: var(--steel); margin-bottom: 28px; }

.section-about-index { background: #fff; padding-bottom: 40px; }
.page-hero-contact { padding-bottom: 54px; }

/* --------------------------------------------------------------------------
   Detail
   -------------------------------------------------------------------------- */

.detail-crumbs {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 16px 0;
}
.detail-crumbs .breadcrumb { color: var(--steel); }
.detail-crumbs .breadcrumb a { color: var(--steel); }
.detail-crumbs .breadcrumb a:hover { color: var(--orange); }
.detail-crumbs .breadcrumb .current { color: var(--ink); font-weight: 600; }

.detail { padding: 64px 0 0; }
.detail-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 64px;
    align-items: start;
}
.detail-gallery { position: sticky; top: 106px; }
.gallery-main {
    position: relative;
    background: var(--paper);
    border: 1px solid var(--line);
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.gallery-main-link { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; cursor: zoom-in; }
.gallery-placeholder { font-size: 13px; letter-spacing: .3em; color: #b4bcc4; }
.gallery-count {
    position: absolute;
    right: 0;
    bottom: 0;
    background: var(--ink);
    color: #fff;
    font-size: 11px;
    letter-spacing: .06em;
    padding: 7px 12px;
}
.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 12px;
}
.gallery-thumb {
    padding: 0;
    border: 2px solid transparent;
    background: var(--paper);
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: opacity .2s; }
.gallery-thumb.is-active { border-color: var(--orange); }
.gallery-thumb.is-active img, .gallery-thumb:hover img { opacity: 1; }

.detail-info { padding-top: 4px; }
.detail-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.detail-title { margin-top: 16px; font-size: clamp(28px, 3.2vw, 44px); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; }
.detail-subtitle { margin-top: 10px; font-size: 15px; color: var(--orange); font-weight: 600; }
.detail-summary { margin-top: 20px; font-size: 15.5px; line-height: 1.75; color: var(--steel); }
.detail-actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.detail-actions .btn { flex: 0 1 auto; }

.detail-quick {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}
.detail-quick a { display: block; }
.detail-quick-label { display: block; font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--steel-light); }
.detail-quick strong { display: block; margin-top: 5px; font-size: 14.5px; font-weight: 600; color: var(--ink); word-break: break-word; }
.detail-quick a:hover strong { color: var(--orange); }

.detail-head-simple { max-width: 900px; }
.detail-head-simple .detail-title { margin-top: 14px; }
.detail-cover-wide { margin-top: 44px; aspect-ratio: 16 / 8; overflow: hidden; background: var(--paper); }
.detail-cover-wide img { width: 100%; height: 100%; object-fit: cover; }

.detail-body { max-width: 1024px; margin-top: 34px; }

.detail-content-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 900px;
    margin-top: 32px;
}
.detail-content-gallery figure { margin: 0; background: var(--paper); }
.detail-content-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.detail-content-gallery figcaption { padding: 10px 2px 0; font-size: 11.5px; line-height: 1.5; color: var(--steel-light); }

.detail-inquiry { margin: 80px 0 0; }
.inquiry-panel {
    background: var(--ink);
    color: #fff;
    padding: 56px 56px 48px;
    position: relative;
    overflow: hidden;
}
.inquiry-panel::before {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(232, 85, 31, .22), transparent 65%);
}
.inquiry-panel .eyebrow { color: #ff8455; }
.inquiry-panel .eyebrow::before { background: #ff8455; }
.inquiry-head { position: relative; z-index: 2; max-width: 640px; }
.inquiry-head h2 { margin-top: 12px; font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; line-height: 1.15; }
.inquiry-head p { margin-top: 12px; font-size: 13.5px; line-height: 1.7; color: #98a2ad; }

.inquiry-form { position: relative; z-index: 2; margin-top: 34px; }

/* 留言提交成功：覆盖在原表单位置的弹出层 */
.inquiry-success {
    position: absolute;
    inset: 0;
    z-index: 9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(9, 12, 16, .72);
    backdrop-filter: blur(3px);
    animation: inquiryFade .2s ease-out both;
}
.inquiry-success-card {
    width: min(420px, 100%);
    background: #fff;
    color: var(--ink, #0f1319);
    padding: 34px 30px 28px;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
    animation: inquiryPop .24s ease-out both;
}
.inquiry-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(232, 85, 31, .12);
    color: var(--orange, #e8551f);
    margin-bottom: 16px;
}
.inquiry-success-card h3 {
    font-size: 17px;
    line-height: 1.6;
    font-weight: 700;
    margin: 0 0 20px;
}
.inquiry-success-card .btn { min-width: 120px; }
.inquiry-success.is-closing { animation: inquiryFadeOut .18s ease-in both; }
@keyframes inquiryFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes inquiryPop { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes inquiryFadeOut { from { opacity: 1; } to { opacity: 0; } }
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 24px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field > span {
    font-size: 10px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #98a2ad;
}
.field > span em { color: var(--orange); font-style: normal; }
.field input,
.field textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .05);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    padding: 13px 15px;
    transition: border-color .2s, background .2s;
    border-radius: 1px;
    height: 48px;
}
.field textarea { height: auto; min-height: 130px; resize: vertical; line-height: 1.6; }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--orange); background: rgba(255, 255, 255, .08); }
.field input::placeholder,
.field textarea::placeholder { color: #59636e; }
.honey { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.inquiry-product {
    margin-bottom: 20px;
    font-size: 12px;
    letter-spacing: .04em;
    color: #98a2ad;
}
.inquiry-product strong { color: #fff; }

.form-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 28px;
    flex-wrap: wrap;
}
.form-note { font-size: 11px; color: #59636e; }

.alert {
    position: relative;
    z-index: 2;
    margin-top: 24px;
    padding: 13px 16px;
    font-size: 13px;
    border-left: 3px solid var(--orange);
    background: rgba(232, 85, 31, .12);
    color: #ffd2c2;
}
.alert-success { border-color: #4fa96a; background: rgba(79, 169, 106, .14); color: #c9ecd3; }

/* Contact page */
.section-contact { background: #fff; }
.contact-top { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact-card {
    border: 1px solid var(--line);
    padding: 28px 26px;
    background: #fff;
}
.contact-card:hover { border-color: #d6dbe0; }
.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    color: var(--orange);
    margin-bottom: 16px;
}
.contact-card h2 { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--steel-light); }
.contact-card p { margin-top: 8px; font-size: 14.5px; line-height: 1.65; }
.contact-card p a:hover { color: var(--orange); }
.contact-sub { font-size: 12.5px !important; color: var(--steel); }
.contact-card .link-arrow { margin-top: 14px; }
.contact-card-qr { display: flex; align-items: center; gap: 18px; }
.contact-card-qr img { border: 1px solid var(--line); padding: 4px; flex: none; }
.contact-card-qr h2 { color: var(--orange); }

/* Search */
.search-head { position: relative; z-index: 2; max-width: 760px; margin-top: 34px; }
.search-form { display: flex; gap: 0; margin-top: 26px; max-width: 620px; }
.search-form input {
    flex: 1;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-right: 0;
    background: rgba(255, 255, 255, .06);
    color: #fff;
    padding: 0 18px;
    font-family: inherit;
    font-size: 14px;
}
.search-form input:focus { outline: none; border-color: var(--orange); }
.search-form .btn { height: 52px; }
.search-count { margin-top: 18px; font-size: 12px; letter-spacing: .06em; color: #8b96a3; }
.search-form-inline { margin: 0 auto; max-width: 520px; }
.search-form-inline input { border-color: var(--line); color: var(--ink); background: #fff; height: 50px; }

.search-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.search-row {
    display: grid;
    grid-template-columns: 180px 1fr 44px;
    gap: 30px;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
    transition: background .2s, padding-left .25s var(--ease);
}
.search-row:hover { padding-left: 8px; background: #fafbfb; }
.search-row-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); display: block; }
.search-row-media img { width: 100%; height: 100%; object-fit: cover; }
.search-row-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-light); }
.search-row h2 { margin-top: 9px; font-size: 20px; font-weight: 700; line-height: 1.3; }
.search-row p { margin-top: 8px; font-size: 13px; line-height: 1.65; color: var(--steel); }
.search-row-arrow { color: var(--orange); display: flex; justify-content: center; }

/* --------------------------------------------------------------------------
   Article (news detail)
   -------------------------------------------------------------------------- */

.article { padding: 64px 0 0; }
.article-wrap { max-width: 860px; }
.article-meta { display: flex; align-items: center; gap: 18px; font-size: 11px; color: var(--steel-light); }
.article-title { margin-top: 16px; font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; }
.article-lead { margin-top: 20px; font-size: 17px; line-height: 1.75; color: var(--steel); }
.article-cover { margin-top: 40px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body { margin-top: 44px; }
.article-foot {
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.article-tag { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-light); }

.section-related { background: var(--paper); }

/* --------------------------------------------------------------------------
   Rich text
   -------------------------------------------------------------------------- */

.rich-text { color: #333a42; font-size: 15.5px; line-height: 1.85; }
.rich-text p { margin: 0 0 18px; }
.rich-text h2 { margin: 40px 0 16px; font-size: 26px; font-weight: 800; line-height: 1.25; color: var(--ink); letter-spacing: -.01em; }
.rich-text h3 { margin: 34px 0 14px; font-size: 19px; font-weight: 700; color: var(--ink); position: relative; padding-left: 16px; }
.rich-text h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 3px;
    background: var(--orange);
}
.rich-text ul, .rich-text ol { margin: 0 0 22px; padding-left: 0; }
.rich-text ul { list-style: none; }
.rich-text ul li { position: relative; padding-left: 22px; margin-bottom: 9px; }
.rich-text ul li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 11px;
    width: 6px;
    height: 6px;
    background: var(--orange);
    transform: rotate(45deg);
}
.rich-text ol { padding-left: 20px; }
.rich-text ol li { margin-bottom: 9px; }
.rich-text a { color: var(--orange); border-bottom: 1px solid rgba(232, 85, 31, .35); }
.rich-text img { margin: 24px 0; border: 1px solid var(--line); }
.rich-text table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px; }
.rich-text table th,
.rich-text table td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; }
.rich-text table th { background: var(--paper); font-weight: 600; }
.rich-text blockquote {
    margin: 26px 0;
    padding: 18px 24px;
    border-left: 3px solid var(--orange);
    background: var(--paper);
    color: var(--steel);
}
.rich-text iframe { max-width: 100%; }

.article-body.rich-text { font-size: 16px; }

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */

.error-page {
    padding: 150px 0 130px;
    background: var(--paper);
    text-align: center;
}
.error-inner { max-width: 640px; }
.error-code {
    font-size: clamp(88px, 13vw, 160px);
    font-weight: 800;
    line-height: .9;
    letter-spacing: -.04em;
    color: transparent;
    -webkit-text-stroke: 2px #d5dade;
}
.error-page .eyebrow { justify-content: center; margin-top: 20px; }
.error-page .eyebrow::before { display: none; }
.error-page h1 { margin-top: 14px; font-size: clamp(20px, 2.4vw, 28px); font-weight: 700; line-height: 1.4; color: var(--steel); }
.error-actions { display: flex; gap: 12px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Reveal animation
   -------------------------------------------------------------------------- */

[data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-slide, [data-reveal], .card, .industry-media img, .card-media img { transition: none !important; }
    [data-reveal] { opacity: 1; transform: none; }
    .hero-scroll svg { animation: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
    .nav-link { padding: 10px 10px; }
    .topbar-tag { display: none; }
    .intro-grid { gap: 48px; }
}

@media (max-width: 1024px) {
    .container { padding: 0 24px; }
    .nav { display: none; }
    .burger { display: flex; }
    .nav-quote { display: none; }
    .hero-inner { padding-top: 74px; padding-bottom: 90px; }
    .hero-scroll { display: none; }
    .stat { padding: 30px 20px 32px; }
    .stat:first-child { padding-left: 0; }
    .stat + .stat { padding-left: 20px; }
    .stat + .stat::before { top: 30px; bottom: 32px; }
    .stat-num { font-size: clamp(28px, 4vw, 38px); }
    .stat-label { font-size: 10px; letter-spacing: .04em; white-space: normal; }
    .stat-label::before { width: 12px; }
    .section { padding: 76px 0; }
    .detail-grid { grid-template-columns: 1fr; gap: 40px; }
    .detail-gallery { position: static; }
    .detail-content-gallery { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .news-grid { grid-template-columns: 1fr; gap: 40px; }
    .case-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-top { grid-template-columns: 1fr; }
    .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 860px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .industry-grid { grid-template-columns: 1fr; }
    .industry-card { aspect-ratio: 16 / 11; }
    .intro-grid { grid-template-columns: 1fr; gap: 36px; }
    .intro-media { max-width: 640px; }
    .news-cards { grid-template-columns: repeat(2, 1fr); }
    .cat-grid { grid-template-columns: 1fr; }
    .detail-quick { grid-template-columns: 1fr; }
    .search-row { grid-template-columns: 120px 1fr; gap: 20px; }
    .search-row-arrow { display: none; }
    .contact-cards { grid-template-columns: 1fr; }
    .footer-main { grid-template-columns: 1fr; gap: 34px; }
    .cta-band-inner { flex-direction: column; align-items: flex-start; gap: 30px; }
    .cta-phone { padding-left: 0; border-left: 0; }
    .page-hero-grid { flex-direction: column; align-items: flex-start; gap: 24px; }
    .page-hero-count { text-align: left; }
}

@media (max-width: 680px) {
    .container { padding: 0 20px; }
    body { font-size: 15px; }
    .topbar-mail { display: none; }
    .topbar-inner { height: 36px; }
    .navbar-inner { height: 66px; }
    .brand-mark { width: 28px; height: 28px; }
    .brand-text strong { font-size: 21px; }
    .brand-text em { display: none; }
    .hero { min-height: 560px; }
    .hero-inner { padding-top: 48px; padding-bottom: 108px; }
    .hero-title { font-size: clamp(24px, 7vw, 32px); line-height: 1.18; }
    .hero-sub { font-size: 14.5px; }
    .hero-actions .btn { flex: 1 1 auto; }
    .hero-dots { right: 20px; bottom: 28px; gap: 6px; }
    .hero-dots button { width: 34px; height: 34px; }
    .stat { padding: 26px 0; }
    .stat + .stat { padding-left: 20px; }
    .stat + .stat::before { top: 26px; bottom: 26px; }
    .stat-num { font-size: 30px; }
    .stat-label { font-size: 10px; letter-spacing: .04em; white-space: normal; }
    .stat-label::before { width: 12px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(odd) { padding-left: 0; }
    .stat:nth-child(odd)::before { display: none; }
    .section { padding: 58px 0; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 34px; }
    .section-note { text-align: left; }
    .product-grid, .news-cards, .case-grid, .designer-grid { grid-template-columns: 1fr; }
    .card-title { font-size: 18px; }
    .news-row { grid-template-columns: 70px 1fr; gap: 16px; }
    .news-row-arrow { display: none; }
    .news-row-body h3 { font-size: 16px; }
    .detail { padding-top: 40px; }
    .detail-title { font-size: 27px; }
    .detail-actions .btn { flex: 1 1 100%; }
    .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
    .inquiry-panel { padding: 32px 24px; }
    .form-grid { grid-template-columns: 1fr; }
    .form-foot { flex-direction: column; align-items: stretch; }
    .form-foot .btn { width: 100%; }
    .article { padding-top: 36px; }
    .article-title { font-size: 26px; }
    .article-lead { font-size: 15px; }
    .article-cover { margin-top: 26px; }
    .article-body { margin-top: 28px; }
    .search-row { grid-template-columns: 1fr; }
    .search-row-media { display: none; }
    .error-page { padding: 90px 0 80px; }
    .footer-main { padding-top: 52px; padding-bottom: 40px; }
    .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
    .filter-tab { padding: 0 12px 14px; }
    .cat-card { grid-template-columns: 1fr; }
    .cat-card-media { aspect-ratio: 16 / 9; }
}

@media (max-width: 420px) {
    .hero-kicker { font-size: 10px; letter-spacing: .18em; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .cta-band-actions { width: 100%; }
    .cta-band-actions .btn { width: 100%; }
}
