:root {
  --bg: #f7f5f1;
  --panel: #ffffff;
  --panel-soft: #efebe3;
  --text: #1f2428;
  --muted: #6b7280;
  --line: rgba(31, 36, 40, .12);
  --accent: #2f5d50;
  --accent-dark: #24483f;
  --shadow: 0 18px 50px rgba(31, 36, 40, .08);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration-color: rgba(47, 93, 80, .35); text-underline-offset: 3px; }
a:hover { color: var(--accent); }

.container { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.narrow { width: min(760px, calc(100% - 2rem)); }
.section { padding: 5rem 0; }
.section-lg { padding: 7rem 0 5rem; }
.pt-0 { padding-top: 0; }
.mb-lg { margin-bottom: 2rem; }
.soft { background: var(--panel-soft); }
.center-text { text-align: center; }
.muted { color: var(--muted); }
.skip-link { position: absolute; left: -999px; top: 1rem; }
.skip-link:focus { left: 1rem; z-index: 10; background: var(--panel); padding: .5rem .75rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(247, 245, 241, .86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}
.brand { font-weight: 750; text-decoration: none; letter-spacing: -.02em; }
.site-nav { display: flex; gap: 1.25rem; flex-wrap: wrap; font-size: .95rem; color: var(--muted); }
.site-nav a { text-decoration: none; }
.site-nav a:hover { color: var(--text); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 3rem;
  align-items: center;
}
.hero h1,
.page-hero h1,
.section h2 {
  letter-spacing: -.045em;
  line-height: 1.08;
}
.hero h1 { font-size: clamp(3rem, 8vw, 6.4rem); margin: .4rem 0 1rem; max-width: 900px; }
.lead { font-size: clamp(1.12rem, 2vw, 1.35rem); color: var(--muted); max-width: 680px; }
.eyebrow { color: var(--accent); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; margin: 0 0 .75rem; }
.button-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .75rem 1.1rem;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-weight: 700;
}
.button:hover { background: var(--accent-dark); color: white; }
.button-secondary { background: transparent; color: var(--text); border: 1px solid var(--line); }
.button-secondary:hover { background: var(--panel); color: var(--text); }

.hero-card,
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-card { padding: 1.5rem; }
.status-dot { display: inline-block; width: .7rem; height: .7rem; border-radius: 999px; background: var(--accent); margin-bottom: 1rem; }
.hero-card h2 { font-size: 1.1rem; margin: 0 0 .4rem; }
.hero-card p { color: var(--muted); margin: 0; }

.section-heading,
.split-panel,
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
}
.section-heading { margin-bottom: 1.5rem; }
.section-heading h2,
.split-panel h2,
.narrow h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin: 0; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.card { padding: 1.35rem; }
.card h2,
.card h3 { margin: 0 0 .5rem; line-height: 1.2; }
.card p { color: var(--muted); }
.card-kicker { color: var(--accent); font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 .8rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.tag-list li { border: 1px solid var(--line); border-radius: 999px; padding: .25rem .55rem; color: var(--muted); font-size: .82rem; }

.note-list { display: grid; gap: .8rem; }
.note-row { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.note-row time { color: var(--muted); font-size: .9rem; }
.note-row h2,
.note-row h3 { margin: .25rem 0; line-height: 1.2; }
.note-row p { margin: 0; color: var(--muted); }
.full { max-width: 860px; margin-inline: auto; }

.now-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 1rem; align-items: start; }
.now-main { display: grid; gap: 1rem; }
.now-side { display: grid; gap: 1rem; position: sticky; top: 96px; }
.now-card h2 { font-size: 1.2rem; }
dl { margin: 0; }
dt { color: var(--accent); text-transform: uppercase; letter-spacing: .08em; font-size: .76rem; font-weight: 800; }
dd { margin: .2rem 0 1rem; color: var(--muted); }
dd:last-child { margin-bottom: 0; }

.article h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.08; letter-spacing: -.045em; margin: .2rem 0 .75rem; }
.prose { font-size: 1.08rem; }
.prose p { margin: 0 0 1.2rem; }

.site-footer { border-top: 1px solid var(--line); padding: 2rem 0; color: var(--muted); }
.site-footer p { margin: 0; }

@media (max-width: 860px) {
  .section, .section-lg { padding: 3.5rem 0; }
  .hero-grid, .now-grid, .card-grid { grid-template-columns: 1fr; }
  .now-side { position: static; }
  .section-heading, .split-panel, .footer-grid { align-items: start; flex-direction: column; }
  .nav-wrap { align-items: flex-start; flex-direction: column; padding: 1rem 0; }
  .site-nav { gap: .8rem; }
}
