@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700&family=Noto+Serif+SC:wght@600;700&display=swap");

:root {
  color-scheme: light;
  --canvas: #f7f5f0;
  --surface: #fffdf8;
  --surface-strong: #ece8de;
  --ink: #202522;
  --muted: #677069;
  --line: #d5d4cb;
  --accent: #c6533f;
  --accent-strong: #963b2d;
  --green: #315d4c;
  --yellow: #e7b953;
  --shadow: 0 18px 50px rgb(36 38 31 / 9%);
  --serif: "Noto Serif SC", "Songti SC", SimSun, serif;
  --sans: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --shell: min(1120px, calc(100% - 40px));
}

html[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #181c19;
  --surface: #202622;
  --surface-strong: #2b322e;
  --ink: #eff0e9;
  --muted: #adb7ae;
  --line: #3a433d;
  --accent: #e17862;
  --accent-strong: #ef9582;
  --green: #77a994;
  --yellow: #e4ba62;
  --shadow: 0 18px 50px rgb(0 0 0 / 24%);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 8px 14px;
  background: var(--ink);
  color: var(--canvas);
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
  background: color-mix(in srgb, var(--canvas) 90%, transparent);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 11px;
  font-family: var(--serif);
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: var(--accent);
  color: white;
  font-size: 16px;
}

.primary-nav {
  justify-self: center;
}

.nav-list {
  display: flex;
  gap: 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  position: relative;
  display: block;
  padding: 7px 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav-list a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--ink);
}

