:root {
  --paper: #f2efe8;
  --paper-deep: #e5dfd3;
  --ink: #171815;
  --muted: #66665f;
  --accent: #c43b2d;
  --accent-dark: #8f241b;
  --night: #1c211f;
  --night-soft: #29302d;
  --line: rgba(23, 24, 21, 0.18);
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans CJK SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}

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

.site-header {
  width: min(calc(100% - 3rem), var(--max-width));
  min-height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
}

.brand-mark {
  width: 1.1rem;
  height: 1.1rem;
  border: 4px solid var(--accent);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--paper);
  background: var(--ink);
}

nav {
  display: flex;
  gap: clamp(1rem, 3vw, 2.6rem);
}

nav a {
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--accent-dark);
}

.hero {
  width: min(calc(100% - 3rem), var(--max-width));
  min-height: 600px;
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) 0 5rem;
  display: grid;
  grid-template-columns: 1fr minmax(260px, 0.42fr);
  grid-template-areas:
    "eyebrow intro"
    "title intro";
  align-items: end;
  gap: 2rem 5rem;
}

.eyebrow,
.section-number,
.card-kicker {
  margin: 0;
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow {
  grid-area: eyebrow;
  align-self: start;
}

.hero h1 {
  grid-area: title;
  margin: 0;
  font-family: "Noto Serif CJK SC", "Source Han Serif SC", SimSun, serif;
  font-size: clamp(4.3rem, 10vw, 8.5rem);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 0.95;
}

.hero h1 em {
  color: var(--accent);
  font-style: normal;
}

.hero-intro {
  grid-area: intro;
  padding-bottom: 0.65rem;
  border-top: 3px solid var(--ink);
}

.hero-intro p {
  margin: 1.3rem 0 2.2rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35rem;
}

.comparison-section,
.notes-section {
  width: min(calc(100% - 3rem), var(--max-width));
  margin: 0 auto;
  padding: 7.5rem 0;
}

.section-heading {
  margin-bottom: 3.5rem;
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: 2rem;
}

.section-heading h2,
.notes-title-wrap h2 {
  margin: 0;
  font-family: "Noto Serif CJK SC", "Source Han Serif SC", SimSun, serif;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.section-heading > div > p {
  max-width: 42rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
}

.image-frame {
  position: relative;
  overflow: hidden;
  background: #d1c9bb;
  box-shadow: 0 28px 70px rgba(31, 27, 21, 0.15);
}

.image-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.image-label {
  position: absolute;
  top: 1rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(18, 20, 18, 0.78);
  color: #fff;
  font-size: clamp(0.72rem, 1.4vw, 0.88rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  backdrop-filter: blur(6px);
}

.image-label-left {
  left: 1rem;
}

.image-label-right {
  left: calc(50% + 1rem);
}

.comparison-figure {
  margin: 0;
}

.exposure-cards {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.exposure-card {
  min-height: 340px;
  padding: clamp(1.5rem, 4vw, 3.2rem);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  background: var(--paper);
}

.card-index {
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 800;
}

.exposure-card h3 {
  max-width: 22rem;
  margin: 0.6rem 0 1rem;
  font-family: "Noto Serif CJK SC", "Source Han Serif SC", SimSun, serif;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.25;
}

.exposure-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.priority-section {
  padding: 7.5rem max(1.5rem, calc((100vw - var(--max-width)) / 2));
  background: var(--night);
  color: #f6f2e9;
}

.section-heading-light .section-number,
.section-heading-light > div > p {
  color: #b7bdb8;
}

.priority-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.priority-grid article {
  min-height: 300px;
  padding: clamp(1.5rem, 3vw, 2.6rem);
  background: var(--night);
}

.priority-grid article > span {
  color: #e06555;
  font-family: Georgia, serif;
  font-size: 2.6rem;
  font-style: italic;
}

.priority-grid h3 {
  margin: 2.8rem 0 1rem;
  font-size: 1.15rem;
}

.priority-grid p {
  margin: 0;
  color: #b7bdb8;
  font-size: 0.92rem;
}

.notes-title-wrap {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: 2rem;
  align-items: start;
}

.notes-list {
  margin: 4rem 0 0 35%;
  padding: 0;
  list-style: none;
  counter-reset: note;
  border-top: 1px solid var(--line);
}

.notes-list li {
  counter-increment: note;
  padding: 2rem 0;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
}

.note-title {
  display: flex;
  gap: 1rem;
  font-weight: 700;
}

.note-title::before {
  content: "0" counter(note);
  color: var(--accent-dark);
  font-family: Georgia, serif;
  font-size: 0.82rem;
}

.notes-list li > span:last-child {
  color: var(--muted);
  font-size: 0.92rem;
}

footer {
  padding: 3rem max(1.5rem, calc((100vw - var(--max-width)) / 2));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: var(--paper-deep);
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

footer p {
  margin: 0;
}

.site-purpose {
  margin-top: 0.35rem;
}

.filing-note {
  text-align: center;
}

.filing-note a {
  text-underline-offset: 0.25rem;
}

.filing-note a:hover,
.filing-note a:focus-visible {
  color: var(--accent-dark);
}

:focus-visible {
  outline: 3px solid #ee6a58;
  outline-offset: 4px;
}

@media (max-width: 820px) {
  .site-header {
    min-height: 74px;
  }

  nav a:not(:first-child) {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 5rem 0;
    grid-template-columns: 1fr;
    grid-template-areas:
      "eyebrow"
      "title"
      "intro";
  }

  .hero-intro {
    margin-top: 2rem;
  }

  .section-heading,
  .notes-title-wrap {
    grid-template-columns: 1fr;
  }

  .exposure-cards,
  .priority-grid {
    grid-template-columns: 1fr;
  }

  .exposure-card,
  .priority-grid article {
    min-height: auto;
  }

  .notes-list {
    margin-left: 0;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero,
  .comparison-section,
  .notes-section {
    width: min(calc(100% - 2rem), var(--max-width));
  }

  .brand {
    letter-spacing: 0.06em;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 21vw, 5rem);
  }

  .comparison-section,
  .notes-section,
  .priority-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .image-label {
    top: 0.55rem;
    padding: 0.38rem 0.55rem;
    letter-spacing: 0;
  }

  .image-label-left {
    left: 0.55rem;
  }

  .image-label-right {
    left: calc(50% + 0.55rem);
  }

  .exposure-card {
    grid-template-columns: 1fr;
  }

  .notes-list li {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

}

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