@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* ===== BASE RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Plus Jakarta Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  color: #000;
  background: #fff;
  overflow-x: hidden;
}

body.home-page {
  padding-bottom: 64px;
}

/* ===== SCROLL MARGIN ===== */
section[id] {
  scroll-margin-top: 80px;
  scroll-margin-bottom: 80px;
}

/* ===== PAGE WRAPPER ===== */
.page-wrapper {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 0;
  min-height: 100vh;
}

.page-wrapper > * {
  grid-column: 1 / -1;
}

/* ===== BOTTOM NAV ASIDE ===== */
.bottom-nav-aside {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #000;
  border-top: 2px solid #fff;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.18);
}

.bottom-nav {
  display: flex;
  align-items: stretch;
  height: 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 8px;
  gap: 0;
}

.bottom-nav__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  padding: 0 12px;
  text-decoration: none;
  border-right: 1px solid rgba(255,255,255,0.15);
  flex-shrink: 0;
}

.brand-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.brand-text-logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
  width: 32px;
  height: 32px;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bottom-nav ul {
  display: flex;
  flex: 1;
  list-style: none;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;
}

.bottom-nav ul::-webkit-scrollbar { display: none; }

.bottom-nav ul li {
  display: flex;
  flex: 1;
  min-width: 44px;
}

/* ===== NAV TAP TARGETS ≥40px ===== */
.bottom-nav ul li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 8px 4px;
  min-height: 64px;
  width: 100%;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s, background 0.2s;
}

.bottom-nav ul li a:hover,
.bottom-nav ul li a:focus {
  color: #fff;
  background: rgba(255,255,255,0.08);
  outline: none;
}

.nav-icon {
  font-size: 1rem;
  line-height: 1;
  display: block;
}

.nav-label {
  display: block;
  white-space: nowrap;
  font-size: 0.6rem;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0;
  background: #000;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero__grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
  min-height: 100vh;
  align-items: center;
}

.hero__media-wrap {
  grid-column: 1 / 7;
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero__fig {
  position: absolute;
  margin: 0;
  overflow: hidden;
}

.hero__fig--a {
  top: 8%;
  left: 0;
  width: 70%;
  height: 55%;
  z-index: 2;
}

.hero__fig--b {
  bottom: 10%;
  right: 0;
  width: 55%;
  height: 42%;
  z-index: 3;
}

.hero__fig--placeholder {
  background: #111;
}

.placeholder-block {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #111 0%, #222 100%);
  border: 1px solid rgba(255,255,255,0.08);
}

.placeholder-block--sm {
  background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
}

.hero__fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__copy {
  grid-column: 7 / 13;
  padding: 3rem 2rem 3rem 1.5rem;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 1.5rem;
  z-index: 4;
}

.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  line-height: 1;
}

.hero__h1 {
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  max-width: 12em;
}

.hero__sub {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  max-width: 28em;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: #fff;
  color: #000;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  min-height: 48px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.hero__cta:hover,
.hero__cta:focus {
  background: rgba(255,255,255,0.88);
  transform: translateY(-2px);
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ===== SITE MAIN ===== */
.site-main {
  background: #fff;
  padding: 0;
}

/* ===== CONTENT SECTION ===== */
.content-section {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  align-items: start;
}

.content-section--full {
  width: 100%;
  max-width: 100%;
  padding: 0;
}

.content-section--full .content-body {
  grid-column: 1 / 10;
  padding: 4rem 2rem 4rem 3rem;
}

.content-section--full .content-aside {
  grid-column: 10 / 13;
  padding: 4rem 2rem 4rem 0;
  position: sticky;
  top: 1rem;
  align-self: start;
}

/* ===== ASIDE ===== */
.content-aside {
  border-left: 2px solid #000;
  padding-left: 1.5rem;
}

.aside-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 0.75rem;
}

.content-aside hr {
  border: none;
  border-top: 1px solid #000;
  margin-bottom: 1rem;
}

.aside-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.aside-links li {
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.aside-links li a {
  display: block;
  padding: 0.55rem 0;
  font-size: 0.8rem;
  font-weight: 500;
  color: #000;
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.15s, padding-left 0.15s;
}

.aside-links li a:hover,
.aside-links li a:focus {
  color: #444;
  padding-left: 0.4rem;
  outline: none;
}

.aside-meta {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0,0,0,0.15);
}

.aside-topic {
  font-size: 0.72rem;
  color: #555;
  font-weight: 400;
  line-height: 1.5;
}

/* ===== CONTENT BODY (page.content 区域) ===== */
.content-body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #111;
}

.content-body h2 {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-top: 3rem;
  margin-bottom: 0.5rem;
  color: #000;
}

.content-body h2 + hr {
  border: none;
  border-top: 2px solid #000;
  margin-bottom: 1.5rem;
}

.content-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: #000;
}

.content-body h3 + hr {
  border: none;
  border-top: 1px solid rgba(0,0,0,0.3);
  margin-bottom: 1rem;
}

