/* ============ KOK中欧CN 共享样式 ============ */
/* ---------- Reset & Tokens ---------- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

:root{
  --red:#C03028;
  --snow:#F7F5F0;
  --blue:#5B9BD5;
  --gold:#D4AF37;
  --navy:#1B2A4A;
  --ink:#1F2233;
  --fog:#E8E6E3;
  --electric:#2E86DE;
  --alert:#B22222;
  --white:#FFFFFF;

  --font-heading:"DIN Condensed","Oswald","Noto Sans SC","PingFang SC","Microsoft YaHei",system-ui,sans-serif;
  --font-body:"Inter","Noto Sans SC","PingFang SC","Microsoft YaHei",system-ui,sans-serif;

  --shadow-1:4px 4px 0 rgba(27,42,74,.14);
  --shadow-2:8px 8px 0 rgba(27,42,74,.10);
  --shadow-3:0 12px 32px rgba(27,42,74,.16);

  --bw:2px;
  --radius:0;
  --radius-pill:999px;
  --content-width:1200px;
  --gutter:24px;

  --strip-h:34px;
  --header-main-h:72px;
  --header-total:calc(var(--strip-h) + var(--header-main-h));
}

html{scroll-behavior:smooth}

body{
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.7;
  letter-spacing:.02em;
  color:var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 85% 0%, rgba(91,155,213,.08), transparent 60%),
    radial-gradient(ellipse 60% 40% at 8% 35%, rgba(192,48,40,.045), transparent 55%),
    var(--snow);
  min-height:100vh;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}

main{display:block}

a{
  color:var(--electric);
  text-decoration:none;
  transition:color .2s ease;
}

a:hover{color:var(--red)}

ul,ol{list-style:none}

button{
  font:inherit;
  cursor:pointer;
  border:none;
  background:none;
  color:inherit;
}

img{
  display:block;
  max-width:100%;
  height:auto;
}

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

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

/* ---------- Accessibility ---------- */
.skip-link{
  position:fixed;
  top:-100px;
  left:16px;
  z-index:2000;
  background:var(--ink);
  color:var(--white);
  padding:12px 20px;
  font-weight:700;
  font-size:14px;
  border:2px solid var(--gold);
  transition:top .2s ease;
}

.skip-link:focus{
  top:12px;
}

#main-content{
  display:block;
  padding-top:var(--header-total);
  transition:padding-top .3s ease;
}

#main-content:focus{
  outline:none;
}

body[data-scrolled="true"] #main-content{
  padding-top:var(--header-main-h);
}

/* ---------- Container ---------- */
.container{
  max-width:var(--content-width);
  margin:0 auto;
  padding-inline:var(--gutter);
}

/* ---------- Header ---------- */
.site-header{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:1000;
  background:linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(247,245,240,.96) 100%);
  border-bottom:2px solid var(--red);
  transition:box-shadow .3s ease, border-color .3s ease, background .3s ease;
}

.site-header::before{
  content:"";
  position:absolute;
  top:var(--strip-h);
  right:0;
  width:220px;
  height:var(--header-main-h);
  background:repeating-linear-gradient(
    -45deg,
    transparent 0 10px,
    rgba(91,155,213,.08) 10px 14px,
    transparent 14px 24px
  );
  pointer-events:none;
  opacity:.65;
}

.site-header[data-scrolled="true"]{
  box-shadow:var(--shadow-3);
  border-bottom-color:transparent;
}

.scroll-progress{
  position:absolute;
  top:0;
  left:0;
  width:0;
  height:3px;
  background:linear-gradient(90deg, var(--gold), var(--red));
  z-index:20;
  pointer-events:none;
}

.header-strip{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  height:var(--strip-h);
  padding-inline:var(--gutter);
  background:var(--navy);
  color:rgba(255,255,255,.78);
  font-size:12px;
  letter-spacing:.08em;
  overflow:hidden;
  transition:height .3s ease, opacity .3s ease;
}

.site-header[data-scrolled="true"] .header-strip{
  height:0;
  opacity:0;
}

.header-strip-note{
  display:flex;
  align-items:center;
  margin:0;
  white-space:nowrap;
}

