:root {
    --ink: #111111;
    --ink-2: #2d2d2d;
    --paper: #f7f2e8;
    --paper-2: #fffaf0;
    --line: #d9d0c1;
    --muted: #6d665d;
    --red: #c73825;
    --blue: #0f6f8f;
    --green: #456f50;
    --gold: #ad7a20;
    --white: #ffffff;
    --shadow: 0 22px 70px rgba(17, 17, 17, 0.18);
    --radius: 8px;
    --wrap: min(1180px, calc(100% - 40px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid rgba(15, 111, 143, 0.48);
    outline-offset: 3px;
}

p {
    margin: 0;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 800;
    line-height: 0.96;
    letter-spacing: 0;
}

h1 {
    font-size: clamp(3.2rem, 8vw, 8.8rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 4rem);
}

h3 {
    font-size: 1.55rem;
}

button,
input {
    font: inherit;
}

.wrap {
    width: var(--wrap);
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -50px;
    z-index: 30;
    background: var(--ink);
    color: var(--white);
    padding: 10px 14px;
    border-radius: var(--radius);
}

.skip-link:focus {
    top: 12px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.eyebrow {
    color: var(--red);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.site-header {
    position: relative;
    z-index: 20;
    background: var(--paper-2);
    border-bottom: 1px solid var(--line);
}

.issue-bar {
    background: var(--ink);
    color: var(--paper-2);
    font-size: 0.82rem;
}

.issue-bar__inner {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.issue-bar a {
    color: #f4b55c;
    font-weight: 800;
}

.masthead {
    min-height: 86px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 950;
}

.brand__mark {
    width: 46px;
    height: 46px;
    display: inline-grid;
    place-items: center;
    border: 2px solid var(--ink);
    background: var(--red);
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 950;
    border-radius: 50%;
}

.brand__name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.55rem;
    font-weight: 900;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.site-nav a {
    padding: 9px 10px;
    border-radius: var(--radius);
    color: var(--ink-2);
    font-size: 0.9rem;
    font-weight: 850;
}

.site-nav a:hover,
.site-nav a.is-active {
    background: var(--ink);
    color: var(--paper-2);
}

.site-nav a.site-nav__daily {
    color: var(--red);
}

.site-nav a.site-nav__daily:hover,
.site-nav a.site-nav__daily.is-active {
    background: var(--red);
    color: var(--white);
}

.search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    min-width: 230px;
    max-width: 100%;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
}

.search-form input {
    width: 100%;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 10px 12px;
    color: var(--ink);
}

.search-form button {
    border: 0;
    min-height: 42px;
    padding: 0 12px;
    background: var(--ink);
    color: var(--white);
    font-weight: 900;
    cursor: pointer;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: var(--radius);
    cursor: pointer;
}

.menu-toggle span:not(.visually-hidden) {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--ink);
}

.header-ad {
    padding-bottom: 14px;
}

.ad-slot {
    border: 1px dashed rgba(17, 17, 17, 0.38);
    background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.58) 10px, rgba(238, 230, 216, 0.72) 10px, rgba(238, 230, 216, 0.72) 20px);
    color: var(--muted);
    min-height: 160px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 4px;
    padding: 18px;
    text-align: center;
    border-radius: var(--radius);
}

.ad-slot span {
    font-size: 0.68rem;
    font-weight: 950;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ad-slot strong {
    color: var(--ink);
}

.ad-slot small {
    color: var(--muted);
}

.ad-slot--leaderboard {
    min-height: 92px;
}

.ad-slot--billboard {
    min-height: 180px;
}

.ad-slot--tower {
    min-height: 440px;
}

.ad-slot--inline {
    min-height: 132px;
    margin: 34px 0;
}

.sponsor-band {
    padding: 20px 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.sponsor-unit {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px 18px;
    min-height: 0;
    padding: 14px 18px;
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.sponsor-unit--inline {
    margin: 34px 0;
}

.sponsor-band .sponsor-unit--inline {
    margin: 0;
}

.sponsor-unit__label {
    grid-column: 1 / -1;
    color: var(--muted);
    font-size: 0.66rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.sponsor-unit__logo {
    width: 96px;
    height: 32px;
    object-fit: contain;
}

.sponsor-unit__name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
}

.sponsor-unit p {
    color: var(--ink-2);
}

.hero {
    position: relative;
    min-height: min(680px, calc(100svh - 190px));
    overflow: hidden;
    color: var(--white);
    background: var(--ink);
}

.hero__image {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.42) 58%, rgba(0, 0, 0, 0.16)), url("../images/night-market-memory.jpg");
    background-size: cover;
    background-position: center;
    transform: scale(1.01);
}

.hero__content {
    position: relative;
    min-height: min(680px, calc(100svh - 190px));
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 22px;
    padding: 64px 0 72px;
}

.hero .eyebrow {
    color: #f4b55c;
}

.hero--daily h1 {
    max-width: 1080px;
    font-size: clamp(3.2rem, 7.4vw, 7.4rem);
}

.hero__lede {
    width: 100%;
    max-width: 760px;
    font-size: clamp(1.1rem, 2vw, 1.42rem);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    overflow-wrap: break-word;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 16px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-weight: 950;
    cursor: pointer;
    transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button--primary {
    background: var(--red);
    color: var(--white);
}

.button--ghost {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.button--light {
    background: var(--paper-2);
    color: var(--ink);
}

.button--dark {
    background: var(--ink);
    color: var(--white);
}

.button--sponsor {
    background: var(--ink);
    color: var(--white);
    white-space: nowrap;
}

.text-link {
    color: var(--red);
    font-weight: 950;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.daily-strip {
    background: var(--red);
    color: var(--white);
}

.daily-strip__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.daily-strip article {
    padding: 18px 22px;
    border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.daily-strip article:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.28);
}

.daily-strip span {
    display: block;
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.75;
}

.daily-strip strong {
    display: block;
    margin-top: 4px;
    font-size: 1rem;
}

.feature-band {
    background: var(--paper-2);
    padding: 48px 0;
    border-bottom: 1px solid var(--line);
}

.feature-band__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.7fr;
    gap: 28px;
    align-items: stretch;
}

.feature-band__media img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.feature-band__story {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}

.feature-band__story h2 a:hover,
.article-card h3 a:hover,
.front-brief a:hover {
    color: var(--red);
}

.feature-band__story p:not(.eyebrow) {
    color: var(--ink-2);
    font-size: 1.1rem;
}

.story-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 800;
}

.front-brief {
    border-left: 4px solid var(--ink);
    padding-left: 22px;
}

.front-brief h2 {
    font-size: 2rem;
    margin-bottom: 18px;
}

.front-brief ol {
    display: grid;
    gap: 18px;
    margin: 0;
    padding-left: 20px;
}

.front-brief li {
    padding-left: 4px;
    font-weight: 850;
}

.ad-band {
    padding: 32px 0;
    background: var(--paper);
}

.section-block {
    padding: 62px 0;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 30px;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.article-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-card {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    min-width: 0;
}

.article-card__image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--ink);
}

.article-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 280ms ease;
}

