/* Layout: centred hero, a counter rail, a wide console, then the entries table. */

/* nav */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(251,241,242,0.82); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.25s; }
.nav.stuck { border-bottom-color: var(--line); }
.nav .container { display: flex; align-items: center; gap: 20px; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; letter-spacing: -0.02em; }
.brand img { width: 32px; height: 32px; border-radius: 9px; object-fit: cover; }
.brand .name { font-size: 15px; }
.nav-links { display: flex; gap: 24px; margin-left: 12px; }
.nav-links a { font-size: 14px; color: var(--grey); transition: color 0.18s; }
.nav-links a:hover { color: var(--ink); }
.ca-pill { cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.ca-pill:hover { border-color: var(--pink); background: var(--pink-wash); }
.ca-pill .k { color: var(--grey-2); }
.ca-pill .v { color: var(--ink); }

/* hero, centred, mark on top */
.hero { padding: 54px 0 40px; text-align: center; }
.hero .mark { width: min(230px, 46vw); height: auto; border-radius: 26px; margin: 0 auto 26px; box-shadow: 0 18px 50px rgba(254,80,170,0.18); }
.hero h1 { margin: 16px auto 0; max-width: 16ch; }
.hero .sub { margin: 18px auto 0; max-width: 60ch; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.ca-card { margin: 34px auto 0; max-width: 720px; padding: 18px 20px; display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.ca-card .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey-2); }
.ca-card .v { font-family: var(--mono); font-size: clamp(12px, 1.7vw, 15px); word-break: break-all; }
.ca-card .warn { width: 100%; font-size: 12px; color: var(--grey-2); }

/* counter rail: one row, dots between */
.rail { margin: 40px auto 0; padding: 18px 24px; display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; border-radius: 999px; }
.rail .item { display: flex; align-items: baseline; gap: 9px; }
.rail .v { font-family: var(--mono); font-size: 22px; letter-spacing: -0.02em; }
.rail .k { font-size: 12.5px; color: var(--grey); }
.rail .sep { width: 5px; height: 5px; border-radius: 50%; background: var(--line-2); }

/* sections */
.section { padding: 70px 0; }
.section-head { max-width: 640px; margin: 0 0 28px; }
.section-head .sub { margin-top: 12px; }

/* steps as big numerals, no cards */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.step .n { font-family: var(--mono); font-size: 34px; color: var(--pink); line-height: 1; }
.step h3 { margin: 14px 0 8px; }
.step p { margin: 0; color: var(--grey); font-size: 14.5px; }
.step .bar { height: 2px; background: linear-gradient(90deg, var(--pink), rgba(254,80,170,0)); margin-top: 18px; transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease); }
.step.in .bar { transform: scaleX(1); }

/* limits, plain rows */
.limits { display: grid; grid-template-columns: 1fr 1fr; gap: 0 46px; }
.limit { padding: 22px 0; border-top: 1px solid var(--line); }
.limit h3 { font-size: 15.5px; }
.limit p { margin: 8px 0 0; color: var(--grey); font-size: 14.5px; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0 56px; }
.footer .top { display: flex; justify-content: space-between; gap: 22px; flex-wrap: wrap; align-items: center; }
.footer .links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer .links a { font-size: 14px; color: var(--grey); }
.footer .links a:hover { color: var(--ink); }
.footer .fine { margin-top: 26px; font-size: 12px; color: var(--grey-2); max-width: 82ch; }

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .limits { grid-template-columns: 1fr; gap: 0; }
  .nav-links { display: none; }
}
@media (max-width: 540px) {
  :root { --gut: 18px; }
  .hero { padding: 34px 0 26px; }
  .section { padding: 52px 0; }
  .rail { border-radius: var(--r-lg); gap: 16px 22px; }
  .rail .sep { display: none; }
  .ca-card { flex-direction: column; align-items: flex-start; }
  .nav .container { height: 62px; }
  .brand .name { font-size: 13.5px; }
}

/* ---- full bleed holographic hero */
.ticker {
  position: relative; z-index: 50; overflow: hidden;
  background: #1A0F1A !important; color: #FBF1F2;
}
.ticker-track span { color: #FBF1F2; }
.ticker-track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.ticker-track span {
  display: inline-flex; align-items: center; gap: 12px; padding: 9px 26px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap;
}
.ticker-track span::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--pink); }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

