@import url('https://fonts.googleapis.com/css2?family=Lexend+Mega:wght@100..900&family=Public+Sans:wght@100..900&display=swap');

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Public Sans', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: #ffffff;
  color: #000000;
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

ul, ol {
  list-style: none;
}

/* ===========================
   TOP TICKER
=========================== */
.top-ticker {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 16px;
  font-size: 12px;
  font-family: 'Public Sans', sans-serif;
  letter-spacing: 0.04em;
  height: 32px;
  overflow: hidden;
}

.ticker-label {
  background: #fff;
  color: #000;
  font-weight: 800;
  padding: 2px 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0.9;
}

/* ===========================
   PAGE WRAPPER & SHELL
=========================== */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.layout-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  grid-template-areas: "header content";
  flex: 1;
  margin-top: 32px;
}

/* ===========================
   SITE HEADER (Left Sidebar Nav)
=========================== */
.site-header {
  grid-area: header;
  position: fixed;
  top: 32px;
  left: 0;
  width: 240px;
  height: calc(100vh - 32px);
  background: #000;
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 0;
  z-index: 1000;
  border-right: 3px solid #000;
  overflow-y: auto;
}

.header-brand {
  padding: 28px 20px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.brand-link {
  display: block;
  margin-bottom: 8px;
}

.logo-text {
  font-family: 'Lexend Mega', sans-serif;
  font-weight: 900;
  font-size: 18px;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  display: block;
}

.site-logo {
  max-height: 48px;
  width: auto;
}

.header-slogan {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.1em;
  text-transform: none;
  margin-top: 4px;
}

/* Nav */
.site-nav {
  flex: 1;
  padding: 16px 0;
}

.site-nav ol {
  display: flex;
  flex-direction: column;
}

.site-nav ol li a {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  font-family: 'Public Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.03em;
  min-height: 44px;
  border-left: 3px solid transparent;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
  line-height: 1.3;
}

.site-nav ol li a:hover {
  background: rgba(255,255,255,0.1);
  border-left-color: #fff;
  color: #fff;
  text-decoration: none;
}

.nav-footer-note {
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.nav-footer-note small {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.06em;
}

/* ===========================
   CONTENT SHELL
=========================== */
.content-shell {
  grid-area: content;
  margin-left: 240px;
}

.site-main {
  width: 100%;
}

.home-article {
  width: 100%;
}

/* ===========================
   HERO
=========================== */
.hero-section {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  overflow: hidden;
}

.hero-dot-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.18) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 24px;
  max-width: 900px;
  width: 100%;
}

.hero-eyebrow {
  display: inline-block;
  font-family: 'Public Sans', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.6);
  text-transform: none;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 4px 14px;
  margin-bottom: 24px;
}

.hero-h1 {
  font-family: 'Lexend Mega', sans-serif;
  font-weight: 900;
  font-size: clamp(36px, 8vw, 96px);
  color: #ffffff;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  word-break: break-all;
}