.content-body p {
  margin-bottom: 1.2rem;
  max-width: 68ch;
}

.content-body ul,
.content-body ol {
  margin: 1rem 0 1.2rem 1.5rem;
}

.content-body li {
  margin-bottom: 0.4rem;
}

.content-body a {
  color: #000;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: opacity 0.15s;
}

.content-body a:hover { opacity: 0.65; }

.content-body blockquote {
  border-left: 4px solid #000;
  padding: 0.75rem 1.25rem;
  margin: 1.5rem 0;
  background: rgba(0,0,0,0.03);
  font-style: italic;
}

.content-body section {
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.content-body section:first-of-type {
  padding-top: 0;
}

.content-body section:last-of-type {
  border-bottom: none;
}

.content-body section > figure {
  margin: 1.5rem 0;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}

.content-body section > figure img {
  width: 100%;
  height: auto;
  display: block;
}

.content-body section > figure figcaption {
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  color: #555;
  background: rgba(0,0,0,0.02);
}

.content-body section > aside {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border: 1px solid #000;
  border-radius: 4px;
  background: #f9f9f9;
  font-size: 0.9rem;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #000;
  color: #fff;
  padding: 4rem 3rem 2rem;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 2.5rem;
}

.footer__brand-block {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__brand-name {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.footer__brand-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  max-width: 32em;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer__dl {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__dl dt {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__dl dd {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

.footer__dl dd a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.15s;
}

.footer__dl dd a:hover,
.footer__dl dd a:focus {
  color: #fff;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.footer__keywords {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  text-align: right;
}

/* ===== SCROLL REVEAL ===== */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }

  .hero__fig--a {
    animation: slideInLeft 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .hero__fig--b {
    animation: slideInRight 1.1s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  @keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-40px) scale(0.97); }
    to   { opacity: 1; transform: none; }
  }

  @keyframes slideInRight {
    from { opacity: 0; transform: translateX(40px) scale(0.97); }
    to   { opacity: 1; transform: none; }
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hero__fig--a,
  .hero__fig--b {
    animation: none !important;
  }
}

/* ===== CARDS ===== */
.card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.13);
  transform: translateY(-2px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .content-section--full {
    display: flex;
    flex-direction: column;
  }

  .content-section--full .content-body {
    order: 1;
    padding: 2rem 1.25rem;
    width: 100%;
  }

  .content-section--full .content-aside {
    order: 2;
    position: static;
    padding: 2rem 1.25rem;
    border-left: none;
    border-top: 2px solid #000;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: start;
  }

  .content-aside .aside-title {
    grid-column: 1 / -1;
  }

  .content-aside hr {
    grid-column: 1 / -1;
  }

  .aside-links {
    grid-column: 1 / 2;
  }

  .aside-meta {
    grid-column: 2 / 3;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }

  .hero__media-wrap {
    grid-column: 1 / 7;
  }

  .hero__copy {
    grid-column: 7 / 13;
    padding: 2rem 1.5rem 2rem 1rem;
  }

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

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

@media (max-width: 600px) {
  html {
    scroll-padding-bottom: 64px;
  }

  .hero {
    min-height: 100svh;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    min-height: 100svh;
    position: relative;
  }

  .hero__media-wrap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    grid-column: auto;
    height: 100%;
    opacity: 0.35;
    z-index: 1;
  }

  .hero__copy {
    grid-column: auto;
    position: relative;
    z-index: 2;
    text-align: right;
    align-items: flex-end;
    padding: 2rem 1.25rem;
    justify-content: flex-end;
    min-height: 100svh;
    background: transparent;
  }

  .hero__h1 {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  .hero__sub {
    font-size: 0.9rem;
  }

  .hero__cta {
    font-size: 0.875rem;
    padding: 0.875rem 1.5rem;
    min-height: 48px;
  }

  .hero__fig--a {
    width: 75%;
    height: 50%;
  }

  .hero__fig--b {
    width: 60%;
    height: 38%;
  }

  .site-footer {
    padding: 2.5rem 1.25rem 1.5rem;
  }

  .footer__cols {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .footer__keywords {
    text-align: left;
  }

  /* 移动端导航条撑满高度，标签整行可点 */
  .bottom-nav ul li a {
    padding: 8px 2px;
    min-height: 64px;
  }

  .nav-label {
    font-size: 0.55rem;
  }

  .content-section--full .content-aside {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
  }

  .aside-links {
    columns: 2;
  }

  .content-body h2 {
    font-size: 1.4rem;
  }
}

@media (max-width: 375px) {
  .hero__copy {
    padding: 1.5rem 1rem;
  }

  .hero__h1 {
    font-size: 1.6rem;
  }

  .site-footer {
    padding: 2rem 1rem 1rem;
  }

  .bottom-nav ul li a {
    min-height: 64px;
    padding: 8px 1px;
  }
}

button[aria-expanded]{min-width:44px;min-height:44px}