.hero-full {
  position: relative; min-height: 100svh; display: grid; place-items: center;
  margin-top: -70px; padding: 150px 0 84px; overflow: hidden; text-align: center; isolation: isolate;
  background: #FFFFFF;
}
/* the field: broad washes of the logo's own colours, drifting */
.hero-full .field { position: absolute; inset: -18%; z-index: -2; filter: blur(90px) saturate(120%); opacity: 0.85; }
.hero-full .field i {
  position: absolute; display: block; border-radius: 50%; mix-blend-mode: normal; opacity: 0.95;
  animation: float-blob 22s ease-in-out infinite alternate;
}
.hero-full .field i:nth-child(1) { width: 46%; height: 46%; left: -14%; top: -12%; background: #FE50AA; opacity: 0.85; }
.hero-full .field i:nth-child(2) { width: 44%; height: 44%; right: -12%; top: -8%; background: #C86BD8; opacity: 0.8; animation-delay: -4s; }
.hero-full .field i:nth-child(3) { width: 42%; height: 42%; left: -8%; bottom: -16%; background: #FF8FC2; opacity: 0.8; animation-delay: -9s; }
.hero-full .field i:nth-child(4) { width: 34%; height: 34%; right: -6%; bottom: -14%; background: #A3D2C8; opacity: 0.7; animation-delay: -14s; }
.hero-full .field i:nth-child(5) { width: 30%; height: 30%; left: 36%; top: -18%; background: #FFD6E8; opacity: 0.7; animation-delay: -18s; }
@keyframes float-blob {
  from { transform: translate3d(0,0,0) scale(1); }
  to { transform: translate3d(5%, -5%, 0) scale(1.12); }
}
/* one slow specular sweep, like light moving across foil */
.hero-full::before {
  content: ""; position: absolute; inset: -30%; z-index: -1; pointer-events: none;
  background: radial-gradient(58% 52% at 50% 44%, #fff 0%, rgba(255,255,255,0.92) 46%, rgba(255,255,255,0) 78%);
}

/* fine grain so the gradient reads as printed foil rather than a CSS blur */
.hero-full::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.07;
  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.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-reduced-motion: reduce) {
  .hero-full .field i, .hero-full::before { animation: none; }
}

.hero-full .scrim { display: none; }
.hero-full .container { position: relative; z-index: 1; }
.hero-mark { position: relative; display: grid; place-items: center; margin: 0 auto 8px; width: min(440px, 80vw); }
/* a white bloom sits behind the mark so the artwork's own pale ground melts into it
   instead of reading as a white box sitting on the colour */
.hero-mark::before {
  content: ""; position: absolute; width: 100%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 52%,
              rgba(254,80,170,0.16) 0%, rgba(254,80,170,0.08) 42%, rgba(254,80,170,0) 68%);
  filter: blur(10px);
}
.hero-full .mark {
  position: relative; width: min(360px, 66vw); height: auto; border-radius: 0; box-shadow: none;
  /* feather the artwork's square edges away, leaving the codices floating in the bloom */
  -webkit-mask-image: radial-gradient(circle at 50% 47%, #000 40%, rgba(0,0,0,0.9) 52%, transparent 70%);
  mask-image: radial-gradient(circle at 50% 47%, #000 40%, rgba(0,0,0,0.9) 52%, transparent 70%);
  filter: drop-shadow(0 22px 40px rgba(180,60,120,0.18)) saturate(106%);
  animation: bob 8s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .hero-full .mark { animation: none; } }
.hero-full h1 { margin: 6px auto 0; color: var(--ink); max-width: 15ch; }
.hero-full .sub { color: var(--grey); margin: 20px auto 0; max-width: 54ch; }
.hero-full .pill {
  background: rgba(255,255,255,0.75); border-color: var(--line-2); color: var(--grey);
  backdrop-filter: blur(8px); margin-bottom: 22px;
}
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-full .btn { background: var(--pink); color: #fff; box-shadow: 0 10px 28px rgba(254,80,170,0.32); }
.hero-full .btn:hover { background: var(--pink-deep); transform: translateY(-1px); }
.hero-full .btn.ghost { background: rgba(255,255,255,0.8); color: var(--ink); border-color: var(--line-2); backdrop-filter: blur(8px); }
.hero-full .btn.ghost:hover { background: #fff; border-color: var(--pink); }

.hero-full .ca-card {
  margin: 32px auto 0; max-width: 700px; background: rgba(255,255,255,0.86); border: 1px solid var(--line-2);
  backdrop-filter: blur(14px); box-shadow: 0 16px 44px rgba(180,60,120,0.12); color: var(--ink);
}
.hero-full .ca-card .k { color: var(--grey-2); }
.hero-full .ca-card .v { color: var(--ink); }
.hero-full .ca-card .warn { color: var(--grey-2); }

.scroll-cue {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 1;
  display: inline-flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey-2);
}
.scroll-cue i { width: 1px; height: 26px; background: linear-gradient(var(--pink), transparent); }

/* the nav sits over the hero until the page moves */
.nav.over { background: rgba(255,255,255,0.7); backdrop-filter: blur(14px); border-bottom-color: transparent; }

@media (max-width: 540px) {
  .hero-full { min-height: auto; padding: 56px 0 46px; }
  .scroll-cue { display: none; }
  .hero-mark { width: 92vw; } .hero-full .mark { width: 74vw; }
}
