:root{
  --bg:#041b1d;
  --ink:#eaf3f2;

  /* brand teal — used for fills, buttons, rules, 3D accent */
  --accent:#007878;
  /* lightened brand teal for small text/icons on the dark ground,
     where #007878 alone sits at ~3.6:1 and fails WCAG AA */
  --accent-text:#2fa8a8;

  --muted-1:#a3bab9;
  --muted-2:#88a09f;
  --muted-3:#78918f;
  --muted-4:#95adac;
  --muted-5:#6a8281;
  --muted-6:#c2d5d4;
  --line:rgba(255,255,255,.09);
  --line-strong:rgba(255,255,255,.14);
  --panel:#07262a;

  --font:'Open Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
}

*{box-sizing:border-box;}
html,body{margin:0;padding:0;background:var(--bg);}
body{
  font-family:var(--font);
  -webkit-font-smoothing:antialiased;
  color:var(--ink);
  position:relative;
  overflow-x:hidden;
  background:var(--bg);
}
a{color:var(--accent-text);text-decoration:none;}
a:hover{color:#ffffff;}
::selection{background:var(--accent);color:#ffffff;}
button{font-family:inherit;}

.yr-accent{color:var(--accent-text);}
.yr-muted{color:var(--muted-3);}

/* reveal-on-scroll */
.yr{opacity:0;transform:translateY(18px);transition:opacity .8s cubic-bezier(.2,.7,.2,1),transform .8s cubic-bezier(.2,.7,.2,1);}
.yr[data-in="1"]{opacity:1;transform:none;}

@media (prefers-reduced-motion: reduce){
  .yr{opacity:1;transform:none;transition:none;}
  *{animation-duration:.001ms !important;transition-duration:.001ms !important;}
}

/* ---- 3D canvas + scrim ---- */
#yr-gl{
  position:fixed;inset:0;width:100%;height:100%;z-index:0;display:block;
  transition:opacity .5s ease;
}
.yr-scrim{
  position:fixed;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(90deg,var(--bg) 0%,rgba(4,27,29,.94) 38%,rgba(4,27,29,.45) 62%,rgba(4,27,29,.15) 100%);
}

/* ---- nav ---- */
.yr-nav{
  position:fixed;top:0;left:0;right:0;z-index:40;
  display:flex;align-items:center;justify-content:space-between;gap:20px;
  padding:14px 44px;
  background:linear-gradient(180deg,rgba(4,27,29,.94),rgba(4,27,29,0));
}
.yr-brand{display:flex;align-items:center;gap:16px;color:var(--ink);flex:none;}
/* the source PNG is dark teal on white; this recolours it to a light brand
   teal so it reads against the dark ground */
.yr-logo{
  height:52px;width:auto;display:block;
  filter:brightness(0) invert(1) sepia(1) saturate(3.2) hue-rotate(132deg) brightness(1.05);
}
.yr-brand-rule{width:1px;height:44px;background:rgba(255,255,255,.22);display:block;flex:none;}
.yr-brand-name{
  font-size:14px;font-weight:700;line-height:1.24;letter-spacing:1.6px;
  text-transform:uppercase;color:var(--ink);white-space:nowrap;
}
.yr-nav-right{display:flex;align-items:center;gap:26px;}
.yr-nav-right > a:not(.yr-btn){font-size:12.5px;font-weight:600;line-height:1.2;color:var(--muted-4);}
.yr-nav-right > a:not(.yr-btn):hover{color:var(--ink);}

.yr-sound-btn{
  width:30px;height:30px;flex:none;border-radius:50%;border:1px solid rgba(255,255,255,.15);
  background:none;color:var(--muted-4);cursor:pointer;
  font-size:11px;font-weight:600;line-height:1;
}
.yr-sound-btn:hover{border-color:var(--accent-text);color:var(--accent-text);}

/* buttons — no `font:` shorthand here: it resets line-height to 1, which makes
   a wrapped label collide with its own second line on narrow screens */
.yr-btn{
  display:inline-flex;align-items:center;justify-content:center;text-align:center;
  font-size:12.5px;font-weight:700;line-height:1.3;
  border-radius:8px;padding:11px 18px;
}
.yr-btn-primary{background:var(--accent);color:#ffffff;}
.yr-btn-primary:hover{background:#ffffff;color:var(--accent);}
.yr-btn-ghost{border:1px solid rgba(255,255,255,.16);color:var(--ink);background:transparent;}
.yr-btn-ghost:hover{border-color:var(--accent-text);color:var(--accent-text);}
.yr-btn-lg{padding:15px 28px;border-radius:10px;font-size:14.5px;min-height:48px;}

/* ---- layout ---- */
/* The container is 1220px wide but the copy only fills the left 620px. Left
   hit-testable, its empty right half would sit over the 3D board and swallow
   every hover meant for it, so the container passes clicks through and the
   text column takes them back. */
.yr-content{position:relative;z-index:2;max-width:1220px;margin:0 auto;padding:0 44px;pointer-events:none;}
.yr-col{max-width:620px;pointer-events:auto;}
.yr-section{padding:80px 0 110px;scroll-margin-top:104px;}
.yr-section-tight{padding:0 0 110px;}
.yr-hero{min-height:100vh;display:flex;flex-direction:column;justify-content:center;padding:140px 0 90px;}

/* ---- hero ---- */
.yr-eyebrow{display:flex;align-items:center;gap:12px;margin-bottom:30px;}
.yr-dot{width:6px;height:6px;flex:none;border-radius:50%;background:var(--accent-text);}
.yr-eyebrow-text{font-size:10.5px;font-weight:700;line-height:1.4;letter-spacing:1.8px;color:var(--accent-text);}
.yr-h1{margin:0;font-size:clamp(34px,6.4vw,82px);font-weight:800;line-height:1.04;letter-spacing:-1.6px;}

/* ---- hero title lockup ---- */
.yr-title{
  margin:0;font-weight:800;letter-spacing:-1.6px;
  perspective:900px;transform-style:preserve-3d;
}
.yr-title-main{
  display:block;font-size:clamp(34px,6.2vw,78px);line-height:1.02;
  transform:rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));
  transform-origin:0% 50%;
  transition:transform .5s cubic-bezier(.2,.7,.2,1);
}
/* each word rides in on its own delay, set from hero.js */
.yr-w{
  display:block;opacity:0;transform:translateY(.34em);
  transition:opacity .7s cubic-bezier(.2,.7,.2,1),transform .7s cubic-bezier(.2,.7,.2,1);
}
.yr-w.is-in{opacity:1;transform:none;}
.yr-w:last-child{color:var(--accent-text);}

.yr-title-year{
  position:relative;display:block;margin-top:14px;
  width:min(340px,74vw);height:150px;
  opacity:0;transform:translateY(16px);
  transition:opacity .8s cubic-bezier(.2,.7,.2,1),transform .8s cubic-bezier(.2,.7,.2,1);
}
.yr-title.is-in .yr-title-year{opacity:1;transform:none;}
.yr-chip-canvas{display:block;width:100%;height:100%;touch-action:none;}
.yr-title-year.is-grabbed .yr-chip-canvas{cursor:grabbing;}

/* the flat year shows until the chip is actually running, then it stays for
   screen readers so the h1 still reads "Young Creators League 2026" */
.yr-year-text{
  position:absolute;left:0;top:0;display:flex;align-items:center;
  height:100%;font-size:clamp(34px,6.2vw,78px);line-height:1;color:var(--accent-text);
}
.yr-title-year.has-3d .yr-year-text{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;
}

/* ---- hero tagline ---- */
.yr-tagline{
  margin:22px 0 0;display:flex;flex-wrap:wrap;gap:0 12px;
  font-size:clamp(19px,2.5vw,30px);font-weight:700;line-height:1.25;letter-spacing:-.5px;
}
.yr-tag-a{color:var(--muted-1);}
.yr-tag-b{position:relative;color:var(--ink);}
.yr-tag-b::after{
  content:"";position:absolute;left:0;right:0;bottom:-6px;height:2px;
  background:var(--accent-text);transform:scaleX(0);transform-origin:0 50%;
  transition:transform .7s cubic-bezier(.2,.7,.2,1) .9s;
}
.yr-title.is-in ~ .yr-tagline .yr-tag-b::after{transform:scaleX(1);}
.yr-lede{margin:26px 0 0;font-size:17px;font-weight:400;line-height:1.65;color:var(--muted-1);max-width:520px;text-wrap:pretty;}
.yr-cta-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:36px;}
.yr-stat-row{display:flex;flex-wrap:wrap;gap:38px;margin-top:56px;padding-top:26px;border-top:1px solid rgba(255,255,255,.1);}
.yr-stat-num{font-size:23px;font-weight:800;line-height:1.15;}
.yr-stat-open{display:flex;align-items:center;gap:10px;}
.yr-live-dot{
  width:9px;height:9px;flex:none;border-radius:50%;background:var(--accent-text);
  box-shadow:0 0 0 0 rgba(47,168,168,.6);
  animation:yr-live 2.2s ease-out infinite;
}
@keyframes yr-live{
  0%  {box-shadow:0 0 0 0 rgba(47,168,168,.55);}
  70% {box-shadow:0 0 0 11px rgba(47,168,168,0);}
  100%{box-shadow:0 0 0 0 rgba(47,168,168,0);}
}
@media (prefers-reduced-motion: reduce){
  .yr-live-dot{animation:none;}
}
.yr-stat-label{font-size:10px;font-weight:600;line-height:1.4;letter-spacing:1.4px;color:var(--muted-3);margin-top:8px;}

