: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,
select:focus-visible,
textarea:focus-visible,
[tabindex="-1"]: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-image:
        linear-gradient(90deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.42) 58%, rgba(0, 0, 0, 0.16)),
        image-set(
            url("../images/night-market-memory.webp") type("image/webp"),
            url("../images/night-market-memory.jpg") type("image/jpeg")
        );
    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;
}

.button--outline {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}

.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__diagram {
    position: relative;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: clamp(28px, 5vw, 58px);
    border-radius: var(--radius);
    color: var(--paper-2);
    background:
        radial-gradient(circle at 80% 20%, rgba(244, 181, 92, 0.22), transparent 25%),
        linear-gradient(135deg, #0d3542, #111 62%, #3b2418);
    box-shadow: var(--shadow);
}

.feature-band__diagram::after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -150px;
    width: 390px;
    height: 390px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    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);
}

.feature-band__diagram-label {
    position: relative;
    z-index: 1;
    color: #f4b55c;
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.feature-band__diagram strong {
    position: relative;
    z-index: 1;
    margin-top: 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(6rem, 12vw, 10rem);
    line-height: 0.78;
}

.feature-band__diagram > span:not(.feature-band__diagram-label) {
    position: relative;
    z-index: 1;
    max-width: 320px;
    margin-top: 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.55rem, 3vw, 2.45rem);
    font-weight: 800;
    line-height: 1;
}

.feature-band__diagram > div {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 7px;
    max-width: 260px;
    margin-top: 32px;
}

.feature-band__diagram i {
    height: 7px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.22);
}

.feature-band__diagram i:nth-child(4) {
    background: var(--red);
}

.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 picture {
    display: block;
    width: 100%;
    height: 100%;
}

.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);
}

.desk-list__link {
    display: inline-block;
    margin-top: 22px;
    color: #f4b55c;
}

.trust-ribbon {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    background: #efe6d8;
}

.trust-ribbon__inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 18px;
    color: var(--ink-2);
    font-size: 0.82rem;
}

.trust-ribbon__inner strong {
    color: var(--ink);
}

.trust-ribbon__inner span {
    position: relative;
}

.trust-ribbon__inner span::before {
    content: "✓";
    margin-right: 5px;
    color: var(--green);
    font-weight: 950;
}

.trust-ribbon__inner a {
    margin-left: auto;
    color: var(--red);
    font-weight: 950;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.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;
}

.footer-bottom__links {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
}

.footer-bottom a:hover {
    color: var(--white);
}

.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 {
    margin: 0;
}

.article-hero__image picture {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.article-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.article-trust-line {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    color: var(--muted);
    font-size: 0.78rem !important;
    font-weight: 850;
}

.article-trust-line span,
.article-trust-line a {
    padding: 5px 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper);
}

.article-trust-line a {
    color: var(--red);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.story-meta a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.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;
}

.article-method {
    margin-top: 58px;
    padding: 26px;
    border: 1px solid var(--line);
    border-top: 5px solid var(--blue);
    border-radius: var(--radius);
    background: var(--paper-2);
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: 0.94rem;
    line-height: 1.65;
}

.article-method h2 {
    margin: 8px 0 14px;
    font-size: 2rem;
}

.article-method p + p,
.article-method p + .source-list,
.article-method .source-list + p {
    margin-top: 15px;
}

.source-list {
    display: grid;
    gap: 10px;
    margin: 16px 0 0;
    padding-left: 22px;
}

.source-list a,
.article-method__standards a {
    color: var(--blue);
    font-weight: 850;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.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;
}

.text-link--light {
    color: #f4b55c;
}

.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;
}

.sponsor-rules {
    display: grid;
    gap: 8px;
    margin: 20px 0 0;
    padding-left: 20px;
    color: var(--ink-2);
}

.privacy-choice {
    margin: 22px 0 34px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper-2);
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: 0.94rem;
}

.privacy-choice__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0;
}

.privacy-choice__actions .button {
    width: auto;
}

.not-found__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 42px;
    align-items: center;
}

.not-found__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
    margin-top: 26px;
}

.not-found__actions .button {
    margin-top: 0;
}

.not-found__signal {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    padding: 28px;
    border-radius: var(--radius);
    background: var(--ink);
    color: var(--paper-2);
}

.not-found__signal span {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 5rem;
    font-weight: 900;
}

.not-found__signal i {
    width: 42px;
    height: 3px;
    margin: 0 8px;
    background: var(--red);
}

/* Editorial standards */

.standards-hero {
    padding: 72px 0 62px;
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(90deg, transparent 49.8%, rgba(17, 17, 17, 0.045) 50%, transparent 50.2%),
        var(--paper-2);
    background-size: 44px 44px;
}

