:root {
  --paper: #f4efe5;
  --paper-deep: #e8dfcf;
  --ink: #25251f;
  --muted: #6f6a5f;
  --accent: #a4482d;
  --line: rgba(37, 37, 31, 0.18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 18%, rgba(199, 151, 78, 0.13), transparent 24rem),
    var(--paper);
  font-family: "Noto Serif SC", "Songti SC", SimSun, serif;
  line-height: 1.8;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 10;
  padding: .55rem .9rem;
  background: var(--ink);
  color: var(--paper);
}

.skip-link:focus { top: 1rem; }

.site-header,
main,
footer {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  color: var(--paper);
  background: var(--accent);
  font-size: .85rem;
  letter-spacing: 0;
}

nav { display: flex; gap: 2rem; }

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

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

.hero {
  position: relative;
  min-height: 660px;
  padding: 116px 0 96px;
  overflow: hidden;
}

.eyebrow,
.section-number,
.empty-date {
  margin: 0 0 1.5rem;
  color: var(--accent);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
}

h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(3.2rem, 7.8vw, 6.6rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: 1.08;
}

.lead {
  max-width: 560px;
  margin: 2.2rem 0 1.4rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.text-link {
  display: inline-flex;
  gap: .55rem;
  align-items: center;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.sun {
  position: absolute;
  right: 4%;
  top: 15%;
  width: clamp(160px, 25vw, 300px);
  aspect-ratio: 1;
  border: 1px solid rgba(164, 72, 45, .35);
  border-radius: 50%;
  opacity: .75;
}

.sun::before,
.sun::after,
.sun span::before,
.sun span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -34px;
  width: 1px;
  height: 26px;
  background: var(--accent);
  transform-origin: 0 calc(150px + 34px);
}

.sun::after { transform: rotate(90deg); }
.sun span::before { transform: rotate(45deg); }
.sun span::after { transform: rotate(-45deg); }

.about,
.notes {
  padding: 100px 0;
  border-top: 1px solid var(--line);
}

.about {
  display: grid;
  grid-template-columns: minmax(240px, .85fr) minmax(300px, 1.15fr);
  gap: 8vw;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 500;
  line-height: 1.25;
}

.about-copy {
  color: var(--muted);
  font-size: 1.08rem;
}

.about-copy p:first-child { margin-top: 0; }

.notes-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.notes-heading p { max-width: 350px; margin: 0; color: var(--muted); }

.empty-card {
  min-height: 240px;
  padding: clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .2);
}

.empty-card p { margin: 0; font-size: clamp(1.35rem, 3vw, 2.2rem); }
.empty-card .line { width: 72px; height: 1px; margin-top: 2rem; background: var(--accent); }

footer {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .82rem;
}

footer a { text-decoration: none; }

@media (max-width: 720px) {
  .site-header, main, footer { width: min(100% - 32px, 1120px); }
  .site-header { min-height: 76px; }
  nav { gap: 1.2rem; }
  .hero { min-height: 590px; padding-top: 88px; }
  .sun { top: 42%; right: -18%; opacity: .4; }
  .sun::before, .sun::after, .sun span::before, .sun span::after { display: none; }
  .about { grid-template-columns: 1fr; gap: 2rem; padding-block: 72px; }
  .notes { padding-block: 72px; }
  .notes-heading { display: block; }
  .notes-heading p { margin-top: 1rem; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; }
  footer p { margin: 0; }
}

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