/* ---- shared section heads ---- */
.yr-kicker{font-size:10.5px;font-weight:700;line-height:1.4;letter-spacing:1.8px;color:var(--muted-3);margin-bottom:24px;}
.yr-h2{margin:0 0 24px;font-size:clamp(26px,3.6vw,44px);font-weight:800;line-height:1.12;letter-spacing:-.8px;}
.yr-p{margin:0 0 40px;font-size:16px;font-weight:400;line-height:1.7;color:var(--muted-1);text-wrap:pretty;}

.yr-list{display:flex;flex-direction:column;}
.yr-bt{border-top:1px solid var(--line);}
.yr-bt-strong{border-top:1px solid var(--line-strong);}

/* ---- brief steps ---- */
.yr-step{display:grid;grid-template-columns:38px 1fr;gap:20px;padding:22px 0;border-top:1px solid var(--line);}
.yr-step-n{font-size:11px;font-weight:700;line-height:1.5;color:var(--accent-text);letter-spacing:1px;}
.yr-step-t{font-size:17px;font-weight:700;line-height:1.35;margin-bottom:7px;}
.yr-step-d{font-size:14.5px;font-weight:400;line-height:1.65;color:var(--muted-2);text-wrap:pretty;}

/* ---- domains ---- */
.yr-domain{cursor:pointer;padding:24px 0;border-bottom:1px solid var(--line);}
.yr-domain-row{display:flex;align-items:baseline;gap:18px;}
.yr-domain-n{font-size:11px;font-weight:700;line-height:1.4;color:var(--muted-3);min-width:26px;}
.yr-domain-main{flex:1;min-width:0;}
.yr-domain-head{display:flex;align-items:center;justify-content:space-between;gap:18px;}
.yr-domain-name{font-size:clamp(20px,2.4vw,28px);font-weight:700;line-height:1.2;letter-spacing:-.5px;}
.yr-domain-icon{flex:none;}
.yr-domain-teaser{font-size:14.5px;font-weight:400;line-height:1.65;color:var(--muted-2);margin-top:9px;max-width:460px;text-wrap:pretty;}
.yr-domain-detail{margin-top:20px;padding-left:18px;border-left:2px solid var(--accent);display:none;}
.yr-domain.is-open .yr-domain-detail{display:block;}
.yr-domain-detail p{margin:0 0 14px;font-size:15px;font-weight:400;line-height:1.7;color:var(--muted-6);text-wrap:pretty;}
.yr-domain-chips{display:flex;flex-wrap:wrap;gap:7px;}
.yr-chip{padding:7px 12px;border-radius:6px;border:1px solid rgba(255,255,255,.13);font-size:11.5px;font-weight:600;line-height:1.2;color:var(--muted-6);}

/* ---- rounds ---- */
/* ---- the rounds journey: a traced route with a waypoint per round ----
   .yr-journey-track is the dim static line; .yr-journey-fill is the same
   line in glowing teal, scaled from JS to the scroll position (0..1) —
   the route draws itself in as the section passes through the viewport.
   Each round is a waypoint: a node on the line, content fanning in the
   first time that round enters view. */
/* Geometry: the track/fill are positioned relative to .yr-journey's own box
   at left:5px (2px wide → centred at journey-x 6). Each node sits inside
   .yr-round instead (so .yr-round.is-in can target it directly), which is
   itself offset from the journey box by the 36px padding-left below — so
   the node's `left` has to walk back across both that padding and half its
   own width to land its centre on the same journey-x 6: 6 − 12 (half of a
   24px node) − 36 (the padding) = −42px. */
.yr-roundmap{display:flex;flex-direction:column;gap:28px;}

/* mini step-nav above the line — jumps to a round on click, and tracks
   whichever round is centred in the viewport as you scroll (initJourneySpy),
   in both directions */