.standards-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 44px;
    align-items: end;
}

.standards-hero h1 {
    max-width: 920px;
    margin-top: 12px;
    font-size: clamp(3.4rem, 8vw, 8rem);
}

.standards-hero__grid > div > p:last-child {
    max-width: 760px;
    margin-top: 24px;
    color: var(--ink-2);
    font-size: 1.16rem;
}

.standards-promise {
    display: grid;
    gap: 12px;
    padding: 26px;
    border-radius: var(--radius);
    color: var(--paper-2);
    background: var(--ink);
    box-shadow: var(--shadow);
}

.standards-promise span {
    color: #f4b55c;
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.standards-promise strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.75rem;
    line-height: 1.08;
}

.trust-ledger {
    background: var(--ink);
    color: var(--paper-2);
}

.trust-ledger__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-ledger article {
    min-height: 126px;
    padding: 23px;
    border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.trust-ledger article:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.trust-ledger strong,
.trust-ledger span {
    display: block;
}

.trust-ledger strong {
    color: #f4b55c;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.trust-ledger span {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
}

.standards-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 780px);
    gap: 58px;
    align-items: start;
}

.standards-index {
    position: sticky;
    top: 20px;
    display: grid;
    gap: 3px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper-2);
}

.standards-index .eyebrow {
    margin-bottom: 9px;
}

.standards-index a {
    padding: 8px 9px;
    border-radius: 5px;
    color: var(--ink-2);
    font-size: 0.88rem;
    font-weight: 800;
}

.standards-index a:hover {
    background: var(--ink);
    color: var(--paper-2);
}

.standards-copy {
    display: grid;
    gap: 58px;
}

.standards-copy section {
    scroll-margin-top: 24px;
    padding-bottom: 50px;
    border-bottom: 1px solid var(--line);
}

.standards-copy section:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.standards-copy h2 {
    max-width: 720px;
    margin: 10px 0 20px;
    font-size: clamp(2.4rem, 5vw, 4.8rem);
}

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

.standards-copy p + p {
    margin-top: 20px;
}

.standards-close {
    padding: 54px 0;
    background: var(--blue);
    color: var(--white);
}

.standards-close__grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
}

.standards-close .eyebrow {
    color: #d6edf4;
}

.standards-close h2 {
    max-width: 820px;
    margin-top: 8px;
}

/* The Bottleneck Field Guide */

.guide-hero {
    position: relative;
    overflow: hidden;
    padding: 76px 0 68px;
    color: var(--paper-2);
    background:
        radial-gradient(circle at 82% 24%, rgba(244, 181, 92, 0.18), transparent 25%),
        radial-gradient(circle at 14% 92%, rgba(15, 111, 143, 0.38), transparent 30%),
        linear-gradient(135deg, #102e38 0%, #111 58%, #301e16 100%);
}

.guide-hero::after {
    content: "";
    position: absolute;
    right: -170px;
    top: -180px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 50%;
    box-shadow:
        0 0 0 54px rgba(255, 255, 255, 0.022),
        0 0 0 108px rgba(255, 255, 255, 0.015);
}

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

.guide-hero__copy {
    display: grid;
    gap: 20px;
}

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

.guide-hero h1 {
    max-width: 920px;
    font-size: clamp(4rem, 9vw, 9rem);
}

.guide-hero__dek {
    max-width: 820px;
    color: rgba(255, 255, 255, 0.83);
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-weight: 700;
}

.guide-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 22px;
}

.guide-text-link {
    color: var(--paper-2);
    font-weight: 900;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.guide-byline {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.78rem;
    font-weight: 800;
}

.guide-byline span,
.guide-byline a {
    padding: 5px 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
}

.guide-byline a {
    color: #f4b55c;
}

.system-map {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(12px);
}

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

.system-map__label--right {
    text-align: right;
}

.system-map__flow {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    padding: 18px 0;
}

.system-map__flow i {
    flex: 0 0 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 50%;
    font-style: normal;
    font-size: 0.7rem;
    font-weight: 950;
}

.system-map__flow i:nth-of-type(4) {
    border-color: var(--red);
    background: var(--red);
}

.system-map__flow b {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.26);
}

.system-map p {
    grid-column: 1 / -1;
    color: rgba(255, 255, 255, 0.73);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.04rem;
    line-height: 1.62;
}

.guide-definition {
    padding: 26px 0;
    border-bottom: 1px solid var(--line);
    background: var(--red);
    color: var(--white);
}

.guide-definition__grid {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 44px;
    align-items: center;
}

