:root {
  color-scheme: dark;
  --ink: #f3f0e8;
  --muted: #c7c0b2;
  --soft: #9fb9b4;
  --line: rgba(243, 240, 232, 0.18);
  --night: #101725;
  --night-deep: #090d15;
  --forest: #24362f;
  --moss: #8c9964;
  --amber: #d7a962;
  --paper: #e8dfcf;
  --shadow: rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--night-deep);
  font-family: ui-serif, "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", Georgia, serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 20;
  padding: 8px 12px;
  background: var(--paper);
  color: var(--night-deep);
  transform: translateY(-150%);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(243, 240, 232, 0.1);
  background: rgba(9, 13, 21, 0.54);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(215, 169, 98, 0.55);
  color: var(--amber);
  background: rgba(16, 23, 37, 0.55);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.15;
}

.brand strong {
  font-size: 1.04rem;
  font-weight: 700;
}

.brand small {
  margin-top: 1px;
  color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.72rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(12px, 2vw, 28px);
  color: rgba(243, 240, 232, 0.84);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.92rem;
}

.site-nav a {
  border-bottom: 1px solid transparent;
}

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

.hero {
  position: relative;
  min-height: min(820px, 88svh);
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 112px clamp(18px, 4vw, 56px) 86px;
  isolation: isolate;
}

.hero-image,
.star-canvas,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -3;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.94) contrast(1.02);
}

.star-canvas {
  z-index: -2;
  opacity: 0.28;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 11, 18, 0.82) 0%, rgba(8, 11, 18, 0.54) 42%, rgba(8, 11, 18, 0.16) 100%),
    linear-gradient(180deg, rgba(8, 11, 18, 0.5) 0%, rgba(8, 11, 18, 0.1) 42%, rgba(8, 11, 18, 0.82) 100%);
}

.hero-content {
  width: min(720px, 100%);
  padding-bottom: 10px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 9vw, 7.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(243, 240, 232, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.34rem);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.86rem;
}

.hero-meta span {
  padding: 7px 10px;
  border: 1px solid rgba(243, 240, 232, 0.22);
  background: rgba(9, 13, 21, 0.36);
}

.section-inner {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.intro-band {
  background: var(--paper);
  color: #1b211c;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  padding: clamp(28px, 5vw, 58px) 0;
}

.intro-grid > p {
  margin: 0;
  max-width: 680px;
  font-size: clamp(1.1rem, 2vw, 1.38rem);
}

.quiet-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  border: 1px solid rgba(27, 33, 28, 0.18);
  background: rgba(27, 33, 28, 0.18);
}

.quiet-facts div {
  min-width: 0;
  padding: 18px 14px;
  background: var(--paper);
}

.quiet-facts dt {
  color: #626b59;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.quiet-facts dd {
  margin: 4px 0 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.notes-section,
.about-section {
  padding: clamp(72px, 10vw, 126px) 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.note-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.note-card {
  min-height: 260px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  background: rgba(243, 240, 232, 0.055);
}

.note-card time {
  color: var(--soft);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.78rem;
}

.note-card h3 {
  margin: 22px 0 12px;
  color: var(--paper);
  font-size: 1.34rem;
  line-height: 1.25;
}

.note-card p {
  margin: 0;
  color: var(--muted);
}

.calendar-band {
  background:
    linear-gradient(135deg, rgba(36, 54, 47, 0.96), rgba(16, 23, 37, 0.96)),
    var(--forest);
}

.calendar-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: start;
  padding: clamp(70px, 9vw, 112px) 0;
}

.calendar-grid p {
  max-width: 560px;
  color: var(--muted);
}

.event-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid rgba(243, 240, 232, 0.16);
  background: rgba(243, 240, 232, 0.16);
}

.event-list li {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  min-height: 92px;
  padding: 18px;
  background: rgba(9, 13, 21, 0.42);
}

.event-list span {
  color: var(--amber);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
}

.event-list p {
  margin: 0;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
}

.about-copy p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
}

.quote-panel {
  margin: 0;
  padding: clamp(24px, 4vw, 38px);
  border-left: 3px solid var(--amber);
  background: rgba(232, 223, 207, 0.075);
}

.quote-panel blockquote {
  margin: 0;
  color: var(--paper);
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1.35;
}

.quote-panel figcaption {
  margin-top: 18px;
  color: var(--soft);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.86rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.88rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--paper);
}

@media (max-width: 820px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .site-nav {
    max-width: 180px;
  }

  .hero {
    min-height: 84svh;
    padding-top: 136px;
    padding-bottom: 58px;
  }

  .intro-grid,
  .calendar-grid,
  .about-section,
  .note-list {
    grid-template-columns: 1fr;
  }

  .quiet-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .site-header {
    gap: 14px;
    min-height: 96px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .site-nav {
    gap: 8px 14px;
    font-size: 0.82rem;
  }

  .hero {
    min-height: 82svh;
    padding-inline: 18px;
  }

  .hero-meta span {
    padding: 6px 9px;
  }

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

  .event-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

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

  .star-canvas {
    display: none;
  }
}
