/* TOE BODEN — a literal fusion of boden4pres.com and toerogan.xyz
   Rogan's tokens kept verbatim; Solana's green/purple pair swapped for
   Robinhood green + ETH periwinkle, because this one is on Robinhood Chain. */

:root {
  --ink: #090706;
  --panel: #130d0b;
  --cream: #fff2d7;
  --toe: #d67a47;
  --orange: #ff5a1f;
  --hot: #ff285e;
  --rh-a: #00c805;        /* was --sol-a #14f195 */
  --eth-b: #627eea;       /* was --sol-b #9945ff */
  --flag-red: #e8352e;
  --flag-blue: #2323ff;
  --muted: #b6a99d;
  --line: rgba(255, 242, 215, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); overflow-x: clip; }
body {
  margin: 0;
  color: var(--cream);
  background:
    radial-gradient(circle at 78% 8%, rgba(255, 90, 31, .16), transparent 26rem),
    radial-gradient(circle at 12% 4%, rgba(35, 35, 255, .12), transparent 24rem),
    var(--ink);
  font-family: "Space Mono", monospace;
  overflow-x: clip;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }

.noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

h1, h2, h3 { font-family: "Bowlby One SC", Impact, sans-serif; font-weight: 400; text-transform: uppercase; }

/* ---------- precinct / toe counter ---------- */
.toe-counter {
  position: fixed; top: 96px; left: 1rem; z-index: 60;
  display: flex; align-items: center; gap: .55rem;
  padding: .6rem .85rem; border: 1px solid var(--line);
  background: rgba(19, 13, 11, .86); backdrop-filter: blur(10px);
  font-size: .68rem; font-weight: 700; letter-spacing: .1em;
}
.toe-counter-emoji { font-size: 1rem; }
.toe-counter-label { color: var(--muted); }
.toe-counter strong { color: var(--rh-a); }
.toe-counter.bump { animation: bump .45s ease; }
@keyframes bump { 50% { transform: scale(1.12); border-color: var(--rh-a); } }

/* ---------- header ---------- */
.site-header {
  height: 84px; display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 2rem; padding: 0 clamp(1.1rem, 4vw, 4rem);
  border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50;
  background: rgba(9, 7, 6, .84); backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex; align-items: center; gap: .75rem; text-decoration: none;
  font-family: "Bowlby One SC", Impact, sans-serif; letter-spacing: .04em; font-size: 1.1rem;
}
.brand-mark {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 50% 50% 44% 48%; background: var(--orange); color: var(--ink);
  transform: rotate(-7deg); font-size: .95rem;
  box-shadow: 0 0 0 3px var(--flag-blue);
}
nav { display: flex; gap: 2rem; }
nav a { text-decoration: none; color: var(--muted); font-size: .8rem; font-weight: 700; letter-spacing: .12em; }
nav a:hover { color: var(--rh-a); }
.mini-cta {
  justify-self: end; min-height: 48px; display: inline-flex; align-items: center;
  padding: .8rem 1rem; border: 1px solid var(--cream); text-decoration: none;
  font-size: .75rem; font-weight: 700; letter-spacing: .08em; transition: .2s ease;
}
.mini-cta:hover { background: var(--cream); color: var(--ink); transform: translateY(-2px); }

/* ---------- hero ---------- */
.hero {
  min-height: calc(100svh - 84px); max-width: 1600px; margin: 0 auto;
  padding: clamp(2rem, 5vw, 5rem) clamp(1.1rem, 4vw, 4rem);
  display: grid; grid-template-columns: .95fr 1.05fr; align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
}
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .16em; color: var(--rh-a); }
.eyebrow span {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--rh-a); box-shadow: 0 0 16px var(--rh-a); margin-right: .55rem;
  animation: pulse 1.8s infinite;
}
@keyframes pulse { 50% { opacity: .35; } }

