:root{
  --bg-cream:#F5EFE6;
  --bg-ink:#171717;
  --bg-deep:#0E0F12;
  --primary-blue:#1264FF;
  --accent-orange:#FF6A00;
  --text-heading:#111111;
  --text-body:#2E2E2E;
  --text-on-dark:#F5F5F5;
  --highlight-yellow:#FFE818;
  --success-green:#00B96D;
  --border-soft:#D8D0BF;
  --font-heading:"Oswald","Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;
  --font-body:"Noto Sans SC","PingFang SC","Microsoft YaHei","Helvetica Neue",Arial,sans-serif;
  --header-w:280px;
  --header-h-mobile:64px;
  --content-max:1180px;
  --radius-card:24px;
}

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

html{
  scroll-behavior:smooth;
  scroll-padding-top:88px;
}

body{
  margin:0;
  padding-left:var(--header-w);
  font-family:var(--font-body);
  background:var(--bg-cream);
  color:var(--text-body);
  line-height:1.8;
}

body, h1, h2, h3, h4, p, ul, ol, blockquote, figure{
  margin:0;
}

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

a{
  color:var(--primary-blue);
  text-decoration:underline;
  text-underline-offset:3px;
}

button{
  font-family:inherit;
  cursor:pointer;
}

main{
  display:block;
  min-height:60vh;
}

#main-content{
  outline:none;
}

:focus-visible{
  outline:3px solid var(--accent-orange);
  outline-offset:3px;
  border-radius:4px;
}

.skip-link{
  position:fixed;
  left:12px;
  top:12px;
  z-index:2000;
  padding:10px 18px;
  background:var(--primary-blue);
  color:#fff;
  border-radius:999px;
  text-decoration:none;
  font-weight:600;
  transform:translateY(-200%);
  transition:transform .2s ease;
}

.skip-link:focus,
.skip-link:focus-visible{
  transform:translateY(0);
}

.site-header{
  position:fixed;
  top:0;
  left:0;
  bottom:0;
  width:var(--header-w);
  z-index:1000;
  display:flex;
  flex-direction:column;
  background:var(--bg-deep);
  color:var(--text-on-dark);
  border-right:1px solid rgba(255,255,255,.06);
  box-shadow:12px 0 40px rgba(0,0,0,.22);
  overflow:hidden;
}

.site-header::before{
  content:"";
  position:absolute;
  right:-10%;
  top:12%;
  width:180px;
  height:180px;
  background:radial-gradient(circle at center, rgba(18,100,255,.18), transparent 70%);
  pointer-events:none;
}

.site-header::after{
  content:"";
  position:absolute;
  right:-20%;
  bottom:10%;
  width:180px;
  height:180px;
  background:radial-gradient(circle at center, rgba(255,106,0,.14), transparent 70%);
  pointer-events:none;
}

.header-shell{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  height:100%;
  min-height:0;
  padding:28px 20px 24px;
  overflow-y:auto;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:#fff;
  flex-shrink:0;
}

.brand:hover{
  color:#fff;
}

.brand-mark{
  position:relative;
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  background:var(--primary-blue);
  border-radius:14px 4px 14px 4px;
  font-family:var(--font-heading);
  font-weight:800;
  font-size:18px;
  letter-spacing:.02em;
  color:#fff;
}

.brand-mark::after{
  content:"";
  position:absolute;
  top:-3px;
  right:-3px;
  width:10px;
  height:10px;
  background:var(--highlight-yellow);
  border-radius:50%;
  border:2px solid var(--bg-deep);
}

.brand-copy{
  display:flex;
  flex-direction:column;
  line-height:1.3;
}

.brand-name{
  font-family:var(--font-heading);
  font-size:20px;
  font-weight:700;
  letter-spacing:.04em;
}

.brand-slogan{
  margin-top:2px;
  max-width:140px;
  font-size:10px;
  color:rgba(255,255,255,.55);
  letter-spacing:.06em;
}

.nav-toggle{
  display:none;
  appearance:none;
  align-items:center;
  justify-content:center;
  gap:8px;
  height:48px;
  padding:0 12px;
  background:transparent;
  border:0;
  border-radius:12px;
  color:#fff;
  flex-shrink:0;
}

.nav-toggle-box{
  position:relative;
  width:22px;
  height:14px;
}

.nav-toggle-bar{
  position:absolute;
  left:0;
  width:100%;
  height:2px;
  background:currentColor;
  border-radius:2px;
  transition:top .25s ease, transform .25s ease, opacity .25s ease;
}

.nav-toggle-bar:nth-child(1){
  top:0;
}

.nav-toggle-bar:nth-child(2){
  top:6px;
}

.nav-toggle-bar:nth-child(3){
  top:12px;
}

