/* Halyard Public Affairs · template, broadsheet concept
   Paper, ink, one red. A serif with optical sizes, ruled columns, small-caps labels,
   datelines and drop caps. The site reads like a front page. */

:root {
  --paper: #fbfaf7;
  --paper-2: #f3f1ec;
  --ink: #141414;
  --ink-2: #3a3a3a;
  --mute: #6f6b66;
  --rule: #d8d5cf;
  --rule-2: #141414;
  --red: #d6301f;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;
  --wrap: 1200px;
  --gutter: clamp(18px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--serif); font-size: 18px; line-height: 1.5; font-variation-settings: "opsz" 16; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.05; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 14px; z-index: 100; }
.skip:focus { top: 12px; }

/* labels: mono, small, letterspaced */
.label { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.label--red { color: var(--red); }
.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }
.rule--heavy { border-top: 3px solid var(--rule-2); }

/* ---------- template ribbon ---------- */
.ribbon { font-family: var(--mono); font-size: .74rem; letter-spacing: .02em; padding: 8px 0; border-bottom: 1px solid var(--rule); color: var(--mute); }
.ribbon a { color: var(--ink); text-decoration: underline; }

/* ---------- masthead ---------- */
.masthead { text-align: center; padding: 22px 0 0; }
.dateline { display: flex; justify-content: space-between; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); border-bottom: 1px solid var(--rule); padding-bottom: 10px; }
.masthead h1, .wordmark { font-size: clamp(2.4rem, 6vw, 5.2rem); font-weight: 500; letter-spacing: -.02em; font-variation-settings: "opsz" 72; line-height: 1; padding: 20px 0 12px; display: block; }
.wordmark small { display: block; font-family: var(--mono); font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--mute); margin-top: 10px; }
.navbar { border-top: 3px solid var(--ink); border-bottom: 1px solid var(--ink); display: flex; justify-content: center; gap: clamp(18px, 3.4vw, 44px); flex-wrap: wrap; padding: 10px 0; font-family: var(--mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
.navbar a[aria-current] { color: var(--red); }
.navbar .go { color: var(--red); }

/* ---------- lead ---------- */
.lead { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); padding: clamp(36px, 5vw, 72px) 0; }
.lead h2 { font-size: clamp(2.4rem, 5.6vw, 5rem); font-variation-settings: "opsz" 72; line-height: 1; text-wrap: balance; max-width: 12em; }
.lead h2 em { font-style: italic; color: var(--red); }
.lead .deck { font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.4; color: var(--ink-2); max-width: 30em; margin: 22px 0 26px; font-variation-settings: "opsz" 24; }
.brief { border-top: 3px solid var(--ink); padding-top: 14px; font-size: .98rem; }
.brief dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; }
.brief dt { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); padding-top: 4px; }
.brief dd { margin: 0; }
.btn { display: inline-block; font-family: var(--mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; border: 1.5px solid var(--ink); padding: 12px 18px; transition: background .2s, color .2s; }
.btn:hover { background: var(--ink); color: var(--paper); }
.btn--red { background: var(--red); border-color: var(--red); color: #fff; }
.btn--red:hover { background: var(--ink); border-color: var(--ink); }
@media (max-width: 820px) { .lead { grid-template-columns: 1fr; } }

/* ---------- section head ---------- */
.sec { padding: clamp(36px, 5vw, 64px) 0; }
.sec__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-top: 3px solid var(--ink); padding-top: 10px; margin-bottom: clamp(20px, 3vw, 36px); }
.sec__head h2 { font-family: var(--mono); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; }
.sec__head a { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }

/* ---------- on the record: three ruled columns ---------- */
.columns { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 0; }
.columns > * { padding: 0 clamp(16px, 2.4vw, 32px); border-left: 1px solid var(--rule); }
.columns > :first-child { padding-left: 0; border-left: 0; }
.columns > :last-child { padding-right: 0; }
.story img { border: 1px solid var(--rule); margin-bottom: 14px; aspect-ratio: 12 / 7; object-fit: cover; width: 100%; }
.story h3 { font-size: clamp(1.5rem, 2.6vw, 2.4rem); font-variation-settings: "opsz" 48; margin: 8px 0 10px; }
.story--small h3 { font-size: 1.35rem; }
.story p { color: var(--ink-2); font-size: 1rem; }
.story .result { font-size: clamp(2.2rem, 4vw, 3.4rem); font-variation-settings: "opsz" 72; line-height: 1; color: var(--red); margin: 14px 0 4px; }
.story .result + span { font-size: .95rem; color: var(--mute); }
.story + .story { border-top: 1px solid var(--rule); margin-top: 20px; padding-top: 20px; }
@media (max-width: 860px) { .columns { grid-template-columns: 1fr; } .columns > * { border-left: 0; padding: 0; } .columns > * + * { border-top: 1px solid var(--rule); margin-top: 24px; padding-top: 24px; } }

/* ---------- practices: four columns ---------- */
.four { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.four h3 { font-size: 1.35rem; margin: 10px 0 8px; }
.four p { color: var(--ink-2); font-size: .98rem; margin: 0; }
.four .num { font-family: var(--mono); color: var(--red); font-size: .78rem; letter-spacing: .12em; }
@media (max-width: 860px) { .four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .four { grid-template-columns: 1fr; } }

/* ---------- by the numbers ---------- */
.numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.numbers div { padding: 20px clamp(12px, 2vw, 28px) 20px 0; border-right: 1px solid var(--rule); }
.numbers div + div { padding-left: clamp(12px, 2vw, 28px); }
.numbers div:last-child { border-right: 0; }
.numbers b { display: block; font-weight: 500; font-size: clamp(2.2rem, 4.4vw, 3.8rem); font-variation-settings: "opsz" 72; line-height: 1; }
.numbers span { font-size: .92rem; color: var(--mute); }
@media (max-width: 760px) { .numbers { grid-template-columns: 1fr 1fr; } .numbers div:nth-child(2) { border-right: 0; } .numbers div:nth-child(3) { padding-left: 0; } .numbers div:nth-child(-n+2) { border-bottom: 1px solid var(--rule); } }

/* ---------- index of work ---------- */
.index { width: 100%; border-collapse: collapse; font-size: 1rem; }
.index th { text-align: left; font-family: var(--mono); font-weight: 500; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); padding: 0 12px 10px 0; border-bottom: 1px solid var(--ink); }
.index td { padding: 16px 12px 16px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.index td:first-child { font-size: 1.25rem; font-variation-settings: "opsz" 32; }
.index td:first-child a:hover { color: var(--red); }
.index .arena { color: var(--mute); white-space: nowrap; }
.index .yr { font-family: var(--mono); font-size: .8rem; color: var(--mute); white-space: nowrap; }
.index .res { color: var(--ink-2); }
@media (max-width: 720px) { .index thead { display: none; } .index tr { display: grid; grid-template-columns: 1fr auto; padding: 14px 0; border-bottom: 1px solid var(--rule); } .index td { border: 0; padding: 2px 0; } .index td:first-child { grid-column: 1 / -1; } .index .res { grid-column: 1 / -1; } }

/* ---------- how we work: numbered paragraphs with drop caps ---------- */
.essay { columns: 2; column-gap: clamp(28px, 4vw, 56px); column-rule: 1px solid var(--rule); font-size: 1.05rem; }
.essay p { break-inside: avoid; color: var(--ink-2); }
.essay p b { color: var(--ink); font-weight: 500; }
.essay p:first-of-type::first-letter { float: left; font-size: 3.6em; line-height: .82; padding: .06em .1em 0 0; color: var(--red); font-variation-settings: "opsz" 72; }
@media (max-width: 760px) { .essay { columns: 1; } }

/* ---------- people as bylines ---------- */
.bylines { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 4vw, 56px); }
.bylines li { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.bylines .ini { width: 84px; height: 100px; border: 1.5px solid var(--ink); display: grid; place-items: center; font-family: var(--mono); font-size: .9rem; letter-spacing: .06em; }
.bylines .ini--red { background: var(--red); border-color: var(--red); color: #fff; }
.bylines h3 { font-size: 1.25rem; }
.bylines p { margin: 2px 0 0; color: var(--mute); font-size: .95rem; }
@media (max-width: 640px) { .bylines { grid-template-columns: 1fr; } }

/* ---------- notes ---------- */
.notes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.notes li { border-top: 1px solid var(--rule); padding-top: 12px; }
.notes time { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.notes h3 { font-size: 1.35rem; margin: 8px 0 8px; }
.notes p { color: var(--ink-2); font-size: .98rem; margin: 0; }
@media (max-width: 760px) { .notes { grid-template-columns: 1fr; } }

/* ---------- contact: a boxed notice ---------- */
.notice { border: 3px double var(--ink); padding: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.notice h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); font-variation-settings: "opsz" 72; text-wrap: balance; }
.notice p { color: var(--ink-2); margin: 14px 0 0; }
.notice__how { font-size: 1rem; }
.notice__how dt { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-top: 10px; }
.notice__how dd { margin: 2px 0 0; }
.notice__how dl { margin: 0 0 18px; }
@media (max-width: 760px) { .notice { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.foot { border-top: 3px solid var(--ink); margin-top: clamp(36px, 5vw, 64px); padding: 18px 0 32px; font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; color: var(--mute); }
.foot__row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a:hover { color: var(--ink); }

/* ---------- article (campaign page) ---------- */
.article { padding-top: clamp(28px, 4vw, 48px); }
.article__kicker { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.article h1 { font-size: clamp(2.4rem, 6vw, 5.4rem); font-variation-settings: "opsz" 72; line-height: 1; max-width: 13em; text-wrap: balance; }
.article .deck { font-size: clamp(1.15rem, 1.8vw, 1.45rem); color: var(--ink-2); max-width: 32em; margin: 22px 0 18px; font-variation-settings: "opsz" 24; line-height: 1.4; }
.article__byline { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 10px 0; display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.article__hero { border: 1px solid var(--rule); aspect-ratio: 12 / 5; object-fit: cover; width: 100%; margin-bottom: 36px; }
.article__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.body { font-size: 1.12rem; max-width: 38em; }
.body h2 { font-family: var(--mono); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: var(--red); margin: 36px 0 12px; }
.body h2:first-child { margin-top: 0; }
.body p { color: var(--ink-2); }
.body p.dropcap::first-letter { float: left; font-size: 3.8em; line-height: .82; padding: .06em .1em 0 0; color: var(--ink); font-variation-settings: "opsz" 72; }
.aside { position: sticky; top: 24px; }
.facts { border-top: 3px solid var(--ink); padding-top: 12px; margin: 0 0 28px; font-size: .95rem; }
.facts dt { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-top: 10px; }
.facts dd { margin: 2px 0 0; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--rule); }
.timeline li:last-child { border-bottom: 1px solid var(--rule); }
.timeline time { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--red); padding-top: 4px; }
.timeline h3 { font-size: 1.2rem; margin-bottom: 4px; }
.timeline p { margin: 0; color: var(--ink-2); font-size: 1rem; }
.pull { border-top: 3px solid var(--ink); border-bottom: 1px solid var(--rule); padding: 18px 0; margin: 36px 0; }
.pull p { font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.2; font-variation-settings: "opsz" 48; color: var(--ink); margin: 0 0 10px; }
.pull cite { font-family: var(--mono); font-style: normal; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.outcome { border-top: 3px solid var(--ink); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.outcome div { padding: 16px 16px 16px 0; border-right: 1px solid var(--rule); }
.outcome div + div { padding-left: 16px; }
.outcome div:last-child { border-right: 0; }
.outcome b { display: block; font-weight: 500; font-size: clamp(2rem, 4vw, 3.4rem); font-variation-settings: "opsz" 72; line-height: 1; color: var(--red); }
.outcome span { font-size: .92rem; color: var(--mute); }
.next { border-top: 3px solid var(--ink); margin-top: 48px; padding-top: 14px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: baseline; }
.next h3 { font-size: clamp(1.3rem, 2.4vw, 1.9rem); }
@media (max-width: 820px) { .article__grid { grid-template-columns: 1fr; } .aside { position: static; } .outcome { grid-template-columns: 1fr; } .outcome div { border-right: 0; border-bottom: 1px solid var(--rule); padding-left: 0; } }
@media (max-width: 640px) { .dateline { flex-direction: column; align-items: center; gap: 4px; text-align: center; } }

/* ---------- photographs ---------- */
.photo { width: 100%; object-fit: cover; border: 1px solid var(--rule); filter: saturate(.82) contrast(1.04); }
.lead__photo { margin-inline: auto; margin-top: 0; margin-bottom: clamp(28px, 4vw, 48px); }
.lead__photo .photo { aspect-ratio: 21 / 9; }
.lead__photo figcaption, .fig figcaption { font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin-top: 8px; }
.story--small img { aspect-ratio: 16 / 10; }
.essay__photo { margin: 0 0 clamp(20px, 3vw, 32px); }
.essay__photo .photo { aspect-ratio: 21 / 8; }
.bylines .ini { overflow: hidden; padding: 0; border-radius: 0; }
.bylines .ini img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .3s; }
.bylines li:hover .ini img { filter: none; }
.notes img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; border: 1px solid var(--rule); margin-bottom: 12px; filter: saturate(.82); }
.notice { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, .9fr); }
.notice__photo { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; filter: saturate(.8); }
@media (max-width: 760px) { .notice { grid-template-columns: 1fr; } .notice__photo { aspect-ratio: 16 / 9; } }
.credits { margin-top: 14px; font-size: .66rem; color: var(--mute); max-width: 70em; line-height: 1.6; }
.fig { margin: 24px 0 28px; }
.fig .photo { aspect-ratio: 16 / 9; }
.article__hero { filter: saturate(.85); }