.article-card:hover .article-card__image img {
    transform: scale(1.035);
}

.article-card__body {
    display: grid;
    gap: 12px;
    padding: 20px;
}

.article-card__body p {
    color: var(--ink-2);
}

.article-card--compact h3 {
    font-size: 1.35rem;
}

.section-block--ink {
    background: var(--ink);
    color: var(--paper-2);
}

.section-block--ink .eyebrow {
    color: #f4b55c;
}

.desk-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 280px;
    gap: 28px;
    align-items: start;
}

.desk-grid--editorial {
    grid-template-columns: 1.1fr 0.9fr;
}

.desk-note {
    display: grid;
    gap: 20px;
}

.desk-note p:not(.eyebrow) {
    max-width: 700px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.13rem;
}

.desk-list {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    padding: 22px;
}

.desk-list h2 {
    font-size: 2rem;
}

.desk-list ul {
    display: grid;
    gap: 18px;
    padding: 0;
    margin: 22px 0 0;
    list-style: none;
}

.desk-list li {
    display: grid;
    gap: 4px;
}

.desk-list span {
    color: rgba(255, 255, 255, 0.72);
}

.newsletter-band {
    padding: 54px 0;
    background: var(--green);
    color: var(--white);
}

.newsletter-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    align-items: center;
}