.nav-toggle-label{
  font-size:13px;
  font-weight:500;
  letter-spacing:.06em;
}

.site-header[data-nav][data-open] .nav-toggle{
  color:var(--highlight-yellow);
}

.site-header[data-nav][data-open] .nav-toggle-bar:nth-child(1){
  top:6px;
  transform:rotate(45deg);
}

.site-header[data-nav][data-open] .nav-toggle-bar:nth-child(2){
  opacity:0;
}

.site-header[data-nav][data-open] .nav-toggle-bar:nth-child(3){
  top:6px;
  transform:rotate(-45deg);
}

.site-nav{
  flex:1;
  min-height:0;
  margin-top:42px;
  overflow-y:auto;
  scrollbar-width:none;
}

.site-nav::-webkit-scrollbar{
  display:none;
}

.nav-list{
  position:relative;
  list-style:none;
  margin:0;
  padding:0 0 0 2px;
}

.nav-list::before{
  content:"";
  position:absolute;
  left:4px;
  top:8px;
  bottom:8px;
  width:1px;
  background:linear-gradient(180deg, rgba(18,100,255,.7), rgba(255,106,0,.6), transparent);
}

.nav-item{
  position:relative;
}

.nav-link{
  position:relative;
  display:flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  padding:11px 10px 11px 22px;
  color:rgba(255,255,255,.62);
  text-decoration:none;
  font-size:15px;
  font-weight:500;
  letter-spacing:.02em;
  transition:color .25s ease, background .25s ease, padding-left .25s ease;
}

.nav-link::before{
  content:attr(data-index);
  position:absolute;
  left:0;
  top:50%;
  transform:translateY(-50%);
  width:14px;
  font-family:var(--font-heading);
  font-size:11px;
  font-weight:600;
  color:var(--accent-orange);
  opacity:.55;
  letter-spacing:.04em;
}

.nav-link:hover{
  color:#fff;
  background:rgba(255,255,255,.04);
  padding-left:28px;
}

.nav-link[aria-current="page"]{
  color:#fff;
  background:linear-gradient(90deg, rgba(18,100,255,.24), rgba(18,100,255,.02));
}

.nav-link[aria-current="page"]::after{
  content:"";
  position:absolute;
  left:1px;
  top:9px;
  bottom:9px;
  width:3px;
  border-radius:3px;
  background:var(--accent-orange);
  box-shadow:0 0 12px rgba(255,106,0,.5);
}

.header-meta{
  flex-shrink:0;
  margin-top:auto;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.08);
}

.member-link{
  display:block;
  padding:11px 12px;
  background:var(--accent-orange);
  color:#121212;
  border-radius:999px;
  text-align:center;
  text-decoration:none;
  font-family:var(--font-heading);
  font-weight:700;
  letter-spacing:.04em;
  font-size:15px;
  transition:background .2s ease, transform .2s ease;
}

.member-link:hover{
  background:#FF8527;
  color:#121212;
  transform:translateY(-1px);
}

.header-status{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin-top:14px;
  font-size:12px;
  color:rgba(255,255,255,.55);
}

.status-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--success-green);
  box-shadow:0 0 0 3px rgba(0,185,109,.15);
  animation:pulse 2.4s ease infinite;
}

@keyframes pulse{
  0%{
    box-shadow:0 0 0 0 rgba(0,185,109,.35);
  }
  70%{
    box-shadow:0 0 0 6px rgba(0,185,109,0);
  }
  100%{
    box-shadow:0 0 0 0 rgba(0,185,109,0);
  }
}

.scroll-progress{
  position:fixed;
  left:var(--header-w);
  right:0;
  bottom:0;
  height:3px;
  z-index:1500;
  background:rgba(18,100,255,.12);
  pointer-events:none;
}

.scroll-progress-bar{
  display:block;
  width:0;
  height:100%;
  background:linear-gradient(90deg, var(--primary-blue), var(--accent-orange) 60%, var(--highlight-yellow));
  box-shadow:0 0 10px rgba(255,106,0,.35);
  transition:width .1s linear;
}

.site-footer{
  position:relative;
  padding-top:64px;
  background:var(--bg-ink);
  color:rgba(255,255,255,.7);
  overflow:hidden;
}

.site-footer::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:3px;
  background:linear-gradient(90deg, var(--primary-blue), var(--accent-orange) 60%, var(--highlight-yellow));
}

.site-footer::after{
  content:"";
  position:absolute;
  right:-80px;
  bottom:-80px;
  width:260px;
  height:260px;
  background:rgba(18,100,255,.12);
  border-radius:44% 56% 60% 40% / 52% 42% 58% 48%;
  pointer-events:none;
}

.footer-shell{
  position:relative;
  z-index:1;
  max-width:1240px;
  margin:0 auto;
  padding:0 clamp(20px, 4vw, 48px);
}

