/* Nuvelde — hero: pixel checker canvas, countdown clock and date line (styles). */
.nv-hero{
  --nv-hero-nav-h:72px;
  --nv-hero-band-h:36px;
  position:relative;
  isolation:isolate;
  overflow:hidden;
  min-height:100svh;
  display:grid;
  grid-template-rows:auto 1fr auto;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--font-sans);
}
.nv-hero[data-nv-variant="page"]{min-height:clamp(360px,58svh,620px)}
.nv-hero[data-nv-variant="cta"]{min-height:clamp(480px,90svh,960px)}

.nv-hero__ground{
  position:absolute;inset:0;
  width:100%;height:100%;
  z-index:-1;
  display:block;
  image-rendering:pixelated;
}

.nv-hero__band{
  position:relative;
  height:var(--nv-hero-band-h);
  overflow:hidden;
  border-block:1px solid var(--ink);
  background:var(--bg);
  font-family:var(--font-mono);
  font-size:var(--fs-mono);
  letter-spacing:var(--ls-mono);
  text-transform:uppercase;
  line-height:var(--nv-hero-band-h);
  white-space:nowrap;
}
.nv-hero__band--top{margin-top:var(--nv-hero-nav-h)}
.nv-hero[data-nv-variant="cta"] .nv-hero__band--top{margin-top:0}
.nv-hero__track{
  display:inline-flex;
  gap:var(--space-5);
  padding-inline:var(--space-3);
  transform:translate3d(0,0,0);
}
.nv-hero__track span{flex:none}
.nv-hero__track b{color:var(--accent);font-weight:var(--fw-regular)}

.nv-hero__stage{
  position:relative;
  display:grid;
  align-content:center;
  justify-items:center;
  gap:var(--space-5);
  padding:var(--space-8) var(--space-4);
  text-align:center;
}
.nv-hero__label{
  margin:0;
  font-family:var(--font-mono);
  font-size:var(--fs-mono);
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--accent);
  background:var(--bg);
  padding:var(--space-1) var(--space-2);
}
.nv-hero__title{
  margin:0;
  max-width:100%;
  font-size:var(--fs-mega);
  font-weight:var(--fw-black);
  line-height:var(--lh-tight);
  letter-spacing:var(--ls-display);
  overflow-wrap:anywhere;
  transform:translate3d(0,0,0);
}
.nv-hero[data-nv-variant="page"] .nv-hero__title{font-size:var(--fs-display)}
.nv-hero__word{display:inline-block;transform:translate3d(0,0,0)}
.nv-hero__br{
  display:inline-block;
  color:var(--accent);
  font-weight:var(--fw-regular);
  transform:translate3d(0,0,0);
}
.nv-hero__lead{
  margin:0;
  max-width:36ch;
  font-size:var(--fs-lead);
  line-height:var(--lh-snug);
  color:var(--ink-2);
  background:var(--bg);
  padding:var(--space-1) var(--space-2);
}
.nv-hero__actions{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--space-3)}
.nv-hero__btn{
  position:relative;
  display:inline-flex;align-items:center;gap:var(--space-3);
  min-height:48px;
  padding:0 var(--space-5);
  border:1px solid var(--ink);
  border-radius:var(--radius-m);
  background:var(--bg);
  color:var(--ink);
  font-family:var(--font-mono);
  font-size:var(--fs-small);
  letter-spacing:var(--ls-mono);
  text-transform:uppercase;
  text-decoration:none;
  overflow:hidden;
  transition:color var(--t-light) var(--ease-secondary);
}
.nv-hero__btn::before{
  content:"";
  position:absolute;inset:0;
  z-index:-1;
  background:var(--ink);
  transform:scaleY(0);
  transform-origin:50% 100%;
  transition:transform var(--t-light) var(--ease-pixel);
}
.nv-hero__btn--accent{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}
.nv-hero__btn::after{content:"\203A";font-size:1.2em;line-height:1}
@media (hover:hover) and (pointer:fine){
  .nv-hero__btn:hover{color:var(--bg)}
  .nv-hero__btn:hover::before{transform:scaleY(1)}
  .nv-hero__btn{z-index:0}
}
.nv-hero__btn:focus-visible{outline:2px solid var(--accent);outline-offset:3px}

.nv-hero__boxes{
  display:grid;
  gap:var(--space-4);
  padding:0 var(--space-4) var(--space-6);
}
.nv-hero__box{
  margin:0;
  border:1px solid var(--ink);
  background:var(--panel);
  font-family:var(--font-mono);
  font-size:var(--fs-mono);
  letter-spacing:var(--ls-mono);
  text-transform:uppercase;
  text-align:left;
  transform:translate3d(0,0,0);
}
.nv-hero__box-head{
  display:flex;justify-content:space-between;align-items:center;
  padding:var(--space-1) var(--space-2);
  border-bottom:1px solid var(--ink);
  background:var(--bg-2);
  color:var(--ink-2);
}
.nv-hero__dots{display:inline-grid;grid-template-columns:repeat(3,4px);gap:3px}
.nv-hero__dots i{width:4px;height:4px;background:var(--ink)}
.nv-hero__box-body{margin:0;padding:var(--space-3) var(--space-3) var(--space-4);display:grid;gap:var(--space-2)}
.nv-hero__row{display:flex;justify-content:space-between;gap:var(--space-4);font-size:var(--fs-small)}
.nv-hero__row dt{color:var(--accent)}
.nv-hero__row dt::before{content:"\2039"}
.nv-hero__row dt::after{content:"\203A"}
.nv-hero__row dd{margin:0;color:var(--ink);text-align:right}
.nv-hero__count{
  display:block;
  font-family:var(--font-sans);
  font-weight:var(--fw-black);
  font-size:var(--fs-h1);
  line-height:var(--lh-tight);
  letter-spacing:var(--ls-display);
  text-transform:none;
  color:var(--ink);
}

@media (min-width:900px){
  .nv-hero:not([data-nv-variant]) .nv-hero__boxes{
    position:absolute;inset:auto var(--space-7) calc(var(--nv-hero-band-h) + var(--space-7)) var(--space-7);
    padding:0;
    grid-template-columns:minmax(0,300px) 1fr minmax(0,260px);
    pointer-events:none;
  }
  .nv-hero:not([data-nv-variant]) .nv-hero__box{pointer-events:auto}
  .nv-hero:not([data-nv-variant]) .nv-hero__box--count{grid-column:3}
  .nv-hero:not([data-nv-variant]) .nv-hero__stage{padding-bottom:var(--space-9)}
}

.nv-hero[data-nv-variant="cta"] .nv-hero__title{font-size:var(--fs-display)}

@media (prefers-reduced-motion:reduce){
  .nv-hero__btn,.nv-hero__btn::before{transition:none}
}
