/* ─── Reset & Tokens ─────────────────────────────────────────────── */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-deep:     #102a22;
  --color-primary:  #1a4a3a;
  --color-mid:      #2d7d5f;
  --color-light:    #3da67e;
  --color-accent:   #c49068;
  --color-warm:     #e8c9a8;
  --color-cream:    #f5f1eb;
  --color-white:    #ffffff;
  --color-text:     #2c2c2a;
  --color-muted:    #6b6560;
  --color-border:   #ddd7ce;
  --max-w:          860px;
  --radius:         10px;
  --shadow-sm:      0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:      0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
}

html {
  font-size: 17px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--color-cream);
  color: var(--color-text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
               system-ui, Helvetica, Arial, sans-serif;
  line-height: 1.65;
}

img, svg { display: block; }

a { color: var(--color-mid); transition: color 0.15s; }
a:hover { color: var(--color-primary); }

/* ─── Hero ───────────────────────────────────────────────────────── */

.hero {
  position: relative;
  background: var(--color-deep);
  color: var(--color-white);
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(16,42,34,0.55) 0%,
      rgba(16,42,34,0.35) 40%,
      rgba(16,42,34,0.6) 100%
    );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4.5rem 1.5rem 5.5rem;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

.hero .subtitle {
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.8;
  letter-spacing: 0.02em;
}

.hero nav {
  margin-top: 2rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.hero nav a {
  display: inline-block;
  padding: 0.5rem 1.15rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--color-white);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  backdrop-filter: blur(4px);
  transition: background 0.2s, border-color 0.2s;
}

.hero nav a:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.35);
  color: var(--color-white);
}

/* ─── Layout ─────────────────────────────────────────────────────── */

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

main {
  padding: 3rem 0 4rem;
}

section {
  margin-bottom: 3.5rem;
}
section:last-child { margin-bottom: 0; }

.section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-mid);
  margin-bottom: 1.25rem;
}

.section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

/* ─── About ──────────────────────────────────────────────────────── */

#about p {
  font-size: 1.05rem;
  color: var(--color-text);
  line-height: 1.75;
  max-width: 65ch;
}

/* ─── Document Cards ─────────────────────────────────────────────── */

.doc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.doc-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.15rem 1.35rem;
  text-decoration: none;
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.15s;
}

.doc-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-mid);
  transform: translateY(-1px);
  color: var(--color-text);
}

.doc-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-mid));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.doc-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--color-white);
}

.doc-info {
  flex: 1;
  min-width: 0;
}

.doc-title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-text);
}

.doc-type {
  font-size: 0.77rem;
  color: var(--color-muted);
  margin-top: 0.15rem;
}

.doc-arrow {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  fill: var(--color-border);
  transition: fill 0.2s, transform 0.2s;
}

.doc-card:hover .doc-arrow {
  fill: var(--color-mid);
  transform: translateX(2px);
}

/* ─── Meetings ───────────────────────────────────────────────────── */

.meeting-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.75rem;
}

.meeting-card.has-meeting {
  border-left: 4px solid var(--color-accent);
}

.meeting-card.no-meeting {
  border-left: 4px solid var(--color-border);
}

.meeting-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25em 0.7em;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.has-meeting .meeting-badge {
  background: #fef3e6;
  color: #a06930;
}

.no-meeting .meeting-badge {
  background: #f0eeea;
  color: var(--color-muted);
}

.meeting-date {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
}

.no-meeting .meeting-date {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-muted);
}

.meeting-details {
  margin-top: 0.3rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.minutes-sub {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-muted);
  margin-bottom: 0.75rem;
}

.minutes-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.minutes-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.93rem;
}

.minutes-item:last-child { border-bottom: none; }

.minutes-year {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-mid);
  background: rgba(45,125,95,0.08);
  padding: 0.2em 0.6em;
  border-radius: 4px;
  flex-shrink: 0;
}

.minutes-item a {
  text-decoration: none;
  color: var(--color-text);
  transition: color 0.15s;
}

.minutes-item a:hover { color: var(--color-mid); }

.minutes-empty {
  font-size: 0.9rem;
  color: var(--color-muted);
  padding: 0.5rem 0;
}

/* ─── Footer ─────────────────────────────────────────────────────── */

footer {
  background: var(--color-deep);
  color: rgba(255,255,255,0.55);
  padding: 2.5rem 1.5rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

footer p { font-size: 0.83rem; }

footer a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover { color: var(--color-white); }

/* ─── Responsive ─────────────────────────────────────────────────── */

@media (min-width: 600px) {
  .hero-content { padding: 5.5rem 1.5rem 6.5rem; }
  .hero h1 { font-size: 2.5rem; }
  .doc-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  html { font-size: 16px; }
  .hero-content { padding: 3rem 1.25rem 4rem; }
  .hero h1 { font-size: 1.6rem; }
  .footer-inner { flex-direction: column; text-align: center; }
}