.footer-grid{
  display:grid;
  grid-template-columns:1.2fr .9fr 1fr;
  gap:48px;
  padding-bottom:48px;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.footer-brand-link{
  display:inline-flex;
  align-items:center;
  gap:12px;
  color:#fff;
  text-decoration:none;
}

.footer-brand-mark{
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  background:var(--primary-blue);
  border-radius:12px 3px 12px 3px;
  font-family:var(--font-heading);
  font-weight:800;
  font-size:16px;
  color:#fff;
}

.footer-brand-name{
  font-family:var(--font-heading);
  font-size:22px;
  font-weight:700;
  letter-spacing:.04em;
  color:#fff;
}

.footer-slogan{
  margin-top:14px;
  color:rgba(255,255,255,.6);
  font-size:14px;
  letter-spacing:.04em;
}

.footer-trust{
  display:flex;
  align-items:flex-start;
  gap:8px;
  margin-top:18px;
  max-width:340px;
  font-size:13px;
  color:rgba(255,255,255,.45);
}

.trust-dot{
  flex-shrink:0;
  width:8px;
  height:8px;
  margin-top:8px;
  border-radius:50%;
  background:var(--success-green);
  box-shadow:0 0 0 3px rgba(0,185,109,.12);
}

.footer-block{
  min-width:0;
}

.footer-heading{
  margin-bottom:16px;
  font-family:var(--font-heading);
  font-size:13px;
  font-weight:600;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:#fff;
}

.footer-nav-list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:10px 16px;
}

.footer-nav-list a{
  color:rgba(255,255,255,.58);
  text-decoration:none;
  font-size:15px;
  transition:color .2s ease, padding-left .2s ease;
}

.footer-nav-list a:hover{
  color:#fff;
  padding-left:4px;
}

.footer-address{
  font-style:normal;
  line-height:1.9;
  font-size:14px;
  color:rgba(255,255,255,.62);
}

.footer-note{
  margin-top:14px;
  font-size:12px;
  line-height:1.7;
  color:rgba(255,255,255,.38);
}

.footer-bottom{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:12px 24px;
  padding:20px 0 28px;
  font-size:13px;
  color:rgba(255,255,255,.42);
}

.footer-legal-links{
  display:flex;
  flex-wrap:wrap;
  gap:20px;
  list-style:none;
  margin:0;
  padding:0;
}

.footer-legal-links a{
  color:rgba(255,255,255,.5);
  text-decoration:none;
  font-size:13px;
  transition:color .2s ease;
}

.footer-legal-links a:hover{
  color:#fff;
}

.back-top{
  position:fixed;
  right:clamp(16px, 3vw, 40px);
  bottom:28px;
  z-index:1200;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:10px 18px;
  background:var(--bg-ink);
  color:#fff;
  border:1px solid rgba(255,255,255,.16);
  border-radius:999px;
  box-shadow:0 8px 24px rgba(0,0,0,.22);
  font-size:13px;
  font-weight:600;
  opacity:0;
  visibility:hidden;
  transform:translateY(12px);
  transition:opacity .25s ease, transform .25s ease, visibility .25s ease;
}

.back-top.is-visible{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

.back-top:hover{
  background:var(--accent-orange);
  color:#121212;
  border-color:transparent;
}

.container{
  width:100%;
  max-width:var(--content-max);
  margin:0 auto;
  padding:0 clamp(20px, 4vw, 48px);
}

.container-narrow{
  max-width:860px;
}

.section{
  padding:clamp(64px, 10vw, 120px) 0;
}

.section-tight{
  padding:clamp(40px, 6vw, 72px) 0;
}

.panel{
  background:#fff;
  border:1px solid var(--border-soft);
  border-radius:var(--radius-card);
  padding:clamp(20px, 4vw, 40px);
}

.grid-2{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:clamp(20px, 3vw, 40px);
}

.grid-3{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:clamp(20px, 3vw, 40px);
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-bottom:18px;
  font-family:var(--font-heading);
  font-size:13px;
  font-weight:600;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--accent-orange);
}

.eyebrow::before{
  content:"";
  width:28px;
  height:2px;
  background:currentColor;
}

.page-title{
  margin-bottom:16px;
  font-family:var(--font-heading);
  font-size:clamp(40px, 6vw, 92px);
  line-height:1;
  letter-spacing:-.01em;
  text-transform:uppercase;
  color:var(--text-heading);
}

.lead{
  max-width:640px;
  font-size:clamp(16px, 2vw, 20px);
  line-height:1.9;
  color:var(--text-body);
}

.content-block > * + *{
  margin-top:1em;
}

.content-block h2,
.content-block h3{
  color:var(--text-heading);
}