.yr-journey-nav{display:flex;gap:8px;}
.yr-journey-navbtn{
  width:38px;height:38px;flex:none;border-radius:50%;cursor:pointer;
  border:1.5px solid var(--line-strong);background:rgba(255,255,255,.02);
  font-size:12px;font-weight:800;letter-spacing:.2px;color:var(--muted-2);
  transition:border-color .25s ease,background .25s ease,color .25s ease,transform .2s ease;
}
.yr-journey-navbtn:hover{border-color:var(--accent-text);color:var(--ink);transform:translateY(-1px);}
.yr-journey-navbtn.is-active{background:var(--accent);border-color:var(--accent);color:#fff;}

.yr-journey{position:relative;padding-left:36px;}
.yr-journey-track,.yr-journey-fill{
  position:absolute;left:5px;top:8px;bottom:8px;width:2px;border-radius:1px;
}
.yr-journey-track{background:var(--line-strong);overflow:visible;}
.yr-journey-fill{
  background:linear-gradient(var(--accent-text),var(--accent));
  box-shadow:0 0 10px rgba(47,168,168,.55);
  transform-origin:top;transform:scaleY(0);
  transition:transform .12s linear;
}

/* an ambient signal travelling the full planned route, independent of how
   much of it has actually been "drawn" — the same trace-pulse motif already
   used on the 3D board, so the line reads as live rather than static */
.yr-journey-pulse{
  position:absolute;left:50%;top:0%;width:7px;height:7px;
  transform:translate(-50%,-50%);border-radius:50%;background:#eafff9;
  box-shadow:0 0 9px 3px rgba(47,168,168,.85);
  opacity:0;animation:yr-journey-pulse-run 3.2s linear infinite;
}
@keyframes yr-journey-pulse-run{
  0%{top:0%;opacity:0;}
  6%{opacity:1;}
  94%{opacity:1;}
  100%{top:100%;opacity:0;}
}

.yr-round{
  position:relative;padding:26px 0;border-top:1px solid var(--line);
  cursor:pointer;border-radius:4px;
  transition:opacity .35s ease,background .3s ease,padding-left .3s cubic-bezier(.2,.7,.2,1);
}
.yr-round:focus-visible{outline:2px solid var(--accent-text);outline-offset:4px;}
.yr-round:hover{background:rgba(255,255,255,.015);}

/* clicking (or Enter/Space on) a round pins emphasis on it; the other two
   dim so it holds attention — separate from the scroll-tracked nav above */
.yr-roundmap.has-focus .yr-round:not(.is-focused){opacity:.4;}
.yr-round.is-focused{
  padding-left:20px;background:rgba(0,120,120,.1);
  border-top-color:rgba(47,168,168,.35);
}

/* ---- the card itself tilts in real 3D space ----
   The node stays outside this wrapper and untransformed, anchored flat on
   the track (tilting it too would carry it visibly off the line). Only the
   content panel — .yr-round-card — gets the perspective: it rests at a
   fixed lean even before any interaction, then a fine pointer can push the
   lean further by tracking local cursor position (initJourneyTilt), the
   way you'd tilt a physical card in your hand. JS sets the live transform
   directly while tracking (no transition, so it follows 1:1) and clears it
   on pointerleave, handing control back to these resting/focused rules. */
.yr-round{perspective:1000px;}
.yr-round-card{
  transform-style:preserve-3d;
  transform:rotateX(2deg) rotateY(-5deg);
  transition:transform .5s cubic-bezier(.2,.7,.2,1),box-shadow .5s ease;
  box-shadow:0 2px 14px -6px rgba(0,0,0,.4);
  border-radius:8px;
}
.yr-round:hover .yr-round-card{box-shadow:0 26px 46px -22px rgba(0,0,0,.6),0 0 26px rgba(47,168,168,.14);}
.yr-round.is-focused .yr-round-card{
  transform:rotateX(0deg) rotateY(0deg) translateZ(14px) scale(1.015);
  box-shadow:0 30px 50px -20px rgba(0,0,0,.65),0 0 34px rgba(47,168,168,.22);
}
/* live pointer-tracking sets its own inline transform every frame, so the
   eased transition above would fight it — drop it while tracking */
.yr-round-card.is-tracking{transition:box-shadow .2s ease;}

.yr-round-node{
  position:absolute;left:-42px;top:28px;width:24px;height:24px;
  display:flex;align-items:center;justify-content:center;
  border-radius:50%;border:2px solid var(--line-strong);
  /* an off-centre highlight over the flat fill reads as a lit bead rather
     than a flat ring, echoing the board's own gold vias/pads */
  background:radial-gradient(circle at 32% 28%,rgba(255,255,255,.16),transparent 62%),var(--bg);
  box-shadow:0 2px 6px rgba(0,0,0,.4),inset 0 1px 1px rgba(255,255,255,.06);
  transition:border-color .4s ease,transform .4s cubic-bezier(.2,.7,.2,1),box-shadow .4s ease;
}
.yr-round-node-core{width:7px;height:7px;border-radius:50%;background:var(--muted-3);transition:background .4s ease,transform .4s cubic-bezier(.4,2,.6,1);}
/* the waypoint lights up and pops the moment its round scrolls into view */
.yr-round.is-in .yr-round-node{border-color:var(--accent-text);box-shadow:0 2px 6px rgba(0,0,0,.4),inset 0 1px 1px rgba(255,255,255,.06),0 0 14px rgba(47,168,168,.5);transform:scale(1.08);}
.yr-round.is-in .yr-round-node-core{background:var(--accent-text);transform:scale(1.15);}
/* a focused waypoint keeps its is-in scale and gains a slow expanding ring
   on top of its normal glow — the ring is a separate ::before, not a
   transform on the node itself, so it never fights the is-in scale above */
.yr-round.is-focused .yr-round-node::before{
  content:"";position:absolute;inset:-6px;border-radius:50%;
  border:1.5px solid var(--accent-text);opacity:0;
  animation:yr-round-ring 1.8s cubic-bezier(.2,.7,.2,1) infinite;
}
@keyframes yr-round-ring{
  0%{transform:scale(.7);opacity:.7;}
  100%{transform:scale(1.55);opacity:0;}
}

.yr-round-top{display:flex;flex-wrap:wrap;align-items:baseline;gap:14px;margin-bottom:10px;}
.yr-round-n{font-size:15px;font-weight:800;line-height:1.2;color:var(--accent-text);}
.yr-round-when{font-size:11px;font-weight:600;line-height:1.3;letter-spacing:1.2px;color:var(--muted-3);}
.yr-round-title{font-size:20px;font-weight:700;line-height:1.3;letter-spacing:-.3px;margin-bottom:9px;}
.yr-round-body{margin:0 0 12px;font-size:14.5px;font-weight:400;line-height:1.65;color:var(--muted-2);max-width:520px;text-wrap:pretty;}
.yr-round-out{font-size:12.5px;font-weight:700;line-height:1.4;color:var(--accent-text);letter-spacing:.6px;transition:transform .3s cubic-bezier(.2,.7,.2,1);}
.yr-round.is-focused .yr-round-out{transform:translateX(4px);}

/* the optional breakdown under a round's body — what the video submission
   actually needs to cover, spelled out rather than left inside the prose */
.yr-round-points{list-style:none;margin:0 0 16px;padding:0;max-width:520px;display:flex;flex-direction:column;gap:8px;}
.yr-round-points li{
  position:relative;padding-left:16px;font-size:13.5px;font-weight:400;line-height:1.6;
  color:var(--muted-2);text-wrap:pretty;
}
.yr-round-points li::before{
  content:"";position:absolute;left:0;top:.62em;width:5px;height:5px;border-radius:50%;
  background:rgba(47,168,168,.7);
}
.yr-round-points strong{font-weight:700;color:var(--ink);}

/* content fans in top-to-bottom, each piece a beat behind the last, once the
   round's waypoint has been reached — this is the "cinematic" part: nothing
   in a round moves until the route has actually arrived at it */
.yr-round-top,.yr-round-title,.yr-round-body,.yr-round-points,.yr-round-out{
  opacity:0;transform:translateY(14px);
  transition:opacity .6s cubic-bezier(.2,.7,.2,1),transform .6s cubic-bezier(.2,.7,.2,1);
}
.yr-round-top{transition-delay:.05s;}
.yr-round-title{transition-delay:.16s;}
.yr-round-body{transition-delay:.27s;}
.yr-round-points{transition-delay:.34s;}
.yr-round-out{transition-delay:.46s;}
.yr-round.is-in .yr-round-top,
.yr-round.is-in .yr-round-title,
.yr-round.is-in .yr-round-body,
.yr-round.is-in .yr-round-points,
.yr-round.is-in .yr-round-out{opacity:1;transform:none;}

@media (prefers-reduced-motion: reduce){
  .yr-journey-fill{transition:none;}
  .yr-round-node,.yr-round-node-core,
  .yr-round-top,.yr-round-title,.yr-round-body,.yr-round-points,.yr-round-out,
  .yr-round-card,.yr-round.is-focused .yr-round-card{
    transition:none;opacity:1;transform:none;
  }
}

/* ---- judging criteria (click-to-open, one panel per round) ---- */
.yr-crit{cursor:pointer;padding:22px 0;border-bottom:1px solid var(--line);}
.yr-crit-head{display:flex;align-items:center;justify-content:space-between;gap:16px;}
.yr-crit-headline{display:flex;align-items:baseline;flex-wrap:wrap;gap:12px;}
.yr-crit-n{font-size:19px;font-weight:800;line-height:1.25;letter-spacing:-.4px;color:var(--ink);}
.yr-crit-tag{font-size:11px;font-weight:700;line-height:1.3;letter-spacing:1.6px;color:var(--accent-text);}
.yr-crit-icon{flex:none;}
.yr-crit-meta{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:8px;}
.yr-crit-focus{font-size:13px;font-weight:400;line-height:1.55;color:var(--muted-2);}
.yr-crit-when{font-size:11px;font-weight:700;line-height:1.6;letter-spacing:1.1px;color:var(--muted-3);}
.yr-crit-detail{display:none;margin-top:20px;padding-left:18px;border-left:2px solid var(--accent);}
.yr-crit.is-open .yr-crit-detail{display:block;}
.yr-crit-intro{margin:0 0 18px;font-size:14.5px;font-weight:400;line-height:1.7;color:var(--muted-6);text-wrap:pretty;}
.yr-crit-groups{display:flex;flex-direction:column;gap:16px;}
.yr-crit-group-t{font-size:10.5px;font-weight:700;line-height:1.4;letter-spacing:1.4px;text-transform:uppercase;color:var(--accent-text);margin-bottom:7px;}
.yr-crit-items{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:5px;}
.yr-crit-items li{position:relative;padding-left:16px;font-size:14px;font-weight:400;line-height:1.6;color:var(--muted-1);text-wrap:pretty;}
.yr-crit-items li::before{content:"";position:absolute;left:0;top:.62em;width:5px;height:5px;border-radius:50%;background:rgba(47,168,168,.7);}
.yr-crit-note{margin-top:18px;padding-top:14px;border-top:1px solid var(--line);font-size:12.5px;font-weight:400;line-height:1.65;color:var(--muted-3);text-wrap:pretty;}

/* ---- awards ---- */
.yr-prizes{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px;}
.yr-prize{padding:20px 18px;border-radius:12px;border:1px solid var(--line-strong);background:rgba(255,255,255,.02);}
.yr-prize-1{border-color:rgba(0,120,120,.7);background:rgba(0,120,120,.16);}
.yr-prize-place{font-size:10px;font-weight:700;line-height:1.4;letter-spacing:1.5px;text-transform:uppercase;color:var(--muted-3);}
.yr-prize-1 .yr-prize-place{color:var(--accent-text);}
.yr-prize-amount{margin-top:10px;font-size:26px;font-weight:800;line-height:1.15;letter-spacing:-.8px;color:var(--ink);}
.yr-prize-extra{margin-top:6px;font-size:12px;font-weight:600;line-height:1.4;color:var(--muted-2);}
.yr-pool{margin-top:16px;font-size:13px;font-weight:400;line-height:1.6;letter-spacing:.4px;color:var(--muted-2);}
.yr-pool strong{color:var(--accent-text);font-weight:800;font-size:15px;}
.yr-award-block{margin-top:38px;padding-top:26px;border-top:1px solid var(--line);}
.yr-award-h{font-size:16px;font-weight:800;line-height:1.35;color:var(--ink);margin-bottom:10px;}
.yr-award-p{margin:0 0 16px;font-size:14.5px;font-weight:400;line-height:1.65;color:var(--muted-2);text-wrap:pretty;}
.yr-award-list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:8px;}
.yr-award-list li{position:relative;padding-left:20px;font-size:14px;font-weight:400;line-height:1.6;color:var(--muted-1);text-wrap:pretty;}
.yr-award-list li::before{content:"";position:absolute;left:0;top:.55em;width:7px;height:7px;border-radius:2px;background:var(--accent);}