.return-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    align-items: center;
}

.return-grid .eyebrow {
    color: #f6d38f;
}

.return-grid h2 {
    margin: 8px 0 14px;
    max-width: 760px;
}

.return-grid p {
    color: rgba(255, 255, 255, 0.84);
}

.return-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.newsletter-grid .eyebrow {
    color: #f6d38f;
}

.newsletter-grid h2 {
    margin: 8px 0 14px;
    max-width: 760px;
}

.newsletter-grid p {
    color: rgba(255, 255, 255, 0.84);
}

.newsletter-form {
    display: grid;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.26);
    padding: 22px;
    border-radius: var(--radius);
}

.newsletter-form label {
    font-weight: 900;
}

.newsletter-form__row {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    min-width: 0;
    border: 0;
    border-radius: var(--radius);
    padding: 12px;
}

.form-note {
    font-size: 0.88rem;
}

.site-footer {
    background: #171717;
    color: var(--paper-2);
    padding: 50px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 34px;
}

.brand--footer .brand__mark {
    border-color: var(--paper-2);
}

.site-footer p {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.72);
}

.site-footer h2 {
    font-size: 1.45rem;
    margin-bottom: 12px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-links a {
    padding: 7px 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    color: rgba(255, 255, 255, 0.84);
    font-weight: 800;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 34px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
}

.reading-progress {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 100;
    height: 4px;
    pointer-events: none;
}

.reading-progress__bar {
    display: block;
    width: 0;
    height: 100%;
    background: var(--red);
}

.article-hero {
    padding: 54px 0 44px;
    background: var(--paper-2);
    border-bottom: 1px solid var(--line);
}

.article-hero__grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 34px;
    align-items: center;
}

.article-hero__copy {
    display: grid;
    gap: 18px;
}

.article-hero__copy h1 {
    font-size: clamp(3rem, 6vw, 6.4rem);
}

.article-hero__copy > p:not(.eyebrow) {
    color: var(--ink-2);
    font-size: 1.18rem;
}

.article-hero__image img {
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.article-hero__image figcaption {
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.82rem;
}

.article-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 760px);
    gap: 46px;
    align-items: start;
    padding: 56px 0 24px;
}

.article-sidebar {
    position: sticky;
    top: 18px;
    display: grid;
    gap: 20px;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-list a,
.filter-row a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid var(--line);
    background: var(--paper-2);
    border-radius: var(--radius);
    color: var(--ink-2);
    font-size: 0.82rem;
    font-weight: 900;
}

.article-content {
    min-width: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.1rem, 1.7vw, 1.28rem);
    line-height: 1.82;
}

.article-content p + p,
.article-content p + h2,
.article-content blockquote + p,
.article-content h2 + p {
    margin-top: 26px;
}

.article-content h2 {
    margin-top: 44px;
    font-size: clamp(2rem, 3vw, 3.2rem);
}

.article-content blockquote {
    margin: 38px 0;
    padding: 20px 0 20px 24px;
    border-left: 5px solid var(--red);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    font-weight: 950;
    line-height: 1.22;
}

.related-block {
    border-top: 1px solid var(--line);
}

.puzzle-hero {
    position: relative;
    overflow: hidden;
    padding: 68px 0 58px;
    color: var(--white);
    background:
        radial-gradient(circle at 82% 24%, rgba(244, 181, 92, 0.2), transparent 24%),
        linear-gradient(135deg, #102e38 0%, #111 58%, #291b15 100%);
}

.puzzle-hero::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -150px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    box-shadow:
        0 0 0 44px rgba(255, 255, 255, 0.025),
        0 0 0 88px rgba(255, 255, 255, 0.018);
    pointer-events: none;
}

