/* Stuff Clocked site styles. Look comes from the approved Quiz Kit (261017):
   Stamp Red #C81D35, Receipt Paper #FFF8F0, Ink #1E1B3A, Highlighter #FFC93C.
   Archivo Black (display) and Space Grotesk (body). One red primary button per screen. Buttons and answers are at least 48 px tall. */
@font-face { font-family: "Archivo Black"; src: url("fonts/ArchivoBlack-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("fonts/SpaceGrotesk-Variable.woff") format("woff"); font-weight: 300 700; font-display: swap; }

:root {
  --red: #C81D35;
  --paper: #FFF8F0;
  --ink: #1E1B3A;
  --hl: #FFC93C;
  --rule: #F1E6D7;
  --card: #FFFCF7;
  --ink-soft: #4a4668;
  --h1: 40px; --h2: 28px; --h3: 19px; --body: 17px;
}
@media (min-width: 720px) { :root { --h1: 64px; --h2: 36px; --h3: 22px; --body: 18px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 var(--body)/1.55 "Space Grotesk", system-ui, sans-serif; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 10px; z-index: 10; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 clamp(16px, 5vw, 40px); }
.narrow { max-width: 720px; }

h1, h2, h3 { font-family: "Archivo Black", "Space Grotesk", sans-serif; font-weight: 400; line-height: 1.1; margin: 0 0 16px; letter-spacing: -0.01em; }
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); line-height: 1.2; }
p { margin: 0 0 16px; }
.label { font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; font-size: 14px; color: var(--red); margin: 0 0 12px; }

/* header */
.site-header { border-bottom: 2px solid var(--ink); background: var(--paper); position: sticky; top: 0; z-index: 20; transition: transform .25s ease; }
.site-header.hdr-hidden { transform: translateY(-100%); }
html { scroll-padding-top: 88px; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 76px; padding-top: 8px; padding-bottom: 8px; }
.brand img { display: block; height: 38px; width: auto; }
@media (min-width: 720px) { .brand img { height: 44px; } }
.nav { display: flex; gap: 4px; }
.nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 10px; white-space: nowrap; color: var(--ink); font-weight: 700; text-decoration: none; border-radius: 10px; }
.nav a:hover { background: var(--rule); color: var(--ink); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--red); text-underline-offset: 8px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 28px; border-radius: 999px; border: 2px solid var(--ink); font: 700 17px/1.2 "Space Grotesk", system-ui, sans-serif; text-decoration: none; cursor: pointer; text-align: center; background: transparent; color: var(--ink); }
@media (hover: hover) { .btn:hover { background: var(--ink); color: var(--paper); } }
.btn-primary { background: var(--red); border-color: var(--red); color: var(--paper); }
@media (hover: hover) { .btn-primary:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); } }
.btn-ink { background: var(--ink); color: var(--paper); }
@media (hover: hover) { .btn-ink:hover { background: var(--red); border-color: var(--red); color: var(--paper); } }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }
.btn[disabled]:hover { background: var(--red); border-color: var(--red); }
.btn-text { border: 0; background: none; min-height: 48px; padding: 0 12px; text-decoration: underline; text-underline-offset: 4px; }
.btn-text:hover { background: none; color: var(--red); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.small { font-size: 15px; color: var(--ink-soft); }

/* hero */
.hero { background: repeating-linear-gradient(to bottom, transparent 0, transparent 47px, var(--rule) 47px, var(--rule) 48px); border-bottom: 2px solid var(--ink); }
.hero .wrap { display: grid; gap: 8px; padding-top: 36px; padding-bottom: 32px; align-items: center; }
@media (min-width: 860px) { .hero .wrap { grid-template-columns: 1.15fr 1fr; gap: 40px; padding-top: 72px; padding-bottom: 88px; } }
.hero h1 { margin-bottom: 20px; }
.hero .sub { font-size: calc(var(--body) + 2px); max-width: 30em; margin-bottom: 28px; }
.hero .stamp { display: flex; justify-content: center; padding: 4px 12px; }  /* tight on phones */
@media (min-width: 860px) { .hero .stamp { padding: 28px 12px; } }  /* room for the tilted stamp */
.hero .stamp img { width: min(100%, 440px); }

/* sections */
.section { padding: 56px 0; }
.section + .section { border-top: 2px solid var(--ink); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: s; background: var(--card); border: 2px solid var(--ink); border-radius: 16px; padding: 20px; }
.steps li::before { content: counter(s); display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 50%; background: var(--hl); font-family: "Archivo Black", sans-serif; margin-bottom: 12px; }
.steps strong { display: block; font-size: 20px; margin-bottom: 4px; }
.steps span { display: block; }

/* quiz cards */
.cards { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--card); border: 2px solid var(--ink); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; height: 100%; }
.card h3 { margin-bottom: 8px; }
.card .hook { flex: 1 0 auto; margin-bottom: 16px; }
.card .meta { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 16px; }

