:root {
  --bg: #f7f3eb;
  --ink: #141414;
  --muted: #5f5a52;
  --paper: #fffdf8;
  --soft: #eee5d7;
  --line: #d9ccbb;
  --accent: #c96a1b;
  --accent-dark: #8a430f;
  --deep: #1d1b18;
  --max: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(20,20,20,0.035) 1px, transparent 1px),
    linear-gradient(rgba(20,20,20,0.035) 1px, transparent 1px),
    var(--bg);
  background-size: 42px 42px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: var(--accent-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.95rem 1.2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.logo {
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  font-weight: 850;
  letter-spacing: -0.045em;
  font-size: 1.08rem;
}

.logo-mark {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #f2a011;
  box-shadow: inset -0.16rem -0.16rem 0 var(--accent-dark);
  flex: 0 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 720;
}

.nav a:hover {
  color: var(--accent-dark);
}

.support-link {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  background: var(--paper);
}

main {
  min-height: 72vh;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.2rem;
}

.hero {
  padding: 5rem 0 3.4rem;
  border-bottom: 1px solid var(--line);
}

.hero-box {
  background: var(--deep);
  color: #fff8ec;
  border-radius: 34px;
  padding: clamp(1.35rem, 4vw, 3rem);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 28px 80px rgba(35, 28, 18, 0.28);
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2rem;
  align-items: end;
  position: relative;
  overflow: hidden;
}

.hero-box::after {
  content: "";
  position: absolute;
  inset: auto -8rem -8rem auto;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #f2a011 0 0.95rem, transparent 1rem),
    radial-gradient(circle, rgba(201,106,27,0.95) 0 34%, transparent 35%);
  opacity: 0.85;
}

.hero-content,
.hero-stats {
  position: relative;
  z-index: 1;
}

.kicker {
  margin: 0 0 0.9rem;
  color: #f2c365;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 850;
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.055em;
}

h1 {
  max-width: 720px;
  font-size: clamp(2.8rem, 7.2vw, 6rem);
}

h2 {
  font-size: clamp(1.8rem, 4.4vw, 3.5rem);
}

h3 {
  font-size: 1.35rem;
}

.lede {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  margin: 1rem 0 0;
}

.hero .lede {
  color: rgba(255, 248, 236, 0.74);
}

.hero-stats {
  display: grid;
  gap: 0.75rem;
}

.stat-pill {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.055);
  border-radius: 999px;
  padding: 0.72rem 0.9rem;
  color: rgba(255, 248, 236, 0.84);
  font-size: 0.92rem;
}

.stat-pill strong {
  color: #fff8ec;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.65rem;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  padding: 0.75rem 1rem;
  font-weight: 780;
}

.button::after {
  content: "→";
}

.button.secondary {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--line);
}

.hero .button {
  background: #fff8ec;
  border-color: #fff8ec;
  color: var(--deep);
}

.hero .button.secondary {
  background: transparent;
  border-color: rgba(255,255,255,0.25);
  color: #fff8ec;
}

.button:hover {
  background: var(--accent-dark);
  color: #fff8ec;
  border-color: var(--accent-dark);
}

.section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 1.4rem;
}

.section-heading p {
  color: var(--muted);
  margin: 0;
  font-size: 1.07rem;
}

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

.card,
.article-card,
.callout {
  background: rgba(255, 253, 248, 0.84);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.25rem;
  box-shadow: 0 18px 50px rgba(47, 38, 24, 0.08);
}

.card {
  min-height: 15rem;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-number {
  color: var(--accent-dark);
  font-weight: 900;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
}

.card p,
.article-card p,
.page-content p,
.page-content li {
  color: var(--muted);
}

.card p,
.article-card p {
  margin-bottom: 0;
}

.article-list {
  display: grid;
  gap: 1rem;
}

.article-card {
  display: block;
  color: var(--ink);
  text-decoration: none;
}

.article-meta {
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 850;
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}

.page-header {
  padding: 4.4rem 0 2.3rem;
  border-bottom: 1px solid var(--line);
}

.page-content {
  max-width: 820px;
}

.page-content.wide {
  max-width: var(--max);
}

.page-body {
  padding: 3.2rem 0 4.4rem;
}

.callout {
  margin-top: 2rem;
  background: var(--deep);
  color: #fff8ec;
}

.callout p {
  color: rgba(255, 248, 236, 0.72);
}

.callout .button.secondary {
  color: var(--deep);
  background: #fff8ec;
  border-color: #fff8ec;
}

form {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

label {
  font-weight: 760;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  padding: 0.78rem 0.86rem;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(201, 106, 27, 0.24);
  border-color: var(--accent);
}

textarea {
  min-height: 180px;
  resize: vertical;
}

.hint {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  padding: 2.4rem 0;
  color: var(--muted);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.2rem;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent-dark);
}

@media (max-width: 820px) {
  html {
    font-size: 16px;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-box,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero-box::after {
    opacity: 0.35;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}

.about-panel {
  background: var(--deep);
  color: #fff8ec;
  border-radius: 30px;
  padding: clamp(1.25rem, 4vw, 2.4rem);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 24px 70px rgba(35, 28, 18, 0.22);
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.about-panel::after {
  content: "";
  position: absolute;
  right: -7rem;
  bottom: -8rem;
  width: 19rem;
  height: 19rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #f2a011 0 0.72rem, transparent 0.78rem),
    radial-gradient(circle, rgba(201,106,27,0.88) 0 34%, transparent 35%);
  opacity: 0.42;
  pointer-events: none;
}

.about-panel > * {
  position: relative;
  z-index: 1;
}

.about-panel .lede {
  color: rgba(255,248,236,0.74);
  margin-bottom: 1.6rem;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.about-tile {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 22px;
  padding: 1.05rem;
  min-height: 13rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about-label {
  color: #f2a011;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 900;
  font-size: 0.72rem;
  margin-bottom: 1.1rem;
}

.about-tile h3 {
  font-size: 1.25rem;
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin-bottom: 0.65rem;
}

.about-tile p {
  color: rgba(255,248,236,0.72);
  margin: 0;
}

.text-block {
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.3rem;
  box-shadow: 0 18px 50px rgba(47, 38, 24, 0.06);
}

.text-block h2 {
  font-size: clamp(1.65rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
}

@media (max-width: 820px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-tile {
    min-height: auto;
  }
}

.hidden-field {
  display: none;
}