/* ---- expand/collapse toggle (domains, judging criteria, FAQ) ----
   Shared across all three accordions so a plain "+"/"−" glyph reads as a
   button, not decoration: circular, bordered, tinted, and it visibly
   reacts under the pointer and on open. */
.yr-expand{
  display:inline-flex;align-items:center;justify-content:center;flex:none;
  width:30px;height:30px;border-radius:50%;
  border:1.5px solid rgba(47,168,168,.5);background:rgba(0,120,120,.14);
  color:var(--accent-text);
  transition:transform .28s cubic-bezier(.2,.7,.2,1),background .2s ease,border-color .2s ease,color .2s ease;
}
.yr-expand svg{width:13px;height:13px;display:block;}
.yr-expand svg .yr-expand-v{transition:transform .28s cubic-bezier(.2,.7,.2,1),opacity .2s ease;transform-origin:center;}
/* the vertical bar of the + retracts to leave a − when open */
.is-open .yr-expand svg .yr-expand-v{transform:scaleY(0);opacity:0;}
.is-open .yr-expand{transform:rotate(90deg);background:var(--accent);border-color:var(--accent);color:#fff;}

/* hovering anywhere on the row — not just the icon — lights the button up,
   since the whole row is the click target */
.yr-domain:hover .yr-expand,
.yr-crit:hover .yr-expand,
.yr-faq:hover .yr-expand{
  border-color:var(--accent-text);background:rgba(0,120,120,.26);
  transform:scale(1.1);
}
.yr-domain.is-open:hover .yr-expand,
.yr-crit.is-open:hover .yr-expand,
.yr-faq.is-open:hover .yr-expand{
  transform:rotate(90deg) scale(1.1);
}
@media (prefers-reduced-motion: reduce){
  .yr-expand,.yr-expand svg .yr-expand-v{transition:none;}
}

/* ---- past cohorts ---- */
/* year switcher: pill tabs above a single row of four stats. Selecting a
   year doesn't swap the row — the numbers count from their old value to
   the new one in place (see selectCohort/animateCohortNumber in app.js). */
.yr-cohort-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:30px;}
.yr-cohort-tab{
  padding:9px 20px;border-radius:999px;cursor:pointer;
  border:1px solid var(--line-strong);background:rgba(255,255,255,.02);
  font-size:13px;font-weight:700;line-height:1.3;color:var(--muted-2);
  transition:border-color .2s ease,background .2s ease,color .2s ease,transform .15s ease;
}
.yr-cohort-tab:hover{border-color:var(--accent-text);color:var(--ink);transform:translateY(-1px);}
.yr-cohort-tab.is-active{background:var(--accent);border-color:var(--accent);color:#fff;}
.yr-cohort-tab.is-active:hover{transform:none;}

.yr-cohort-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:22px 26px;padding-top:26px;border-top:1px solid var(--line);}
.yr-cohort-num{
  font-size:clamp(28px,4vw,38px);font-weight:800;line-height:1.1;letter-spacing:-1px;
  color:var(--ink);font-variant-numeric:tabular-nums;   /* fixed digit width — no horizontal jitter while counting */
  transition:color .3s ease;
}
.yr-cohort-num.is-changing{color:var(--accent-text);}
.yr-cohort-label{margin-top:8px;font-size:12px;font-weight:600;line-height:1.5;color:var(--muted-3);text-wrap:pretty;}