/* page text */
.page { padding: 48px 0 72px; }
.page h1 { font-size: calc(var(--h1) * 0.75); }
.page ul:not(.cards) { padding-left: 22px; margin: 0 0 16px; }
.page li { margin-bottom: 8px; }
.page .cards li { margin-bottom: 0; }
.intro { font-size: calc(var(--body) + 2px); margin-bottom: 24px; }

/* quiz */
.quiz { padding: 40px 0 72px; }
.quiz h1 { font-size: calc(var(--h1) * 0.7); }
.progress { height: 10px; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; background: var(--card); margin: 0 0 12px; }
.progress > i { display: block; height: 100%; background: var(--red); width: 0; transition: width .25s ease; }
.q-count { font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 14px; color: var(--ink-soft); margin-bottom: 12px; }
.q-text { font-size: calc(var(--h2) * 0.95); }
.answers { display: grid; gap: 12px; margin: 20px 0 24px; padding: 0; border: 0; }
.answer { display: block; width: 100%; min-height: 56px; text-align: left; padding: 14px 18px; border: 2px solid var(--ink); border-radius: 14px; background: var(--card); color: var(--ink); font: 700 var(--body)/1.3 "Space Grotesk", system-ui, sans-serif; cursor: pointer; }
@media (hover: hover) { .answer:hover { background: var(--rule); } }
.answer[aria-checked="true"] { background: var(--ink); color: var(--paper); }
.answer .ltr { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%; border: 2px solid currentColor; margin-right: 12px; font-size: 14px; vertical-align: middle; }
.stamping { font-family: "Archivo Black", sans-serif; font-size: var(--h2); color: var(--red); padding: 40px 0; }

/* question shapes. Every answer is one tap and moves on. */
.screen .small { margin-bottom: 0; }
.answers.list { display: grid; gap: 12px; margin: 20px 0 24px; padding: 0; border: 0; }
.answer .ans-text { vertical-align: middle; }
.answer[aria-checked="true"] { background: var(--ink); color: var(--paper); }

/* two choices: This or that, Would you rather */
.duel { display: grid; grid-template-columns: 1fr; margin: 20px 0 24px; }
.choice { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 120px; padding: 20px; border: 2px solid var(--ink); border-radius: 16px; background: var(--card); color: var(--ink); font: 700 calc(var(--body) + 3px)/1.25 "Space Grotesk", system-ui, sans-serif; cursor: pointer; }
.choice[aria-checked="true"] { background: var(--ink); color: var(--paper); }
@media (hover: hover) { .choice:hover { background: var(--rule); } .choice[aria-checked="true"]:hover { background: var(--ink); } }
.duel .or { z-index: 1; justify-self: center; align-self: center; width: 46px; height: 46px; margin: 14px 0; border: 2px solid var(--ink); border-radius: 50%; background: var(--hl); color: var(--ink); display: flex; align-items: center; justify-content: center; font: 400 15px/1 "Archivo Black", sans-serif; text-transform: uppercase; }
@media (min-width: 640px) {
  .duel { grid-template-columns: 1fr auto 1fr; }
  .duel .or { margin: 0 14px; }
  .choice { min-height: 170px; }
}

