@import url('https://fonts.googleapis.com/css2?family=Fraunces:wght@400;700;900&family=Commissioner:wght@300;400;600&display=swap');

:root {
  --bg: #f7f2eb;
  --ink: #1b1b1b;
  --muted: #5d5d5d;
  --accent: #1f6b5c;
  --accent-2: #c97b2f;
  --card: #ffffff;
  --line: #e2d7c8;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Commissioner', sans-serif;
  color: var(--ink);
  background: radial-gradient(1200px 600px at 20% -10%, #efe3d2, transparent),
              radial-gradient(800px 400px at 90% 10%, #e7f0ea, transparent),
              var(--bg);
  line-height: 1.7;
}

img { max-width: 100%; display: block; border-radius: 12px; }

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

.container { width: min(1100px, 92vw); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  background: rgba(247, 242, 235, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  z-index: 20;
}

.navbar { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.logo {
  font-family: 'Fraunces', serif;
  font-weight: 900;
  letter-spacing: 0.5px;
  font-size: 22px;
}
.logo span { color: var(--accent); }

.nav-links { display: flex; gap: 18px; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
.nav-links a { padding-bottom: 2px; border-bottom: 2px solid transparent; }
.nav-links a:hover { border-color: var(--accent-2); }

.hero {
  padding: 64px 0 40px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
  animation: rise 0.9s ease;
}

.hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
  margin: 0 0 18px;
}

.hero p { color: var(--muted); margin: 0 0 18px; }
.hero .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #efe7dc;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  animation: fade 0.6s ease;
  animation-delay: var(--delay, 0s);
  animation-fill-mode: both;
}

.card h3 { margin: 0; font-size: 18px; font-family: 'Fraunces', serif; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.card .meta { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); }

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 32px 0 18px;
}
.section-title h2 {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  margin: 0;
}

.article-page main { padding: 40px 0 60px; }
.article {
  background: var(--card);
  border-radius: 20px;
  border: 1px solid var(--line);
  padding: clamp(20px, 5vw, 48px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}
.article h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(30px, 5vw, 52px);
  margin-top: 0;
}
.article h2 {
  font-family: 'Fraunces', serif;
  margin-top: 28px;
}
.article h3 { margin-top: 22px; }
.article .kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
}
.article .meta { font-size: 14px; color: var(--muted); }
.article figure { margin: 24px 0; }
.article figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }

.footer {
  margin-top: 50px;
  padding: 32px 0 50px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

.notice {
  background: #fff5e8;
  border: 1px solid #f0d4b1;
  border-radius: 14px;
  padding: 16px;
  color: #5a3a1a;
  font-size: 14px;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