.nav-list a:hover::after,
.nav-list a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.icon-button {
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.icon-button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.theme-button {
  justify-self: end;
}

.theme-icon {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
}

.menu-button {
  display: none;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(380px, 0.9fr);
  align-items: center;
  min-height: min(690px, calc(100vh - 76px));
  padding-block: 72px;
}

.intro-copy {
  position: relative;
  z-index: 2;
  max-width: 690px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.intro h1 {
  max-width: 7em;
  margin-bottom: 22px;
  font-family: var(--serif);
  font-size: clamp(52px, 7.3vw, 92px);
  line-height: 1.13;
}

.intro h1::after {
  display: inline-block;
  width: 0.15em;
  height: 0.15em;
  margin-left: 0.1em;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.intro-lead {
  max-width: 570px;
  margin-bottom: 34px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.85;
}

.intro-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 48px;
  padding: 10px 20px;
  border: 1px solid var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.button-primary {
  background: var(--accent);
  color: white;
}

.button-primary:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.text-link,
.article-link {
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
}

.text-link:hover,
.article-link:hover {
  color: var(--accent);
}

.lane-art {
  position: relative;
  width: min(100%, 470px);
  aspect-ratio: 1 / 1.12;
  justify-self: end;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.lane-sun {
  position: absolute;
  top: 14%;
  right: 16%;
  width: 22%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--yellow);
}

.lane-wall {
  position: absolute;
  bottom: 0;
  background: var(--green);
}

.lane-wall-left {
  top: 14%;
  left: 0;
  width: 41%;
  clip-path: polygon(0 0, 88% 13%, 100% 100%, 0 100%);
}

.lane-wall-right {
  top: 30%;
  right: 0;
  width: 46%;
  background: var(--accent);
  clip-path: polygon(17% 0, 100% 9%, 100% 100%, 0 100%);
}

.lane-path {
  position: absolute;
  bottom: -3%;
  left: 35%;
  width: 36%;
  height: 72%;
  background: var(--surface);
  clip-path: polygon(46% 0, 60% 0, 100% 100%, 0 100%);
}

.lane-window {
  position: absolute;
  z-index: 2;
  width: 11%;
  height: 17%;
  border: 7px solid color-mix(in srgb, var(--green) 70%, black);
  background: var(--yellow);
}

.lane-window-one {
  top: 29%;
  left: 13%;
}

.lane-window-two {
  top: 44%;
  right: 13%;
  border-color: color-mix(in srgb, var(--accent) 68%, black);
}

.lane-caption {
  position: absolute;
  right: 11%;
  bottom: 8%;
  z-index: 3;
  color: white;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  writing-mode: vertical-rl;
}

.featured-band,
.index-band,
.about-band {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.featured-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 10%;
  padding-block: 82px;
}

.section-heading h2 {
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.3;
}

.section-heading > p:last-child {
  max-width: 430px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.featured-article {
  padding-left: 36px;
  border-left: 3px solid var(--accent);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-bottom: 17px;
  color: var(--muted);
  font-size: 12px;
}

.tag {
  padding: 3px 9px;
  background: var(--surface-strong);
  color: var(--green);
  font-weight: 700;
}

.featured-article h3,
.article-card h3 {
  font-family: var(--serif);
  line-height: 1.55;
}

.featured-article h3 {
  max-width: 720px;
  margin-bottom: 16px;
  font-size: clamp(25px, 3vw, 38px);
}

.featured-article h3 a:hover,
.article-card h3 a:hover {
  color: var(--accent);
}

.featured-article > p {
  max-width: 670px;
  margin-bottom: 24px;
  color: var(--muted);
}

.articles-section {
  padding-block: 100px;
}

.section-topline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 45px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filter-button {
  min-height: 38px;
  padding: 6px 16px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.filter-button:hover,
.filter-button.is-active {
  border-color: var(--green);
  background: var(--green);
  color: white;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.article-card {
  position: relative;
  min-height: 390px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--canvas);
  transition: background 180ms ease, transform 180ms ease;
}

.article-card:hover {
  z-index: 2;
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.article-card[hidden] {
  display: none;
}

.card-number {
  margin-bottom: 62px;
  color: var(--line);
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
}

.article-card h3 {
  margin-bottom: 15px;
  font-size: 22px;
}

.article-card > p {
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 14px;
}

.filter-empty {
  margin: 24px 0 0;
  color: var(--muted);
}

.index-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 10%;
  padding-block: 90px;
}

.topic-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.topic-list li {
  border-bottom: 1px solid var(--line);
}

.topic-list a {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 82px;
}

.topic-list a:hover strong {
  color: var(--accent);
}

.topic-list span,
.topic-list small {
  color: var(--muted);
  font-size: 12px;
}

.topic-list strong {
  font-family: var(--serif);
  font-size: 20px;
}

.notes-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 50px;
  padding-block: 100px;
}

.note {
  scroll-margin-top: 100px;
}

.note h2 {
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.5;
}

.note > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.about-band {
  border-bottom: 0;
  background: var(--green);
  color: white;
}

.about-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 9%;
  padding-block: 100px;
}

.about-band .eyebrow {
  color: var(--yellow);
}

.about-copy h2 {
  margin-bottom: 24px;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 48px);
}

.about-lead {
  max-width: 620px;
  margin-bottom: 36px;
  color: rgb(255 255 255 / 78%);
  font-family: var(--serif);
  font-size: 18px;
}

.site-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  margin: 0;
}

.site-facts div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 0;
  border-top: 1px solid rgb(255 255 255 / 22%);
}

.site-facts dt {
  color: rgb(255 255 255 / 62%);
  font-size: 13px;
}

.site-facts dd {
  margin: 0;
  font-weight: 600;
}

.subscribe {
  align-self: center;
  padding: 34px;
  border: 1px solid rgb(255 255 255 / 30%);
}

.subscribe-index {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  place-items: center;
  background: var(--yellow);
  color: #253c33;
  font-family: var(--serif);
  font-weight: 700;
}

.subscribe h3 {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: 24px;
}

.subscribe > p {
  color: rgb(255 255 255 / 70%);
  font-size: 13px;
}

.subscribe-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
}

.subscribe-row {
  display: grid;
  grid-template-columns: 1fr auto;
}

.subscribe-row input,
.subscribe-row button {
  min-height: 44px;
  border: 1px solid rgb(255 255 255 / 36%);
}

