:root {
  --bg: #0b0a08;
  --bg-2: #11100d;
  --paper: #f6efe2;
  --paper-2: #ece2cf;
  --ink: #f8f1e3;
  --ink-2: #1a1814;
  --muted: #a89e8a;
  --muted-dark: #5b5446;
  --line: rgba(248, 241, 227, 0.12);
  --line-dark: rgba(26, 24, 20, 0.12);
  --orange: #e8762a;
  --orange-soft: #f49a5b;
  --teal: #2aa9bd;
  --green: #8bcf2d;
  --burgundy: #6a1818;
  --sand: #b99b68;
  --max: 1180px;
  --radius: 22px;
  --radius-lg: 32px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.18);
}

* {
  box-sizing: border-box;
}

*:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(
      ellipse 90% 60% at 0% 0%,
      rgba(232, 118, 42, 0.16),
      transparent 60%
    ),
    radial-gradient(
      ellipse 70% 50% at 100% 10%,
      rgba(42, 169, 189, 0.12),
      transparent 60%
    ),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  font-family: "Fraunces", "Georgia", serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0;
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
}

h3 {
  font-size: 1.2rem;
  letter-spacing: 0;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--orange);
  color: var(--ink-2);
  padding: 0.6rem 1rem;
  font-weight: 600;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
  margin: 0;
  padding: 1rem clamp(1.2rem, 4vw, 3rem);
  background: linear-gradient(
    180deg,
    rgba(11, 10, 8, 0.95) 0%,
    rgba(11, 10, 8, 0.7) 100%
  );
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.nav-brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: transparent;
}

@media (max-width: 560px) {
  .nav-brand img {
    width: 52px;
    height: 52px;
    border-radius: 12px;
  }
}

.nav-brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 1.2rem;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.nav-links a {
  transition: color 0.2s ease;
}

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

.nav-cta {
  background: var(--orange);
  color: var(--ink-2) !important;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--orange-soft);
}

@media (max-width: 760px) {
  .nav-links {
    gap: 0.9rem;
    font-size: 0.85rem;
  }
  .nav-links a:not(.nav-cta) {
    display: none;
  }
}

/* Hero */
.hero {
  width: min(calc(100% - 2.4rem), var(--max));
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
}

.hero-inner {
  max-width: 780px;
}

.launch-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(232, 118, 42, 0.45);
  background: rgba(232, 118, 42, 0.1);
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 1.6rem;
}

.launch-chip .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(232, 118, 42, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}

.launch-chip strong {
  color: var(--orange);
  letter-spacing: 0.12em;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 4px rgba(232, 118, 42, 0.18);
  }
  50% {
    opacity: 0.7;
    box-shadow: 0 0 0 9px rgba(232, 118, 42, 0);
  }
}

.display {
  font-size: clamp(2.6rem, 6.5vw, 4.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1.4rem;
}

.display em {
  font-style: italic;
  color: var(--orange);
  font-weight: 500;
}

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--muted);
  max-width: 60ch;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.18s ease, background 0.2s ease, color 0.2s ease,
    border-color 0.2s ease;
}

.btn-primary {
  background: var(--orange);
  color: var(--ink-2);
}

.btn-primary:hover {
  background: var(--orange-soft);
  transform: translateY(-1px);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin: 0;
  padding: 1.4rem 0 0;
  border-top: 1px solid var(--line);
  max-width: 620px;
}

.hero-meta div {
  display: flex;
  flex-direction: column;
}

.hero-meta dt {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.hero-meta dd {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: 1.1rem;
  color: var(--ink);
}

@media (max-width: 560px) {
  .hero-meta {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
}

/* Sections */
.section {
  width: min(calc(100% - 2.4rem), var(--max));
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.section-dark {
  width: 100%;
  max-width: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.005)
  );
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(3.5rem, 7vw, 6rem) 1.2rem;
}

.section-dark > * {
  width: min(100%, var(--max));
  margin-left: auto;
  margin-right: auto;
}

.section-head {
  margin-bottom: 2.6rem;
  max-width: 720px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.9rem;
  font-weight: 600;
}

.section-lede {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 65ch;
  margin-bottom: 2.4rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  margin-bottom: 2.4rem;
}

.card {
  border-radius: var(--radius);
  padding: 1.8rem;
  border: 1px solid var(--line);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(232, 118, 42, 0.4);
}

.card-light {
  background: var(--paper);
  color: var(--ink-2);
  border-color: transparent;
}

.card-light h3 {
  font-size: 1.4rem;
  margin-bottom: 0.7rem;
  color: var(--ink-2);
}

.card-light p {
  color: var(--muted-dark);
}

.about-coda {
  font-family: "Fraunces", serif;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  line-height: 1.4;
  max-width: 50ch;
  color: var(--paper);
  border-left: 3px solid var(--orange);
  padding-left: 1.4rem;
}

/* Vision */
.vmv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}

.vmv {
  border-radius: var(--radius);
  padding: 2rem;
  color: var(--ink-2);
  position: relative;
  overflow: hidden;
}

.vmv-label {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 1rem;
  opacity: 0.85;
}

.vmv p,
.vmv ul {
  font-size: 1.02rem;
  line-height: 1.55;
}

.vmv strong {
  font-weight: 700;
}

.vmv ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vmv li {
  padding-left: 1.4rem;
  position: relative;
  margin-bottom: 0.7rem;
}

.vmv li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.5;
}