.strip-dot{
  display:inline-block;
  width:7px;
  height:7px;
  margin-right:8px;
  border-radius:50%;
  background:var(--gold);
  box-shadow:0 0 8px rgba(212,175,55,.7);
}

.header-strip-link{
  color:var(--gold);
  font-weight:600;
  font-size:12px;
  border-bottom:1px solid transparent;
  white-space:nowrap;
  transition:border-color .2s ease;
}

.header-strip-link:hover{
  color:var(--gold);
  border-bottom-color:var(--gold);
}

.header-main{
  position:relative;
  z-index:1;
  min-height:var(--header-main-h);
  display:flex;
  align-items:center;
  transition:padding .3s ease, min-height .3s ease;
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  width:100%;
  transition:background .3s ease, border-color .3s ease, border-radius .3s ease, padding .3s ease;
}

/* Brand */
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  flex-shrink:0;
  color:var(--ink);
}

.brand:hover{
  color:var(--ink);
}

.brand-mark{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  background:var(--red);
  border:2px solid var(--ink);
  box-shadow:2px 2px 0 rgba(27,42,74,.3);
  transform:rotate(45deg);
  flex-shrink:0;
  transition:transform .2s ease;
}

.brand:hover .brand-mark{
  transform:rotate(135deg);
}

.brand-mark-core{
  width:12px;
  height:12px;
  background:var(--gold);
  border:1px solid var(--ink);
  transform:rotate(45deg);
}

.brand-text{
  display:flex;
  flex-direction:column;
  line-height:1.15;
}

.brand-name{
  font-family:var(--font-heading);
  font-size:22px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--ink);
  white-space:nowrap;
}

.brand-name em{
  font-style:normal;
  color:var(--red);
}

.brand-motto{
  font-size:10px;
  letter-spacing:.3em;
  text-transform:uppercase;
  color:var(--navy);
  opacity:.7;
  white-space:nowrap;
  transition:opacity .3s ease;
}

/* Navigation */
.header-nav{
  margin-left:auto;
}

.nav-list{
  display:flex;
  align-items:center;
  gap:4px;
  transition:background .3s ease, border-color .3s ease, border-radius .3s ease, box-shadow .3s ease, padding .3s ease;
}

.nav-link{
  position:relative;
  display:block;
  padding:8px 12px;
  font-size:14px;
  font-weight:600;
  letter-spacing:.06em;
  color:var(--ink);
  border:2px solid transparent;
  transition:color .2s ease, background .2s ease, box-shadow .2s ease, border-radius .2s ease;
}

.nav-link:hover{
  color:var(--red);
  background:rgba(192,48,40,.05);
}

.nav-link[aria-current="page"]{
  color:var(--red);
  box-shadow:inset 0 -3px 0 var(--red);
}

/* Mobile toggle */
.nav-toggle{
  display:none;
  align-items:center;
  gap:8px;
  margin-left:auto;
  padding:8px 14px;
  border:2px solid var(--ink);
  background:var(--fog);
  box-shadow:2px 2px 0 var(--ink);
  font-size:12px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--ink);
  transition:background .2s ease, box-shadow .2s ease, border-radius .2s ease;
}

.nav-toggle:hover{
  background:var(--white);
}

.nav-toggle-box{
  display:flex;
  flex-direction:column;
  gap:4px;
  width:16px;
}

.nav-toggle-bar{
  height:2px;
  background:currentColor;
  transition:transform .25s ease, opacity .25s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1){
  transform:translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2){
  opacity:0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3){
  transform:translateY(-6px) rotate(-45deg);
}

/* ---------- Footer ---------- */
.site-footer{
  position:relative;
  background:
    linear-gradient(180deg, rgba(91,155,213,.06), transparent 180px),
    var(--navy);
  color:rgba(255,255,255,.8);
  margin-top:80px;
  overflow:hidden;
}

.footer-geometry{
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:3px;
  background:linear-gradient(90deg, var(--gold) 0%, var(--red) 40%, var(--blue) 100%);
  z-index:1;
}

.footer-inner{
  padding-block:64px 24px;
  position:relative;
  z-index:2;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.3fr 1fr 1.1fr;
  gap:48px 40px;
}

