:root {
  --qv-ink: #14211f;
  --qv-muted: #5c6965;
  --qv-paper: #f7f5ef;
  --qv-card: #fffdf8;
  --qv-line: #d7d9d0;
  --qv-accent: #d2643e;
  --qv-accent-dark: #8d3f2b;
  --qv-sage: #dfe8df;
  --qv-shell: min(1180px, calc(100% - 48px));
  --qv-display: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  --qv-text: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --qv-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--qv-paper); }
body { margin: 0; background: var(--qv-paper); color: var(--qv-ink); font-family: var(--qv-text); font-size: 1.08rem; line-height: 1.65; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .18em; }
a:hover { color: var(--qv-accent-dark); }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
h1, h2, h3 { font-family: var(--qv-display); line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 5.4vw, 5.75rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.45rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }

.qv-shell { width: var(--qv-shell); margin-inline: auto; }
.qv-skip { position: absolute; left: -9999px; top: 12px; z-index: 10; padding: .5rem .8rem; background: var(--qv-accent); color: #fff; font-family: var(--qv-display); }
.qv-skip:focus { left: 12px; }
.qv-eyebrow { display: flex; align-items: center; gap: .6rem; color: var(--qv-accent-dark); font-family: var(--qv-mono); font-size: .69rem; font-weight: 700; letter-spacing: .13em; line-height: 1.2; text-transform: uppercase; }
.qv-eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.qv-text-link { display: inline-flex; gap: .45rem; align-items: center; margin-top: 1.15rem; color: var(--qv-accent-dark); font-family: var(--qv-display); font-size: .82rem; font-weight: 700; letter-spacing: .02em; text-decoration: none; }
.qv-text-link span { transition: transform .2s ease; }
.qv-text-link:hover span { transform: translate(3px, -3px); }
.qv-button { display: inline-flex; align-items: center; gap: .6rem; padding: .78rem 1rem; background: var(--qv-ink); color: #fff; font-family: var(--qv-display); font-size: .82rem; font-weight: 700; text-decoration: none; }
.qv-button:hover { background: var(--qv-accent-dark); color: #fff; }

.qv-header { border-bottom: 1px solid var(--qv-line); background: rgba(247, 245, 239, .96); }
.qv-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 82px; }
.qv-brand { display: flex; align-items: center; gap: .72rem; color: var(--qv-ink); text-decoration: none; }
.qv-brand__mark { display: grid; place-items: center; width: 36px; height: 36px; background: var(--qv-accent); color: #fff; font-family: var(--qv-mono); font-size: .72rem; font-weight: 700; letter-spacing: -.08em; }
.qv-brand strong, .qv-brand small { display: block; }
.qv-brand strong { font-family: var(--qv-display); font-size: 1rem; letter-spacing: -.02em; }
.qv-brand small { margin-top: .13rem; color: var(--qv-muted); font-family: var(--qv-mono); font-size: .56rem; letter-spacing: .04em; text-transform: uppercase; }
.qv-nav ul { display: flex; align-items: center; gap: 1.25rem; padding: 0; list-style: none; }
.qv-nav a { color: var(--qv-muted); font-family: var(--qv-display); font-size: .76rem; font-weight: 700; text-decoration: none; }
.qv-nav a:hover, .qv-nav a[aria-current="page"] { color: var(--qv-ink); }
.qv-nav__contact { border-bottom: 2px solid var(--qv-accent); padding-bottom: .25rem; color: var(--qv-ink) !important; }

.qv-hero { position: relative; min-height: 352px; overflow: hidden; isolation: isolate; background: var(--qv-ink); color: #fff; }
.qv-hero > img, .qv-hero__veil { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.qv-hero > img { z-index: -3; }
.qv-hero__veil { z-index: -2; background: #14211f; opacity: .76; }
.qv-hero__content { display: flex; flex-direction: column; justify-content: flex-end; min-height: 352px; padding-block: 2.5rem 2.3rem; }
.qv-hero .qv-eyebrow { color: #f0b49d; }
.qv-hero h1 { max-width: 780px; margin-top: .65rem; color: #fff; font-size: clamp(2.8rem, 6vw, 5.7rem); }
.qv-hero p { max-width: 680px; margin-top: 1rem; color: #e1e8e4; font-size: clamp(1rem, 1.4vw, 1.28rem); line-height: 1.45; }
.qv-stat-row { display: flex; flex-wrap: wrap; gap: 1.4rem 2.8rem; margin-top: 1.65rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.28); color: #e1e8e4; font-family: var(--qv-mono); font-size: .67rem; letter-spacing: .04em; text-transform: uppercase; }
.qv-stat-row strong { margin-right: .3rem; color: #fff; font-size: 1.08rem; letter-spacing: -.05em; }

.qv-home { padding-block: 3rem 6rem; }
.qv-home-topics, .qv-home-latest { padding-block: 1.2rem 4.5rem; }
.qv-section-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: .55rem 2rem; margin-bottom: 1.35rem; border-bottom: 1px solid var(--qv-line); padding-bottom: 1rem; }
.qv-section-head .qv-eyebrow { grid-column: 1 / -1; }
.qv-section-head h2 { font-size: clamp(1.8rem, 3vw, 3rem); }
.qv-section-head p { max-width: 38ch; color: var(--qv-muted); font-size: .98rem; }
.qv-topic-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.qv-topic-tile { position: relative; min-height: 168px; overflow: hidden; background: var(--qv-ink); color: #fff; text-decoration: none; }
.qv-topic-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 25%, rgba(20,33,31,.88) 100%); }
.qv-topic-tile img { width: 100%; height: 100%; min-height: 168px; object-fit: cover; opacity: .78; transition: transform .3s ease, opacity .3s ease; }
.qv-topic-tile:hover { color: #fff; }
.qv-topic-tile:hover img { transform: scale(1.04); opacity: .9; }
.qv-topic-tile span { position: absolute; right: 1rem; bottom: .85rem; left: 1rem; z-index: 1; }
.qv-topic-tile small, .qv-topic-tile strong { display: block; }
.qv-topic-tile small { color: #f0b49d; font-family: var(--qv-mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; }
.qv-topic-tile strong { margin-top: .25rem; font-family: var(--qv-display); font-size: 1.2rem; letter-spacing: -.03em; }
.qv-card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 14px; }
.qv-card { min-width: 0; border-top: 2px solid var(--qv-ink); background: var(--qv-card); }
.qv-card__image { display: block; overflow: hidden; background: var(--qv-sage); }
.qv-card__image img { width: 100%; aspect-ratio: 1.7; object-fit: cover; transition: transform .3s ease; }
.qv-card:hover .qv-card__image img { transform: scale(1.035); }
.qv-card__body { padding: .85rem .85rem 1.1rem; }
.qv-card__body h3 { margin-top: .55rem; }
.qv-card__body h3 a { text-decoration: none; }
.qv-card__body p { margin-top: .6rem; color: var(--qv-muted); font-size: .91rem; line-height: 1.45; }
.qv-eyebrow + h2 { margin-top: .05rem; }
.qv-card .qv-eyebrow { justify-content: space-between; gap: .5rem; color: var(--qv-muted); font-size: .58rem; letter-spacing: .08em; }
.qv-card .qv-eyebrow::before { display: none; }
.qv-card time { font-family: var(--qv-mono); font-size: .58rem; letter-spacing: 0; text-transform: none; }
.qv-home-dossier { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; margin-top: 1rem; background: var(--qv-sage); }
.qv-home-dossier > div { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 2.5rem; }
.qv-home-dossier h2 { margin-top: .5rem; font-size: clamp(2rem, 4vw, 3.7rem); }
.qv-home-dossier p { max-width: 38ch; margin: .8rem 0 1.4rem; color: var(--qv-muted); }
.qv-home-dossier img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }

.qv-breadcrumb { padding-block: 1.5rem 2rem; color: var(--qv-muted); font-family: var(--qv-mono); font-size: .64rem; }
.qv-breadcrumb ol { display: flex; flex-wrap: wrap; gap: .35rem .7rem; padding: 0; list-style: none; }
.qv-breadcrumb li:not(:last-child)::after { content: "/"; margin-left: .7rem; color: var(--qv-line); }
.qv-breadcrumb a { text-decoration: none; }
.qv-reading { padding-bottom: 5rem; }
.qv-article__header { max-width: 850px; }
.qv-article__header h1 { margin-top: .7rem; font-size: clamp(2.8rem, 6vw, 5.4rem); }
.qv-dek { max-width: 680px; margin-top: 1.15rem; color: var(--qv-muted); font-size: clamp(1.08rem, 1.7vw, 1.35rem); line-height: 1.45; }
.qv-byline { display: flex; flex-wrap: wrap; gap: .35rem 1.5rem; margin-top: 1.3rem; color: var(--qv-muted); font-family: var(--qv-mono); font-size: .66rem; }
.qv-byline a { color: var(--qv-accent-dark); font-weight: 700; }
.qv-article__hero { margin-top: 2.4rem; }
.qv-article__hero img { width: 100%; aspect-ratio: 1.78; object-fit: cover; }
figcaption { margin-top: .55rem; color: var(--qv-muted); font-size: .72rem; }
.qv-article__layout { display: grid; grid-template-columns: minmax(0, 720px) 220px; justify-content: space-between; gap: 3rem; margin-top: 3rem; }
.qv-prose { font-size: 1.12rem; }
.qv-prose > p, .qv-prose > ol, .qv-prose > ul { margin-bottom: 1.4rem; }
.qv-lead { font-size: 1.34rem; line-height: 1.5; }
.qv-prose section { margin-top: 2.75rem; }
.qv-prose section h2 { margin: .35rem 0 .7rem; font-size: clamp(1.75rem, 3vw, 2.5rem); }
.qv-section-number { color: var(--qv-accent); font-family: var(--qv-mono); font-size: .72rem; font-weight: 700; letter-spacing: .08em; }
.qv-prose ol { padding-left: 1.4rem; }
.qv-article__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 3rem; }
.qv-article__pair img { width: 100%; aspect-ratio: 1.55; object-fit: cover; }
.qv-article__pair figcaption { grid-column: 1 / -1; }
.qv-note { margin-top: 3rem; padding: 1.1rem 1.25rem; border-left: 3px solid var(--qv-accent); background: var(--qv-sage); }
.qv-note strong { display: block; font-family: var(--qv-display); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.qv-note p { margin-top: .3rem; }
.qv-rail { align-self: start; position: sticky; top: 1.5rem; border-top: 2px solid var(--qv-ink); }
.qv-rail > div { padding: .85rem 0; border-bottom: 1px solid var(--qv-line); }
.qv-rail__label { display: block; color: var(--qv-muted); font-family: var(--qv-mono); font-size: .61rem; letter-spacing: .12em; text-transform: uppercase; }
.qv-rail a { display: block; margin-top: .25rem; font-family: var(--qv-display); font-size: .88rem; font-weight: 700; text-decoration: none; }
.qv-related { margin-top: 5rem; }
.qv-section-head + .qv-card-grid { margin-top: 1.3rem; }

.qv-section-page, .qv-page { padding-bottom: 5.5rem; }
.qv-topic-header { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: 2rem; margin-top: .4rem; padding-bottom: 3rem; border-bottom: 1px solid var(--qv-line); }
.qv-topic-header > div { display: flex; flex-direction: column; justify-content: center; }
.qv-topic-header h1 { margin-top: .65rem; }
.qv-topic-header p { max-width: 48ch; margin-top: 1rem; color: var(--qv-muted); font-size: 1.18rem; }
.qv-topic-header img { width: 100%; aspect-ratio: 1.7; object-fit: cover; }
.qv-section-intro { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; padding-block: 2.1rem; }
.qv-section-intro p { max-width: 60ch; color: var(--qv-muted); }
.qv-section-page > .qv-card-grid { grid-template-columns: repeat(2, 1fr); }
.qv-section-page > .qv-card-grid .qv-card__body { padding: 1rem 1.1rem 1.25rem; }
.qv-next { margin-top: 4rem; padding-top: 1rem; border-top: 2px solid var(--qv-ink); }
.qv-next > div { display: flex; flex-wrap: wrap; gap: .8rem 2rem; margin-top: .7rem; }
.qv-next a { font-family: var(--qv-display); font-size: 1rem; font-weight: 700; text-decoration: none; }

.qv-page__intro { max-width: 800px; padding-bottom: 2.8rem; }
.qv-page__intro h1 { margin-top: .7rem; }
.qv-page__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr); gap: 4rem; border-top: 1px solid var(--qv-line); padding-top: 2.5rem; }
.qv-page__aside { align-self: start; padding: 1rem; background: var(--qv-sage); }
.qv-page__aside img { width: 100%; aspect-ratio: 1.65; object-fit: cover; }
.qv-page__aside p { margin-top: 1rem; color: var(--qv-muted); font-size: .92rem; }
.qv-contact-line { display: flex; flex-direction: column; gap: .25rem; margin-top: 2.5rem !important; padding: 1rem 0; border-top: 2px solid var(--qv-ink); border-bottom: 1px solid var(--qv-line); }
.qv-contact-line strong { font-family: var(--qv-display); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.qv-contact-line a { color: var(--qv-accent-dark); font-family: var(--qv-display); font-weight: 700; }
.qv-page .qv-related { margin-top: 5rem; }
.qv-error { padding-block: 10rem; }
.qv-error h1 { margin-top: .7rem; font-size: clamp(2.5rem, 5vw, 5rem); }
.qv-error p { max-width: 38ch; margin: 1rem 0 1.4rem; color: var(--qv-muted); }

.qv-footer { padding-block: 3.2rem 1.2rem; border-top: 1px solid var(--qv-line); background: var(--qv-ink); color: #e8eee8; }
.qv-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; }
.qv-footer__brand { display: block; color: #fff; font-family: var(--qv-display); font-size: 1.25rem; font-weight: 700; text-decoration: none; }
.qv-footer p { max-width: 31ch; margin: .7rem 0 1rem; color: #b9c7c0; font-size: .95rem; }
.qv-footer a { color: #e8eee8; }
.qv-footer h2 { margin-bottom: .8rem; color: #f0b49d; font-family: var(--qv-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.qv-footer ul { display: grid; gap: .35rem; padding: 0; list-style: none; }
.qv-footer li, .qv-footer li a, .qv-footer > .qv-shell > a { font-family: var(--qv-display); font-size: .84rem; text-decoration: none; }
.qv-footer__bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: .9rem; border-top: 1px solid rgba(255,255,255,.18); color: #9db0a7; font-family: var(--qv-mono); font-size: .63rem; }

:focus-visible { outline: 3px solid var(--qv-accent); outline-offset: 3px; }
@media (max-width: 900px) {
  :root { --qv-shell: min(100% - 32px, 720px); }
  .qv-header__inner { align-items: flex-start; flex-direction: column; gap: .8rem; padding-block: 1rem; }
  .qv-nav { width: 100%; overflow: visible; }
  .qv-nav ul { width: auto; flex-wrap: wrap; gap: .55rem 1rem; }
  .qv-hero, .qv-hero__content { min-height: 390px; }
  .qv-topic-grid { grid-template-columns: repeat(2, 1fr); }
  .qv-card-grid { grid-template-columns: repeat(2, 1fr); }
  .qv-article__layout { grid-template-columns: 1fr; gap: 2rem; }
  .qv-rail { position: static; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; border-top: 2px solid var(--qv-ink); }
  .qv-topic-header, .qv-page__grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
  :root { --qv-shell: calc(100% - 28px); }
  body { font-size: 1rem; }
  h1 { font-size: clamp(2.55rem, 15vw, 4rem); }
  .qv-brand small { display: none; }
  .qv-nav a { font-size: .72rem; }
  .qv-hero, .qv-hero__content { min-height: 410px; }
  .qv-hero__content { padding-block: 2rem 1.6rem; }
  .qv-hero h1 { font-size: clamp(2.6rem, 13vw, 4rem); }
  .qv-stat-row { gap: .7rem 1.1rem; font-size: .57rem; }
  .qv-stat-row strong { font-size: .92rem; }
  .qv-home { padding-block: 1.8rem 4rem; }
  .qv-home-topics, .qv-home-latest { padding-block: 1rem 3rem; }
  .qv-section-head { display: block; }
  .qv-section-head h2 { margin-top: .35rem; }
  .qv-section-head p { margin-top: .7rem; }
  .qv-topic-grid, .qv-card-grid, .qv-section-page > .qv-card-grid { grid-template-columns: 1fr; }
  .qv-topic-tile, .qv-topic-tile img { min-height: 160px; }
  .qv-home-dossier { grid-template-columns: 1fr; }
  .qv-home-dossier > div { padding: 2rem 1.4rem; }
  .qv-home-dossier img { min-height: 180px; }
  .qv-breadcrumb { padding-block: 1rem 1.4rem; }
  .qv-article__header h1 { font-size: clamp(2.5rem, 13vw, 4rem); }
  .qv-article__pair { grid-template-columns: 1fr; }
  .qv-article__pair figcaption { grid-column: auto; }
  .qv-section-intro { grid-template-columns: 1fr; gap: .65rem; }
  .qv-rail { grid-template-columns: 1fr; }
  .qv-footer__grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .qv-footer__bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; } }
