/* ShibDingo — Outback After Dark (single-theme by design) */
:root {
  --night: #14110c; --night-2: #1c1712; --night-3: #262017; --border: #382e20;
  --bone: #efe8da; --muted: #a2977f; --faint: #7a7160;
  --amber: #e8912d; --amber-bright: #f0a94f; --earth: #c06a1a; --red-centre: #b34d1e;
  --good: #4cba4c;
  --mono: Consolas, "Cascadia Mono", ui-monospace, monospace;
  --display: "Arial Black", "Segoe UI Black", "Segoe UI", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--night); color: var(--bone); font-family: "Segoe UI", system-ui, sans-serif; line-height: 1.6; font-size: 16px; margin: 0; }
img, svg { max-width: 100%; }

/* nav */
nav.site { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 18px; padding: 12px 28px; background: rgba(20,17,12,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-name { font-family: var(--display); font-weight: 900; font-size: 19px; letter-spacing: .01em; color: var(--bone); }
.brand-name em { font-style: normal; color: var(--amber); }
nav.site .links { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
nav.site .links a { color: var(--muted); text-decoration: none; font-size: 13.5px; font-weight: 600; padding: 7px 12px; border-radius: 5px; letter-spacing: .02em; }
nav.site .links a:hover { color: var(--bone); background: var(--night-3); }
nav.site .links a[aria-current="page"] { color: var(--amber-bright); }
.btn { display: inline-block; background: var(--amber); color: var(--night); font-weight: 800; font-size: 14px; padding: 10px 20px; border-radius: 6px; text-decoration: none; border: none; cursor: pointer; font-family: "Segoe UI", system-ui, sans-serif; transition: transform .15s ease, background .2s ease; }
.btn:hover { background: var(--amber-bright); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--amber-bright); border: 1.5px solid var(--earth); }
.btn.ghost:hover { background: var(--night-3); }

/* layout */
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
section { padding: 64px 0; }
section.tight { padding: 40px 0; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--amber-bright); margin: 0 0 12px; }
h1 { font-family: var(--display); font-weight: 900; font-size: clamp(34px, 5.6vw, 62px); line-height: 1.04; letter-spacing: -.01em; margin: 0 0 18px; text-wrap: balance; }
h2 { font-family: var(--display); font-weight: 900; font-size: clamp(24px, 3.4vw, 36px); line-height: 1.1; margin: 0 0 14px; text-wrap: balance; }
h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; color: var(--bone); }
p { max-width: 62ch; margin: 0 0 14px; color: var(--muted); }
p.lead { font-size: 19px; color: var(--bone); }
.center { text-align: center; }
.center p { margin-left: auto; margin-right: auto; }
a { color: var(--amber-bright); }
ul.plain { color: var(--muted); max-width: 68ch; line-height: 1.8; }

.chip { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; padding: 4px 10px; border-radius: 4px; display: inline-block; text-transform: uppercase; font-weight: 700; }
.chip.pre { color: var(--amber-bright); border: 1px solid var(--earth); }
.chip.next { color: var(--faint); border: 1px solid var(--faint); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 28px; }
.card { background: var(--night-2); border: 1px solid var(--border); border-radius: 10px; padding: 24px; transition: transform .25s ease, border-color .25s ease; }
.card:hover { transform: translateY(-5px); border-color: var(--earth); }
.card h3 { margin-top: 6px; }
.card p { font-size: 14.5px; margin-bottom: 0; }
.card .num { font-family: var(--display); font-weight: 900; font-size: 30px; color: var(--amber); }
.card .role { color: var(--amber-bright); font-size: 13px; font-weight: 700; margin-bottom: 8px; }

.statusbar { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.status { background: var(--night-2); border: 1px solid var(--border); border-radius: 8px; padding: 12px 18px; }
.status .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; color: var(--faint); text-transform: uppercase; display: block; }
.status .v { font-size: 14px; font-weight: 700; color: var(--bone); }
.status .v.amber { color: var(--amber-bright); }

figure.fig { margin: 30px 0 0; background: var(--night-2); border: 1px solid var(--border); border-radius: 10px; padding: 26px; overflow-x: auto; }
figure.fig figcaption { font-family: var(--mono); font-size: 11.5px; color: var(--faint); margin-top: 14px; letter-spacing: .05em; }
figure.fig svg { display: block; max-width: 100%; height: auto; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

.faq details { border-bottom: 1px solid var(--border); padding: 14px 0; max-width: 760px; }
.faq summary { font-weight: 700; cursor: pointer; color: var(--bone); font-size: 15.5px; }
.faq p { margin: 10px 0 0; font-size: 14.5px; }

.form { display: grid; gap: 12px; max-width: 520px; margin-top: 20px; }
.form input, .form textarea { background: var(--night-2); border: 1px solid var(--border); border-radius: 6px; padding: 12px 14px; color: var(--bone); font-family: inherit; font-size: 14.5px; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--earth); }
.form .note { font-size: 12px; color: var(--faint); }

footer.site { border-top: 1px solid var(--border); padding: 44px 0 60px; margin-top: 40px; }
footer.site .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
@media (max-width: 700px) { footer.site .cols { grid-template-columns: 1fr; } }
footer.site .small { font-size: 12.5px; color: var(--faint); max-width: none; }
footer.site h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
footer.site a.fl { color: var(--muted); text-decoration: none; display: block; font-size: 14px; margin-bottom: 6px; }
footer.site a.fl:hover { color: var(--amber-bright); }

