:root {
  --bg-1: #f4efe7;
  --bg-2: #e9dfd0;
  --paper: rgba(255, 252, 247, 0.88);
  --ink: #1c1917;
  --muted: #6d6258;
  --line: rgba(120, 95, 76, 0.18);
  --accent: #9b3d1f;
  --accent-2: #2d6a73;
  --shadow: 0 18px 45px rgba(71, 48, 31, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(155, 61, 31, 0.10), transparent 28%),
    radial-gradient(circle at top right, rgba(45, 106, 115, 0.10), transparent 24%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 100%);
}

img { max-width: 100%; display: block; }
a { color: var(--accent-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }

.site-header-shell,
.site-footer-shell,
.page-shell {
  width: min(860px, calc(100% - 28px));
  margin: 0 auto;
}

.site-header-shell { padding-top: 22px; }
.site-footer-shell { margin-top: 20px; padding-bottom: 18px; }
.page-shell { padding: 28px 0 56px; }

.site-header-bar,
.site-footer-bar,
.article-header,
.article-main,
.info-card {
  background: var(--paper);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.site-header-bar,
.site-footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
}

.site-header-bar:hover,
.site-footer-bar:hover,
.article-header:hover,
.article-main:hover { box-shadow: 0 20px 42px rgba(71, 48, 31, 0.12); }

.site-brand { color: var(--ink); text-decoration: none; }
.site-brand strong { display: inline-block; font-size: 1.05rem; letter-spacing: 0.04em; transition: color 0.18s ease; }
.site-brand:hover strong { color: var(--accent); }

.site-nav,
.site-footer-links { display: flex; flex-wrap: wrap; gap: 14px; }
.site-nav a,
.site-footer-links a { color: var(--ink); text-decoration: none; padding-bottom: 2px; border-bottom: 1px solid transparent; transition: border-color 0.18s ease, color 0.18s ease; }
.site-nav a:hover,
.site-footer-links a:hover { color: var(--accent-2); border-color: var(--accent-2); }

.article-header { padding: 22px 22px 24px; margin-bottom: 20px; }
.article-main { padding: 24px; }

.header-visual { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(220px, 0.9fr); gap: 20px; align-items: stretch; }
.header-art { display: flex; }
.header-art-figure {
  margin: 0;
  display: grid;
  gap: 10px;
  width: 100%;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(155, 61, 31, 0.06), rgba(45, 106, 115, 0.06));
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  animation: riseIn 0.8s ease both;
}
.header-art-figure:hover,
.inline-image img:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(71, 48, 31, 0.10); }
.header-art-figure img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
}
.header-art-figure figcaption { font-size: 0.88rem; line-height: 1.5; color: var(--muted); margin-top: 0; }

.eyebrow,
.side-label,
.meta,
figcaption { color: var(--muted); }
.eyebrow,
.side-label { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.74rem; font-weight: 700; }

.article-header h1 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); line-height: 0.96; letter-spacing: -0.05em; margin: 10px 0 14px; max-width: 13ch; color: var(--accent); }
.standfirst { max-width: 62ch; font-size: 1.18rem; line-height: 1.6; }
.meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 0.92rem; }
.meta span { border: 1px solid var(--line); padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,0.55); letter-spacing: 0.01em; }

.inline-image,
.content-block,
blockquote,
.info-strip,
.community-bar,
.closing-note { margin: 0 0 28px; }
.inline-image img { border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0,0,0,0.08); transition: transform 0.22s ease, box-shadow 0.22s ease; }
figcaption { font-size: 0.9rem; margin-top: 10px; }

.article-main p,
.article-main li { font-size: 1.08rem; line-height: 1.78; text-wrap: pretty; }
.lead,
.content-block p { text-align: justify; hyphens: auto; }
.lead { font-size: 1.24rem; line-height: 1.75; padding-left: 16px; border-left: 4px solid var(--accent); }
.content-block h2 { font-size: 1.7rem; letter-spacing: -0.04em; margin: 0 0 12px; position: relative; }
.content-block h2::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }

blockquote { padding: 22px 24px; border-radius: 20px; background: linear-gradient(135deg, rgba(155, 61, 31, 0.10), rgba(45, 106, 115, 0.10)); border: 1px solid var(--line); font-size: 1.22rem; line-height: 1.7; }
.info-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.info-card { position: relative; padding: 18px; overflow: hidden; }
.info-card:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(71, 48, 31, 0.10); border-color: rgba(120, 95, 76, 0.28); }
.side-label { display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 999px; margin-bottom: 12px; letter-spacing: 0.01em; }
.info-card:first-child .side-label { background: rgba(155, 61, 31, 0.12); color: var(--accent); }
.info-card:last-child .side-label { background: rgba(45, 106, 115, 0.12); color: var(--accent-2); }
.info-card p:last-child { margin-bottom: 0; }

.community-bar { display: grid; grid-template-columns: minmax(0, 1.7fr) auto; gap: 24px; align-items: center; padding: 24px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(180deg, rgba(45, 106, 115, 0.08), rgba(255,255,255,0.68)); box-shadow: 0 10px 26px rgba(71, 48, 31, 0.06); transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease; }
.community-bar:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(71, 48, 31, 0.10); border-color: rgba(120, 95, 76, 0.28); }
.community-bar__eyebrow { margin: 0 0 8px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.72rem; font-weight: 700; }
.community-bar h2 { margin: 0 0 12px; font-size: 1.45rem; line-height: 1.1; letter-spacing: -0.03em; }
.community-bar__copy { display: grid; gap: 4px; }
.community-bar__copy p:last-child { margin-bottom: 0; }
.community-bar__action { display: flex; align-items: center; justify-content: flex-end; }
.community-bar__link { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 10px 16px; border: 1px solid rgba(45, 106, 115, 0.22); border-radius: 999px; background: rgba(45, 106, 115, 0.08); color: var(--accent-2); text-decoration: none; font-weight: 500; letter-spacing: 0.01em; white-space: nowrap; transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease; }
.community-bar__link:hover { transform: translateY(-1px); border-color: var(--accent-2); background: rgba(45, 106, 115, 0.12); box-shadow: 0 10px 22px rgba(71, 48, 31, 0.08); }

.closing-note { padding: 0 2px; }
.closing-note p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.site-footer-bar p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.site-footer-bar strong { color: var(--ink); }

.reveal { animation: riseIn 0.65s ease both; }
.reveal:nth-child(2) { animation-delay: 0.06s; }
.reveal:nth-child(3) { animation-delay: 0.12s; }
.reveal:nth-child(4) { animation-delay: 0.18s; }
.reveal:nth-child(5) { animation-delay: 0.24s; }
.reveal:nth-child(6) { animation-delay: 0.30s; }
@keyframes riseIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 760px) {
  .page-shell { width: min(100%, calc(100% - 20px)); }
  .article-header,
  .article-main { padding: 20px; }
  .article-header h1 { max-width: none; }
  .header-visual,
  .info-strip,
  .community-bar { grid-template-columns: 1fr; }
  .header-art-figure img { min-height: 220px; }
  .site-header-bar,
  .site-footer-bar { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
