/* leedrutman.org: Instrument Serif headlines, Inter text; forest green and brass. */
:root {
  --bg: #fbfaf6;
  --text: #26302b;
  --ink: #13201a;
  --muted: #5f6a63;
  --forest: #13201a;
  --forest-2: #1d3328;
  --green: #1d4a37;
  --brass: #b08d57;
  --brass-text: #8a6d3b;
  --cream: #f4ead2;
  --rule: rgba(19, 32, 26, 0.12);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--forest); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.65; }
a { color: var(--green); text-underline-offset: 2px; }
a:hover { color: var(--brass-text); }
img { max-width: 100%; height: auto; display: block; }

/* Header */
.site-header { background: var(--forest); display: flex; align-items: center; gap: 36px; padding: 18px 32px; flex-wrap: wrap; }
.site-title { font-family: var(--serif); font-size: 34px; line-height: 1; letter-spacing: -0.3px; color: var(--cream); text-decoration: none; white-space: nowrap; }
.site-title:hover { color: #fff; }
nav ul { list-style: none; margin: 0; padding: 0; }
nav > ul { display: flex; flex-wrap: wrap; gap: 6px 24px; }
nav a { font-weight: 600; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: rgba(244, 234, 210, .82); text-decoration: none; }
nav a:hover, nav a.active, nav .folder.active > a { color: var(--brass); }
.folder { position: relative; }
.dropdown { display: none; position: absolute; top: 100%; left: -16px; background: var(--forest); padding: 14px 16px 8px;
  min-width: 270px; z-index: 5; }
.dropdown li { padding: 4px 0 8px; line-height: 1.3; }
.folder:hover .dropdown, .folder:focus-within .dropdown { display: block; }
#menu-toggle, .menu-button { display: none; }

/* Full-bleed hero */
.hero { position: relative; min-height: min(78vh, 640px); background-size: cover; background-color: var(--forest-2);
  display: flex; align-items: flex-end; }
.hero::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,18,14,0) 35%, rgba(10,18,14,.55) 70%, rgba(10,18,14,.88) 100%); }
.hero-text { position: relative; width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 32px 40px; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 6vw, 72px); line-height: 1.02; letter-spacing: -1px;
  color: #fff; margin: 0; max-width: 900px; }
.hero-credit { font-size: 11px; color: rgba(255,255,255,.6); margin: 14px 0 0; }

