:root {
  --bg: #f4f1eb;
  --bg-soft: #ebe6de;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --text: #1f1b18;
  --muted: #675f58;
  --line: rgba(72, 56, 45, 0.14);
  --brand: #7c5a3c;
  --brand-dark: #5f442d;
  --accent: #a67d52;
  --shadow: 0 16px 40px rgba(38, 26, 18, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: end;
  color: #fffaf5;
  background: #1d1713;
}

.hero__topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding-top: 18px;
}

.hero__topbar-inner {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.hero__toplink {
  color: #fffaf5;
  font-weight: 700;
  text-decoration: none;
  background: rgba(24, 19, 15, 0.55);
  border: 1px solid rgba(255, 250, 245, 0.28);
  border-radius: 999px;
  padding: 10px 16px;
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 20px rgba(15, 12, 10, 0.18);
}

.hero__toplink:hover {
  border-color: rgba(255, 250, 245, 0.8);
  background: rgba(24, 19, 15, 0.72);
}

.hero__image,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.12) contrast(1.04);
}

.hero__overlay {
  background:
    linear-gradient(180deg, rgba(20, 16, 13, 0.12), rgba(20, 16, 13, 0.56)),
    linear-gradient(90deg, rgba(24, 19, 15, 0.56), rgba(24, 19, 15, 0.22));
}

.hero__content {
  position: relative;
  padding: 72px 0 64px;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ead8c2;
}

.hero h1,
.section h2,
.archive-card h3,
.timeline__item h3 {
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  line-height: 0.96;
}

.hero__lead {
  max-width: 42rem;
  margin: 18px 0 0;
  font-size: 1.1rem;
  color: rgba(255, 248, 240, 0.9);
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.button:hover,
.text-link:hover {
  transform: translateY(-1px);
}

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

.button--primary:hover {
  background: #946b43;
}

.button--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fffaf5;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.section {
  padding: 64px 0;
}

.section--intro {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
}

.section--muted {
  background: var(--bg-soft);
}

.section-head {
  margin-bottom: 28px;
}

.section-head .eyebrow {
  color: var(--brand);
}

.section h2 {
  margin: 0;
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.04;
}

.intro-grid {
  max-width: 760px;
}

.notice-list,
.timeline,
.archive-grid {
  display: grid;
  gap: 18px;
}

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

.notice,
.timeline__item,
.archive-card {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.notice {
  padding: 24px;
}

.notice--highlight {
  background: linear-gradient(180deg, #fffdf8, #f7efe5);
}

.notice__meta {
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 0.9rem;
  font-weight: 700;
}

.notice__access {
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.notice__date {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.timeline {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.timeline__item {
  padding: 22px;
}

.timeline__item h3,
.archive-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

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

.archive-disclosure {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.archive-disclosure__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 700;
  list-style: none;
}

.archive-disclosure__summary::-webkit-details-marker {
  display: none;
}

.archive-disclosure__summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--brand);
}

.archive-disclosure[open] .archive-disclosure__summary::after {
  content: "-";
}

.archive-disclosure__content {
  padding: 0 24px 24px;
  border-top: 1px solid var(--line);
}

.archive-grid--compact {
  grid-template-columns: minmax(0, 1fr);
}

.archive-card {
  padding: 22px;
}

.archive-card ul {
  margin: 0;
  padding-left: 18px;
}

.archive-card li + li {
  margin-top: 8px;
}

.text-link {
  color: var(--brand-dark);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.18s ease, transform 0.18s ease;
}

.text-link:hover {
  color: var(--brand);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #e3ddd4;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 24px 0 36px;
  flex-wrap: wrap;
}

.footer__inner p {
  margin: 6px 0 0;
  color: var(--muted);
}

@media (max-width: 980px) {
  .notice-list,
  .archive-grid,
  .timeline,
  .intro-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 24px, 1120px);
  }

  .hero {
    min-height: 68vh;
  }

  .hero__content {
    padding: 60px 0 42px;
  }

  .section {
    padding: 48px 0;
  }

  .notice,
  .timeline__item,
  .archive-card,
  .info-list {
    padding: 18px;
  }
}