.puzzle-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 44px;
    align-items: end;
}

.puzzle-hero__copy {
    display: grid;
    gap: 20px;
    min-width: 0;
}

.puzzle-hero .eyebrow {
    color: #f4b55c;
}

.puzzle-hero h1 {
    max-width: 950px;
    font-size: clamp(3.2rem, 7.2vw, 7.2rem);
    overflow-wrap: break-word;
}

.puzzle-hero__copy > p:not(.eyebrow) {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1.08rem, 2vw, 1.35rem);
    font-weight: 700;
}

.puzzle-utility {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.puzzle-utility span {
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.78rem;
    font-weight: 850;
}

.puzzle-streak {
    display: grid;
    gap: 7px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    backdrop-filter: blur(12px);
}

.puzzle-streak__label {
    color: #f4b55c;
    font-size: 0.7rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.puzzle-streak strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.4rem;
    line-height: 1;
}

.puzzle-streak p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
}

.puzzle-stage {
    padding: 50px 0 64px;
    background:
        linear-gradient(rgba(17, 17, 17, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 17, 17, 0.025) 1px, transparent 1px),
        var(--paper);
    background-size: 28px 28px;
    border-bottom: 1px solid var(--line);
}

.puzzle-stage__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    max-width: 860px;
    gap: 24px;
}

.puzzle-card,
.puzzle-reveal {
    padding: clamp(24px, 4vw, 42px);
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 18px 54px rgba(17, 17, 17, 0.1);
}

.puzzle-card fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.puzzle-card legend {
    width: 100%;
    padding: 0;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    font-weight: 800;
    line-height: 1.36;
}

.puzzle-card__step {
    display: block;
    margin-bottom: 10px;
    color: var(--red);
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.puzzle-choices {
    display: grid;
    gap: 10px;
    margin-top: 28px;
}

.puzzle-choice {
    position: relative;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    min-height: 58px;
    padding: 12px 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 9px;
    color: var(--ink-2);
    font-weight: 760;
    cursor: pointer;
    transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.puzzle-choice:hover {
    border-color: var(--ink);
    transform: translateY(-1px);
}

.puzzle-choice:focus-within {
    outline: 3px solid rgba(15, 111, 143, 0.32);
    outline-offset: 2px;
}

.puzzle-choice input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.puzzle-choice__key {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--ink);
    font-size: 0.8rem;
    font-weight: 950;
}

.puzzle-choice:has(input:checked) {
    border-color: var(--blue);
    background: #edf7fa;
}

.puzzle-choice:has(input:checked) .puzzle-choice__key {
    border-color: var(--blue);
    background: var(--blue);
    color: var(--white);
}

.puzzle-card.is-answered .puzzle-choice {
    cursor: default;
    opacity: 0.68;
    transform: none;
}

.puzzle-card.is-answered .puzzle-choice.is-selected {
    opacity: 1;
}

.puzzle-card.is-correct .puzzle-choice.is-selected,
.puzzle-card.is-answered .puzzle-choice.is-answer {
    border-color: var(--green);
    background: #edf5ed;
    opacity: 1;
}

.puzzle-card.is-missed .puzzle-choice.is-selected {
    border-color: var(--red);
    background: #fff0ed;
    opacity: 1;
}

.puzzle-card.is-answered .puzzle-choice.is-answer .puzzle-choice__key {
    border-color: var(--green);
    background: var(--green);
    color: var(--white);
}

.puzzle-card__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
}

.puzzle-status {
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 750;
}

.puzzle-reveal {
    display: grid;
    gap: 18px;
    border-top: 6px solid var(--green);
}

.puzzle-reveal[hidden] {
    display: none;
}

.puzzle-reveal.is-visible {
    animation: reveal-in 260ms ease-out both;
}