@media (prefers-reduced-motion: reduce){
  .yr-cohort-tab{transition:none;}
  .yr-cohort-num{transition:none;}
}

/* ---- recap video: click-to-load thumbnail facade ---- */
.yr-video{
  position:relative;aspect-ratio:16/9;border-radius:12px;overflow:hidden;
  background:var(--panel);margin-bottom:28px;
  box-shadow:0 20px 50px -20px rgba(0,0,0,.6);
}
.yr-video-play{
  position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;cursor:pointer;
  background:none;display:block;
}
.yr-video-thumb{width:100%;height:100%;object-fit:cover;display:block;filter:saturate(.82) brightness(.82);transition:filter .3s ease,transform .4s cubic-bezier(.2,.7,.2,1);}
.yr-video-play:hover .yr-video-thumb,
.yr-video-play:focus-visible .yr-video-thumb{filter:saturate(1) brightness(.7);transform:scale(1.03);}
.yr-video-icon{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  width:64px;height:64px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  background:rgba(0,120,120,.85);border:1.5px solid rgba(255,255,255,.25);color:#fff;
  transition:background .25s ease,transform .25s cubic-bezier(.2,.7,.2,1),border-color .25s ease;
}
.yr-video-icon svg{width:24px;height:24px;margin-left:2px;}
.yr-video-play:hover .yr-video-icon,
.yr-video-play:focus-visible .yr-video-icon{background:var(--accent-text);transform:translate(-50%,-50%) scale(1.08);}
.yr-video-play:focus-visible{outline:2px solid var(--accent-text);outline-offset:3px;}
.yr-video-frame{position:absolute;inset:0;width:100%;height:100%;border:0;display:block;}

@media (prefers-reduced-motion: reduce){
  .yr-video-thumb,.yr-video-icon{transition:none;}
}

/* ---- gallery: a coverflow "cosmos" of photos ----
   One centred photo in full focus; the rest recede left/right into depth
   (translateZ, shrinking scale, falling opacity, a coverflow rotateY) around
   a shared perspective set on the stage. Offsets wrap (cosmosOffset in
   app.js) so the deck loops both directions rather than dead-ending — the
   "universe keeps going" read. Sized in px custom properties, not vw, since
   the stage lives inside the fixed 620px column like every other section;
   the responsive breakpoints below just swap those properties. */
.yr-cosmos{display:flex;flex-direction:column;gap:22px;}
.yr-cosmos-stage{
  position:relative;height:240px;perspective:1300px;
  --cw:280px;--ch:187px;--step:150px;
  cursor:grab;touch-action:pan-y;outline:none;
}
.yr-cosmos-stage:active,.yr-cosmos-stage.is-dragging{cursor:grabbing;}
.yr-cosmos-stage:focus-visible{outline:2px solid var(--accent-text);outline-offset:6px;}

.yr-cosmos-card{
  position:absolute;left:50%;top:50%;width:var(--cw);height:var(--ch);
  padding:0;border:0;border-radius:10px;overflow:hidden;cursor:pointer;
  background:var(--panel);
  transition:transform .5s cubic-bezier(.2,.7,.2,1),opacity .5s ease,box-shadow .3s ease;
  box-shadow:0 20px 50px -18px rgba(0,0,0,.65);
}
.yr-cosmos-card img{width:100%;height:100%;object-fit:cover;display:block;filter:saturate(.85);}
.yr-cosmos-card.is-active{box-shadow:0 30px 70px -16px rgba(0,0,0,.75),0 0 0 2px rgba(47,168,168,.55);cursor:zoom-in;}
.yr-cosmos-card.is-active img{filter:saturate(1);}
.yr-cosmos-card:focus-visible{outline:2px solid var(--accent-text);outline-offset:3px;}

.yr-cosmos-controls{display:flex;align-items:center;gap:16px;}
.yr-cosmos-nav{
  flex:none;display:flex;align-items:center;justify-content:center;
  width:38px;height:38px;border-radius:50%;cursor:pointer;
  border:1px solid var(--line-strong);background:rgba(255,255,255,.02);color:var(--ink);
  transition:border-color .2s ease,background .2s ease,color .2s ease;
}
.yr-cosmos-nav svg{width:16px;height:16px;}
.yr-cosmos-nav:hover{border-color:var(--accent-text);color:var(--accent-text);background:rgba(0,120,120,.14);}
.yr-cosmos-readout{flex:1;display:flex;align-items:center;gap:12px;}
.yr-cosmos-track{flex:1;height:2px;border-radius:1px;background:rgba(255,255,255,.12);overflow:hidden;}
.yr-cosmos-fill{height:100%;background:var(--accent-text);transition:width .5s cubic-bezier(.2,.7,.2,1);}
.yr-cosmos-count{flex:none;font-size:11px;font-weight:700;letter-spacing:1.2px;color:var(--muted-3);font-variant-numeric:tabular-nums;}

@media (prefers-reduced-motion: reduce){
  .yr-cosmos-card{transition:opacity .2s ease;}
  .yr-cosmos-fill{transition:none;}
}