.guide-definition__term {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.6rem);
    font-weight: 900;
    line-height: 1;
}

.guide-definition__term span {
    display: block;
    margin-top: 6px;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: 0.78rem;
    font-weight: 750;
    opacity: 0.72;
}

.guide-definition__grid > p:last-child {
    max-width: 760px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.14rem;
    line-height: 1.62;
}

.guide-intro__grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: start;
}

.guide-intro h2 {
    margin-top: 10px;
    font-size: clamp(3rem, 6vw, 6.2rem);
}

.guide-intro__copy {
    display: grid;
    gap: 22px;
    color: var(--ink-2);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.2rem;
    line-height: 1.72;
}

.guide-quick {
    padding: 58px 0 64px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--paper-2);
}

.symptom-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--line);
}

.symptom-grid a {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    min-height: 94px;
    padding: 20px;
    background: var(--paper-2);
}

.symptom-grid a:last-child {
    grid-column: 1 / -1;
}

.symptom-grid a:hover {
    background: #efe6d8;
}

.symptom-grid span {
    color: var(--ink-2);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.08rem;
}

.symptom-grid strong {
    max-width: 180px;
    color: var(--red);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-align: right;
    text-transform: uppercase;
}

.guide-patterns {
    background:
        linear-gradient(rgba(17, 17, 17, 0.025) 1px, transparent 1px),
        var(--paper);
    background-size: 100% 52px;
}

.guide-patterns__heading {
    max-width: 890px;
    margin-bottom: 42px;
}

.guide-patterns__heading h2 {
    margin: 9px 0 18px;
    font-size: clamp(3rem, 7vw, 6.6rem);
}

.guide-patterns__heading > p:last-child {
    max-width: 700px;
    color: var(--ink-2);
    font-size: 1.1rem;
}

.pattern-card {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 32px;
    scroll-margin-top: 24px;
    padding: 42px 0;
    border-top: 1px solid var(--line);
}

.pattern-card:last-child {
    border-bottom: 1px solid var(--line);
}

.pattern-card__number {
    position: sticky;
    top: 20px;
    align-self: start;
    color: var(--red);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1;
}

.pattern-card:nth-of-type(3n + 2) .pattern-card__number {
    color: var(--blue);
}

.pattern-card:nth-of-type(3n) .pattern-card__number {
    color: var(--green);
}

.pattern-card__body {
    max-width: 900px;
}

.pattern-card h3 {
    max-width: 820px;
    margin: 8px 0 18px;
    font-size: clamp(2.8rem, 5vw, 5.4rem);
}

.pattern-card__body > p:not(.eyebrow) {
    max-width: 800px;
    color: var(--ink-2);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.17rem;
    line-height: 1.7;
}

.pattern-card__signals {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.pattern-card__signals p {
    padding: 17px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper-2);
    color: var(--ink-2);
    font-size: 0.91rem;
}

