/* Vamrio public website — Living Archive */
:root {
  --spruce: #0f5c4c;
  --spruce-deep: #0c4a3e;
  --spruce-ink: #062821;
  --river: #2f5d7c;
  --stone: #f5f7f6;
  --stone-2: #e8ecea;
  --gold: #c4a35a;
  --ink: #1a2421;
  --muted: #5a6862;
  --white: #ffffff;
  --radius: 16px;
  --max: 1120px;
  --font-display: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", serif;
  --font-body: "Figtree", "Avenir Next", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--stone);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--river);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--spruce-deep);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: var(--white);
  padding: 0.5rem 0.75rem;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Nav */
.site-nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  padding: 1.25rem 0;
}

.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  text-decoration: none;
}

.brand img {
  width: 2rem;
  height: 2rem;
}

.brand span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.nav-links {
  display: none;
  gap: 1.35rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--white);
}

@media (min-width: 840px) {
  .nav-links {
    display: flex;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  border-radius: var(--radius);
  padding: 0.85rem 1.35rem;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--gold);
  color: var(--spruce-ink);
}

.btn-primary:hover {
  background: #d4b56e;
  color: var(--spruce-ink);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.btn-dark {
  background: var(--spruce);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--spruce-deep);
  color: var(--white);
}

/* Hero — one composition, brand first, full-bleed */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(165deg, rgba(6, 40, 33, 0.35) 0%, rgba(12, 74, 62, 0.72) 42%, rgba(6, 40, 33, 0.92) 100%),
    radial-gradient(1200px 700px at 70% 20%, rgba(47, 93, 124, 0.35), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.06'%3E%3Cpath d='M0 80h160M80 0v160'/%3E%3Ccircle cx='80' cy='80' r='36'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(135deg, #0c4a3e, #062821 55%, #0f1e29);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8rem;
  background: linear-gradient(to top, var(--stone), transparent);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 7.5rem 0 5.5rem;
  max-width: 38rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 9vw, 5.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 0 0 1.1rem;
  animation: rise 800ms ease both;
}

.hero-line {
  margin: 0 0 1.75rem;
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  color: rgba(255, 255, 255, 0.86);
  max-width: 28rem;
  animation: rise 800ms ease 120ms both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 800ms ease 220ms both;
}

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

/* Sections */
section {
  padding: 5rem 0;
}

.section-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--spruce);
  font-weight: 700;
  margin: 0 0 0.65rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.85rem;
  color: var(--spruce-ink);
}

.section-lead {
  margin: 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.125rem;
}

.features {
  background: var(--white);
}

.feature-list {
  display: grid;
  gap: 2.25rem;
  margin: 2.75rem 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 800px) {
  .feature-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.feature-list h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0 0 0.5rem;
  color: var(--spruce-deep);
}

.feature-list p {
  margin: 0;
  color: var(--muted);
}

.feature-list li {
  padding-top: 1.25rem;
  border-top: 2px solid var(--stone-2);
}

.about {
  background:
    linear-gradient(180deg, var(--stone) 0%, var(--stone-2) 100%);
}

.about-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 860px) {
  .about-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
  }
}

.about-panel {
  background: var(--spruce-deep);
  color: rgba(255, 255, 255, 0.9);
  border-radius: calc(var(--radius) + 4px);
  padding: 2rem;
  min-height: 14rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-image:
    radial-gradient(500px 280px at 10% 0%, rgba(196, 163, 90, 0.22), transparent 55%),
    linear-gradient(160deg, #0f5c4c, #062821);
}

.about-panel strong {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--white);
  display: block;
  margin-bottom: 0.5rem;
}

.roadmap {
  background: var(--white);
}

.roadmap-list {
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
}

.roadmap-list li {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 1.25rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--stone-2);
}

.roadmap-list time {
  font-weight: 700;
  color: var(--spruce);
  font-variant-numeric: tabular-nums;
}

.roadmap-list h3 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
}

.roadmap-list p {
  margin: 0;
  color: var(--muted);
}

.legal-preview {
  background: var(--stone);
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.legal-links a {
  text-decoration: none;
  color: var(--spruce-deep);
  font-weight: 600;
  padding: 0.85rem 1.1rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--stone-2);
}

.legal-links a:hover {
  box-shadow: inset 0 0 0 1px var(--spruce);
}

.contact {
  background:
    linear-gradient(180deg, #0c4a3e, #062821);
  color: rgba(255, 255, 255, 0.9);
}

.contact .section-kicker {
  color: var(--gold);
}

.contact .section-title {
  color: var(--white);
}

.contact .section-lead {
  color: rgba(255, 255, 255, 0.78);
}

.contact a {
  color: var(--gold);
}

.contact .actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Footer */
.site-footer {
  background: var(--spruce-ink);
  color: rgba(255, 255, 255, 0.72);
  padding: 2rem 0;
  font-size: 0.95rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

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

/* Legal pages */
.page-hero {
  background: linear-gradient(160deg, #0f5c4c, #062821);
  color: var(--white);
  padding: 7rem 0 3rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin: 0 0 0.5rem;
}

.page-hero p {
  margin: 0;
  opacity: 0.8;
}

.prose {
  padding: 3rem 0 5rem;
}

.prose h2 {
  font-family: var(--font-display);
  color: var(--spruce-deep);
  margin: 2rem 0 0.75rem;
}

.prose p,
.prose li {
  color: var(--muted);
  max-width: 42rem;
}

.page-nav .nav-links a,
.page-nav .brand {
  color: var(--white);
}

.page-nav .brand span {
  color: var(--white);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