/* ---- lightbox: a full-viewport showcase for a tapped photo ---- */
body.yr-lb-open{overflow:hidden;}
.yr-lightbox{
  position:fixed;inset:0;z-index:80;
  background:rgba(2,14,15,.94);backdrop-filter:blur(6px);
  display:flex;align-items:center;justify-content:center;
  animation:yr-lb-fade .22s ease;
}
/* [hidden] and .yr-lightbox are both single selectors (equal specificity),
   and this class rule sits later in the cascade — so display:flex above was
   winning over the browser's own [hidden]{display:none}, leaving the
   lightbox permanently open and its opaque scrim covering the entire page
   (and, since it sits above the cursor reticle's z-index, hiding that too).
   The extra attribute here raises this selector's specificity so hidden
   actually wins. */
.yr-lightbox[hidden]{display:none;}
@keyframes yr-lb-fade{from{opacity:0;}to{opacity:1;}}
.yr-lb-frame{margin:0;max-width:min(92vw,1100px);max-height:82vh;display:flex;flex-direction:column;align-items:center;gap:14px;}
.yr-lb-img{max-width:100%;max-height:78vh;border-radius:10px;box-shadow:0 30px 80px rgba(0,0,0,.6);display:block;}
.yr-lb-count{font-size:11px;font-weight:700;letter-spacing:1.6px;color:var(--muted-3);}

.yr-lb-close,.yr-lb-nav{
  position:fixed;display:flex;align-items:center;justify-content:center;
  width:46px;height:46px;border-radius:50%;cursor:pointer;
  border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.04);color:var(--ink);
  transition:border-color .2s ease,background .2s ease,color .2s ease;
}
.yr-lb-close svg,.yr-lb-nav svg{width:18px;height:18px;}
.yr-lb-close:hover,.yr-lb-nav:hover{border-color:var(--accent-text);color:var(--accent-text);background:rgba(0,120,120,.16);}
.yr-lb-close{top:24px;right:24px;}
.yr-lb-nav{top:50%;transform:translateY(-50%);}
.yr-lb-prev{left:24px;}
.yr-lb-next{right:24px;}

@media (prefers-reduced-motion: reduce){
  .yr-lightbox{animation:none;}
}

@media (max-width: 620px){
  .yr-cosmos-stage{height:190px;--cw:220px;--ch:147px;--step:110px;}
  .yr-lb-close{top:14px;right:14px;width:40px;height:40px;}
  .yr-lb-nav{width:40px;height:40px;}
  .yr-lb-prev{left:8px;}
  .yr-lb-next{right:8px;}
}
@media (max-width: 430px){
  .yr-cosmos-stage{height:160px;--cw:180px;--ch:120px;--step:88px;}
  .yr-cosmos-nav{width:34px;height:34px;}
  .yr-lb-nav{top:auto;bottom:14px;transform:none;}
  .yr-lb-prev{left:14px;}
  .yr-lb-next{right:14px;}
  .yr-lb-frame{max-width:96vw;}
}

/* ---- calendar ---- */
.yr-cal-row{display:grid;grid-template-columns:150px 1fr;gap:20px;padding:17px 0;border-bottom:1px solid rgba(255,255,255,.07);}
.yr-cal-date{font-size:12px;font-weight:700;line-height:1.5;letter-spacing:.2px;}
.yr-cal-step{font-size:14.5px;font-weight:700;line-height:1.45;color:var(--ink);}
.yr-cal-detail{font-size:13px;font-weight:400;line-height:1.55;color:var(--muted-2);margin-top:4px;text-wrap:pretty;}

/* ---- faq ---- */
.yr-faq{cursor:pointer;padding:20px 0;border-bottom:1px solid var(--line);}
.yr-faq-head{display:flex;align-items:center;justify-content:space-between;gap:20px;}
.yr-faq-q{font-size:15.5px;font-weight:700;line-height:1.45;color:var(--ink);}
.yr-faq-icon{flex:none;}
.yr-faq-a{margin:14px 0 0;font-size:14.5px;font-weight:400;line-height:1.7;color:var(--muted-4);max-width:520px;text-wrap:pretty;display:none;}
.yr-faq.is-open .yr-faq-a{display:block;}

/* ---- register ---- */
.yr-register-h{font-size:clamp(30px,4.6vw,58px);font-weight:800;line-height:1.05;letter-spacing:-1.2px;}
.yr-register-p{margin:20px 0 0;font-size:16.5px;font-weight:400;line-height:1.65;color:var(--muted-1);max-width:460px;text-wrap:pretty;}
.yr-placeholder-note{margin-top:22px;font-size:10.5px;font-weight:700;line-height:1.6;color:var(--muted-5);letter-spacing:1px;}

/* ---- footer ---- */
.yr-footer{display:flex;flex-direction:column;gap:30px;padding:26px 0 60px;border-top:1px solid var(--line);}
.yr-footer-top{display:flex;flex-wrap:wrap;gap:20px 28px;align-items:center;justify-content:space-between;}
.yr-logo-footer{height:38px;}

/* Host + knowledge-partner lockup: each mark gets a small role label under
   it, so the Plaksha/Creya relationship is stated, not just implied by
   sitting two logos side by side. */
.yr-footer-partners{display:flex;align-items:center;gap:22px;flex-wrap:wrap;}
.yr-partner{display:flex;flex-direction:column;align-items:flex-start;gap:8px;}
.yr-partner-label{font-size:9px;font-weight:700;line-height:1.4;letter-spacing:1.4px;text-transform:uppercase;color:var(--muted-5);}
.yr-partner-x{font-size:15px;font-weight:600;line-height:1;color:var(--muted-5);}
/* Creya's mark is already gold-on-transparent — unlike the Plaksha PNG it
   needs no recolour filter, just matched to the same footer logo height */
.yr-logo-creya{height:38px;width:auto;display:block;}

.yr-footer-text{font-size:10.5px;font-weight:700;line-height:1.6;color:var(--muted-5);letter-spacing:1.2px;}

.yr-footer-contact{display:flex;flex-direction:column;gap:12px;}
.yr-footer-org{font-size:16px;font-weight:800;line-height:1.3;color:var(--ink);}
.yr-contact-list{margin:0;display:flex;flex-direction:column;gap:7px;}
.yr-contact-row{display:grid;grid-template-columns:74px 1fr;gap:14px;align-items:baseline;}
.yr-contact-row dt{font-size:9.5px;font-weight:700;line-height:1.9;letter-spacing:1.4px;text-transform:uppercase;color:var(--muted-3);}
.yr-contact-row dd{margin:0;font-size:13.5px;font-weight:400;line-height:1.6;color:var(--muted-1);text-wrap:pretty;}
.yr-contact-row dd a{color:var(--muted-1);border-bottom:1px solid rgba(47,168,168,.45);}
.yr-contact-row dd a:hover{color:var(--accent-text);border-bottom-color:var(--accent-text);}

.yr-footer-disclaimer{margin:0;padding-top:24px;border-top:1px solid var(--line);font-size:11.5px;font-weight:400;line-height:1.8;color:var(--muted-5);text-wrap:pretty;}