/* emoji and vibe words: a grid of big tiles */
.shape-pick-the-emoji .answers.list, .shape-pick-a-vibe-word .answers.list, .shape-where-would-you-go .answers.list { grid-template-columns: 1fr 1fr; }
.shape-pick-the-emoji .answer { display: flex; align-items: center; justify-content: center; min-height: 110px; padding: 10px; }
.emo { font-size: 58px; line-height: 1; }
.shape-pick-a-vibe-word .answer { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 96px; font-family: "Archivo Black", "Space Grotesk", sans-serif; font-weight: 400; font-size: 22px; }
.shape-pick-a-vibe-word .answer .ltr { display: none; }
@media (max-width: 380px) { .shape-pick-a-vibe-word .answer { font-size: 19px; } }

/* hot take: a stance rail runs from agree (red) to disagree (ink) */

/* mini story: the setup reads as a note card */
.shape-mini-story .q-text { background: var(--card); border: 2px solid var(--ink); border-radius: 14px; padding: 18px 20px; font-family: "Space Grotesk", system-ui, sans-serif; font-weight: 700; font-size: calc(var(--body) + 4px); line-height: 1.4; letter-spacing: 0; }

/* finish the sentence: a red blank at the end of the prompt */
.shape-finish-the-sentence .q-text::after { content: ""; display: inline-block; width: 1.8em; margin-left: .25em; border-bottom: 5px solid var(--red); }

/* scale 1-10 */
.answers.scale { display: block; margin: 24px 0 24px; }
.slider { padding: 8px 0 0; }
.slider .range { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 56px; margin: 0; background: transparent; cursor: pointer; touch-action: pan-y; --p: 50%; }
.slider .range:focus-visible { outline: 3px solid var(--hl); outline-offset: 4px; border-radius: 28px; }
.slider .range::-webkit-slider-runnable-track { height: 16px; border: 2px solid var(--ink); border-radius: 16px; background: linear-gradient(to right, var(--red) var(--p), var(--card) var(--p)); }
.slider .range::-moz-range-track { height: 12px; border: 2px solid var(--ink); border-radius: 16px; background: var(--card); }
.slider .range::-moz-range-progress { height: 12px; border-radius: 16px; background: var(--red); }
.slider .range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 48px; height: 48px; margin-top: -17px; border: 3px solid var(--ink); border-radius: 50%; background: var(--hl); box-shadow: 0 3px 0 var(--ink); }
.slider .range::-moz-range-thumb { width: 42px; height: 42px; border: 3px solid var(--ink); border-radius: 50%; background: var(--hl); box-shadow: 0 3px 0 var(--ink); }
.slider .range:active::-webkit-slider-thumb { transform: scale(1.08); }
.scale-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 4px 0 0; font: 400 clamp(18px, 5vw, 22px)/1.25 "Archivo Black", sans-serif; color: var(--ink); }
.scale-legend .hi { text-align: right; }

/* build-a: the build so far shows as a receipt */
.build-step { margin: 0 0 16px; padding: 12px 16px; background: var(--hl); border: 2px solid var(--ink); border-radius: 12px; font: 400 clamp(17px, 4.4vw, 21px)/1.3 "Archivo Black", sans-serif; color: var(--ink); }
.build-title { font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; font-size: 14px; color: var(--red); margin: 0 0 8px; }
.slots { list-style: none; margin: 0 0 20px; padding: 6px 16px; background: var(--card); border: 2px dashed var(--ink); border-radius: 12px; }
.slot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px dashed var(--rule); min-height: 44px; }
.slot:last-child { border-bottom: 0; }
.slot-label { font-size: 15px; color: var(--ink-soft); }
.slot-val { font-weight: 700; text-align: right; min-height: 1.4em; border-bottom: 2px solid var(--rule); }
.slot.now .slot-label { color: var(--ink); font-weight: 700; }
.slot.now .slot-val { border-bottom-color: var(--red); }