.vmv-orange {
  background: linear-gradient(135deg, var(--orange), #d6571a);
  color: #2a0f00;
}

.vmv-teal {
  background: linear-gradient(135deg, var(--teal), #1a7a8a);
  color: #02232a;
}

.vmv-green {
  background: linear-gradient(135deg, var(--green), #5fa412);
  color: #102200;
}

.pullquote {
  margin: 3rem auto 0;
  max-width: 720px;
  text-align: center;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.4;
  color: var(--paper);
  padding: 0 1rem;
}

.pullquote-warm {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  padding-top: 3rem;
}

.pullquote cite {
  display: block;
  font-style: normal;
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-top: 1.2rem;
}

/* Expect */
.expect-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.expect {
  padding: 2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease;
}

.expect:hover {
  background: rgba(232, 118, 42, 0.04);
}

.expect-num {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 0.9rem;
  color: var(--orange);
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
}

.expect h3 {
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
}

.expect p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Planters */
.planters {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
}

.portrait {
  margin: 0;
  position: relative;
}

.portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.portrait figcaption {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 1rem;
  font-family: "Fraunces", serif;
}

.portrait figcaption strong {
  font-size: 1.15rem;
  color: var(--ink);
}

.portrait figcaption span {
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-top: 0.25rem;
}

.portrait-link {
  display: inline-block;
  margin-top: 0.7rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(232, 118, 42, 0.5);
  border-radius: 999px;
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--orange);
  transition: background 0.2s ease, color 0.2s ease;
}

.portrait-link:hover,
.portrait-link:focus-visible {
  background: var(--orange);
  color: var(--ink-2);
}

.planter-bio {
  background: var(--paper);
  color: var(--ink-2);
  padding: 2rem;
  border-radius: var(--radius);
  font-size: 0.98rem;
  line-height: 1.65;
}

.planter-bio strong {
  color: var(--ink-2);
}

.bio-books {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.92rem;
  color: var(--muted-dark);
}

@media (max-width: 880px) {
  .planters {
    grid-template-columns: 1fr 1fr;
  }
  .planter-bio {
    grid-column: 1 / -1;
    order: 3;
  }
}

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

/* Daveyton */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
  margin-bottom: 2.4rem;
}

.stat {
  display: flex;
  flex-direction: column;
  padding: 1.4rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.stat-num {
  font-family: "Fraunces", serif;
  font-size: 2rem;
  color: var(--orange);
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--muted);
}

.reach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}

.reach {
  border-radius: var(--radius);
  padding: 1.8rem;
  color: var(--ink);
}

.reach h3 {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  margin-bottom: 1.2rem;
  opacity: 0.85;
}

.reach ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
}

.reach li {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.reach li:last-child {
  border-bottom: 0;
}

.reach-sand {
  background: linear-gradient(160deg, var(--sand), #97784c);
  color: #1a0f00;
}

.reach-sand li {
  border-color: rgba(0, 0, 0, 0.15);
}

.reach-ink {
  background: linear-gradient(160deg, #1d1c19, #0f0e0c);
  border: 1px solid var(--line);
}

.reach-burgundy {
  background: linear-gradient(160deg, var(--burgundy), #3a0c0c);
}

/* Roadmap */
.roadmap {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
  counter-reset: phase;
}

.roadmap li {
  position: relative;
  padding: 1.6rem 1.8rem 1.6rem 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.roadmap li:hover {
  border-color: rgba(232, 118, 42, 0.4);
  transform: translateX(4px);
}

.roadmap li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.6rem;
  bottom: 1.6rem;
  width: 3px;
  background: var(--line);
  border-radius: 3px;
}

.roadmap li:hover::before {
  background: var(--orange);
}

.roadmap .phase {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.roadmap h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.roadmap p {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 65ch;
}

.roadmap-final {
  background: linear-gradient(135deg, rgba(232, 118, 42, 0.18), rgba(106, 24, 24, 0.18)) !important;
  border-color: rgba(232, 118, 42, 0.5) !important;
}

.roadmap-final::before {
  background: var(--orange) !important;
}

.roadmap-final .phase {
  color: var(--orange);
}

/* Join */
.join {
  display: grid;
  place-items: center;
}

.join-card {
  width: 100%;
  max-width: 760px;
  background: var(--paper);
  color: var(--ink-2);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.4rem);
  text-align: left;
  box-shadow: var(--shadow);
}

.join-card .eyebrow {
  color: var(--burgundy);
}

.join-card h2 {
  color: var(--ink-2);
  margin-bottom: 1rem;
}

.join-card > p {
  color: var(--muted-dark);
  font-size: 1.05rem;
  margin-bottom: 1.6rem;
}

.join-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.8rem;
  display: grid;
  gap: 0.55rem;
}

.join-list li {
  padding-left: 1.6rem;
  position: relative;
  color: var(--muted-dark);
}

.join-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.join-card .btn-ghost {
  border-color: rgba(26, 24, 20, 0.2);
  color: var(--ink-2);
}

.join-card .btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.join-qr {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-dark);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.4rem;
  align-items: center;
}

.join-qr img {
  width: 130px;
  height: 130px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid var(--line-dark);
  background: #fff;
  padding: 6px;
}

.join-qr-text {
  font-size: 0.92rem;
  color: var(--muted-dark);
}

.join-qr-text strong {
  display: block;
  color: var(--ink-2);
  font-family: "Fraunces", serif;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

@media (max-width: 460px) {
  .join-qr {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

.join-note {
  margin-top: 1.6rem;
  font-style: italic;
  color: var(--burgundy);
  font-family: "Fraunces", serif;
  font-size: 1.05rem;
}

/* Footer */
.footer {
  width: min(calc(100% - 2.4rem), var(--max));
  margin: 2rem auto 0;
  padding: 2.4rem 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-brand strong {
  display: block;
  color: var(--ink);
  font-family: "Fraunces", serif;
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

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

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

.footer-meta {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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