/* /wrapped: Skillnaija Wrapped 2026, My 2027 Skill and the 2027 Skills Wall.
   Its own look for the season (block-print tiles, editorial type), on the
   brand's deep green. Loaded by wrapped.html only. */
.wr-body {
  --forest: #0B3D2E; --green: #15803D; --lime: #C8F25A; --cream: #FBF3E4; --lavender: #C9B6F2;
  --lav-soft: #ECE4FB; --gold: #D4AE4A; --sky: #9AD3F2; --charcoal: #24282B; --plum: #4B2E83;
  --disp: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  background: var(--cream); color: var(--charcoal);
}
html.site-v2 body.wr-body { background: var(--cream); }
html.site-v2 .wr-body .sv-foot { margin-top: 0; }
.wr { font-family: Inter, system-ui, sans-serif; }
.wr h1, .wr h2, .wr h3 { font-family: var(--disp); margin: 0; }
.wr-wall, .wr-declare, .wr-signin, .wr-step { scroll-margin-top: 120px; }  /* under the sticky site header */
.wr-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wr-body.wr-locked { overflow: hidden; }
.wr [hidden] { display: none !important; }

/* ---------- buttons and links ---------- */
.wr-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 700 17px/1 Inter, system-ui, sans-serif; border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: transform .15s ease, background-color .15s ease; }
.wr-btn:active { transform: translateY(1px); }
.wr-btn:disabled { opacity: .5; cursor: not-allowed; }
.wr-btn-lime { background: var(--lime); color: var(--forest); }
.wr-btn-lime:hover { background: #D8FA7E; }
.wr-btn-ghost { background: transparent; color: var(--cream); border-color: rgba(251, 243, 228, .7); }
.wr-btn-ghost:hover { border-color: var(--cream); background: rgba(251, 243, 228, .08); }
.wr-btn-forest { background: var(--forest); color: var(--cream); }
.wr-btn-forest:hover { background: #072A20; }
.wr-btn-line { background: transparent; color: var(--forest); border-color: var(--forest); }
.wr-btn-line:hover { background: rgba(11, 61, 46, .06); }
.wr-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.wr :focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---------- hero ---------- */
.wr-hero { background: var(--forest); color: var(--cream); overflow: hidden; }
.wr-hero-in { max-width: 1240px; margin: 0 auto; padding: clamp(40px, 7vw, 96px) 24px; display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.wr-kick { margin: 0 0 18px; color: var(--lime); font-weight: 600; font-size: 16px; }
.wr-hero h1 { font-size: clamp(52px, 8.4vw, 124px); line-height: .9; letter-spacing: -.04em; font-weight: 800; color: var(--cream); }
.wr-lede { font: 500 clamp(20px, 2.2vw, 26px)/1.35 var(--disp); margin: 22px 0 32px; max-width: 30ch; }
.wr-acts { display: flex; flex-wrap: wrap; gap: 12px; }
.wr-note { min-height: 1.5em; margin: 18px 0 0; color: rgba(251, 243, 228, .85); font-size: 16px; }
.wr-note .wr-link { color: var(--lime); }

/* block-print tiles: a square, then one shape cut from it */
.wr-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; max-width: 520px; justify-self: end; aspect-ratio: 1; }
.wr-t { position: relative; overflow: hidden; }
.wr-s { position: absolute; inset: 0; display: block; }
.wr-s.q0 { border-bottom-right-radius: 100%; }
.wr-s.q1 { border-bottom-left-radius: 100%; }
.wr-s.q2 { border-top-left-radius: 100%; }
.wr-s.q3 { border-top-right-radius: 100%; }
.wr-s.h0 { bottom: 50%; border-radius: 0 0 999px 999px; }
.wr-s.h1 { right: 50%; border-radius: 0 999px 999px 0; }
.wr-s.c { inset: 9%; border-radius: 50%; }
.wr-s.r { inset: 9%; border-radius: 50%; -webkit-mask: radial-gradient(circle, transparent 38%, #000 39%); mask: radial-gradient(circle, transparent 38%, #000 39%); }
.wr-s.s { inset: 24%; }
.wr-s.st { -webkit-mask: repeating-linear-gradient(90deg, #000 0 17%, transparent 17% 33%); mask: repeating-linear-gradient(90deg, #000 0 17%, transparent 17% 33%); }
.bg-forest { background: var(--forest); } .bg-lime { background: var(--lime); } .bg-lavender { background: var(--lavender); }
.bg-gold { background: var(--gold); } .bg-sky { background: var(--sky); } .bg-cream { background: var(--cream); }
/* the one orchestrated moment: the tiles print in, once */
.wr-anim .wr-t { animation: wr-print .5s cubic-bezier(.2, .8, .2, 1) both; animation-delay: var(--d); }
@keyframes wr-print { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }

/* ---------- sign-in prompt ---------- */
.wr-signin { background: var(--lav-soft); }
.wr-signin-in { max-width: 760px; margin: 0 auto; padding: 48px 24px; }
.wr-signin h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -.02em; color: var(--forest); margin-bottom: 10px; }
.wr-signin p { font-size: 17px; line-height: 1.6; max-width: 62ch; }

/* ---------- the wall ---------- */
.wr-wall-in { max-width: 1240px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) 24px; }
.wr-wall-head { max-width: 760px; margin-bottom: 36px; }
.wr-wall h2 { font-size: clamp(36px, 5.4vw, 68px); line-height: .98; letter-spacing: -.035em; color: var(--forest); }
.wr-wall-head p { font-size: 19px; margin: 14px 0 0; }
.wr-wall-count { font-weight: 700; color: var(--green); }
.wr-cloud { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 22px; line-height: 1.05; }
.wr-w { font-family: var(--disp); font-weight: 800; letter-spacing: -.02em; }
.ink-forest { color: var(--forest); } .ink-green { color: var(--green); } .ink-charcoal { color: var(--charcoal); } .ink-plum { color: var(--plum); }
.wr-w-new { background: var(--lime); color: var(--forest); padding: 0 .15em; border-radius: .12em; animation: wr-join 1.1s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes wr-join { 0% { transform: translateY(-40px) scale(1.4); opacity: 0; } 60% { transform: translateY(4px) scale(1); opacity: 1; } 100% { transform: none; } }
.wr-wall-empty { font: 600 22px/1.4 var(--disp); color: var(--forest); max-width: 40ch; }

/* ---------- declaring ---------- */
.wr-declare { background: var(--lav-soft); }
.wr-declare-in { max-width: 1240px; margin: 0 auto; padding: clamp(48px, 7vw, 88px) 24px; }
.wr-declare h2 { font-size: clamp(34px, 5vw, 60px); line-height: 1; letter-spacing: -.035em; color: var(--forest); }
.wr-declare h2:focus { outline: none; }
.wr-sub { font-size: 19px; margin: 12px 0 28px; }
.wr-chips { display: flex; flex-wrap: wrap; gap: 10px; max-width: 980px; }
.wr-chip { font: 700 17px/1 var(--disp); padding: 14px 20px; border-radius: 999px; border: 2px solid var(--forest); background: #fff; color: var(--forest); cursor: pointer; }
.wr-chip:hover { background: var(--cream); }
.wr-chip[aria-checked="true"] { background: var(--forest); color: var(--lime); }
.wr-chip-else { border-style: dashed; }
.wr-custom, .wr-fields > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.wr-custom { margin-top: 22px; max-width: 520px; }
.wr-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 820px; margin: 28px 0 8px; }
.wr-declare label { font-weight: 700; font-size: 16px; color: var(--forest); }
.wr-opt { font-weight: 500; color: #4B5563; }
.wr-declare input, .wr-declare select { width: 100%; min-width: 0; box-sizing: border-box; min-height: 50px; border-radius: 12px; border: 2px solid #B9AED6; background: #fff; padding: 0 14px; font: 500 17px Inter, system-ui, sans-serif; color: var(--charcoal); }
.wr-declare input:focus, .wr-declare select:focus { border-color: var(--forest); outline: none; box-shadow: 0 0 0 3px rgba(11, 61, 46, .2); }
.wr-declare small { color: #4B5563; font-size: 14px; }
.wr-err { min-height: 1.4em; color: #9F1239; font-weight: 600; margin: 8px 0; }
.wr-result-grid { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.wr-after { display: flex; flex-direction: column; gap: 16px; }
.wr-panel { background: #fff; border-radius: 20px; padding: 22px 22px 20px; }
.wr-panel h3 { font-size: 24px; letter-spacing: -.02em; color: var(--forest); margin-bottom: 6px; }
.wr-panel p { margin: 0 0 14px; line-height: 1.55; }
.wr-panel:empty { display: none; }
.wr-joined { background: var(--forest); color: var(--cream); }
.wr-joined h3 { color: var(--lime); font-size: 30px; }
.wr-joined:focus { outline: none; }
.wr-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.wr-course-link { display: block; padding: 14px 16px; margin-top: 8px; border-radius: 14px; background: var(--cream); color: var(--forest); font: 700 18px/1.3 var(--disp); text-decoration: none; border-left: 6px solid var(--lime); }
.wr-course-link:hover { background: #F5EAD3; }
.wr-msg { min-height: 1.3em; margin: 10px 0 0; font-size: 15px; }
.wr-back { margin-top: 28px; color: var(--forest); }

/* ---------- share block ---------- */
.wr-share { display: flex; flex-direction: column; gap: 14px; }
.wr-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; background: rgba(11, 61, 46, .08); padding: 4px; border-radius: 999px; align-self: flex-start; }
.wr-seg button { border: 0; background: transparent; padding: 9px 14px; border-radius: 999px; font: 600 14px Inter, system-ui, sans-serif; color: var(--forest); cursor: pointer; min-height: 38px; }
.wr-seg button[aria-pressed="true"] { background: var(--forest); color: var(--cream); }
.wr-preview { margin: 0; }
.wr-preview canvas { display: block; width: 100%; height: auto; max-height: 70vh; object-fit: contain; border-radius: 16px; background: #ddd; }
.wr-togs { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; }
.wr-tog { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; cursor: pointer; }
.wr-tog input { width: 20px; height: 20px; accent-color: var(--forest); }
.wr-share-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.wr-caption { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; font-size: 15px; }
.wr-caption select { min-height: 40px; border-radius: 10px; border: 2px solid #B9AED6; padding: 0 8px; font: inherit; }
.wr-share-dark { color: var(--cream); margin-top: 26px; }
.wr-share-dark .wr-seg { background: rgba(251, 243, 228, .12); }
.wr-share-dark .wr-seg button { color: var(--cream); }
.wr-share-dark .wr-seg button[aria-pressed="true"] { background: var(--cream); color: var(--forest); }
.wr-share-dark .wr-btn-forest { background: var(--lime); color: var(--forest); }
.wr-share-dark .wr-btn-line { color: var(--cream); border-color: var(--cream); }
.wr-share-dark .wr-preview canvas { max-height: 56vh; width: auto; max-width: 100%; }

/* ---------- the story ---------- */
.wr-story { position: fixed; inset: 0; z-index: 1000; background: var(--charcoal); color: var(--cream); display: flex; flex-direction: column; padding: 12px max(12px, calc((100vw - 560px) / 2)) 16px; }
.wr-story-bar { display: flex; gap: 4px; }
.wr-story-bar span { flex: 1; height: 4px; border-radius: 2px; background: rgba(251, 243, 228, .25); overflow: hidden; }
.wr-story-bar i { display: block; height: 100%; width: 0; background: var(--lime); }
.wr-story-bar .done i { width: 100%; }
.wr-story-bar .now i { width: 100%; animation: wr-bar 7s linear both; }
.wr-story-bar .now.paused i { animation-play-state: paused; }
@keyframes wr-bar { from { width: 0; } to { width: 100%; } }
.wr-story-top { display: flex; align-items: center; gap: 8px; margin: 10px 0; }
.wr-cut { flex: 1; font-size: 14px; color: rgba(251, 243, 228, .8); }
.wr-chip-btn { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid rgba(251, 243, 228, .5); background: transparent; color: var(--cream); font: 600 14px Inter, system-ui, sans-serif; cursor: pointer; }
.wr-story-stage { flex: 1; min-height: 0; overflow-y: auto; border-radius: 22px; }
.wr-story-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; }
.wr-skip { color: var(--cream); font-size: 15px; }
.wr-card { position: relative; min-height: 100%; box-sizing: border-box; padding: 0 28px 30px; display: flex; flex-direction: column; gap: 16px; overflow: hidden; }
.wr-card > .wr-card-tiles + * { margin-top: auto; }
.wr-card > :last-child { margin-bottom: auto; }
.wr-card-tiles { align-self: flex-end; margin-right: -28px; flex: none; width: 120px; display: grid; grid-template-columns: repeat(2, 1fr); aspect-ratio: 1; }
.wr-card-reveal .wr-card-tiles { align-self: flex-start; margin: 34px 0 0; width: 168px; grid-template-columns: repeat(3, 1fr); }
.wr-card-pre { margin: 0; font-weight: 600; font-size: 16px; }
.wr-card-title { font-size: clamp(32px, 7.4vw, 52px); line-height: 1.02; letter-spacing: -.03em; font-weight: 800; max-width: 15ch; }
.wr-card-reveal .wr-card-title { font-size: clamp(44px, 10vw, 68px); color: var(--acc); }
.wr-card-body { font: 500 21px/1.4 var(--disp); margin: 0; max-width: 30ch; }
.wr-card-stats { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 14px; }
.wr-card-stats li { display: flex; align-items: baseline; gap: 12px; }
.wr-card-stats b { font: 800 clamp(44px, 9vw, 64px)/1 var(--disp); letter-spacing: -.03em; color: var(--acc); min-width: 2ch; font-variant-numeric: tabular-nums; }
.wr-card-stats span { font-size: 17px; font-weight: 600; }
.wr-card-note { font-size: 14px; opacity: .85; margin: 0; }
.wr-card-end { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 8px; }
.way-forest { background: var(--forest); color: var(--cream); --acc: var(--lime); }
.way-cream { background: var(--cream); color: var(--forest); --acc: var(--green); }
.way-lavender { background: var(--lavender); color: var(--charcoal); --acc: var(--forest); }
.way-lime { background: var(--lime); color: var(--forest); --acc: var(--forest); }
.way-sky { background: var(--sky); color: var(--charcoal); --acc: var(--forest); }
.way-charcoal { background: #33383C; color: var(--cream); --acc: var(--gold); }
.way-gold { background: var(--gold); color: var(--forest); --acc: var(--forest); }
.wr-card:not(.way-forest):not(.way-charcoal) .wr-share-dark { color: inherit; }
.wr-card:not(.way-forest):not(.way-charcoal) .wr-share-dark .wr-seg button { color: var(--forest); }
.wr-card:not(.way-forest):not(.way-charcoal) .wr-share-dark .wr-btn-line { color: var(--forest); border-color: var(--forest); }
.wr-card:not(.way-forest):not(.way-charcoal) .wr-share-dark .wr-btn-forest { background: var(--forest); color: var(--cream); }
.wr-card .wr-btn-lime { background: var(--lime); }
.wr-card.way-lime .wr-btn-lime { background: var(--forest); color: var(--lime); }
.wr-card-reveal .wr-t { animation: wr-print .5s cubic-bezier(.2, .8, .2, 1) both; animation-delay: var(--d); }

/* ---------- small screens ---------- */
@media (max-width: 860px) {
  .wr-hero-in { grid-template-columns: 1fr; }
  .wr-mosaic { order: -1; max-width: 100%; justify-self: stretch; aspect-ratio: 4 / 1; grid-template-columns: repeat(8, 1fr); }
  .wr-result-grid, .wr-fields { grid-template-columns: 1fr; }
  .wr-story { padding: 10px 10px 12px; }
  .wr-btn { width: 100%; }
  .wr-acts { flex-direction: column; }
  .wr-share-acts .wr-btn { width: auto; flex: 1; }
  .wr-story-nav .wr-btn { width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .wr-anim .wr-t, .wr-w-new, .wr-card-reveal .wr-t, .wr-story-bar .now i { animation: none !important; }
  .wr-btn { transition: none; }
}