.hero-sub {
  font-family: 'Public Sans', sans-serif;
  font-size: clamp(15px, 2vw, 20px);
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-cta {
  display: inline-block;
  background: #fff;
  color: #000;
  font-family: 'Lexend Mega', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 40px;
  letter-spacing: 0.06em;
  border: 2px solid #fff;
  transition: background 0.2s, color 0.2s;
  min-height: 44px;
}

.hero-cta:hover {
  background: #000;
  color: #fff;
  text-decoration: none;
}

/* ===========================
   PULL QUOTE
=========================== */
.pull-quote-section {
  background: #f4f4f4;
  border-top: 4px solid #000;
  border-bottom: 4px solid #000;
  padding: 40px 48px;
}

.pull-quote {
  max-width: 800px;
  margin: 0 auto;
  border-left: 6px solid #000;
  padding-left: 28px;
}

.pull-quote p {
  font-family: 'Lexend Mega', sans-serif;
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #000;
  margin-bottom: 12px;
}

.pull-quote cite {
  font-family: 'Public Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  letter-spacing: 0.05em;
  font-style: normal;
}

/* ===========================
   MAIN CONTENT + ASIDE
=========================== */
.page-content-section {
  padding: 0;
}

.content-with-aside {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 0;
  align-items: start;
}

.main-content-col {
  padding: 48px 40px;
  border-right: 2px solid #000;
  min-width: 0;
}

/* ===========================
   ASIDE
=========================== */
.global-aside {
  padding: 48px 24px;
  position: sticky;
  top: calc(32px + 20px);
}

.aside-block {
  margin-bottom: 36px;
}

.aside-block h3 {
  font-family: 'Lexend Mega', sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  color: #000;
}

.aside-block hr {
  border: none;
  border-top: 2px solid #000;
  margin-bottom: 12px;
}

.aside-block p {
  font-size: 13px;
  line-height: 1.6;
  color: #333;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list li {
  background: #000;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  letter-spacing: 0.04em;
}

.aside-nav {
  list-style: decimal inside;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.aside-nav li {
  font-size: 12px;
}

.aside-nav li a {
  color: #000;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(0,0,0,0.3);
  transition: text-decoration-color 0.15s;
}

.aside-nav li a:hover {
  text-decoration-color: #000;
}

/* ===========================
   PAGE CONTENT TYPOGRAPHY
=========================== */
.main-content-col h2 {
  font-family: 'Lexend Mega', sans-serif;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-top: 48px;
  margin-bottom: 8px;
  color: #000;
}

.main-content-col h2:first-child {
  margin-top: 0;
}

.main-content-col h2 + hr {
  border: none;
  border-top: 3px solid #000;
  margin-bottom: 20px;
}

.main-content-col h3 {
  font-family: 'Lexend Mega', sans-serif;
  font-size: clamp(17px, 2.2vw, 24px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-top: 36px;
  margin-bottom: 8px;
  color: #000;
}

.main-content-col h3 + hr {
  border: none;
  border-top: 2px solid #000;
  margin-bottom: 16px;
}

.main-content-col h4 {
  font-family: 'Public Sans', sans-serif;
  font-size: 17px;
  font-weight: 800;
  margin-top: 28px;
  margin-bottom: 6px;
}

.main-content-col p {
  font-size: 16px;
  line-height: 1.75;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.main-content-col p:first-of-type::first-letter {
  font-family: 'Lexend Mega', sans-serif;
  font-size: 4em;
  font-weight: 900;
  float: left;
  line-height: 0.8;
  margin-right: 8px;
  margin-top: 6px;
  color: #000;
}

.main-content-col ul,
.main-content-col ol {
  margin: 0 0 20px 20px;
  font-size: 16px;
  line-height: 1.7;
}

.main-content-col ul {
  list-style: disc;
}

.main-content-col ol {
  list-style: decimal;
}

.main-content-col li {
  margin-bottom: 6px;
  color: #1a1a1a;
}

.main-content-col blockquote {
  border-left: 5px solid #000;
  padding: 16px 24px;
  margin: 28px 0;
  background: #f8f8f8;
  font-size: 17px;
  font-style: italic;
  color: #222;
}

.main-content-col hr {
  border: none;
  border-top: 2px solid #000;
  margin: 28px 0;
}

.main-content-col a {
  color: #000;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.main-content-col a:hover {
  background: #000;
  color: #fff;
}

.main-content-col section {
  padding-top: 20px;
}

/* Drop cap only on first section */
.main-content-col section:not(:first-of-type) p:first-of-type::first-letter {
  all: unset;
}

/* Section divider */
.main-content-col section + section {
  border-top: 1px solid #e0e0e0;
  margin-top: 20px;
  padding-top: 40px;
}

/* ===========================
   FOOTER
=========================== */
.site-footer {
  background: #000;
  color: #fff;
  padding: 60px 40px 36px;
  text-align: center;
  margin-left: 240px;
}

.footer-brand-mega {
  font-family: 'Lexend Mega', sans-serif;
  font-weight: 900;
  font-size: clamp(40px, 8vw, 100px);
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: #fff;
  margin-bottom: 16px;
  opacity: 0.95;
}

.footer-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  max-width: 500px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.footer-copy {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.04em;
}

/* ===========================
   SCROLL REVEAL (JS-driven)
=========================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ===========================
   RESPONSIVE: TABLET
=========================== */
@media (max-width: 900px) {
  .layout-shell {
    grid-template-columns: 1fr;
    grid-template-areas: "header" "content";
  }

  .site-header {
    position: static;
    width: 100%;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0;
    border-right: none;
    border-bottom: 3px solid #000;
  }

  .header-brand {
    padding: 16px 20px;
    border-bottom: none;
    border-right: 2px solid rgba(255,255,255,0.2);
    flex-shrink: 0;
  }

  .site-nav {
    flex: 1;
    padding: 0;
    overflow-x: auto;
  }

  .site-nav ol {
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .site-nav ol li a {
    white-space: nowrap;
    padding: 0 16px;
    min-height: 56px;
    border-left: none;
    border-bottom: 3px solid transparent;
    font-size: 12px;
  }

  .site-nav ol li a:hover {
    border-left-color: transparent;
    border-bottom-color: #fff;
  }

  .nav-footer-note {
    display: none;
  }

  .content-shell {
    margin-left: 0;
  }

  .content-with-aside {
    grid-template-columns: 1fr;
  }

  .main-content-col {
    border-right: none;
    border-bottom: 2px solid #000;
    padding: 32px 24px;
  }

  .global-aside {
    position: static;
    padding: 32px 24px;
    border-top: 2px solid #000;
  }

  .site-footer {
    margin-left: 0;
  }

  .pull-quote-section {
    padding: 28px 24px;
  }
}

/* ===========================
   RESPONSIVE: MOBILE
=========================== */
@media (max-width: 480px) {
  .hero-section {
    min-height: 70vh;
  }

  .hero-inner {
    padding: 40px 16px;
  }

  .hero-h1 {
    font-size: clamp(30px, 10vw, 48px);
    word-break: break-all;
  }

  .main-content-col {
    padding: 24px 16px;
  }

  .global-aside {
    padding: 24px 16px;
  }

  .site-footer {
    padding: 40px 16px 28px;
  }

  .pull-quote-section {
    padding: 24px 16px;
  }

  .pull-quote {
    padding-left: 16px;
  }

  .hero-cta {
    min-height: 48px;
    padding: 14px 28px;
    font-size: 14px;
  }
}

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