/* ---- Build Log HUD ---- */
.yr-hud{
  position:fixed;right:44px;bottom:62px;z-index:36;width:248px;padding:15px 17px;border-radius:12px;
  border:1px solid rgba(255,255,255,.12);background:var(--panel);
  opacity:0;transform:translateY(14px);pointer-events:none;
  transition:opacity .4s ease,transform .4s cubic-bezier(.2,.7,.2,1);
}
.yr-hud.is-live{opacity:1;transform:none;pointer-events:auto;}
.yr-hud-top{display:flex;align-items:baseline;justify-content:space-between;gap:10px;}
.yr-hud-label{font-size:9.5px;font-weight:700;line-height:1.4;letter-spacing:1.6px;color:var(--muted-3);}
.yr-hud-rank{font-size:9.5px;font-weight:700;line-height:1.4;letter-spacing:1.2px;color:var(--muted-3);}
.yr-hud-count{display:flex;align-items:baseline;gap:7px;margin-top:11px;}
.yr-hud-found{font-size:26px;font-weight:800;line-height:1;color:var(--accent-text);}
.yr-hud-total{font-size:11px;font-weight:600;line-height:1.3;color:var(--muted-3);}
.yr-hud-bar{height:3px;border-radius:2px;background:rgba(255,255,255,.1);margin-top:11px;overflow:hidden;}
.yr-hud-fill{height:100%;width:0%;background:var(--accent-text);transition:width .45s cubic-bezier(.2,.7,.2,1);}
.yr-hud-hint{font-size:11px;font-weight:400;line-height:1.55;color:var(--muted-2);margin-top:11px;text-wrap:pretty;}
.yr-hud-chips{display:flex;flex-wrap:wrap;gap:5px;margin-top:12px;padding-top:11px;border-top:1px solid var(--line);}
.yr-hud-chips[hidden]{display:none;}   /* same display-vs-[hidden] specificity tie as the lightbox above */
.yr-hud-chip{padding:4px 7px;border-radius:4px;background:rgba(0,120,120,.3);border:1px solid rgba(47,168,168,.5);font-size:9.5px;font-weight:700;line-height:1.3;letter-spacing:.6px;color:var(--accent-text);}
.yr-hud-reset{margin-top:12px;padding:0;border:none;background:none;cursor:pointer;font-size:9.5px;font-weight:700;line-height:1.4;letter-spacing:1.2px;color:var(--muted-5);}
.yr-hud-reset:hover{color:var(--accent-text);}

/* ---- toast ---- */
.yr-toast{
  position:fixed;right:44px;bottom:300px;z-index:38;padding:12px 20px;border-radius:10px;
  background:var(--accent);color:#ffffff;box-shadow:0 14px 44px rgba(0,120,120,.4);pointer-events:none;
}
.yr-toast-name{font-size:13px;font-weight:700;line-height:1.3;}
.yr-toast-kind{font-size:10px;font-weight:600;line-height:1.3;letter-spacing:1.2px;margin-left:9px;opacity:.75;}

/* ---- hover tooltip for 3D parts ---- */
.yr-tip{
  position:fixed;left:0;top:0;z-index:35;opacity:0;transform:translate(-50%,-140%);
  transition:opacity .18s ease;pointer-events:none;padding:7px 11px;border-radius:7px;
  background:var(--panel);border:1px solid rgba(47,168,168,.6);white-space:nowrap;
}
.yr-tip-name{font-size:11.5px;font-weight:700;line-height:1.3;color:var(--ink);}
.yr-tip-kind{font-size:9.5px;font-weight:700;line-height:1.3;letter-spacing:1.2px;color:var(--accent-text);margin-left:8px;}
.yr-tip-cta{display:block;margin-top:5px;font-size:9px;font-weight:700;line-height:1.3;letter-spacing:1.2px;color:var(--muted-3);}

/* ---- scroll progress readout ---- */
.yr-readout{position:fixed;right:44px;bottom:30px;z-index:30;display:flex;align-items:center;gap:12px;pointer-events:none;}
.yr-readout-track{width:120px;height:2px;background:rgba(255,255,255,.12);}
.yr-readout-fill{height:100%;width:0%;background:var(--accent-text);}
.yr-readout-label{font-size:10px;font-weight:700;line-height:1.4;letter-spacing:1.6px;color:var(--muted-3);min-width:170px;}

/* ============================================================
   Custom cursor — a magnetic reticle, not a decoration.
   Only ever active when cursor.js adds .yr-cur-on, which it does for fine
   mouse pointers without a reduced-motion preference. Everyone else keeps
   the native cursor and never loads any of this.
   ============================================================ */

/* !important because the 3D scene sets an inline body cursor while hovering
   a component; without it the native arrow reappears over the board */
.yr-cur-on,.yr-cur-on *{cursor:none !important;}

.yr-cur{position:fixed;inset:0;z-index:60;pointer-events:none;opacity:0;transition:opacity .25s ease;}
.yr-cur.is-on{opacity:1;}

.yr-cur-dot{
  position:absolute;top:0;left:0;will-change:transform;
  width:5px;height:5px;border-radius:50%;background:var(--ink);
  transition:width .18s ease,height .18s ease,background .18s ease,opacity .18s ease;
}
.yr-cur-ring{
  position:absolute;top:0;left:0;will-change:transform;
  width:30px;height:30px;border-radius:50%;
  border:1px solid rgba(234,243,242,.45);
  transition:width .2s cubic-bezier(.2,.7,.2,1),height .2s cubic-bezier(.2,.7,.2,1),
             border-color .2s ease,border-radius .2s ease,background .2s ease,
             opacity .18s ease,transform .16s cubic-bezier(.2,.7,.2,1);
}
/* the idle breathe — pure CSS, same mechanism as the registration-open dot
   elsewhere on the page, so there is no per-frame JS driving this */
.yr-cur.is-idle .yr-cur-ring{animation:yr-cur-breathe 2.6s ease-in-out infinite;}
@keyframes yr-cur-breathe{0%,100%{scale:1;}50%{scale:1.08;}}

/* crosshair arms, pinned to the true pointer — only shown over a board part */
.yr-cur-cross{
  position:absolute;left:var(--cx);top:var(--cy);width:0;height:0;
  transform:translate(-50%,-50%);
}
.yr-cur-cross::before,.yr-cur-cross::after{
  content:"";position:absolute;background:rgba(47,168,168,.55);
  transition:opacity .2s ease;opacity:0;
}
.yr-cur-cross::before{left:-13px;top:-.5px;width:26px;height:1px;}
.yr-cur-cross::after{top:-13px;left:-.5px;height:26px;width:1px;}

/* the magnetic bracket: sized and positioned directly from inline style
   (cursor.js reads the hovered element's own bounding box, or — over the
   board — a fixed box centred on the pointer), so it fits whatever it is
   pointing at rather than a fixed generic blob */
