:root {
  color-scheme: light;
  --ink: #242426;
  --body-ink: #4c4b4e;
  --muted: #737276;
  --paper: #f7f7f4;
  --cream: #f3efe4;
  --white: #fffefa;
  --blue: #b8cbe0;
  --blue-pale: #e6edf3;
  --blue-grey: #cbd5de;
  --orange: #d99a3e;
  --orange-pale: #f6ead6;
  --peach: #e9b8a3;
  --sage: #89957b;
  --line: #deddd7;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(36, 36, 38, .08);
  --font-body: 'Avenir Next', Avenir, 'Segoe UI', sans-serif;
  --font-display: 'Avenir Next', Avenir, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { color: inherit; font: inherit; }
.page-shell { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.visually-hidden, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; z-index: 20; top: 12px; left: 12px; padding: 12px 16px; border-radius: 8px; color: white; background: var(--ink); }

.site-header { position: relative; z-index: 2; background: rgba(247, 247, 244, .92); border-bottom: 1px solid rgba(36, 36, 38, .07); }
.header-inner { position: relative; min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: 0 0 auto; }
.brand img { width: 54px; height: 54px; object-fit: cover; border-radius: 50%; border: 2px solid var(--ink); }
.brand-copy { display: grid; line-height: 1.25; gap: 3px; }
.brand-copy strong, .footer-brand { font-family: var(--font-display); font-size: 16px; font-weight: 800; letter-spacing: -.04em; }
.brand-copy span { color: var(--muted); font-size: 11px; letter-spacing: .025em; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); }
.menu-toggle { display: none; min-height: 42px; align-items: center; justify-content: center; gap: 10px; padding: 0 14px; border: 1px solid var(--ink); border-radius: 999px; color: var(--ink); background: var(--white); cursor: pointer; font-size: 12px; font-weight: 700; }
.nav-link { position: relative; color: var(--body-ink); text-decoration: none; font-size: 13px; font-weight: 600; }
.nav-link:hover, .nav-link.is-current { color: var(--ink); }
.nav-link.is-current::after { position: absolute; right: 0; bottom: -9px; left: 0; height: 2px; background: var(--orange); content: ''; }
.nav-cta { display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border: 1px solid var(--ink); border-radius: 999px; text-decoration: none; font-size: 12px; font-weight: 700; transition: color .2s ease, background .2s ease; }
.nav-cta:hover { color: white; background: var(--ink); }
.header-social { display: flex; align-items: center; gap: 15px; }
.header-social-link { display: inline-flex; align-items: center; gap: 4px; color: var(--body-ink); text-decoration: none; font-size: 11px; font-weight: 700; }
.header-social-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.header-social-link span { color: var(--orange); }
.header-social-facebook:hover { color: #1877f2; }
.header-social-youtube:hover { color: #d90000; }

h1, h2, h3, p, figure { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.055em; }
.eyebrow { margin: 0 0 13px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .18em; line-height: 1.4; text-transform: uppercase; }
.eyebrow-dot { display: inline-block; width: 7px; height: 7px; margin: 0 8px 1px 0; border-radius: 50%; background: var(--orange); }

.hero { min-height: 510px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 5%; padding-top: 40px; padding-bottom: 58px; }
.hero-copy { padding: 16px 0 0; }
.hero h1 { margin-bottom: 19px; font-size: clamp(50px, 6vw, 78px); font-weight: 800; line-height: .99; }
.hero h1 span { color: #7d8991; }
.hero-intro { max-width: 410px; margin-bottom: 24px; color: var(--body-ink); font-size: 16px; line-height: 1.75; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 17px; padding: 0 19px; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-size: 12px; font-weight: 700; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-dark { color: white; background: var(--ink); }
.button-dark:hover { background: #4c4b4e; }
.button-outline { border-color: var(--ink); background: transparent; }
.button-outline:hover { color: white; background: var(--ink); }
.prototype-note { margin: 23px 0 0; color: var(--muted); font-size: 11px; }
.prototype-note span { margin-right: 5px; color: var(--orange); }
.hero-art { position: relative; width: min(100%, 460px); justify-self: end; padding: 18px 14px 20px 0; }
.character-backing { position: absolute; top: 35px; right: 0; bottom: 10px; left: 38px; border-radius: 22px; background: var(--blue-pale); transform: rotate(2deg); }
.character-card { position: relative; z-index: 1; display: flex; min-height: 380px; flex-direction: column; align-items: center; justify-content: center; gap: 14px; margin: 0; padding: 25px; border: 1px solid rgba(36,36,38,.07); border-radius: 24px; background: var(--white); box-shadow: var(--shadow); }
.character-card img { width: min(62%, 255px); height: auto; border: 0; border-radius: 0; object-fit: contain; box-shadow: none; }
.character-card figcaption { display: grid; gap: 2px; text-align: center; }
.character-card figcaption strong { font-family: var(--font-display); font-size: 15px; letter-spacing: -.03em; }
.character-card figcaption span { color: var(--muted); font-size: 11px; }
.character-label { position: absolute; top: 24px; right: 18px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--body-ink); background: var(--white); font-size: 9px; font-weight: 700; }
.character-spark { position: absolute; z-index: 2; top: 17%; left: 4%; color: var(--orange); font-size: 24px; }

.daily-section { padding-top: 40px; padding-bottom: 84px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 23px; }
.section-heading .eyebrow { margin-bottom: 5px; }
.section-heading h2 { margin: 0; font-size: clamp(30px, 4vw, 42px); font-weight: 750; line-height: 1.15; }
.date-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--body-ink); background: rgba(255,255,255,.55); font-size: 11px; font-weight: 600; }
.date-spark { color: var(--orange); }
.daily-card { position: relative; display: grid; grid-template-columns: 208px 1fr; align-items: center; gap: 30px; overflow: hidden; min-height: 264px; padding: 28px 42px 28px 28px; border: 1px solid #e8e3d8; border-radius: var(--radius); background: var(--cream); }
.daily-art { display: grid; aspect-ratio: 1; place-items: center; overflow: hidden; border-radius: 14px; background: var(--blue-pale); }
.daily-art img { width: 100%; height: 100%; object-fit: contain; }
.daily-copy { position: relative; z-index: 1; max-width: 650px; }
.card-kicker { display: flex; align-items: center; gap: 13px; margin-bottom: 12px; }
.pill { display: inline-flex; align-items: center; min-height: 24px; padding: 0 9px; border-radius: 999px; font-size: 9px; font-weight: 700; letter-spacing: .025em; }
.pill-orange { color: #75470f; background: #f2d6aa; }
.daily-title-link { text-decoration: none; }
.daily-title-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.reading-time { color: var(--muted); font-size: 10px; }
.daily-copy h3 { max-width: 660px; margin: 0 0 10px; font-size: clamp(24px, 3vw, 34px); font-weight: 750; line-height: 1.2; }
.daily-setup { margin: 0 0 12px; color: var(--body-ink); font-size: 15px; }
.punchline { margin: 0 0 12px; color: var(--body-ink); font-size: 15px; }
.reveal-button { display: inline-flex; align-items: center; gap: 10px; padding: 4px 0; border: 0; border-bottom: 1px solid var(--ink); background: transparent; cursor: pointer; font-size: 11px; font-weight: 700; }
.daily-detail-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; color: var(--body-ink); text-decoration: none; font-size: 10px; font-weight: 700; }
.daily-detail-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.daily-number { position: absolute; right: 22px; bottom: 12px; color: rgba(36,36,38,.08); font-family: var(--font-display); font-size: 68px; font-weight: 800; line-height: 1; }
.placeholder-disclaimer { margin: 10px 0 0; color: var(--muted); font-size: 10px; }
.social-promo { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 18px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.62); }
.social-promo-copy .eyebrow { margin-bottom: 3px; font-size: 9px; }
.social-promo-copy h3 { margin: 0 0 2px; font-size: 18px; font-weight: 750; line-height: 1.25; }
.social-promo-copy > p:last-child { margin: 0; color: var(--muted); font-size: 11px; }
.social-promo-actions { display: flex; flex: 0 0 auto; gap: 9px; }
.social-promo-button { flex: 1 1 auto; }
.coffee-promo { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 0; padding: 18px 22px; border-radius: 16px; color: white; background: #34302c; }
.coffee-promo .eyebrow { margin-bottom: 4px; color: #f0b75b; font-size: 9px; }
.coffee-promo h3 { margin: 0 0 3px; font-size: 18px; font-weight: 750; }
.coffee-promo p:last-child { margin: 0; color: #d4d0cb; font-size: 11px; }
.coffee-promo-actions { display: flex; flex: 0 0 auto; flex-direction: column; align-items: center; gap: 7px; }
.coffee-promo-actions .button { white-space: nowrap; }
.coffee-promo-fixed { color: #f5eee4; text-decoration: underline; text-underline-offset: 3px; font-size: 10px; }

.latest-section { padding: 72px 0 76px; background: #edeff0; }
.latest-heading { margin-bottom: 26px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; padding-bottom: 3px; border-bottom: 1px solid #a7adb0; color: var(--body-ink); text-decoration: none; font-size: 11px; font-weight: 700; }
.text-link:hover { border-color: var(--ink); color: var(--ink); }
.latest-grid, .archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.joke-card { position: relative; display: flex; min-width: 0; flex-direction: column; align-items: stretch; border: 1px solid rgba(36,36,38,.08); border-radius: 14px; background: var(--white); transition: transform .22s ease, box-shadow .22s ease; }
.joke-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(36,36,38,.07); }
.latest-card { min-height: 248px; padding: 22px 23px 18px; }
.card-index { position: absolute; top: 16px; right: 18px; color: #a2a0a0; font-family: var(--font-display); font-size: 11px; font-weight: 700; }
.card-category { margin-bottom: 13px; color: #788672; font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.joke-card h3, .joke-card h2 { max-width: 90%; margin: 0 0 9px; font-size: 20px; font-weight: 750; line-height: 1.28; }
.joke-card h2 a, .joke-card h3 a { color: inherit; text-decoration: none; }
.joke-card h2 a:hover, .joke-card h3 a:hover { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 4px; }
.joke-card > p:not(.card-category) { max-width: 96%; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.joke-card .card-joke-text { max-width: 96%; margin: 0; padding-right: 5px; color: var(--body-ink); font-size: 12px; line-height: 1.65; }
.card-joke-text strong { display: block; margin-top: 6px; color: var(--ink); font-weight: 700; }
.platform-tags { position: static; display: flex; flex-wrap: wrap; gap: 5px; margin: auto 0 0; padding: 14px 0 0; list-style: none; font-size: 10px; font-weight: 700; }
.platform-tags a { display: inline-flex; min-height: 34px; align-items: center; gap: 3px; padding: 0 7px; border: 1px solid #d9e5ed; border-radius: 999px; color: #235c81; background: #f3f8fb; text-decoration: none; }
.platform-tags a:hover { border-color: currentColor; text-decoration: underline; text-underline-offset: 2px; }
.platform-tags .platform-tag-youtube { border-color: #efd6d6; color: #a51e1e; background: #fff7f6; }
.platform-tags .platform-tag-tiktok { border-color: #ddd9e8; color: #453c61; background: #f8f6fc; }
.card-arrow { position: absolute; right: 18px; bottom: 15px; color: var(--ink); text-decoration: none; font-size: 17px; }
.latest-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 26px; }
.hand-note { width: fit-content; color: var(--body-ink); border-bottom: 1px solid #a7adb0; font-family: var(--font-display); font-size: 12px; font-weight: 700; text-decoration: none; transform: rotate(-2deg); }
.hand-note:hover { color: var(--ink); border-color: var(--ink); }
.closing { display: flex; align-items: center; justify-content: center; gap: 18px; padding-top: 46px; padding-bottom: 48px; text-align: center; }
.closing-rule { flex: 1; height: 1px; background: var(--line); }
.closing img { width: 52px; height: 52px; border: 1px solid var(--ink); border-radius: 50%; object-fit: cover; }
.closing p { margin: 0; color: var(--body-ink); font-family: var(--font-display); font-size: 14px; font-weight: 600; }
.closing p em { color: #7d8991; font-style: normal; }
.closing-spark { color: var(--orange); }

.archive-intro { padding-top: 73px; padding-bottom: 50px; }
.archive-intro h1 { max-width: 830px; margin: 0 0 15px; font-size: clamp(42px, 6vw, 68px); font-weight: 800; line-height: 1.04; }
.archive-intro h1 span { color: #7d8991; }
.archive-intro > p:not(.eyebrow) { max-width: 620px; margin-bottom: 24px; color: var(--body-ink); font-size: 15px; line-height: 1.75; }
.archive-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--muted); font-size: 11px; }
.archive-meta strong { color: var(--ink); }
.meta-separator { color: var(--orange); }
.placeholder-flag { margin-left: 7px; padding: 5px 9px; border-radius: 999px; color: #75470f; background: var(--orange-pale); font-size: 9px; font-weight: 700; }
.archive-section { padding-bottom: 83px; }
.archive-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 15px; padding-bottom: 11px; border-bottom: 1px solid var(--line); scroll-margin-top: 16px; }
.archive-toolbar .eyebrow, .page-status { margin: 0; }
.page-status { color: var(--muted); font-size: 11px; }
.archive-grid { gap: 15px; }
.archive-card { min-height: 235px; padding: 23px 22px 18px; }
.archive-card[hidden] { display: none; }
.archive-card h2 { font-size: 19px; }
.detail-link { display: inline-flex; align-items: center; align-self: flex-end; gap: 6px; margin-top: 4px; color: var(--ink); text-decoration: none; font-size: 10px; font-weight: 700; }
.detail-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 15px; padding-top: 31px; }
.page-numbers { display: flex; gap: 7px; }
.page-button { display: grid; width: 39px; height: 39px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: var(--white); cursor: pointer; font-size: 12px; font-weight: 700; text-decoration: none; }
.page-button:hover:not(:disabled), .page-button.is-active { border-color: var(--ink); color: white; background: var(--ink); }
.page-button:disabled { color: #a8a7a3; cursor: not-allowed; }
.page-count { margin-left: 8px; color: var(--muted); font-size: 10px; }
.archive-note { margin: 17px 0 0; color: var(--muted); font-size: 10px; text-align: center; }

.detail-main { min-height: calc(100vh - 166px); padding-top: 34px; padding-bottom: 78px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-bottom: 39px; color: var(--muted); font-size: 10px; }
.breadcrumbs a { color: var(--body-ink); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.detail-main > .eyebrow { margin-bottom: 14px; }
.detail-card { max-width: 820px; margin-inline: auto; padding: clamp(26px, 5vw, 58px); border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: var(--shadow); }
.detail-topline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 25px; }
.detail-index { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.detail-category { margin-bottom: 17px; }
.detail-label { margin: 0 0 8px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.detail-title { max-width: 700px; margin: 0 0 29px; font-size: clamp(34px, 5.4vw, 58px); font-weight: 800; line-height: 1.08; }
.detail-setup { margin: 0 0 26px; color: var(--body-ink); font-family: var(--font-display); font-size: clamp(18px, 2.5vw, 23px); line-height: 1.5; }
.punchline-panel { padding: clamp(20px, 3.5vw, 30px); border: 1px solid #e8e3d8; border-radius: 14px; background: var(--cream); }
.detail-punchline { margin: 0; color: var(--body-ink); font-family: var(--font-display); font-size: clamp(19px, 2.8vw, 26px); font-weight: 600; line-height: 1.5; }
.detail-placeholder-note { margin: 14px 0 0; color: #75470f; font-size: 11px; }
.detail-disclaimer { margin: 17px 0 0; color: var(--muted); font-size: 10px; }
.share-panel { margin-top: 29px; padding-top: 23px; border-top: 1px solid var(--line); }
.share-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.share-heading .detail-label { margin-bottom: 4px; }
.share-heading h2 { margin: 0; font-size: 22px; font-weight: 750; line-height: 1.2; }
.share-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.share-button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 15px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--white); text-decoration: none; cursor: pointer; font-size: 11px; font-weight: 700; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.share-button:hover { transform: translateY(-1px); border-color: var(--ink); background: #f8f6ef; }
.share-native { flex: 0 0 auto; border-color: var(--ink); background: var(--cream); }
.share-button[hidden], .related-link[hidden], .related-posts[hidden] { display: none; }
.share-link-row { display: flex; gap: 8px; margin-top: 12px; }
.share-url { min-width: 0; flex: 1; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; color: var(--body-ink); background: #f8f8f5; font: 11px var(--font-body); }
.share-copy { min-width: 105px; border-color: var(--ink); background: var(--ink); color: white; }
.share-copy:hover { background: #4c4b4e; color: white; }
.share-status { min-height: 18px; margin: 7px 0 0; color: var(--muted); font-size: 10px; }
.related-posts { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 15px; margin-top: 12px; padding-top: 13px; border-top: 1px solid var(--line); }
.related-posts .detail-label { flex: 0 0 100%; margin: 0; }
.related-link { color: var(--body-ink); text-decoration: underline; text-decoration-color: #aaa79f; text-underline-offset: 3px; font-size: 11px; font-weight: 700; }
.related-link:hover { color: var(--ink); text-decoration-color: var(--orange); }
.related-link span { color: var(--orange); }
.detail-navigation { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; max-width: 820px; margin: 20px auto 0; }
.detail-step { display: inline-flex; align-items: center; gap: 10px; width: fit-content; color: var(--ink); text-decoration: none; }
.detail-step[hidden] { display: none; }
.detail-step > span:first-child:not(:last-child), .detail-step-next > span:last-child { font-size: 18px; }
.detail-step small, .detail-step strong { display: block; }
.detail-step small { color: var(--muted); font-size: 9px; }
.detail-step strong { font-size: 11px; }
.detail-step-next { justify-self: end; text-align: right; }
.detail-archive-link { justify-self: center; }

.site-footer { color: #ece9df; background: var(--ink); }
.footer-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.footer-brand { color: white; text-decoration: none; }
.footer-brand span { margin-left: 7px; color: #a8a7a3; font-family: var(--font-body); font-size: 9px; font-weight: 500; letter-spacing: 0; }
.footer-inner p { margin: 0; color: #c0bdba; font-size: 10px; }
.footer-social { display: flex; align-items: center; gap: 14px; }
.footer-social-label { color: #a8a7a3; font-size: 9px; }
.footer-social a { color: #ece9df; text-decoration: none; font-size: 10px; font-weight: 600; }
.footer-social a:hover { color: var(--ink); text-decoration: none; }
.footer-social a span { color: var(--orange); }
.footer-social .profile-button { color: var(--body-ink); font-size: 11px; }
.footer-site-links { display: flex; align-items: center; gap: 12px; }
.footer-site-links a { color: #ece9df; text-decoration: none; font-size: 10px; font-weight: 600; }
.footer-site-links a:hover { color: white; text-decoration: underline; text-underline-offset: 3px; }
.footer-site-links a span { color: var(--orange); }
.footer-top { color: white; text-decoration: none; font-size: 10px; font-weight: 600; }
.footer-prototype { padding: 9px 20px; border-top: 1px solid rgba(255,255,255,.12); color: #a8a7a3; font-size: 9px; text-align: center; }

.profile-button { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--body-ink); background: var(--white); text-decoration: none; white-space: nowrap; font-size: 11px; font-weight: 700; transition: border-color .18s ease, color .18s ease, background .18s ease, transform .18s ease; }
.profile-button:hover { transform: translateY(-1px); border-color: var(--ink); color: var(--ink); background: white; text-decoration: none; }
.profile-button span { color: var(--orange); }
.coffee-sticky { position: fixed; z-index: 5; right: 20px; bottom: 20px; display: flex; align-items: center; gap: 14px; max-width: calc(100vw - 40px); padding: 12px 14px 12px 17px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #f5eee4; background: #34302c; box-shadow: 0 8px 28px rgba(36,36,38,.22); font-size: 12px; }
.coffee-sticky[hidden] { display: none; }
.coffee-sticky a { color: white; font-weight: 700; text-decoration: underline; text-decoration-color: #f0b75b; text-underline-offset: 3px; white-space: nowrap; }
.coffee-sticky button { width: 30px; height: 30px; flex: 0 0 auto; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; color: white; background: transparent; cursor: pointer; font-size: 19px; line-height: 1; }

:focus-visible { outline: 3px solid #a85b00; outline-offset: 4px; }
@media (min-width: 1250px) { .hero { min-height: 560px; } }
@media (max-width: 900px) {
  .page-shell { width: min(100% - 48px, 760px); }
  .header-inner { min-height: 0; flex-wrap: nowrap; row-gap: 0; padding-top: 13px; padding-bottom: 11px; }
  .brand { margin-right: auto; }
  .header-social { display: none; }
  .site-header.has-nav-toggle .menu-toggle { display: inline-flex; }
  .site-header.has-nav-toggle .main-nav { position: absolute; z-index: 4; top: calc(100% - 1px); right: 0; left: 0; display: none; align-items: stretch; flex-direction: column; gap: 0; width: auto; padding: 9px 14px 14px; border: 1px solid var(--line); border-radius: 0 0 16px 16px; background: var(--white); box-shadow: 0 16px 30px rgba(36,36,38,.12); }
  .site-header.has-nav-toggle.is-open .main-nav { display: flex; }
  .main-nav .nav-link { min-height: 46px; display: flex; align-items: center; padding: 0 6px; }
  .main-nav .nav-link.is-current::after { display: none; }
  .main-nav .nav-cta { justify-content: space-between; margin-top: 7px; }
  .coffee-sticky { display: none; }
  .hero { min-height: 0; grid-template-columns: 1fr .9fr; gap: 3%; padding-top: 62px; padding-bottom: 43px; }
  .hero h1 { font-size: clamp(48px, 7vw, 66px); }
  .hero-intro { font-size: 14px; }
  .hero-art { padding-right: 14px; }
  .character-card { min-height: 360px; }
  .character-card img { width: min(62%, 245px); }
  .daily-section { padding-top: 35px; padding-bottom: 64px; }
  .daily-card { grid-template-columns: 160px 1fr; gap: 23px; padding: 23px; }
  .social-promo { padding: 17px 19px; }
  .coffee-promo { padding: 17px 19px; }
  .latest-grid, .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .latest-card { min-height: 235px; }
  .archive-card { min-height: 225px; }
  .detail-card { padding: 30px; }
  .share-heading h2 { font-size: 20px; }
}
@media (max-width: 620px) {
  body { font-size: 15px; }
  .page-shell { width: calc(100% - 36px); }
  .header-inner { gap: 8px 12px; }
  .brand { gap: 8px; }
  .brand img { width: 43px; height: 43px; }
  .brand-copy strong { font-size: 14px; }
  .brand-copy span { font-size: 9px; }
  .menu-toggle { min-height: 42px; font-size: 11px; }
  .main-nav .nav-link { font-size: 12px; }
  .main-nav .nav-cta { min-height: 42px; padding-inline: 12px; font-size: 11px; }
  .hero { grid-template-columns: 1fr; gap: 27px; padding-top: 48px; padding-bottom: 30px; }
  .hero-copy { padding: 0; }
  .hero h1 { margin-bottom: 15px; font-size: clamp(47px, 13vw, 64px); }
  .hero-intro { max-width: 440px; margin-bottom: 19px; font-size: 14px; }
  .prototype-note { margin-top: 15px; font-size: 10px; }
  .hero-art { width: min(88%, 390px); justify-self: center; padding: 4px 9px 12px 0; }
  .character-backing { top: 25px; bottom: 8px; left: 22px; border-radius: 18px; }
  .character-card { min-height: 0; gap: 11px; padding: 22px 12px 16px; border-radius: 18px; }
  .character-card img { width: min(65%, 225px); }
  .character-card figcaption strong { font-size: 13px; }
  .character-card figcaption span { font-size: 10px; }
  .character-label { top: 13px; right: 10px; padding: 5px 7px; font-size: 8px; }
  .character-spark { top: 15%; left: 1%; font-size: 19px; }
  .daily-section { padding-top: 28px; padding-bottom: 51px; }
  .section-heading { align-items: start; margin-bottom: 17px; }
  .section-heading h2 { font-size: 30px; }
  .date-chip { max-width: 130px; padding: 7px 9px; font-size: 9px; line-height: 1.25; }
  .daily-card { grid-template-columns: 1fr; gap: 17px; padding: 14px 15px 21px; }
  .daily-art { width: min(100%, 185px); aspect-ratio: 1; justify-self: center; }
  .daily-art img { object-position: 50% 40%; }
  .social-promo { align-items: stretch; flex-direction: column; gap: 14px; margin-top: 14px; padding: 17px; }
  .social-promo-copy h3 { font-size: 17px; }
  .social-promo-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .social-promo-button { min-height: 40px; padding-inline: 8px; }
  .coffee-promo { align-items: stretch; flex-direction: column; gap: 13px; margin-top: 12px; padding: 17px; }
  .coffee-promo-actions { align-items: stretch; }
  .coffee-promo-actions .button { width: 100%; }
  .coffee-promo-fixed { align-self: center; }
  .card-kicker { flex-wrap: wrap; gap: 6px 10px; margin-bottom: 9px; }
  .daily-copy h3 { font-size: 25px; }
  .daily-setup { font-size: 14px; }
  .punchline { font-size: 14px; }
  .daily-number { right: 12px; bottom: 6px; font-size: 45px; }
  .latest-section { padding: 49px 0 54px; }
  .latest-heading { align-items: end; gap: 8px; }
  .latest-heading .text-link { max-width: 130px; gap: 4px; font-size: 9px; }
  .latest-heading h2 { font-size: 28px; }
  .latest-grid, .archive-grid { grid-template-columns: 1fr; gap: 10px; }
  .latest-card { min-height: 0; padding: 18px 20px 50px; }
  .card-category { margin-bottom: 8px; }
  .joke-card h3, .joke-card h2 { font-size: 19px; }
  .latest-card > p:not(.card-category) { padding-right: 12px; }
  .latest-foot { align-items: start; flex-direction: column; padding-top: 20px; }
  .closing { gap: 10px; padding-top: 32px; padding-bottom: 34px; }
  .closing img { width: 43px; height: 43px; }
  .closing p { max-width: 245px; font-size: 11px; }
  .closing-spark { font-size: 12px; }
  .archive-intro { padding-top: 52px; padding-bottom: 33px; }
  .archive-intro h1 { font-size: clamp(39px, 11vw, 57px); }
  .archive-intro > p:not(.eyebrow) { font-size: 13px; }
  .archive-meta { gap: 7px; font-size: 10px; }
  .placeholder-flag { margin-left: 0; }
  .archive-toolbar { align-items: start; flex-direction: column; gap: 4px; }
  .archive-card { min-height: 0; padding: 19px 20px 17px; }
  .archive-card h2 { font-size: 19px; }
  .archive-card > p:not(.card-category) { max-width: 88%; }
  .platform-tags { padding-top: 12px; }
  .detail-main { min-height: 0; padding-top: 25px; padding-bottom: 52px; }
  .breadcrumbs { gap: 7px; margin-bottom: 30px; font-size: 9px; }
  .detail-card { padding: 23px 19px; border-radius: 16px; }
  .detail-topline { margin-bottom: 20px; }
  .detail-title { margin-bottom: 22px; }
  .share-panel { margin-top: 23px; padding-top: 19px; }
  .share-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .share-actions .share-button { min-width: 0; padding-inline: 8px; font-size: 10px; }
  .share-link-row { align-items: stretch; flex-direction: column; }
  .share-url { width: 100%; height: 44px; padding-inline: 11px; font-size: 12px; }
  .share-copy { width: 100%; min-height: 44px; padding-inline: 12px; font-size: 11px; }
  .share-native { min-height: 39px; padding-inline: 12px; font-size: 10px; }
  .related-posts { align-items: flex-start; flex-direction: column; gap: 9px; }
  .detail-navigation { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 9px; }
  .detail-step { gap: 6px; }
  .detail-step-next { margin-left: auto; }
  .detail-archive-link { order: 3; flex: 1 0 100%; }
  .pagination { gap: 10px; padding-top: 24px; }
  .page-button { width: 37px; height: 37px; }
  .page-count { margin-left: 3px; font-size: 9px; }
  .footer-inner { min-height: 0; flex-wrap: wrap; justify-content: space-between; gap: 9px 16px; padding-top: 18px; padding-bottom: 18px; }
  .footer-inner p { order: 4; width: 100%; }
  .footer-social { order: 2; flex-wrap: wrap; gap: 7px; }
  .footer-social-label { display: none; }
  .footer-social .profile-button { min-height: 40px; padding-inline: 9px; }
  .footer-top { font-size: 9px; }
  .footer-site-links { order: 3; width: 100%; gap: 14px; }
  .footer-site-links a { font-size: 10px; }
  .footer-top { order: 4; margin-left: auto; }
}
@media (max-width: 370px) {
  .page-shell { width: calc(100% - 28px); }
  .header-inner { gap: 8px; }
  .menu-toggle { padding-inline: 11px; }
  .social-promo { padding: 14px; }
  .social-promo-button { gap: 5px; font-size: 10px; }
  .brand-copy span { display: none; }
  .date-chip { max-width: 108px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