.puzzle-reveal h2 {
    max-width: 720px;
    font-size: clamp(2.2rem, 4.8vw, 4.6rem);
}

.puzzle-reveal > p:not(.eyebrow, .share-status) {
    color: var(--ink-2);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.16rem;
    line-height: 1.75;
}

.puzzle-reveal blockquote {
    margin: 8px 0;
    padding: 18px 0 18px 22px;
    border-left: 5px solid var(--red);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.35rem, 2.8vw, 2.2rem);
    font-weight: 800;
    line-height: 1.25;
}

.field-test {
    display: grid;
    gap: 6px;
    padding: 18px;
    background: #e9f1e8;
    border: 1px solid #bfd0bd;
    border-radius: var(--radius);
}

.field-test span {
    color: var(--green);
    font-size: 0.7rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.field-test p {
    color: #243d29;
    font-weight: 800;
}

.puzzle-reveal__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 20px;
}

.share-status {
    min-height: 1.4em;
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 750;
}

.system-note {
    padding: 60px 0;
    background: var(--ink);
    color: var(--paper-2);
}

.system-note__grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 44px;
    align-items: start;
}

.system-note .eyebrow {
    color: #f4b55c;
}

.system-note h2 {
    margin-top: 10px;
}

.system-note__grid > p {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.76);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.24rem;
    line-height: 1.75;
}

.puzzle-navigation {
    padding: 24px 0;
    background: var(--paper-2);
    border-top: 1px solid var(--line);
}