.yr-cur-bracket{
  position:absolute;top:0;left:0;
  opacity:0;transition:opacity .2s ease,left .18s cubic-bezier(.2,.7,.2,1),
    top .18s cubic-bezier(.2,.7,.2,1),width .18s cubic-bezier(.2,.7,.2,1),
    height .18s cubic-bezier(.2,.7,.2,1);
}
.yr-cur-bracket i{position:absolute;width:11px;height:11px;border:1.5px solid var(--accent-text);}
.yr-cur-bracket i:nth-child(1){top:0;left:0;border-right:0;border-bottom:0;border-top-left-radius:3px;}
.yr-cur-bracket i:nth-child(2){top:0;right:0;border-left:0;border-bottom:0;border-top-right-radius:3px;}
.yr-cur-bracket i:nth-child(3){bottom:0;left:0;border-right:0;border-top:0;border-bottom-left-radius:3px;}
.yr-cur-bracket i:nth-child(4){bottom:0;right:0;border-left:0;border-top:0;border-bottom-right-radius:3px;}

.yr-cur-label{
  position:absolute;left:var(--cx);top:var(--cy);
  transform:translate(-50%,42px);
  font-size:9px;font-weight:700;letter-spacing:1.6px;line-height:1;
  color:var(--accent-text);opacity:0;transition:opacity .2s ease;white-space:nowrap;
}

/* a short-lived click ripple — one DOM element per click, removed by JS
   after its animation finishes; nothing persists between clicks */
.yr-cur-pulse{
  position:fixed;top:0;left:0;z-index:60;pointer-events:none;
  width:10px;height:10px;margin:-5px 0 0 -5px;border-radius:50%;
  border:1.5px solid var(--accent-text);
  animation:yr-cur-pulse-run .52s cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes yr-cur-pulse-run{
  0%{scale:.4;opacity:.85;}
  100%{scale:3.4;opacity:0;}
}

/* --- hovering anything clickable: the bracket snaps to it, the ring hides --- */
.yr-cur.is-link .yr-cur-ring{opacity:0;}
.yr-cur.is-link .yr-cur-dot{width:3px;height:3px;background:var(--accent-text);}
.yr-cur.is-link .yr-cur-bracket{opacity:1;}

/* --- over body copy: the ring collapses to an I-beam --- */
.yr-cur.is-text .yr-cur-ring{width:2px;height:26px;border-radius:1px;border:0;background:rgba(234,243,242,.75);}
.yr-cur.is-text .yr-cur-dot{opacity:0;}

/* --- over an unidentified board component: crosshair + a fixed-size
   bracket centred on the pointer (there's no DOM element to snap to) --- */
.yr-cur.is-part .yr-cur-ring{opacity:0;}
.yr-cur.is-part .yr-cur-dot{width:3px;height:3px;background:var(--accent-text);}
.yr-cur.is-part .yr-cur-bracket{opacity:1;}
.yr-cur.is-part .yr-cur-cross::before,
.yr-cur.is-part .yr-cur-cross::after{opacity:1;}
.yr-cur.is-part .yr-cur-label{opacity:1;}

/* --- over one already logged in the build log --- */
.yr-cur.is-logged .yr-cur-ring{opacity:0;}
.yr-cur.is-logged .yr-cur-dot{width:3px;height:3px;background:var(--accent-text);}
.yr-cur.is-logged .yr-cur-bracket{opacity:.4;}
.yr-cur.is-logged .yr-cur-label{opacity:.6;}

/* --- pressed --- */
.yr-cur.is-down .yr-cur-ring{scale:.82;border-color:var(--accent-text);}
.yr-cur.is-down .yr-cur-dot{width:8px;height:8px;background:var(--accent-text);}

@media (prefers-reduced-motion: reduce){
  .yr-cur.is-idle .yr-cur-ring{animation:none;}
}

/* ============================================================
   Responsive
   ============================================================ */

/* Below this width the 3D board is not rendered at all (app.js bails out),
   so the canvas, its scrim and every HUD tied to it come off the page. */
@media (max-width: 1080px){
  #yr-gl,.yr-scrim,.yr-hud,.yr-toast,.yr-tip,.yr-readout{display:none !important;}
  .yr-col{max-width:none;}
  .yr-lede,.yr-round-body,.yr-faq-a,.yr-register-p,.yr-domain-teaser{max-width:640px;}
}

@media (max-width: 860px){
  .yr-nav{padding:12px 22px;}
  .yr-nav-right{gap:14px;}
  .yr-nav-right a:not(.yr-btn){display:none;}
  .yr-content{padding:0 22px;}
  .yr-section{padding:64px 0 84px;}
  .yr-section-tight{padding:0 0 84px;}
  .yr-hero{padding:130px 0 72px;}
  .yr-stat-row{gap:28px;}
}

@media (max-width: 620px){
  /* the board it belongs to is not rendered at this width, and the nav needs
     the room — the Register CTA overflowed a 320px viewport with it in */
  .yr-sound-btn{display:none;}
  .yr-logo{height:40px;}
  .yr-brand{gap:12px;}
  .yr-brand-rule{height:34px;}
  .yr-brand-name{font-size:11px;letter-spacing:1.2px;}

  /* stack the CTAs full width — side-by-side large buttons overflow here,
     which is what forced the labels to wrap on top of themselves */
  .yr-cta-row{flex-direction:column;align-items:stretch;gap:10px;}
  .yr-cta-row .yr-btn{width:100%;}
  .yr-btn-lg{padding:14px 20px;font-size:14px;}

  .yr-cal-row{grid-template-columns:1fr;gap:6px;}
  .yr-contact-row{grid-template-columns:1fr;gap:2px;}
  .yr-stat-row{gap:20px 26px;margin-top:40px;}
  .yr-domain-row{gap:12px;}
  .yr-domain-head{gap:12px;}
}

@media (max-width: 430px){
  .yr-nav{padding:10px 16px;gap:10px;}
  .yr-nav-right{gap:10px;}
  .yr-logo{height:34px;}
  .yr-brand{gap:9px;}
  .yr-brand-rule{height:28px;}
  .yr-brand-name{font-size:9.5px;letter-spacing:.9px;}
  /* scoped to the nav: an unscoped .yr-btn here outranks .yr-btn-lg and would
     shrink the hero CTAs below the 44px touch-target minimum */
  .yr-nav .yr-btn{padding:9px 13px;font-size:11.5px;min-height:40px;}
  .yr-btn-lg{padding:14px 18px;font-size:13.5px;}
  .yr-content{padding:0 16px;}
  .yr-h1{letter-spacing:-.8px;}
  .yr-register-h{letter-spacing:-.6px;}
  .yr-stat-row{flex-direction:column;gap:18px;}
  .yr-chip{padding:6px 10px;font-size:11px;}
}

@media (max-width: 620px){
  .yr-title-year{height:112px;margin-top:10px;}
  .yr-tagline{font-size:clamp(18px,5.4vw,24px);gap:0 8px;margin-top:18px;}
}
@media (max-width: 430px){
  .yr-title,.yr-title-main{letter-spacing:-.8px;}
  .yr-title-year{height:96px;}
}
@media (prefers-reduced-motion: reduce){
  .yr-w,.yr-title-year{opacity:1;transform:none;}
  .yr-tag-b::after{transform:scaleX(1);}
}