.hero h1 { margin: 1rem 0; font-size: clamp(3.2rem, 7.4vw, 7.6rem); line-height: .93; letter-spacing: -.018em; }
.hero h1 em {
  color: transparent; -webkit-text-stroke: 2px var(--cream); font-style: normal;
  text-shadow: 8px 8px 0 rgba(255, 40, 94, .25);
}
.hero-deck { max-width: 38rem; font-size: clamp(1rem, 1.4vw, 1.3rem); line-height: 1.55; color: var(--muted); }
.hero-deck strong { color: var(--cream); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.primary-cta, .secondary-cta {
  min-height: 54px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 1.35rem; text-decoration: none; font-weight: 700; letter-spacing: .08em; font-size: .8rem;
}
.primary-cta {
  background: linear-gradient(110deg, var(--rh-a), var(--eth-b)); color: #060606;
  box-shadow: 7px 7px 0 var(--orange); transition: .2s ease;
}
.primary-cta:hover { transform: translate(-3px, -3px); box-shadow: 10px 10px 0 var(--hot); }
.secondary-cta { border: 1px solid var(--line); }
.secondary-cta:hover { border-color: var(--cream); }
.microcopy { color: #a3968c; font-size: .72rem; letter-spacing: .1em; margin-top: 1.3rem; }

.contract-card {
  max-width: 46rem; margin-top: 1.35rem; padding: .9rem;
  display: grid; grid-template-columns: 1fr auto auto; gap: .7rem .8rem; align-items: center;
  border: 1px solid var(--line); background: rgba(19, 13, 11, .75);
}
.contract-label { grid-column: 1 / -1; margin: 0; color: var(--rh-a); font-size: .7rem; font-weight: 700; letter-spacing: .1em; }
.contract-card code { min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--cream); font-size: .78rem; white-space: nowrap; }
.contract-card button, .contract-card a, .footer-copy {
  min-height: 44px; display: inline-flex; align-items: center; border: 0; background: transparent;
  color: var(--orange); font-family: "Space Mono", monospace; font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.contract-card button:hover, .contract-card a:hover, .footer-copy:hover { color: var(--rh-a); }

.hero-visual { position: relative; aspect-ratio: 1; max-width: 720px; justify-self: end; width: 100%; }
.hero-art {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 49% 49% 12% 12%;
  clip-path: polygon(3% 0, 96% 3%, 100% 89%, 89% 100%, 7% 96%, 0 10%);
}
.hero-visual::after { content: ""; position: absolute; inset: 1rem -1rem -1rem 1rem; border: 1px solid var(--orange); z-index: -1; }
.sniff-text { font-family: "Permanent Marker", cursive; font-size: 46px; }
.sniff-small { font-size: 30px; opacity: .85; }

.pair-stamp {
  position: absolute; right: -1.4rem; bottom: 8%; width: 150px; aspect-ratio: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--cream); color: var(--ink); border-radius: 50%; text-align: center;
  transform: rotate(9deg); box-shadow: 0 0 0 8px var(--ink), 0 0 0 10px var(--cream);
}
.pair-stamp small, .pair-stamp span { font-size: .62rem; line-height: 1.25; letter-spacing: .1em; font-weight: 700; }
.pair-stamp strong { font-family: Impact, sans-serif; font-size: 1.05rem; margin: .25rem 0; line-height: 1.15; }
.orbit {
  position: absolute; z-index: 2; display: grid; place-items: center;
  width: 70px; height: 70px; border-radius: 50%; border: 1px solid var(--rh-a);
  color: var(--rh-a); font-size: .75rem; font-weight: 700; letter-spacing: .1em; backdrop-filter: blur(8px);
}
.orbit-one { top: 6%; left: -5%; animation: float 4s ease-in-out infinite; }
.orbit-two { top: 18%; right: -3%; border-color: var(--eth-b); color: #cdd6ff; animation: float 4s 1s ease-in-out infinite; font-size: 1.4rem; }
@keyframes float { 50% { transform: translateY(-14px); } }

/* ---------- ticker ---------- */
.ticker { overflow: hidden; background: var(--orange); color: var(--ink); border-block: 3px solid var(--cream); transform: rotate(-1deg) scale(1.02); }
.ticker-track { width: max-content; display: flex; align-items: center; gap: 2rem; padding: 1.05rem 0; animation: ticker 28s linear infinite; }
.ticker span { font-family: "Unbounded", sans-serif; font-weight: 900; font-size: clamp(1.1rem, 1.9vw, 2rem); letter-spacing: .035em; }
.ticker .star { color: var(--flag-blue); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Boden's wavy flag divider ---------- */
.flag-strip {
  height: 74px;
  background:
    repeating-linear-gradient(90deg, transparent 0 96px, rgba(9, 7, 6, .55) 96px 104px),
    repeating-linear-gradient(180deg, var(--flag-red) 0 12px, var(--cream) 12px 24px);
  border-block: 3px solid var(--cream);
  transform: rotate(.6deg) scale(1.03);
  opacity: .92;
}

/* ---------- sections ---------- */
.manifesto, .toekenomics, .howtobuy, .gallery, .toe-lab {
  max-width: 1500px; margin: 0 auto; padding: clamp(4.5rem, 9vw, 9rem) clamp(1.1rem, 4vw, 4rem);
}
.section-label { display: flex; align-items: center; gap: 1rem; color: #c5b8ac; font-size: .8rem; font-weight: 700; letter-spacing: .1em; }
.section-label::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.section-heading { margin-top: 3rem; }
.section-heading h2 { font-size: clamp(3rem, 7vw, 6.5rem); line-height: .93; margin: 0 0 1rem; }
.section-heading p { color: var(--muted); max-width: 40rem; }
.section-heading h2 span, .manifesto h2 span, .closing h2 span { color: var(--rh-a); text-shadow: 5px 5px 0 var(--eth-b); }

.manifesto-grid { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: clamp(2rem, 6vw, 8rem); margin-top: 3rem; }
.manifesto h2 { font-size: clamp(3.4rem, 8vw, 8rem); line-height: .93; margin: 0; }
.manifesto-copy { font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 1.65; color: var(--muted); border-left: 2px solid var(--orange); padding-left: 2rem; }
.manifesto-copy strong { color: var(--cream); }
.manifesto-copy .hand {
  font-family: "Permanent Marker", cursive; color: var(--cream);
  font-size: 1.15rem; line-height: 1.5; letter-spacing: .01em;
  border-top: 1px dashed var(--line); padding-top: 1.2rem;
}
.signature { color: var(--orange); font-weight: 700; letter-spacing: .05em; line-height: 1.35; margin-top: 2rem; }

/* ---------- toekenimics ---------- */
.toe-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 3rem; }
.toe-card { position: relative; padding: 2rem 1.4rem 1.6rem; border: 1px solid var(--line); background: var(--panel); transition: .2s ease; }
.toe-card:hover { transform: translateY(-6px); border-color: var(--orange); box-shadow: 10px 10px 0 rgba(255, 90, 31, .25); }
.toe-card .num { position: absolute; top: .8rem; right: 1rem; color: var(--toe); font-size: .7rem; font-weight: 700; }
.toe-card .k { color: var(--muted); font-size: .7rem; letter-spacing: .12em; font-weight: 700; margin: 0 0 .9rem; }
.toe-card .v { font-family: "Bowlby One SC", Impact, sans-serif; font-size: clamp(1.4rem, 2vw, 2rem); line-height: 1.05; margin: 0 0 .9rem; color: var(--cream); }
.toe-card .d { color: var(--muted); font-size: .72rem; letter-spacing: .06em; line-height: 1.5; margin: 0; }

.burn-note { margin-top: 2.5rem; padding: 1.6rem; border: 1px dashed var(--line); background: rgba(35, 35, 255, .06); }
.burn-note .k { color: var(--rh-a); font-size: .7rem; letter-spacing: .12em; font-weight: 700; margin: 0 0 .7rem; }
.burn-note .q { font-family: "Permanent Marker", cursive; font-size: clamp(1.3rem, 2.4vw, 2rem); margin: 0 0 .7rem; color: var(--cream); }
.burn-note .d { color: var(--muted); font-size: .85rem; line-height: 1.6; margin: 0; max-width: 54rem; }

/* ---------- how to buy ---------- */
.steps { list-style: none; counter-reset: none; margin: 3rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.steps li { position: relative; padding: 2.2rem 1.4rem 1.6rem; border: 1px solid var(--line); background: var(--panel); }
.step-num {
  position: absolute; top: -18px; left: 1.2rem; width: 38px; height: 38px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--flag-blue); color: var(--cream);
  font-family: "Bowlby One SC", sans-serif; font-size: 1rem;
  box-shadow: 0 0 0 4px var(--ink);
}
.steps h3 { margin: .4rem 0 .8rem; font-size: 1.05rem; letter-spacing: .02em; }
.steps p { color: var(--muted); font-size: .82rem; line-height: 1.6; margin: 0; }
.steps strong { color: var(--cream); }

/* ---------- toe lab ---------- */
.toe-lab {
  min-height: 90svh; display: grid; grid-template-columns: 1fr .8fr; grid-template-rows: auto auto;
  align-items: center; gap: 1.5rem clamp(3rem, 8vw, 9rem); position: relative;
}
.toe-lab::before {
  content: "SITUATION ROOM, BUT FOR TOES"; position: absolute; top: 8%; left: -3%;
  color: rgba(255, 255, 255, .025); font-family: "Bowlby One SC", sans-serif;
  font-size: 9vw; white-space: nowrap; transform: rotate(-7deg); pointer-events: none;
}
.lab-copy { position: relative; z-index: 1; }
.toe-lab h2 { font-size: clamp(3.2rem, 7vw, 7rem); line-height: .93; margin: 1rem 0; }
.toe-lab h2 span { color: var(--hot); -webkit-text-stroke: 1px var(--cream); }
.lab-copy > p { max-width: 40rem; color: var(--muted); font-size: .95rem; line-height: 1.65; }
.lab-status { color: var(--rh-a) !important; font-weight: 700; letter-spacing: .08em; }

.big-toe-button {
  justify-self: center; width: min(460px, 88vw); border: 1px solid rgba(255, 242, 215, .35);
  padding: .75rem; background: #140c09; color: var(--cream);
  box-shadow: 18px 18px 0 var(--orange), 0 50px 90px rgba(0, 0, 0, .45);
  transform: rotate(2deg); cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.big-toe-button:hover { border-color: var(--cream); box-shadow: 18px 18px 0 var(--hot), 0 50px 90px rgba(0, 0, 0, .5); }
.big-toe-button.hit { transform: rotate(2deg) scale(.985); }
.big-toe-button.hit .btn-glow { fill: #ff285e; }
.press-frame { display: block; position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; background: #1b0d08; }
.btn-glow { transition: fill .15s ease; }
.btn-cap { font-family: "Space Mono", monospace; font-size: 22px; font-weight: 700; fill: #b6a99d; letter-spacing: 2px; }
.press-label, .press-hint { display: block; position: relative; z-index: 3; font-family: "Unbounded", sans-serif; font-weight: 900; text-align: left; }
.press-label { padding: .25rem .25rem .75rem; font-size: clamp(.75rem, 1.4vw, 1rem); letter-spacing: .055em; }
.press-hint { padding: .75rem .25rem .25rem; font-size: .68rem; letter-spacing: .1em; color: var(--toe); }
.lab-punch {
  grid-column: 1 / -1; text-align: center; font-family: "Permanent Marker", cursive;
  font-size: clamp(1.1rem, 2.4vw, 2rem); color: var(--hot); opacity: 0; transition: opacity .3s ease; margin: 0;
}
.lab-punch.show { opacity: 1; }

/* ---------- meme cabinet ---------- */
.cabinet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3rem; }
.cab-card {
  aspect-ratio: 4 / 3; display: grid; place-items: center; text-align: center; padding: 1rem;
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(135deg, rgba(232, 53, 46, .08) 0 14px, transparent 14px 28px),
    var(--panel);
  font-family: "Unbounded", sans-serif; font-weight: 700; font-size: clamp(.7rem, 1.2vw, .95rem);
  letter-spacing: .06em; color: var(--cream); transition: .2s ease;
}
.cab-card:nth-child(3n-1) { background: repeating-linear-gradient(135deg, rgba(35, 35, 255, .1) 0 14px, transparent 14px 28px), var(--panel); }
.cab-card:hover { transform: rotate(-1.5deg) translateY(-6px); border-color: var(--orange); }

.signal {
  margin-top: 2.5rem; width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
  padding: 1.2rem 1.4rem; border: 1px solid var(--line); background: var(--panel);
  color: var(--cream); cursor: pointer; text-align: left; transition: .2s ease;
}
.signal:hover { border-color: var(--rh-a); }
.signal .k { color: var(--muted); font-size: .7rem; letter-spacing: .12em; font-weight: 700; }
.signal .q { font-family: "Unbounded", sans-serif; font-weight: 900; font-size: clamp(.9rem, 1.7vw, 1.3rem); }

/* ---------- closing ---------- */
.closing {
  text-align: center; padding: clamp(5rem, 10vw, 9rem) clamp(1.1rem, 4vw, 4rem);
  background:
    linear-gradient(rgba(9, 7, 6, .82), rgba(9, 7, 6, .95)),
    repeating-linear-gradient(180deg, var(--flag-red) 0 40px, var(--cream) 40px 80px);
  border-block: 3px solid var(--cream);
}
.closing h2 { font-size: clamp(2.6rem, 6.5vw, 6rem); line-height: .95; margin: 0 0 1rem; }
.closing-sub { color: var(--muted); font-size: .75rem; letter-spacing: .18em; margin-bottom: 2rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--flag-blue); color: var(--cream); padding: clamp(2.5rem, 5vw, 4rem) clamp(1.1rem, 4vw, 4rem) 1.5rem; }
.footer-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 1rem 2.5rem; }
.footer-brand { font-family: "Bowlby One SC", Impact, sans-serif; font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 0; }
.footer-tag { color: rgba(255, 242, 215, .82); font-size: .75rem; letter-spacing: .1em; margin: 0; }
.footer-links { display: flex; gap: 1.5rem; margin: 0 0 0 auto; }
.footer-links a { font-size: .75rem; font-weight: 700; letter-spacing: .08em; }
.footer-links a:hover { color: var(--ink); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: flex-start; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 242, 215, .28); }
.disclaimer { flex: 1 1 32rem; color: rgba(255, 242, 215, .78); font-size: .72rem; line-height: 1.6; margin: 0; }
.footer-copy { color: var(--cream) !important; }
.footer-copy:hover { color: var(--ink) !important; }
.credit {
  margin: 2rem 0 0; text-align: center; font-family: "Permanent Marker", cursive;
  font-size: clamp(1rem, 2.4vw, 1.8rem); color: var(--cream); letter-spacing: .02em;
}

/* ---------- hidden toes ---------- */
.hidden-toe {
  position: absolute; font-size: 1.15rem; opacity: .22; cursor: pointer; z-index: 20;
  transition: transform .2s ease, opacity .2s ease; user-select: none; background: none; border: 0; padding: .35rem;
}
.hidden-toe:hover { opacity: .9; transform: scale(1.35) rotate(-12deg); }
.hidden-toe.found { opacity: 0; pointer-events: none; transform: scale(2.4) translateY(-30px); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- copy toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 2rem; transform: translate(-50%, 140%);
  padding: .85rem 1.3rem; background: var(--cream); color: var(--ink);
  font-weight: 700; font-size: .78rem; letter-spacing: .08em; z-index: 200;
  box-shadow: 7px 7px 0 var(--orange); transition: transform .3s ease;
}
.toast.show { transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .toe-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .cabinet { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; height: auto; padding-block: .9rem; gap: 1rem; }
  nav { order: 3; grid-column: 1 / -1; justify-content: space-between; gap: 1rem; overflow-x: auto; }
  .hero, .manifesto-grid, .toe-lab { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; max-width: 520px; }
  .manifesto-copy { border-left: 0; border-top: 2px solid var(--orange); padding: 1.5rem 0 0; }
  .toe-counter { top: auto; bottom: 1rem; left: 1rem; }
  .toe-lab::before { font-size: 16vw; }
  .footer-links { margin-left: 0; }
}
@media (max-width: 620px) {
  .toe-grid, .steps, .cabinet { grid-template-columns: 1fr; }
  .contract-card { grid-template-columns: 1fr; }
  .pair-stamp { width: 112px; right: -.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track, .orbit-one, .orbit-two, .eyebrow span { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