.pattern-card__signals span {
    display: block;
    margin-bottom: 6px;
    color: var(--red);
    font-size: 0.7rem;
    font-weight: 950;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.pattern-card__puzzle {
    display: inline-flex;
    gap: 8px;
    margin-top: 22px;
    color: var(--blue);
    font-weight: 950;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.guide-diagnostic {
    padding: 72px 0;
    color: var(--paper-2);
    background:
        radial-gradient(circle at 8% 14%, rgba(15, 111, 143, 0.32), transparent 25%),
        linear-gradient(145deg, #111, #102e38);
}

.guide-diagnostic__grid {
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    gap: 44px;
    align-items: start;
}

.guide-diagnostic__intro {
    position: sticky;
    top: 24px;
}

.guide-diagnostic .eyebrow {
    color: #f4b55c;
}

.guide-diagnostic h2 {
    margin: 10px 0 20px;
    font-size: clamp(3rem, 6vw, 5.9rem);
}

.guide-diagnostic__intro > p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.03rem;
}

.diagnostic-key {
    display: flex;
    align-items: center;
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.diagnostic-key b {
    width: 36px;
    height: 1px;
    margin: 0 8px;
    background: rgba(255, 255, 255, 0.28);
}

.diagnostic-form {
    display: grid;
    gap: 14px;
}

.diagnostic-form fieldset {
    margin: 0;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
}

.diagnostic-form legend {
    width: 100%;
    padding: 0 0 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    font-weight: 800;
}

.diagnostic-form label {
    position: relative;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 45px;
    padding: 8px 10px;
    border-radius: 7px;
    color: rgba(255, 255, 255, 0.78);
    cursor: pointer;
}

.diagnostic-form label:hover {
    background: rgba(255, 255, 255, 0.06);
}

.diagnostic-form input {
    width: 18px;
    height: 18px;
    accent-color: var(--red);
}

.diagnostic-form label:has(input:checked) {
    color: var(--white);
    background: rgba(199, 56, 37, 0.18);
}

.diagnostic-form__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.diagnostic-reset {
    min-height: 44px;
    padding: 10px 13px;
    border: 0;
    color: rgba(255, 255, 255, 0.68);
    background: transparent;
    font-weight: 850;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.diagnostic-status {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.84rem;
}

.diagnostic-result {
    grid-column: 2;
    display: grid;
    gap: 16px;
    padding: 28px;
    border: 1px solid #bfd0bd;
    border-top: 6px solid #77a37d;
    border-radius: 12px;
    background: #e9f1e8;
    color: #1d3623;
}

.diagnostic-result[hidden] {
    display: none;
}

.diagnostic-result .eyebrow {
    color: var(--green);
}

.diagnostic-result h3 {
    font-size: clamp(2.4rem, 5vw, 4.4rem);
}

.diagnostic-result > p:not(.eyebrow, .share-status) {
    max-width: 720px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.12rem;
    line-height: 1.65;
}

.diagnostic-result__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.diagnostic-share {
    color: #1d3623;
    border-color: #1d3623;
    background: transparent;
}

.guide-measure {
    padding: 66px 0;
    border-bottom: 1px solid var(--line);
    background: var(--red);
    color: var(--white);
}

.guide-measure__grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 54px;
    align-items: start;
}

.guide-measure .eyebrow {
    color: #ffcabf;
}

.guide-measure h2 {
    margin-top: 10px;
    font-size: clamp(3rem, 6vw, 5.8rem);
}

.guide-measure ol {
    display: grid;
    gap: 1px;
    margin: 0;
    padding: 0;
    list-style: none;
    background: rgba(255, 255, 255, 0.22);
}

.guide-measure li {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
    background: var(--red);
}

.guide-measure li > span {
    color: #ffcabf;
    font-weight: 950;
}

.guide-measure li p {
    color: rgba(255, 255, 255, 0.82);
}

.guide-measure li strong {
    color: var(--white);
}

.guide-sources {
    background: var(--paper-2);
}

.guide-sources__grid {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 50px;
    align-items: start;
}

.guide-sources h2 {
    margin: 8px 0 16px;
}

.guide-sources__grid > div > p:last-child {
    color: var(--ink-2);
}

.guide-sources ol {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--line);
    list-style-position: inside;
}

.guide-sources li {
    padding: 15px 2px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
}

.guide-sources a {
    color: var(--blue);
    font-weight: 850;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.guide-sources li span {
    display: block;
    margin: 4px 0 0 22px;
    color: var(--muted);
    font-size: 0.78rem;
}

.guide-next {
    padding: 58px 0;
    color: var(--white);
    background: var(--green);
}

.guide-next__grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
}

.guide-next .eyebrow {
    color: #d7ead5;
}

.guide-next h2 {
    max-width: 850px;
    margin: 8px 0 12px;
}

.guide-next p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.78);
}

