/* Who is Who in Paid Search — 2026 refresh. Trade-annual registry design. */
:root {
  --bg: #f7f4ec;
  --card: #fffdf6;
  --ink: #23301f;
  --muted: #6b7263;
  --emerald: #14532d;
  --emerald-deep: #0d3b20;
  --brass: #a06c1c;
  --brass-bright: #c8912f;
  --rule: #e4dfd0;
  --max: 980px;
  --narrow: 690px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14201a;
    --card: #1c2a22;
    --ink: #e9ecdf;
    --muted: #9fac97;
    --emerald: #0f3d24;
    --emerald-deep: #0a2c1a;
    --brass: #d3a24a;
    --brass-bright: #e0b666;
    --rule: #2c3c31;
  }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.72 "Spectral", Georgia, serif;
}
a { color: var(--brass); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.4rem; }

header.site { background: var(--emerald-deep); padding: 0.95rem 0; border-bottom: 3px double var(--brass-bright); }
header.site .wrap { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.wordmark {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.2rem;
  color: #f3ecd8;
}
.wordmark span { color: var(--brass-bright); font-style: italic; }
.wordmark:hover { text-decoration: none; }
nav.top { display: flex; gap: 1rem; flex-wrap: wrap; font-family: "Figtree", system-ui, sans-serif; font-size: 0.82rem; font-weight: 600; }
nav.top a { color: #b9c7ae; }
nav.top a:hover { color: var(--brass-bright); text-decoration: none; }

.kicker {
  display: block;
  font-family: "Figtree", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}
.kicker.light { color: var(--brass-bright); }

/* Masthead */
.masthead { background: var(--emerald); color: #f3ecd8; padding: 3rem 0 3.2rem; }
.masthead-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 2.4rem; align-items: center; }
.masthead h1 {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.4rem, 7vw, 3.9rem);
  line-height: 1.02;
  margin: 0.5rem 0 0.9rem;
}
.masthead-sub { color: #cfdac2; max-width: 30em; font-size: 1rem; }
.masthead-art {
  width: 100%;
  height: auto;
  border-radius: 6px;
  border: 3px solid var(--brass-bright);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.35);
}
@media (max-width: 760px) { .masthead-grid { grid-template-columns: 1fr; } }

main { padding: 2.8rem 0 3.4rem; }

.context { max-width: var(--narrow); margin: 0 auto 2.8rem; }
.context h2, .sections > h2 {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  font-size: 1.65rem;
  margin-bottom: 0.9rem;
}
.context p { margin-bottom: 1.1rem; }
.context p:first-of-type::first-letter {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 3.1em;
  float: left;
  line-height: 0.85;
  padding: 0.06em 0.12em 0 0;
  color: var(--emerald);
}
@media (prefers-color-scheme: dark) {
  .context p:first-of-type::first-letter { color: var(--brass-bright); }
}

/* The registry entry card — the signature */
.featured { margin-bottom: 3rem; }
.entry-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--brass);
  outline: 4px solid var(--card);
  outline-offset: -8px;
  border-radius: 4px;
  padding: 2rem 2.2rem 2.1rem;
  box-shadow: 0 10px 34px rgba(35, 48, 31, 0.12);
}
.entry-no {
  display: block;
  font-family: "Figtree", system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-bottom: 0.7rem;
}
.entry-name {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.7rem, 5vw, 2.4rem);
  text-align: center;
  color: var(--emerald);
  border-bottom: 3px double var(--brass);
  padding-bottom: 0.8rem;
  margin-bottom: 1.2rem;
}
@media (prefers-color-scheme: dark) { .entry-name { color: var(--brass-bright); } }
.entry-fields { display: grid; grid-template-columns: 9.5em 1fr; gap: 0.55rem 1.2rem; }
.entry-fields dt {
  font-family: "Figtree", system-ui, sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  padding-top: 0.25em;
}
.entry-fields dd { font-size: 0.98rem; }
@media (max-width: 560px) {
  .entry-fields { grid-template-columns: 1fr; gap: 0.1rem; }
  .entry-fields dd { margin-bottom: 0.6rem; }
}

/* Dossier cards */
.sections > h2 { text-align: center; margin-bottom: 1.6rem; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.4rem;
}
.dossier {
  display: block;
  background: var(--card);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--brass);
  border-radius: 6px;
  overflow: hidden;
  color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.dossier:hover {
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(35, 48, 31, 0.16);
}
.dossier img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.dossier-body { padding: 1.05rem 1.2rem 1.25rem; }
.dossier h3 {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  font-size: 1.18rem;
  margin: 0.3rem 0 0.4rem;
}
.dossier:hover h3 { color: var(--brass); }
.dossier p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

/* Entry pages */
article.entry { max-width: var(--narrow); margin: 0 auto; }
article.entry header { margin-bottom: 1.4rem; }
article.entry h1 {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.9rem, 5.5vw, 2.7rem);
  line-height: 1.1;
  margin-top: 0.4rem;
}
.entry-hero {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid var(--rule);
  margin: 0 0 1.8rem;
}
article.entry p { margin: 0 0 1.15rem; }
article.entry h2 {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  font-size: 1.4rem;
  margin: 1.9rem 0 0.7rem;
}

.blogroll { margin: 0 0 1.2rem; }
.blogroll dt { font-weight: 600; margin-top: 1rem; }
.blogroll dd { color: var(--muted); font-size: 0.95rem; margin-top: 0.15rem; }
.note { font-size: 0.88rem; font-style: italic; color: var(--muted); }

.pager {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 3px double var(--rule);
  margin-top: 2.4rem;
  padding-top: 1.2rem;
  font-family: "Figtree", system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
}

footer.site { background: var(--emerald-deep); color: #a8b89e; padding: 1.6rem 0 2rem; font-family: "Figtree", system-ui, sans-serif; font-size: 0.8rem; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; border-radius: 3px; }
@media (prefers-reduced-motion: reduce) { .dossier { transition: none; } }