.puzzle-navigation__inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.puzzle-navigation a,
.puzzle-navigation__tomorrow {
    display: grid;
    gap: 4px;
    min-height: 82px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.puzzle-navigation a:last-child,
.puzzle-navigation__tomorrow {
    text-align: right;
}

.puzzle-navigation span {
    color: var(--red);
    font-size: 0.68rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.puzzle-navigation strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.08rem;
}

.about-signal {
    display: grid;
    gap: 12px;
    padding: 24px;
    background: var(--ink);
    color: var(--paper-2);
    border-radius: var(--radius);
}

.about-signal span {
    color: #f4b55c;
    font-size: 0.7rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.about-signal strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.7rem;
    line-height: 1.1;
}

.about-signal .text-link {
    color: #f4b55c;
}

.configuration-note {
    margin-top: 18px;
    padding: 12px 14px;
    border-left: 4px solid var(--gold);
    background: #f1e8d8;
    font-weight: 750;
}

@keyframes reveal-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.archive-hero,
.about-hero,
.not-found {
    padding: 66px 0 52px;
    background: var(--paper-2);
    border-bottom: 1px solid var(--line);
}

.archive-hero h1,
.about-hero h1,
.not-found h1 {
    max-width: 900px;
    font-size: clamp(3rem, 7vw, 7rem);
}

.archive-hero p,
.about-hero p,
.not-found p {
    max-width: 760px;
    margin-top: 18px;
    color: var(--ink-2);
    font-size: 1.12rem;
}

.archive-search {
    display: flex;
    gap: 10px;
    max-width: 720px;
    margin-top: 26px;
}

.archive-search input {
    flex: 1;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px;
}

.department-filter {
    padding: 18px 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-row a.is-active {
    background: var(--ink);
    color: var(--paper-2);
    border-color: var(--ink);
}

.empty-state {
    grid-column: 1 / -1;
    color: var(--muted);
    font-weight: 800;
}

.about-hero__grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 34px;
    align-items: center;
}

.manifesto-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.manifesto-grid article {
    padding: 24px;
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.manifesto-grid h2 {
    margin: 8px 0 14px;
    font-size: 2.4rem;
}

.manifesto-grid p:not(.eyebrow) {
    color: var(--ink-2);
}

.section-block--paper {
    background: var(--paper-2);
    border-top: 1px solid var(--line);
}

.ad-map {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 32px;
    align-items: start;
}

.ad-map h2 {
    margin: 8px 0 14px;
}

.ad-map p {
    color: var(--ink-2);
}

.ad-map__slots {
    display: grid;
    gap: 16px;
}

.not-found .button {
    margin-top: 24px;
}

@media (max-width: 980px) {
    :root {
        --wrap: min(100% - 28px, 760px);
    }

    .masthead {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 14px;
        padding: 14px 0;
    }

    .brand {
        min-width: 0;
    }

    .brand__name {
        overflow-wrap: anywhere;
    }

    .menu-toggle {
        display: block;
    }

    .site-nav {
        grid-column: 1 / -1;
        display: none;
        align-items: stretch;
        flex-direction: column;
        gap: 4px;
        padding: 10px 0;
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
    }

    .site-nav a {
        width: 100%;
    }

    .site-nav.is-open {
        display: flex;
    }

    .search-form {
        grid-column: 1 / -1;
        width: 100%;
    }

    .hero,
    .hero__content {
        min-height: 560px;
    }

    .daily-strip__grid,
    .feature-band__grid,
    .article-grid,
    .desk-grid,
    .newsletter-grid,
    .return-grid,
    .article-hero__grid,
    .article-layout,
    .footer-grid,
    .about-hero__grid,
    .manifesto-grid,
    .ad-map,
    .puzzle-hero__grid,
    .system-note__grid {
        grid-template-columns: 1fr;
    }

    .feature-band__media img {
        min-height: 320px;
    }

    .front-brief {
        border-left: 0;
        border-top: 4px solid var(--ink);
        padding: 22px 0 0;
    }

    .desk-grid .ad-slot--tower {
        min-height: 180px;
    }

    .return-actions {
        justify-content: flex-start;
    }

    .puzzle-streak {
        max-width: 320px;
    }

    .article-sidebar {
        position: static;
        order: 2;
    }

    .article-layout {
        padding-top: 38px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    :root {
        --wrap: min(100% - 22px, 560px);
    }

    .issue-bar__inner {
        justify-content: center;
        flex-wrap: wrap;
        padding: 7px 0;
        gap: 6px 14px;
    }

    .issue-bar__inner a {
        flex-basis: 100%;
        text-align: center;
    }

    .brand__name {
        font-size: 1.2rem;
    }

    .brand__mark {
        width: 40px;
        height: 40px;
        font-size: 0.72rem;
    }

    .hero,
    .hero__content {
        min-height: 520px;
    }

    .hero__content {
        padding: 46px 0 56px;
    }

    .hero .eyebrow,
    .hero__lede {
        max-width: 340px;
    }

    .hero h1 {
        max-width: 340px;
    }

    .hero__actions,
    .newsletter-form__row,
    .archive-search,
    .section-heading,
    .puzzle-card__actions,
    .puzzle-reveal__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .daily-strip article {
        border-left: 0;
        border-right: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.28);
    }

    .sponsor-unit {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .sponsor-unit .button {
        width: 100%;
    }

    .puzzle-hero {
        padding: 48px 0 42px;
    }

    .puzzle-hero h1 {
        font-size: clamp(2.8rem, 14vw, 4.4rem);
    }

    .puzzle-stage {
        padding: 28px 0 42px;
    }

    .puzzle-card,
    .puzzle-reveal {
        padding: 22px 18px;
        border-radius: 10px;
    }

    .puzzle-choice {
        grid-template-columns: 32px minmax(0, 1fr);
        gap: 10px;
        padding: 11px;
    }

    .puzzle-choice__key {
        width: 30px;
        height: 30px;
    }

    .system-note {
        padding: 46px 0;
    }

    .puzzle-navigation__inner {
        grid-template-columns: 1fr;
    }

    .puzzle-navigation a:last-child,
    .puzzle-navigation__tomorrow {
        text-align: left;
    }

    .article-hero {
        padding-top: 38px;
    }

    .article-content {
        font-size: 1.08rem;
    }

    .archive-hero,
    .about-hero,
    .not-found {
        padding: 46px 0 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