/* hero */
.hero { position: relative; overflow: hidden; min-height: clamp(520px, 46vw, 680px); display: flex; align-items: center; border-bottom: 1px solid var(--border); }
.hero-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
#embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-copy { position: relative; width: 100%; padding: 72px 0; }
.hero-copy .inner { max-width: 1080px; margin: 0 auto; padding: 0 24px; width: 100%; }
.hero-copy .col { max-width: 560px; }
.hero-copy .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) { .hero-copy { background: linear-gradient(180deg, rgba(20,17,12,.2), rgba(20,17,12,.72)); padding: 56px 0; } }

@keyframes twinkle { 0%,100% { opacity: .9; } 50% { opacity: .15; } }
@keyframes glow { 0%,100% { opacity: .45; } 50% { opacity: .95; } }
.star { animation: twinkle 3.2s ease-in-out infinite; }
.star:nth-child(2n) { animation-delay: 1.1s; }
.star:nth-child(3n) { animation-delay: 2.2s; animation-duration: 4.6s; }
.sun-glow { animation: glow 5.5s ease-in-out infinite; }
@keyframes riseIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero-copy .col > * { animation: riseIn .8s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy .col > *:nth-child(1) { animation-delay: .15s; }
.hero-copy .col > *:nth-child(2) { animation-delay: .3s; }
.hero-copy .col > *:nth-child(3) { animation-delay: .5s; }
.hero-copy .col > *:nth-child(4) { animation-delay: .7s; }
@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }
.hero-svg { animation: heroFade 1.1s ease-out both; }
@keyframes shoot { 0% { transform: translate(0,0); opacity: 0; } 2% { opacity: 1; } 7% { transform: translate(-380px, 130px); opacity: 0; } 100% { transform: translate(-380px, 130px); opacity: 0; } }
.shoot { animation: shoot 11s linear 3s infinite; }
.hero-copy .col > h1.chsplit { animation: none; opacity: 1; }
h1 .ch { display: inline-block; opacity: 0; transform: translateY(.65em) rotate(5deg); animation: chIn .65s cubic-bezier(.2,.75,.2,1) forwards; }
@keyframes chIn { to { opacity: 1; transform: none; } }

/* scroll reveals */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
#howl-progress { stroke-dasharray: 212; stroke-dashoffset: 212; transition: stroke-dashoffset 1.4s ease .3s; }
.fig.in #howl-progress { stroke-dashoffset: 0; }

/* marquee */
.marquee { overflow: hidden; background: var(--amber); border-bottom: 1px solid var(--border); }
.marquee-track { display: flex; width: max-content; animation: marq 26s linear infinite; }
.marquee-track span { font-family: var(--display); font-weight: 900; font-size: 13px; letter-spacing: .12em; color: var(--night); padding: 9px 0; white-space: nowrap; text-transform: uppercase; }
@keyframes marq { to { transform: translateX(-50%); } }

/* 3D coin */
.coin3d-wrap { perspective: 900px; width: 150px; height: 150px; flex-shrink: 0; }
.coin3d { width: 100%; height: 100%; position: relative; transform-style: preserve-3d; animation: coinspin 7s linear infinite; }
.coin3d .face { position: absolute; inset: 0; backface-visibility: hidden; border-radius: 50%; }
.coin3d .face.back { transform: rotateY(180deg); }
.coin3d .face svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 10px 26px rgba(232,145,45,.28)); }
@keyframes coinspin { from { transform: rotateY(0); } to { transform: rotateY(360deg); } }

.ribbon { background: var(--night-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.ribbon .wrap { display: flex; gap: 14px; align-items: center; padding: 14px 24px; flex-wrap: wrap; }
.ribbon .k { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--faint); text-transform: uppercase; }
.ribbon .note { font-size: 12.5px; color: var(--faint); margin-left: auto; }
.ribbon.box { border-radius: 10px; border: 1px solid var(--border); margin-top: 34px; }
.seal-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
table.t { border-collapse: collapse; width: 100%; font-size: 14.5px; margin-top: 18px; }
table.t th { text-align: left; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); padding: 8px 12px; border-bottom: 2px solid var(--border); }
table.t td { padding: 10px 12px; border-bottom: 1px solid var(--border); color: var(--muted); }
table.t td:first-child { color: var(--bone); font-weight: 600; }
.twrap { overflow-x: auto; }
.mono { font-family: var(--mono); }
.disclaimer-inline { font-size: 12.5px; color: var(--faint); border-left: 2px solid var(--border); padding-left: 14px; max-width: 70ch; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.strip { background: var(--night-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.wallet-card { font-family: var(--mono); }
.wallet-card .k { font-size: 10.5px; letter-spacing: .14em; color: var(--faint); text-transform: uppercase; }

@media (prefers-reduced-motion: reduce) {
  .star, .sun-glow, .shoot, .hero-copy .col > *, .hero-svg, h1 .ch, .marquee-track, .coin3d { animation: none; }
  h1 .ch { opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  #howl-progress { stroke-dashoffset: 0; transition: none; }
  .card:hover, .btn:hover { transform: none; }
  #embers { display: none; }
}