.footer-logo{
  font-family:var(--font-heading);
  font-size:28px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--white);
  display:inline-block;
  padding-bottom:6px;
  border-bottom:2px solid var(--gold);
  margin-bottom:16px;
}

.footer-logo em{
  font-style:normal;
  color:var(--gold);
}

.footer-trust{
  font-size:14px;
  line-height:1.8;
  color:rgba(255,255,255,.72);
}

.footer-note{
  margin-top:16px;
  font-size:12px;
  line-height:1.6;
  color:var(--gold);
  border-left:2px solid var(--gold);
  padding-left:10px;
  opacity:.85;
}

.footer-heading{
  font-family:var(--font-heading);
  font-size:16px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.18em;
  color:var(--white);
  border-bottom:1px solid rgba(255,255,255,.15);
  padding-bottom:8px;
  margin-bottom:14px;
}

.footer-heading-sub{
  margin-top:24px;
}

.footer-list{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.footer-list a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:rgba(255,255,255,.72);
  font-size:14px;
  transition:color .2s ease, transform .2s ease;
}

.footer-list a::before{
  content:"";
  width:6px;
  height:6px;
  background:var(--gold);
  display:inline-block;
  transform:rotate(45deg);
  flex-shrink:0;
}

.footer-list a:hover{
  color:var(--gold);
  transform:translateX(4px);
}

.footer-contact-list li{
  position:relative;
  padding-left:14px;
  font-size:14px;
  line-height:1.65;
  color:rgba(255,255,255,.7);
}

.footer-contact-list li::before{
  content:"";
  position:absolute;
  left:0;
  top:.7em;
  width:5px;
  height:5px;
  background:var(--blue);
  transform:rotate(45deg);
}

.footer-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px 24px;
  flex-wrap:wrap;
  margin-top:48px;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.14);
  font-size:13px;
  color:rgba(255,255,255,.45);
}

.footer-tag{
  position:absolute;
  top:56px;
  right:20px;
  writing-mode:vertical-rl;
  font-family:var(--font-heading);
  font-size:13px;
  letter-spacing:.32em;
  text-transform:uppercase;
  font-weight:700;
  line-height:1.4;
  text-align:center;
  color:rgba(255,255,255,.09);
  pointer-events:none;
  user-select:none;
}

/* ---------- Shared Components ---------- */
.section{
  padding-block:56px;
}

.section-head{
  display:flex;
  align-items:flex-end;
  gap:20px;
  flex-wrap:wrap;
  border-bottom:2px solid var(--fog);
  padding-bottom:16px;
  margin-bottom:32px;
}

.section-index{
  font-family:var(--font-heading);
  font-size:18px;
  font-weight:700;
  color:var(--gold);
  letter-spacing:.15em;
}

.section-title{
  font-family:var(--font-heading);
  font-size:clamp(28px,4vw,42px);
  font-weight:700;
  letter-spacing:.02em;
  line-height:1.1;
  color:var(--ink);
}

.section-desc{
  font-size:14px;
  color:#556;
  max-width:560px;
  margin-left:auto;
}

.plate-label{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.24em;
  text-transform:uppercase;
  color:var(--red);
}

.plate-label::before{
  content:"";
  width:24px;
  height:2px;
  background:var(--red);
  display:inline-block;
}

.vert-label{
  writing-mode:vertical-rl;
  font-family:var(--font-heading);
  font-size:12px;
  letter-spacing:.34em;
  text-transform:uppercase;
  color:var(--navy);
  opacity:.55;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:12px 24px;
  font-size:14px;
  font-weight:700;
  font-family:var(--font-body);
  letter-spacing:.08em;
  text-transform:uppercase;
  border:2px solid var(--ink);
  box-shadow:4px 4px 0 var(--ink);
  background:var(--white);
  color:var(--ink);
  transition:box-shadow .2s ease, transform .2s ease, background .2s ease, color .2s ease;
}

.btn:hover{
  transform:translate(-1px,-1px);
  box-shadow:6px 6px 0 var(--ink);
}

.btn:active{
  transform:translate(2px,2px);
  box-shadow:0 0 0 var(--ink);
}

.btn-primary{
  background:var(--red);
  color:var(--white);
  border-color:var(--navy);
  box-shadow:4px 4px 0 var(--navy);
}