.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 {
        display: none;
        grid-column: 1 / -1;
        width: 100%;
    }

    .site-nav.is-open + .search-form {
        display: grid;
    }

    .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,
    .standards-hero__grid,
    .standards-layout,
    .standards-close__grid,
    .guide-hero__grid,
    .guide-definition__grid,
    .guide-intro__grid,
    .guide-diagnostic__grid,
    .guide-measure__grid,
    .guide-sources__grid,
    .guide-next__grid,
    .not-found__grid {
        grid-template-columns: 1fr;
    }

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

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

    .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: none;
    }

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

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

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

    .trust-ledger__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .standards-index,
    .guide-diagnostic__intro,
    .pattern-card__number {
        position: static;
    }

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

    .standards-index .eyebrow {
        grid-column: 1 / -1;
    }

    .diagnostic-result {
        grid-column: 1;
    }

    .guide-next__grid .button,
    .standards-close__grid .button {
        width: fit-content;
    }
}

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

    .issue-bar__inner {
        min-height: 30px;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 10px;
        font-size: 0.74rem;
    }

    .issue-bar__inner > span:first-child {
        display: none;
    }

    .daily-page .issue-bar {
        display: none;
    }

    .masthead {
        min-height: 64px;
        padding: 10px 0;
    }

    .brand__name {
        font-size: 1.2rem;
    }

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

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

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

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

    .hero h1 {
        max-width: 340px;
        font-size: clamp(3.2rem, 15vw, 4.2rem);
        line-height: 0.94;
    }

    .hero__image {
        background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.5) 72%, rgba(0, 0, 0, 0.28)), url("../images/night-market-memory.jpg");
        background-image:
            linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.5) 72%, rgba(0, 0, 0, 0.28)),
            image-set(
                url("../images/night-market-memory.webp") type("image/webp"),
                url("../images/night-market-memory.jpg") type("image/jpeg")
            );
        background-position: 62% center;
    }

    .home-page .hero__actions .button--ghost {
        width: auto;
        min-height: 36px;
        padding: 6px 2px;
        border: 0;
        background: transparent;
        text-decoration: underline;
        text-underline-offset: 4px;
    }

    .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);
    }

    .article-grid,
    .article-grid--three {
        grid-template-columns: 1fr;
    }

    .feature-band {
        padding: 34px 0;
    }

    .feature-band__diagram {
        min-height: 330px;
    }

    .trust-ribbon__inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .trust-ribbon__inner a {
        margin: 4px 0 0;
    }

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

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

    .puzzle-hero {
        padding: 28px 0 24px;
    }

    .puzzle-hero__grid {
        gap: 18px;
    }

    .puzzle-hero__copy {
        gap: 12px;
    }

    .puzzle-hero h1 {
        max-width: 470px;
        font-size: clamp(2.65rem, 12vw, 3.55rem);
        line-height: 0.98;
    }

    .puzzle-hero__copy > p:not(.eyebrow) {
        font-size: 0.98rem;
    }

    .puzzle-utility span {
        padding: 5px 8px;
        font-size: 0.7rem;
    }

    .puzzle-streak {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 6px 14px;
        align-items: center;
        padding: 11px 13px;
    }

    .puzzle-streak__label {
        grid-row: 1 / span 2;
        writing-mode: vertical-rl;
        transform: rotate(180deg);
    }

    .puzzle-streak strong {
        font-size: 1.45rem;
    }

    .puzzle-streak p {
        font-size: 0.74rem;
    }

    .puzzle-stage {
        padding: 20px 0 38px;
    }

    .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-hero__image picture {
        aspect-ratio: 4 / 3;
    }

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

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

    .privacy-choice__actions,
    .not-found__actions,
    .guide-hero__actions,
    .diagnostic-form__actions,
    .diagnostic-result__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .privacy-choice__actions .button,
    .not-found__actions .button,
    .guide-hero__actions .button,
    .diagnostic-form__actions .button,
    .diagnostic-result__actions .button {
        width: 100%;
    }

    .trust-ledger__grid {
        grid-template-columns: 1fr;
    }

    .trust-ledger article {
        min-height: auto;
        border-right: 1px solid rgba(255, 255, 255, 0.16);
        border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    }

    .standards-hero,
    .guide-hero {
        padding: 46px 0 42px;
    }

    .standards-hero h1,
    .guide-hero h1 {
        font-size: clamp(3.4rem, 16vw, 5rem);
    }

    .standards-index {
        grid-template-columns: 1fr 1fr;
    }

    .standards-copy {
        gap: 42px;
    }

    .standards-copy section {
        padding-bottom: 38px;
    }

    .guide-hero__grid {
        gap: 30px;
    }

    .system-map {
        padding: 18px;
    }

    .system-map__flow i {
        flex-basis: 26px;
        width: 26px;
        height: 26px;
    }

    .guide-definition {
        padding: 22px 0;
    }

    .guide-definition__grid,
    .guide-intro__grid {
        gap: 20px;
    }

    .symptom-grid {
        grid-template-columns: 1fr;
    }

    .symptom-grid a:last-child {
        grid-column: auto;
    }

    .symptom-grid a {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .symptom-grid strong {
        max-width: none;
        text-align: left;
    }

    .pattern-card {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 34px 0;
    }

    .pattern-card__number {
        font-size: 2.4rem;
    }

    .pattern-card h3 {
        font-size: clamp(2.6rem, 12vw, 4rem);
    }

    .pattern-card__signals {
        grid-template-columns: 1fr;
    }

    .guide-diagnostic {
        padding: 50px 0;
    }

    .guide-diagnostic__grid {
        gap: 28px;
    }

    .diagnostic-form fieldset {
        padding: 18px 14px;
    }

    .diagnostic-form label {
        padding: 9px 6px;
    }

    .guide-measure__grid,
    .guide-sources__grid {
        gap: 28px;
    }

    .guide-next__grid .button,
    .standards-close__grid .button {
        width: 100%;
    }

    .not-found__signal {
        min-height: 160px;
    }
}

@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;
    }
}
