/* CannabisCoin Archive v0.1 */
:root {
  --bg: #06100b;
  --bg-alt: #0a1710;
  --panel: rgba(16, 38, 26, 0.72);
  --panel-solid: #10261a;
  --text: #f3f8f4;
  --muted: #a8baae;
  --green: #5ee38a;
  --green-bright: #82f5a6;
  --line: rgba(130, 245, 166, 0.17);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -20%, rgba(42, 137, 76, .16), transparent 40rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 9999;
  background: var(--green); color: #031008; padding: 10px 14px; border-radius: 8px;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(6,16,11,.78);
  backdrop-filter: blur(18px);
}
.nav-wrap {
  min-height: 76px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.brand strong, .brand small { display: block; }
.brand small { color: var(--muted); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.coin-mark {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  color: #06100b; font-weight: 900; font-size: 1.2rem;
  background: linear-gradient(145deg, var(--green-bright), #2aa95c);
  box-shadow: 0 0 30px rgba(94,227,138,.22);
}
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  color: var(--muted); text-decoration: none; font-size: .95rem; font-weight: 650;
}
.site-nav a:hover, .site-nav a:focus { color: var(--green-bright); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; }
.nav-toggle span:not(.sr-only) {
  display: block; width: 26px; height: 2px; margin: 5px 0; background: var(--text);
}

.hero {
  position: relative; overflow: hidden;
  min-height: calc(100vh - 76px);
  display: grid; align-items: center;
  padding: 100px 0 86px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .16; pointer-events: none;
  background-image:
    linear-gradient(rgba(94,227,138,.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94,227,138,.1) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(1px); opacity: .35;
  border: 1px solid rgba(130,245,166,.2);
}
.hero-glow-a { width: 520px; height: 520px; right: -180px; top: -120px; }
.hero-glow-b { width: 280px; height: 280px; left: -120px; bottom: 20px; }
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 72px; align-items: center;
}
.eyebrow {
  margin: 0 0 15px; color: var(--green);
  text-transform: uppercase; letter-spacing: .18em; font-size: .75rem; font-weight: 800;
}
h1, h2, h3 { line-height: 1.1; margin-top: 0; }
h1 {
  max-width: 800px; margin-bottom: 26px;
  font-size: clamp(3.2rem, 8vw, 7.2rem);
  letter-spacing: -.065em;
}
h2 { font-size: clamp(2.25rem, 5vw, 4.4rem); letter-spacing: -.045em; }
h3 { font-size: 1.2rem; }
.hero-lead {
  max-width: 690px; color: #c5d4c9; font-size: clamp(1.05rem, 2vw, 1.34rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 24px; }
.button {
  display: inline-flex; justify-content: center; align-items: center;
  min-height: 50px; padding: 0 22px; border-radius: 999px;
  text-decoration: none; font-weight: 800; border: 1px solid transparent;
}
.button-primary {
  background: linear-gradient(145deg, var(--green-bright), #38bc6a);
  color: #041008; box-shadow: 0 16px 45px rgba(62,203,111,.19);
}
.button-secondary { border-color: var(--line); background: rgba(255,255,255,.025); }
.button:hover { transform: translateY(-1px); }
.archive-note { max-width: 670px; color: #83968a; font-size: .88rem; }

.hero-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(160deg, rgba(25,59,39,.84), rgba(8,21,14,.75));
  box-shadow: var(--shadow);
}
.hero-emblem {
  aspect-ratio: 1; width: min(100%, 320px); margin: 0 auto 28px;
  border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(130,245,166,.22);
  background:
    radial-gradient(circle, rgba(94,227,138,.24), transparent 56%),
    rgba(1,9,5,.72);
}
.hero-emblem span {
  width: 62%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  color: #07110c; font-weight: 1000; font-size: clamp(1.6rem, 5vw, 3.3rem);
  background: linear-gradient(145deg, var(--green-bright), #2a9e58);
  box-shadow: 0 0 90px rgba(94,227,138,.2);
}
.stats { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stats div { padding: 13px 14px; border-radius: 14px; background: rgba(255,255,255,.035); }
.stats dt { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.stats dd { margin: 3px 0 0; font-weight: 750; }

.section { padding: 110px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid rgba(255,255,255,.04); }
.split, .preservation {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start;
}
.prose { color: #bdccc1; font-size: 1.05rem; }
.prose p:first-child { margin-top: 0; }
.section-intro { max-width: 760px; color: var(--muted); margin-bottom: 38px; }

.timeline { margin-top: 50px; border-left: 1px solid var(--line); }
.timeline-item {
  position: relative; display: grid; grid-template-columns: 130px 1fr; gap: 34px;
  padding: 0 0 52px 34px;
}
.timeline-item::before {
  content: ""; position: absolute; left: -6px; top: 5px;
  width: 11px; height: 11px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 22px rgba(94,227,138,.6);
}
.timeline-year { color: var(--green); font-weight: 850; }
.timeline-item p { margin: 0; color: var(--muted); }

.card-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.card {
  min-height: 260px; padding: 26px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--panel);
  box-shadow: 0 12px 34px rgba(0,0,0,.12);
}
.card-icon {
  display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px;
  border-radius: 12px; margin-bottom: 35px; color: #041008; font-weight: 900;
  background: var(--green);
}
.card p { color: var(--muted); }
.status {
  display: inline-block; margin-top: 12px; padding: 6px 10px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--green); font-size: .72rem; font-weight: 750;
}

.resource-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.resource {
  display: block; padding: 22px; border-radius: 16px; border: 1px solid var(--line);
  background: rgba(255,255,255,.025); text-decoration: none;
}
.resource strong, .resource span { display: block; }
.resource span { margin-top: 5px; color: var(--muted); font-size: .9rem; }
a.resource:hover { border-color: rgba(130,245,166,.48); }

.site-footer { padding: 55px 0 24px; border-top: 1px solid var(--line); background: #040b07; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; }
.footer-grid p, .footer-bottom { color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--muted); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 30px;
  border-top: 1px solid rgba(255,255,255,.05); padding-top: 22px; margin-top: 34px;
  font-size: .8rem;
}

@media (max-width: 960px) {
  .hero-grid, .split, .preservation { grid-template-columns: 1fr; }
  .hero-card { max-width: 600px; }
  .card-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; color: white; }
  .site-nav {
    position: absolute; top: 76px; left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 20px 22px; border-bottom: 1px solid var(--line);
    background: rgba(6,16,11,.98);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; }
  .hero { padding-top: 72px; }
  .card-grid, .resource-grid { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 1fr; gap: 7px; }
  .footer-grid, .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