.subscribe-row input {
  min-width: 0;
  padding: 8px 12px;
  border-right: 0;
  background: rgb(255 255 255 / 9%);
  color: white;
}

.subscribe-row input::placeholder {
  color: rgb(255 255 255 / 55%);
}

.subscribe-row button {
  padding: 8px 15px;
  background: transparent;
  color: rgb(255 255 255 / 58%);
}

.site-footer {
  padding-block: 58px 24px;
  background: #121815;
  color: #eef2ec;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  padding-bottom: 45px;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
}

.footer-inner > div:first-child p,
.filing-info p {
  margin: 9px 0 0;
  color: #aab5ad;
  font-size: 12px;
}

.filing-info {
  text-align: right;
}

.filing-info strong {
  color: #eef2ec;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid #303833;
  color: #829087;
  font-size: 11px;
  letter-spacing: 0.08em;
}

@media (max-width: 860px) {
  :root {
    --shell: min(100% - 32px, 680px);
  }

  .header-inner {
    grid-template-columns: 1fr auto auto;
    gap: 10px;
  }

  .menu-button {
    display: grid;
    grid-column: 2;
    grid-row: 1;
  }

  .theme-button {
    grid-column: 3;
  }

  .menu-lines,
  .menu-lines::before,
  .menu-lines::after {
    display: block;
    width: 17px;
    height: 1px;
    background: currentColor;
    content: "";
  }

  .menu-lines {
    position: relative;
  }

  .menu-lines::before {
    position: absolute;
    top: -5px;
  }

  .menu-lines::after {
    position: absolute;
    top: 5px;
  }

  .primary-nav {
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .nav-list {
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0 18px;
  }

  .js .primary-nav {
    display: grid;
    grid-template-rows: 0fr;
    visibility: hidden;
    transition: grid-template-rows 180ms ease, visibility 180ms ease;
  }

  .js .primary-nav .nav-list {
    overflow: hidden;
  }

  .js .primary-nav.is-open {
    grid-template-rows: 1fr;
    visibility: visible;
  }

  .intro,
  .featured-layout,
  .index-layout,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .intro {
    gap: 56px;
    min-height: 0;
    padding-block: 70px;
  }

  .intro h1 {
    font-size: clamp(48px, 13vw, 76px);
  }

  .lane-art {
    width: min(100%, 520px);
    justify-self: center;
  }

  .featured-layout,
  .index-layout,
  .about-layout {
    gap: 46px;
  }

  .article-grid,
  .notes-section {
    grid-template-columns: 1fr;
  }

  .article-card {
    min-height: 0;
  }

  .card-number {
    margin-bottom: 42px;
  }

  .notes-section {
    gap: 60px;
  }
}

@media (max-width: 560px) {
  :root {
    --shell: calc(100% - 28px);
  }

  .site-header {
    backdrop-filter: none;
    background: var(--canvas);
  }

  .brand > span:last-child {
    font-size: 14px;
  }

  .intro {
    padding-block: 54px 68px;
  }

  .intro h1 {
    font-size: 49px;
  }

  .intro-lead {
    font-size: 17px;
  }

  .intro-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .lane-art {
    aspect-ratio: 1 / 1;
  }

  .featured-layout,
  .index-layout,
  .about-layout,
  .articles-section,
  .notes-section {
    padding-block: 68px;
  }

  .featured-article {
    padding-left: 22px;
  }

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

  .filters {
    justify-content: flex-start;
  }

  .article-card {
    padding: 26px;
  }

  .topic-list a {
    grid-template-columns: 38px 1fr;
  }

  .topic-list small {
    grid-column: 2;
    margin-top: -22px;
    padding-bottom: 12px;
  }

  .site-facts {
    grid-template-columns: 1fr;
  }

  .subscribe {
    padding: 25px;
  }

  .subscribe-row {
    grid-template-columns: 1fr;
  }

  .subscribe-row input {
    border-right: 1px solid rgb(255 255 255 / 36%);
    border-bottom: 0;
  }

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

  .filing-info {
    text-align: left;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
