/* wordojo.app/challenge (the owner's pick, 11 Nov 2026): this week's challenge, open to anyone.
   The page glides like the home page (story.css): the hero in brand yellow with Bubble holding the mic,
   the two reps on paper (Say it on obsidian, Write it on white), how it works on obsidian, the questions
   on paper. site/challenge.js runs it. */
.chp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* The hero */
.chp-hero { padding: 120px 0 80px; }
.chp-hero-row { display: grid; grid-template-columns: 1.4fr .8fr; gap: 30px; align-items: center; }
.chp-hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.chp-title { font-size: clamp(54px, 9vw, 128px); }
.chp-say { font-size: clamp(19px, 1.8vw, 23px); line-height: 1.45; max-width: 36ch; }
.chp-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.chp-chips li { display: inline-flex; align-items: center; gap: 8px; font: 700 15px var(--body); border: 2px solid #16140F; border-radius: 999px; padding: 8px 15px; background: rgba(255, 255, 255, .35); }
.chp-chips li[hidden] { display: none; }
.chp-chips svg { width: 18px; height: 18px; }
.chp-chips .chp-gems { background: #16140F; color: #FFE001; }
.chp-chips .chp-left { background: #D2352A; border-color: #D2352A; color: #fff; }
.chp-friend { background: #fff; border: 2px solid #16140F; border-radius: 18px; padding: 14px 18px; box-shadow: 0 4px 0 #16140F; max-width: 520px; }
.chp-friend[hidden] { display: none; }
.chp-friend p { font-size: 16px; line-height: 1.45; }
.chp-hero-art { display: grid; place-items: center; }
.chp-bubble { display: block; width: min(300px, 70vw); aspect-ratio: 300 / 380; }

/* The two reps */
.chp-take { padding: 100px 0 90px; }
.chp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; align-items: stretch; }
.chp-card { display: flex; flex-direction: column; gap: 16px; border: 2px solid #16140F; border-radius: 26px; padding: 26px; box-shadow: 0 6px 0 #16140F; }
.chp-step { font-family: var(--display); font-stretch: 125%; font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.chp-ask { font-family: var(--serif); font-size: clamp(21px, 2vw, 25px); line-height: 1.3; }

.chp-sayc { background: #16140F; color: #F7F4EC; box-shadow: 0 6px 0 #000; }
.chp-sayc .chp-step { color: #FFE001; }
.chp-mic-row { display: flex; align-items: center; gap: 22px; }
.chp-mic { position: relative; flex: none; width: 128px; height: 128px; border: 0; border-radius: 50%; background: none; cursor: pointer; display: grid; place-items: center; color: #16140F; }
.chp-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.chp-ring-bg { fill: none; stroke: rgba(247, 244, 236, .16); stroke-width: 8; }
.chp-ring-fg { fill: none; stroke: #FFE001; stroke-width: 8; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .25s linear; }
.chp-mic-ic { width: 92px; height: 92px; border-radius: 50%; background: #FFE001; display: grid; place-items: center; box-shadow: 0 4px 0 #B8A200; transition: transform .15s ease; }
.chp-mic-ic svg { width: 38px; height: 38px; }
.chp-mic:hover .chp-mic-ic { transform: scale(1.04); }
.chp-mic:active .chp-mic-ic { transform: scale(.97); }
.chp-mic:focus-visible { outline: 3px solid #FFE001; outline-offset: 4px; }
.chp-sayc.live .chp-mic-ic { background: #D2352A; color: #fff; box-shadow: 0 4px 0 #8E2019; animation: chp-pulse 1.4s ease-in-out infinite; }
.chp-sayc.live .chp-mic-ic svg rect { rx: 2; }
.chp-sayc.is-past .chp-ring-fg { stroke: #F7F4EC; }
@keyframes chp-pulse { 50% { transform: scale(1.06); } }
.chp-clock b { display: block; font: 900 52px/1 var(--display); font-stretch: 62%; color: #FFE001; }
.chp-clock small { font-size: 14px; color: #B9B2A0; }
.chp-status { font-size: 15px; color: #B9B2A0; }
.chp-heard { font-family: var(--serif); font-style: italic; font-size: 18px; line-height: 1.45; min-height: 1.45em; }
.chp-heard span { opacity: .55; }
.chp-out { font-size: 16px; line-height: 1.5; color: #F3ECDF; border-top: 1px solid rgba(247, 244, 236, .16); padding-top: 14px; }
.chp-out b { color: #FFE001; font-size: 20px; }

.chp-writec { background: #fff; color: #16140F; }
.chp-writec textarea { width: 100%; min-height: 150px; resize: vertical; border: 2px solid #16140F; border-radius: 16px; padding: 14px 16px; font: 400 17px/1.5 var(--body); color: #16140F; background: #FBF7F0; }
.chp-writec textarea:focus { outline: 3px solid #FFE001; outline-offset: 2px; }
.chp-wrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.chp-count { font: 700 15px var(--body); color: #6E675C; }
.chp-count.is-met { color: #0B3E42; }
.chp-count.is-met::after { content: " ✓"; }
.chp-pen { border-top: 1px solid rgba(22, 20, 15, .14); padding-top: 14px; display: grid; gap: 10px; }
.chp-pen[hidden] { display: none; }
.chp-marked { font: 400 16.5px/1.6 var(--serif); }
.chp-marked del { text-decoration: none; color: #9E958A; background: linear-gradient(#D2352A, #D2352A) no-repeat 0 58% / 0% 2.2px; }
.chp-marked ins { text-decoration: none; color: #D2352A; font-style: italic; font-weight: 600; opacity: 0; margin-left: .22em; }
.chp-pen.ran .chp-marked del { animation: strike .32s ease-out var(--d) forwards; }
.chp-pen.ran .chp-marked ins { animation: fade .3s ease-out var(--d) forwards; }
.chp-clean { font: 500 22px/1.25 var(--serif); letter-spacing: -.01em; }
.chp-pstats { font-size: 15px; color: #6E675C; }

/* The result */
.chp-result { margin-top: 28px; background: #FFE001; color: #16140F; border: 2px solid #16140F; border-radius: 26px; padding: 26px; box-shadow: 0 6px 0 #16140F; display: grid; gap: 16px; animation: gaup .5s var(--ease-out, ease) both; }
.chp-result[hidden] { display: none; }
.chp-rtitle { font-family: var(--display); font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: clamp(34px, 4vw, 52px); line-height: .92; }
.chp-nums { display: flex; flex-wrap: wrap; gap: 14px 34px; }
.chp-nums span { display: grid; }
.chp-nums b { font: 900 clamp(46px, 5vw, 64px)/1 var(--display); font-stretch: 62%; }
.chp-nums small { font: 700 12px var(--display); font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.chp-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.chp-actions [hidden] { display: none; }
.chp-fine { font-size: 14px; word-break: break-word; }
.chp-fine:empty { display: none; }

/* How it works */
.chp-how { padding: 100px 0 96px; }
.chp-beats { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.chp-beats li { display: grid; gap: 8px; align-content: start; border: 2px solid rgba(247, 244, 236, .18); border-radius: 22px; padding: 24px; }
.chp-beat-n { font: 900 46px/1 var(--display); font-stretch: 62%; color: #FFE001; text-transform: uppercase; }
.chp-beat-n svg { width: 42px; height: 42px; }
.chp-beats b { font-size: 19px; }
.chp-beats span:last-child { color: #B9B2A0; font-size: 16px; line-height: 1.45; }
.chp-next { margin-top: 26px; font-size: 18px; color: #FFE001; }
.chp-next[hidden] { display: none; }
.chp-how-cta { margin-top: 26px; }

@media (max-width: 900px) {
  .chp-hero-row { grid-template-columns: 1fr; }
  .chp-hero-art { order: -1; justify-items: start; }
  .chp-bubble { width: 150px; }
  .chp-grid, .chp-beats { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .chp-hero { padding: 92px 0 64px; }
  .chp-take, .chp-how { padding: 76px 0 70px; }
  .chp-card, .chp-result { padding: 22px 20px; border-radius: 22px; }
  .chp-mic { width: 112px; height: 112px; }
  .chp-mic-ic { width: 80px; height: 80px; }
  .chp-clock b { font-size: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .chp-sayc.live .chp-mic-ic, .chp-result { animation: none; }
  .chp-ring-fg { transition: none; }
}