/* result */
.result { padding: 48px 0 24px; }
.result .verdict { color: var(--red); font-size: calc(var(--h1) * 0.85); }
.result .blurb { font-size: calc(var(--body) + 5px); font-weight: 700; line-height: 1.4; max-width: 30em; background: var(--card); border: 2px solid var(--ink); border-radius: 14px; padding: 18px 20px; margin: 20px 0 0; }
.hero-verdict { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; }
.vimg { justify-self: center; width: min(100%, 320px); }
.vimg img { display: block; width: 100%; height: auto; border: 2px solid var(--ink); border-radius: 24px; background: var(--paper); }
@media (min-width: 760px) { .hero-verdict { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); gap: 40px; } .vimg { order: 2; width: 100%; } }
.more-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 8px; }
.more-head h2 { margin: 0; }
.disclosure-line { margin: 20px 0 0; font-weight: 700; }
.share { padding: 40px 0 8px; }
.status { min-height: 1.6em; font-weight: 700; margin-top: 12px; }
.more { padding: 24px 0 72px; }

/* footer */
.site-footer { background: var(--ink); color: var(--paper); padding: 40px 0 32px; margin-top: 0; }
.site-footer a { color: var(--paper); }
.site-footer a:hover { color: var(--hl); }
.site-footer :focus-visible { outline-color: var(--hl); }
.site-footer .disc { font-weight: 700; font-size: 18px; margin-bottom: 20px; }
.site-footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 20px; padding: 0; margin: 0 0 20px; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 48px; }
.site-footer .fine { font-size: 15px; opacity: 0.9; margin: 0 0 6px; }
.site-footer img { height: 22px; width: auto; display: block; margin-bottom: 20px; }

@media (prefers-reduced-motion: reduce) { .progress > i, .site-header { transition: none; } }

/* quiz banner: carries the quiz name from start to verdict */
.quizbar { background: var(--ink); color: var(--paper); border-bottom: 4px solid var(--red); }
.quizbar .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding-top: 14px; padding-bottom: 14px; }
.qb-tag { background: var(--hl); color: var(--ink); font: 400 13px/1 "Archivo Black", sans-serif; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 10px; border-radius: 8px; }
.qb-title { margin: 0; font: 400 clamp(18px, 4.6vw, 26px)/1.2 "Archivo Black", sans-serif; color: var(--paper); letter-spacing: 0; }
.qb-title a { color: inherit; text-decoration: none; }
@media (hover: hover) { .qb-title a:hover { text-decoration: underline; text-underline-offset: 4px; } }
.quiz { padding-top: 28px; }

/* starter kit */
.kitband { margin-top: 40px; padding: 36px 0 44px; background: color-mix(in srgb, var(--hl) 24%, var(--paper)); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.kitband h2 { margin: 0 0 4px; font-size: calc(var(--h1) * 0.7); }
.kit-sub { margin: 0 0 24px; font-weight: 700; color: var(--ink-soft); }
.kit { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: kit; }
@media (min-width: 720px) { .kit { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
.kit li { display: flex; gap: 16px; align-items: flex-start; background: var(--card); border: 2px solid var(--ink); border-radius: 18px; padding: 20px; box-shadow: 0 5px 0 var(--ink); }
.kit-n { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: var(--paper); display: flex; align-items: center; justify-content: center; font: 400 22px/1 "Archivo Black", sans-serif; }
.kit-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.kit h3 { margin: 2px 0 8px; }
.kit .tagline { flex: 1 0 auto; margin: 0 0 16px; }
.kit .btn { align-self: flex-start; }

/* share */
.share-sub { margin: 0 0 16px; }
.nets { margin-top: 16px; }
.net-list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.net { min-height: 48px; padding: 10px 18px; }
.back-btn { margin-top: 8px; padding-left: 0; font-weight: 700; }
