/* =========================================================
   DOGONFONE ($DOGON) — styles
   Palette pulled straight from the dog: cream wall, shiba
   orange coat, phone black.
   ========================================================= */

:root {
  --cream: #f6ecd9;
  --cream-2: #efe1c8;
  --sand: #e6d3b3;
  --ink: #1c150f;
  --ink-soft: #4a3c2e;
  --muted: #7b6957;
  --orange: #e07a2f;
  --orange-2: #f2a44e;
  --amber: #ffc247;
  --green: #37c977;
  --white: #fffaf1;
  --line: rgba(28, 21, 15, 0.14);
  --shadow: 6px 6px 0 rgba(28, 21, 15, 0.9);
  --shadow-sm: 4px 4px 0 rgba(28, 21, 15, 0.9);
  --radius: 18px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Space Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: "Archivo Black", "Space Grotesk", sans-serif;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
}

.accent { color: var(--orange); }

/* film grain */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9;
  opacity: 0.14;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.25'/%3E%3C/svg%3E");
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.wrap--narrow { max-width: 820px; }

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 2.5px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.2s ease;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 rgba(28,21,15,0.9); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 rgba(28,21,15,0.9); }

.btn--primary { background: var(--orange); color: var(--white); }
.btn--primary:hover { background: var(--orange-2); }
.btn--outline { background: transparent; }
.btn--ghost { background: var(--white); padding: 11px; }
.btn--icon { padding: 11px; }
.btn--lg { padding: 15px 26px; font-size: 16.5px; }

/* ================= NAV ================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 22px;
  background: rgba(246, 236, 217, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 2px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.nav.is-stuck {
  border-bottom-color: var(--ink);
  box-shadow: 0 6px 24px rgba(28, 21, 15, 0.08);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  margin-right: auto;
}
.nav__logo {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--ink);
  box-shadow: 3px 3px 0 rgba(28,21,15,0.9);
}
.nav__name {
  font-family: "Archivo Black", sans-serif;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.nav__links { display: flex; gap: 26px; }
.nav__links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2.5px;
  background: var(--orange);
  transition: width 0.22s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }

.nav__cta { display: flex; gap: 10px; align-items: center; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 11px 10px;
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: 12px;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 20px; height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ================= HERO ================= */
.hero {
  position: relative;
  padding: 60px 22px 74px;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  top: -240px; right: -180px;
  width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(224,122,47,0.28), rgba(224,122,47,0) 65%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 56px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px 7px 12px;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 3px 3px 0 rgba(28,21,15,0.9);
}
.pill__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(55, 201, 119, 0.7);
  animation: ping 1.9s infinite;
}
@keyframes ping {
  0%   { box-shadow: 0 0 0 0 rgba(55,201,119,0.65); }
  70%  { box-shadow: 0 0 0 9px rgba(55,201,119,0); }
  100% { box-shadow: 0 0 0 0 rgba(55,201,119,0); }
}

.hero__title {
  margin: 20px 0 4px;
  font-size: clamp(2.9rem, 7.4vw, 5rem);
  letter-spacing: -0.035em;
}
.hero__title span { display: inline-block; }

.hero__sub {
  margin: 0 0 18px;
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 15px;
  color: var(--muted);
  text-transform: uppercase;
}

.hero__lead {
  margin: 0 0 30px;
  font-size: 18.5px;
  color: var(--ink-soft);
  max-width: 56ch;
}
.hero__lead strong { color: var(--ink); }

.hero__actions { display: flex; gap: 13px; flex-wrap: wrap; }

/* quick facts under the hero buttons */
.hero__facts {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero__facts li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 9px 18px;
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  box-shadow: 3px 3px 0 rgba(28,21,15,0.9);
  font-weight: 700;
  font-size: 15px;
}
.hero__facts span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* hero art */
.hero__art { position: relative; }
.hero__frame {
  position: relative;
  border: 3px solid var(--ink);
  border-radius: 26px;
  overflow: hidden;
  background: var(--cream-2);
  box-shadow: 10px 10px 0 rgba(28,21,15,0.9);
  transform: rotate(-1.6deg);
}
.hero__dog { width: 100%; height: auto; }