.btn-primary:hover{
  background:#a92a23;
  box-shadow:6px 6px 0 var(--navy);
}

.btn-gold{
  background:var(--gold);
  color:var(--ink);
  border-color:var(--navy);
  box-shadow:4px 4px 0 var(--navy);
}

.btn-gold:hover{
  background:#c5a02f;
  box-shadow:6px 6px 0 var(--navy);
}

.btn-outline{
  background:transparent;
  box-shadow:none;
}

.btn-outline:hover{
  background:var(--fog);
}

.card{
  background:var(--white);
  border:2px solid var(--ink);
  box-shadow:var(--shadow-1);
  padding:24px;
  transition:box-shadow .25s ease, transform .25s ease;
}

.card:hover{
  box-shadow:var(--shadow-2);
  transform:translate(-2px,-2px);
}

.card-accent{
  border-left:6px solid var(--red);
}

.card-title{
  font-family:var(--font-heading);
  font-size:22px;
  font-weight:700;
  letter-spacing:.03em;
  margin-bottom:8px;
  color:var(--ink);
}

.card-meta{
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--navy);
  margin-bottom:12px;
}

.card-body{
  font-size:15px;
  line-height:1.7;
  color:#444;
}

.tag-group{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.tag{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:8px 16px;
  font-size:13px;
  font-weight:600;
  border:2px solid var(--ink);
  background:var(--white);
  color:var(--ink);
  box-shadow:2px 2px 0 var(--ink);
  transition:box-shadow .2s ease, transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.tag:hover{
  transform:translate(-1px,-1px);
  box-shadow:4px 4px 0 var(--ink);
}

.tag.is-active,
.tag[aria-pressed="true"]{
  background:var(--red);
  color:var(--white);
  border-color:var(--navy);
  box-shadow:2px 2px 0 var(--navy);
}

.is-hidden{
  display:none;
}

.image-frame{
  position:relative;
  overflow:hidden;
  background:var(--fog);
  border:2px solid var(--ink);
  box-shadow:var(--shadow-1);
  min-height:120px;
}

.image-frame::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(rgba(255,255,255,.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.3) 1px, transparent 1px);
  background-size:24px 24px;
}

.image-frame::after{
  content:"";
  position:absolute;
  top:-1px;
  right:-1px;
  border:0 solid transparent;
  border-top:14px solid var(--ink);
  border-left:14px solid transparent;
}

.image-frame-16x9{
  aspect-ratio:16/9;
}

.image-frame-4x3{
  aspect-ratio:4/3;
}

.image-frame-1x1{
  aspect-ratio:1/1;
}

.breadcrumb{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  font-size:13px;
  color:var(--navy);
  margin-block:16px;
}

.breadcrumb-item{
  display:inline-flex;
  align-items:center;
}

.breadcrumb-item + .breadcrumb-item::before{
  content:"/";
  margin:0 8px;
  color:rgba(31,34,51,.35);
}

.breadcrumb a{
  color:var(--navy);
  border-bottom:1px solid transparent;
}

.breadcrumb a:hover{
  color:var(--red);
  border-bottom-color:var(--red);
}

.breadcrumb-item[aria-current="page"]{
  color:var(--red);
  font-weight:600;
}

.prose{
  font-size:16px;
  line-height:1.85;
  max-width:72ch;
}

.prose p{
  margin-bottom:1em;
}

.prose h2,
.prose h3,
.prose h4{
  font-family:var(--font-heading);
  margin:1.4em 0 .5em;
  line-height:1.2;
  color:var(--ink);
}

.prose h2{
  font-size:28px;
}

.prose h3{
  font-size:22px;
}

.prose ul,
.prose ol{
  padding-left:1.4em;
  margin-bottom:1em;
}

.prose ul{
  list-style:square;
}

.prose ol{
  list-style:decimal;
}

.prose li{
  margin-bottom:.35em;
}

.prose a{
  border-bottom:1px solid var(--electric);
}

.divider{
  height:2px;
  border:none;
  background:linear-gradient(90deg, var(--red), var(--gold) 40%, transparent);
  margin-block:24px;
}

.text-gradient{
  background:linear-gradient(120deg, var(--red), var(--gold));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

/* ---------- Grids ---------- */
.bento-grid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:20px;
}

.bento-span-3{grid-column:span 3}
.bento-span-4{grid-column:span 4}
.bento-span-5{grid-column:span 5}
.bento-span-6{grid-column:span 6}
.bento-span-7{grid-column:span 7}
.bento-span-8{grid-column:span 8}
.bento-span-12{grid-column:span 12}

.data-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

/* ---------- Responsive ---------- */
@media (min-width: 992px){
  .site-header[data-scrolled="true"] .nav-list{
    background:rgba(255,255,255,.9);
    border:2px solid var(--fog);
    border-radius:var(--radius-pill);
    padding:4px 6px;
    box-shadow:0 6px 20px rgba(27,42,74,.08);
  }

  .site-header[data-scrolled="true"] .nav-link{
    border-radius:var(--radius-pill);
  }

  .site-header[data-scrolled="true"] .header-main{
    padding-block:8px;
    min-height:64px;
  }

  .site-header[data-scrolled="true"] .brand-motto{
    opacity:0;
    width:0;
    overflow:hidden;
  }
}

@media (max-width: 991px){
  .header-inner{
    flex-wrap:wrap;
    row-gap:8px;
  }

  .nav-toggle{
    display:inline-flex;
  }

  .header-nav{
    order:3;
    flex-basis:100%;
    margin-left:0;
    max-height:0;
    overflow:hidden;
    opacity:0;
    visibility:hidden;
    transform:translateY(-8px);
    transition:max-height .3s ease, opacity .3s ease, transform .3s ease, visibility .3s;
  }

  .header-nav[data-open="true"]{
    max-height:440px;
    opacity:1;
    visibility:visible;
    transform:translateY(0);
    background:var(--white);
    border:2px solid var(--ink);
    box-shadow:var(--shadow-2);
    margin-bottom:6px;
  }

  .nav-list{
    flex-direction:column;
    align-items:stretch;
    gap:2px;
    padding:8px;
  }

  .nav-link{
    padding:12px 14px;
    border-radius:0;
  }

  .nav-link[aria-current="page"]{
    box-shadow:none;
    background:rgba(192,48,40,.08);
  }

  .site-header[data-scrolled="true"] .nav-toggle{
    border-radius:var(--radius-pill);
    box-shadow:0 4px 16px rgba(27,42,74,.18);
    background:var(--white);
  }

  .site-header[data-scrolled="true"]{
    background:rgba(255,255,255,.84);
    -webkit-backdrop-filter:blur(14px);
    backdrop-filter:blur(14px);
  }

  .footer-grid{
    grid-template-columns:1fr 1fr;
  }

  .footer-about{
    grid-column:1 / -1;
  }

  .bento-span-3,
  .bento-span-4,
  .bento-span-5,
  .bento-span-6,
  .bento-span-7,
  .bento-span-8{
    grid-column:span 6;
  }

  .data-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media (max-width: 599px){
  .header-strip-link{
    display:none;
  }

  .header-strip{
    justify-content:center;
  }

  .nav-toggle-text{
    display:none;
  }

  .brand-motto{
    display:none;
  }

  .brand-name{
    font-size:19px;
  }

  .footer-grid{
    grid-template-columns:1fr;
  }

  .footer-about{
    grid-column:auto;
  }

  .bento-span-3,
  .bento-span-4,
  .bento-span-5,
  .bento-span-6,
  .bento-span-7,
  .bento-span-8,
  .bento-span-12{
    grid-column:span 12;
  }

  .data-grid{
    grid-template-columns:1fr;
  }

  .footer-tag{
    display:none;
  }
}

/* ---------- Motion & Reduced Motion ---------- */
@media (prefers-reduced-motion: no-preference){
  .strip-dot{
    animation:dotPulse 2s ease-in-out infinite;
  }

  [data-filter-item]:not(.is-hidden){
    animation:filterIn .3s ease;
  }

  @keyframes dotPulse{
    0%,100%{box-shadow:0 0 4px rgba(212,175,55,.3);}
    50%{box-shadow:0 0 10px rgba(212,175,55,.9);}
  }

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

@media (prefers-reduced-motion: reduce){
  *,
  *::before,
  *::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
  }

  html{
    scroll-behavior:auto;
  }
}