/* Content */
.wrap { max-width: 1120px; margin: 0 auto; padding: 48px 32px 80px; }
.with-sidebar .wrap { display: grid; grid-template-columns: 220px 1fr; gap: 48px; }
.sidebar h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; color: var(--ink); margin: 0 0 12px; }
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar li { margin: 0 0 9px; line-height: 1.3; }
.sidebar a { font-weight: 600; font-size: 11.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.sidebar a.active, .sidebar a:hover { color: var(--green); }
main { max-width: 860px; }
.home main, .has-hero main { max-width: none; }

h1 { font-family: var(--serif); font-weight: 400; font-size: 56px; line-height: 1.05; letter-spacing: -0.8px; color: var(--ink); margin: 0 0 28px; }
h2 { font-family: var(--serif); font-weight: 400; font-size: 36px; line-height: 1.1; letter-spacing: -0.4px; color: var(--ink); margin: 40px 0 16px; }
h2 a { text-decoration: none; color: inherit; }
h3 { font-weight: 700; font-size: 12.5px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--brass-text); margin: 28px 0 10px; }
h2.year { font-size: 30px; margin: 44px 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--rule); }
hr { border: 0; border-top: 1px solid var(--rule); margin: 40px 0; clear: both; }
blockquote { margin: 0 0 1.2em; padding-left: 20px; border-left: 3px solid var(--brass); }
ul { padding-left: 1.2em; }
li { margin-bottom: .45em; }
li p { margin: 0; }
em > a, a > em { color: inherit; }
.small, .note { font-size: 13.5px; color: var(--muted); }
.draft-note { background: #fff4d6; border-left: 4px solid var(--brass); padding: 10px 14px; font-size: 14px; color: #5a4a2a; }

/* Images, video, layout helpers */
.float-right { float: right; width: 40%; margin: 0 0 20px 36px; }
.float-left { float: left; width: 40%; margin: 0 36px 20px 0; }
.video { position: relative; padding-bottom: 56.25%; height: 0; margin: 0 0 12px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.row { display: flex; gap: 40px; }
.row > .col { flex: 1; min-width: 0; }
main::after { content: ""; display: block; clear: both; }
.btn { display: inline-block; padding: 12px 20px; background: var(--green); color: var(--cream); font-weight: 700; font-size: 12.5px;
  letter-spacing: 1.2px; text-transform: uppercase; text-decoration: none; }
.btn:hover { background: var(--forest); color: #fff; }
.more { font-weight: 600; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; }
.more::after { content: " →"; }

/* Feeds */
.feed { list-style: none; padding: 0; margin: 0 0 14px; }
.feed li { padding: 10px 0; border-bottom: 1px solid var(--rule); margin: 0; line-height: 1.35; }
.feed a { font-family: var(--serif); font-size: 22px; text-decoration: none; color: var(--ink); }
.feed a:hover { color: var(--green); }
.feed .date { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; }

/* Home */
.intro { font-size: 19px; line-height: 1.6; max-width: 820px; }
.praise { background: var(--forest-2); color: var(--cream); margin: 48px -32px; padding: 44px 32px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.praise p { font-family: var(--serif); font-size: 25px; line-height: 1.25; margin: 0; }
.praise cite { display: block; margin-top: 12px; font-family: var(--sans); font-style: normal; font-size: 12px; letter-spacing: 1.3px; text-transform: uppercase; color: var(--brass); }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px 56px; }
.card h2 { border-top: 3px solid var(--brass); padding-top: 14px; margin-top: 0; }
.covers { display: flex; gap: 20px; margin-bottom: 14px; }
.covers > * { flex: 1; }
.covers img { box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.projects { border-top: 1px solid var(--rule); margin-top: 56px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; }
.projects h3 { margin-top: 28px; }
.projects p { margin: 0; }

/* Featured media */
.feature { background: var(--forest-2); color: var(--cream); padding: 30px 32px; margin: 0 0 40px; }
.feature h3 { color: var(--brass); margin-top: 0; }
.feature h2 { color: #fff; margin: 0 0 10px; }
.feature a { color: var(--cream); }
.feature iframe { width: 100%; height: 175px; border: 0; margin-top: 16px; }
.media-links { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 40px; }
.media-links a { font-family: var(--serif); font-size: 26px; text-decoration: none; color: var(--ink); }

/* Speaking and Press */
.stages { display: flex; flex-wrap: wrap; gap: 8px 26px; padding: 0 0 26px; border-bottom: 1px solid var(--rule); font-size: 14.5px; color: var(--muted); }
.stages b { font-size: 11.5px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--ink); }
.photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.photos a { font-size: 13px; }
.photos img { margin-bottom: 6px; }

/* Footer */
.site-footer { background: var(--forest); color: rgba(244, 234, 210, .75); padding: 48px 32px; }
.footer-inner { max-width: 1120px; margin: 0 auto; }
.footer-sub { font-family: var(--serif); font-size: 28px; color: var(--cream); margin: 0 0 16px; line-height: 1.2; }
.site-footer .btn { background: var(--brass); color: var(--forest); }
.footer-contact { margin: 28px 0 0; font-size: 14px; }
.footer-contact a { color: var(--cream); }
.site-footer .small { color: rgba(244, 234, 210, .5); margin: 28px 0 0; }

/* Phones */
@media (max-width: 800px) {
  body { font-size: 16.5px; }
  .site-header { padding: 14px 16px; gap: 10px; }
  .site-title { font-size: 28px; flex: 1; }
  .menu-button { display: block; font-weight: 600; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase;
    padding: 10px 0; cursor: pointer; color: var(--cream); }
  nav { display: none; width: 100%; }
  #menu-toggle:checked ~ nav { display: block; }
  nav > ul { flex-direction: column; gap: 12px; padding: 8px 0 12px; }
  .dropdown { display: block; position: static; padding: 8px 0 0 16px; min-width: 0; }
  .hero { min-height: 72vh; }
  .hero-text { padding: 0 16px 28px; }
  .wrap { padding: 32px 16px 60px; }
  .with-sidebar .wrap { display: block; }
  .sidebar { display: none; }
  h1 { font-size: 42px; }
  h2 { font-size: 30px; }
  .praise { grid-template-columns: 1fr; margin: 36px -16px; padding: 32px 16px; gap: 24px; }
  .grid, .projects, .media-links { grid-template-columns: 1fr; gap: 36px; }
  .photos { grid-template-columns: repeat(2, 1fr); }
  .float-right, .float-left { float: none; width: 100%; margin: 0 0 20px; }
  .row { flex-direction: column; gap: 0; }
  .feature { padding: 22px 16px; margin: 0 -16px 32px; }
}

/* Writing: featured essays */
.featured { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 40px; margin-bottom: 20px; }
.featured > div { border-top: 3px solid var(--brass); padding-top: 12px; }
.featured h3 { margin: 0 0 6px; }
.featured p { margin: 0; }
.featured a { font-family: var(--serif); font-size: 28px; line-height: 1.15; text-decoration: none; color: var(--ink); }
.featured a:hover { color: var(--green); }
.featured .small { margin-top: 6px; }
@media (max-width: 800px) { .featured { grid-template-columns: 1fr; } }

/* Undercurrent Events featured essays */
.ue-home { margin: 0 0 56px; }
.ue-home h2 { border-top: 3px solid var(--brass); padding-top: 14px; margin-top: 0; }
.ue-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 8px 0 26px; }
.ue-card { display: flex; flex-direction: column; text-decoration: none; color: var(--text); }
.ue-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center; background: #fff; border: 1px solid var(--rule); margin-bottom: 12px; }
.ue-card img[src*="moderation"] { object-fit: contain; }
.ue-title { font-family: var(--serif); font-size: 24px; line-height: 1.15; color: var(--ink); margin-bottom: 6px; }
.ue-card:hover .ue-title { color: var(--green); }
.ue-sub { font-size: 15px; line-height: 1.45; }
.ue-card .date { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
@media (max-width: 800px) { .ue-cards { grid-template-columns: 1fr; } }

/* Research: signature chart */
.signature { margin: 0 0 40px; }
.signature img { border: 1px solid var(--rule); }
.signature figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; line-height: 1.5; }

/* Topics */
.topic-index { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0 0 36px; }
.topic-index a { font-size: 13px; font-weight: 600; text-decoration: none; padding: 6px 12px; border: 1px solid var(--rule); background: #fff; }
.topic-index a:hover { border-color: var(--brass); }
.topic { border-top: 3px solid var(--brass); padding-top: 4px; margin-bottom: 40px; scroll-margin-top: 20px; }
.topic h2 { margin-top: 12px; }

/* Research citations */
.scholar-link { font-size: 15px; margin: -10px 0 18px; }
.cites p { padding-left: 1.6em; text-indent: -1.6em; margin: 0 0 14px; font-size: 16px; line-height: 1.55; }
.cites a { word-break: break-all; }

/* Speaking: talks */
.talks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 40px; margin-bottom: 16px; }
.talks > div { border-top: 3px solid var(--brass); padding-top: 4px; }
.talks h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; letter-spacing: -0.3px; text-transform: none; color: var(--ink); margin: 10px 0 6px; }
.talks p { margin: 0 0 6px; }
@media (max-width: 800px) { .talks { grid-template-columns: 1fr; } }

/* Press coverage */
.coverage { list-style: none; padding: 0; margin: 0 0 24px; }
.coverage li { padding: 10px 0; border-bottom: 1px solid var(--rule); margin: 0; line-height: 1.35; }
.coverage a { font-family: var(--serif); font-size: 21px; text-decoration: none; color: var(--ink); }
.coverage a:hover { color: var(--green); }
.coverage .date { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; }
.quoted-strip { text-align: center; font-family: var(--serif); font-size: 20px; color: var(--ink); line-height: 1.6; margin: -16px 0 52px; }
.quoted-strip .label { display: block; font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: var(--brass-text); margin-bottom: 4px; }
.quoted-strip a { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; margin-left: 6px; }