.badge {
  position: absolute;
  padding: 8px 14px;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: 3px 3px 0 rgba(28,21,15,0.9);
  animation: bob 5s ease-in-out infinite;
}
.badge--1 { top: 5%; left: 5%; background: var(--amber); }
.badge--2 { top: 42%; left: 3%; background: var(--white); animation-delay: -1.6s; }
.badge--3 { bottom: 7%; right: 6%; background: var(--orange); color: var(--white); animation-delay: -3.1s; }
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-9px) rotate(2deg); }
}

/* mini phone */
.phone {
  position: absolute;
  right: -22px;
  bottom: -34px;
  width: 168px;
  padding: 9px;
  background: #14100c;
  border: 3px solid var(--ink);
  border-radius: 24px;
  box-shadow: 8px 8px 0 rgba(28,21,15,0.9);
  transform: rotate(6deg);
  animation: bob 7s ease-in-out infinite;
}
.phone__notch {
  width: 46px; height: 5px;
  background: #3a332b;
  border-radius: 99px;
  margin: 1px auto 8px;
}
.phone__screen {
  background: #0c0a08;
  border-radius: 15px;
  padding: 10px;
}
.phone__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.phone__pair { color: #a4988a; font-size: 9.5px; font-weight: 700; letter-spacing: 0.06em; }
.phone__pct { color: var(--green); font-size: 11.5px; font-weight: 700; }
.phone__chart { width: 100%; height: 68px; display: block; }
.chart__line {
  stroke-dasharray: 460;
  stroke-dashoffset: 460;
  animation: draw 2.4s ease-out forwards;
}
.chart__area { opacity: 0; animation: fade 1.4s ease-out 1.1s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

.phone__bars { display: flex; gap: 3px; margin-top: 8px; height: 16px; align-items: flex-end; }
.phone__bars i {
  flex: 1;
  background: #2a241d;
  border-radius: 2px;
  animation: pulse 1.6s ease-in-out infinite;
}
.phone__bars i:nth-child(odd) { background: #3f342a; }
.phone__bars i:nth-child(1) { animation-delay: 0s; }
.phone__bars i:nth-child(2) { animation-delay: .12s; }
.phone__bars i:nth-child(3) { animation-delay: .24s; }
.phone__bars i:nth-child(4) { animation-delay: .36s; }
.phone__bars i:nth-child(5) { animation-delay: .48s; }
.phone__bars i:nth-child(6) { animation-delay: .6s; }
.phone__bars i:nth-child(7) { animation-delay: .72s; }
.phone__bars i:nth-child(8) { animation-delay: .84s; }
@keyframes pulse {
  0%, 100% { height: 30%; }
  50%      { height: 100%; }
}

/* ================= MARQUEE ================= */
.marquee {
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  background: var(--orange);
  color: var(--white);
  padding: 13px 0;
  overflow: hidden;
  white-space: nowrap;
  transform: rotate(-1deg) scale(1.03);
  margin: 26px 0;
}
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  animation: scroll 26s linear infinite;
  font-family: "Archivo Black", sans-serif;
  font-size: 20px;
  letter-spacing: 0.03em;
}
.marquee__track .dot { color: rgba(255,255,255,0.55); font-size: 12px; }
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ================= SECTIONS ================= */
.section { padding: 84px 0; }
.section--alt { background: var(--cream-2); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }

.section__head { margin-bottom: 46px; max-width: 760px; }
.kicker {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
  padding: 4px 12px;
  border: 2px solid var(--orange);
  border-radius: 999px;
}
.h2 { font-size: clamp(2rem, 4.6vw, 3.1rem); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.3,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ================= STORY ================= */
.story { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 30px 26px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translate(-3px, -4px); box-shadow: 9px 10px 0 rgba(28,21,15,0.9); }
.card__num {
  font-family: "Archivo Black", sans-serif;
  font-size: 15px;
  color: var(--orange);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.card h3 { font-size: 22px; margin-bottom: 12px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 16px; }

.quote {
  margin-top: 34px;
  padding: 28px 32px;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius);
  border: 3px solid var(--ink);
  box-shadow: var(--shadow);
}
.quote p { margin: 0; font-size: 18px; }
.quote span { color: var(--muted); font-size: 14px; }
.quote__a { color: #cbbca9; }
.quote__b { margin-top: 10px !important; font-weight: 700; color: var(--amber); }

/* ================= TOKENOMICS ================= */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 34px;
}
.stat {
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.stat__value {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(1.2rem, 2.3vw, 1.75rem);
  color: var(--orange);
  letter-spacing: -0.02em;
}
.stat__label {
  margin-top: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
}

.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 26px; }
.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 16px;
  color: var(--ink-soft);
  font-weight: 500;
}
.check__mark {
  flex-shrink: 0;
  width: 24px; height: 24px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #06340f;
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  margin-top: 3px;
}

/* ================= STEPS ================= */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step {
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}
.step:hover { transform: translateY(-5px); }
.step__n {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--orange);
  color: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  font-family: "Archivo Black", sans-serif;
  font-size: 19px;
  margin-bottom: 15px;
}
.step h3 { font-size: 19px; margin-bottom: 9px; }
.step p { margin: 0; font-size: 15.5px; color: var(--ink-soft); }

/* ================= ROADMAP ================= */
.road { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.road__item {
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
}
.road__phase {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--amber);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 14px;
}
.road__item h3 { font-size: 23px; margin-bottom: 14px; }
.road__item ul { margin: 0; padding-left: 20px; color: var(--ink-soft); }
.road__item li { margin-bottom: 8px; font-size: 15.5px; }
.road__item li::marker { color: var(--orange); }

/* ================= FAQ ================= */
.faq { display: grid; gap: 12px; }
.faq__item {
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-family: "Archivo Black", sans-serif;
  color: var(--orange);
  font-size: 22px;
  line-height: 1;
  transition: transform 0.22s ease;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item div { padding: 0 22px 20px; }
.faq__item p { margin: 0; color: var(--ink-soft); font-size: 16px; }

/* ================= CTA ================= */
.cta {
  background: var(--ink);
  color: var(--cream);
  padding: 74px 0;
  border-top: 3px solid var(--ink);
}
.cta__inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 46px;
  align-items: center;
}
.cta__dog {
  width: 260px; height: 260px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--amber);
  box-shadow: 8px 8px 0 rgba(255,194,71,0.25);
}
.cta .h2 { color: var(--white); margin-bottom: 14px; }
.cta__copy > p { color: #c9bba8; font-size: 18px; max-width: 60ch; margin: 0 0 26px; }
.cta .btn--outline { color: var(--cream); border-color: var(--amber); }
.cta .btn--outline:hover { background: rgba(255,194,71,0.12); }
.cta__note { font-size: 13.5px; color: #8e8073; margin-top: 18px; }

/* ================= FOOTER ================= */
.footer { background: var(--cream-2); border-top: 3px solid var(--ink); padding: 40px 0 26px; }
.footer__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__name { font-family: "Archivo Black", sans-serif; font-size: 17px; }
.footer__ticker { font-size: 13px; color: var(--muted); font-weight: 600; }

.footer__links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer__links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-soft);
}
.footer__links a:hover { color: var(--orange); }
.footer__social { display: flex; gap: 10px; }