.breadcrumb{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  list-style:none;
  margin:0 0 28px;
  padding:0;
  font-size:13px;
  color:rgba(255,255,255,.55);
}

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

.breadcrumb li + li::before{
  content:"/";
  margin:0 12px;
  opacity:.45;
}

.breadcrumb a{
  color:var(--primary-blue);
  text-decoration:none;
}

.breadcrumb a:hover{
  text-decoration:underline;
}

.breadcrumb [aria-current="page"]{
  color:inherit;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:11px 22px;
  border:1px solid transparent;
  border-radius:999px;
  font-family:var(--font-body);
  font-size:15px;
  font-weight:600;
  text-decoration:none;
  line-height:1.4;
  transition:background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.btn:hover{
  transform:translateY(-1px);
  text-decoration:none;
}

.btn-primary{
  background:var(--primary-blue);
  color:#fff;
}

.btn-primary:hover{
  background:#0F58E8;
  color:#fff;
}

.btn-accent{
  background:var(--accent-orange);
  color:#121212;
}

.btn-accent:hover{
  background:#FF8527;
  color:#121212;
}

.btn-ghost{
  background:transparent;
  border-color:var(--border-soft);
  color:var(--text-heading);
}

.btn-ghost:hover{
  border-color:var(--text-heading);
  color:var(--text-heading);
}

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

.btn-dark:hover{
  background:#2A2A2A;
  color:#fff;
}

.img-frame{
  position:relative;
  margin:0;
  overflow:hidden;
  display:flex;
  align-items:flex-end;
  aspect-ratio:16/10;
  background:linear-gradient(135deg, #1B1D24, #2A2D3A);
  border-radius:var(--radius-card);
  color:rgba(255,255,255,.45);
  isolation:isolate;
}

.img-frame::before{
  content:attr(data-label);
  position:absolute;
  left:16px;
  right:16px;
  bottom:16px;
  font-family:var(--font-heading);
  font-size:13px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:rgba(255,255,255,.45);
}

.img-frame img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}

.img-frame--wide{
  aspect-ratio:21/9;
}

.img-frame--portrait{
  aspect-ratio:3/4;
}

@media (max-width: 1023px){
  body{
    padding-left:0;
    padding-top:var(--header-h-mobile);
  }

  .site-header{
    left:0;
    right:0;
    top:0;
    bottom:auto;
    width:auto;
    height:var(--header-h-mobile);
    border-right:0;
    border-bottom:1px solid rgba(255,255,255,.08);
    overflow:visible;
    box-shadow:0 8px 30px rgba(0,0,0,.2);
  }

  .site-header::before,
  .site-header::after{
    display:none;
  }

  .header-shell{
    flex-direction:row;
    align-items:center;
    height:var(--header-h-mobile);
    padding:0 16px;
    overflow:visible;
  }

  .brand-slogan{
    display:none;
  }

  .brand-mark{
    width:38px;
    height:38px;
    border-radius:10px 3px 10px 3px;
    font-size:15px;
  }

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

  .nav-toggle{
    display:inline-flex;
    margin-left:auto;
  }

  .site-nav{
    position:fixed;
    top:var(--header-h-mobile);
    left:0;
    right:0;
    max-height:calc(100vh - var(--header-h-mobile));
    overflow-y:auto;
    margin-top:0;
    padding:16px 20px 24px;
    background:#0C0D10;
    border-bottom:1px solid rgba(255,255,255,.1);
    box-shadow:0 20px 40px rgba(0,0,0,.35);
    opacity:0;
    visibility:hidden;
    transform:translateY(-8px);
    transition:opacity .2s ease, transform .2s ease, visibility .2s ease;
    z-index:1400;
  }

  .site-header[data-nav][data-open] .site-nav{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
  }

  .header-meta{
    display:none;
  }

  .scroll-progress{
    left:0;
    right:0;
    bottom:0;
  }

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

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

  .grid-2,
  .grid-3{
    grid-template-columns:1fr 1fr;
  }
}

@media (max-width: 700px){
  .footer-grid{
    grid-template-columns:1fr;
    gap:32px;
  }

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

  .footer-nav-list{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .footer-bottom{
    flex-direction:column;
    align-items:flex-start;
  }

  .grid-2,
  .grid-3{
    grid-template-columns:1fr;
  }

  .img-frame--wide{
    aspect-ratio:16/10;
  }
}

@media (prefers-reduced-motion: reduce){
  html{
    scroll-behavior:auto;
  }

  *,
  *::before,
  *::after{
    animation-duration:0.001s !important;
    animation-iteration-count:1 !important;
    transition-duration:0.001s !important;
  }

  .status-dot{
    animation:none;
  }

  .back-top{
    transition:none;
  }
}