.footer__legal {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 2px solid var(--line);
}
.footer__legal p { font-size: 13px; color: var(--muted); margin: 0 0 10px; max-width: 90ch; }
.footer__copy { font-weight: 600; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1040px) {
  .hero__inner { grid-template-columns: 1fr; gap: 60px; }
  .hero__art { max-width: 520px; margin: 0 auto; width: 100%; }
  .story, .road { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cta__inner { grid-template-columns: 1fr; text-align: left; }
  .cta__dog { width: 190px; height: 190px; }
}

@media (max-width: 860px) {
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--cream);
    border-bottom: 3px solid var(--ink);
    padding: 8px 22px 18px;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav__burger { display: flex; }
  .nav__cta .btn--primary { padding: 10px 16px; font-size: 14px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .nav { gap: 10px; padding: 12px 16px; }
  .nav__name { display: none; }
  .section { padding: 62px 0; }
  .hero { padding: 40px 18px 60px; }
  .steps, .stats, .checks { grid-template-columns: 1fr; }
  .marquee__track { font-size: 16px; }
  .phone { width: 128px; right: -8px; bottom: -26px; }
  .badge--2 { display: none; }
  .quote { padding: 22px; }
  .footer__inner { justify-content: flex-start; gap: 18px; }
  .hero__actions .btn { flex: 1 1 100%; justify-content: center; }
  .hero__facts li { flex: 1 1 auto; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
