:root {
  --ink: #1c2430;
  --ink-muted: #4a5568;
  --paper: #f8f6f1;
  --paper-warm: #f0ebe3;
  --accent: #2d4a6f;
  --accent-light: #3d6a9f;
  --wine: #6b2d3e;
  --border: #d8d2c8;
  --max: 42rem;
  --wide: 56rem;
  --section-scroll-band: 2.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-width: 100%;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

h1,
h2,
h3 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--accent-light);
}

a:hover {
  color: var(--accent);
}

.site-banner {
  position: relative;
  display: block;
  width: 100vw;
  max-width: 100vw;
  height: clamp(29.7rem, 64.8vw, 43.2rem);
  margin: 0;
  margin-left: calc(50% - 50vw);
  padding: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--paper);
  line-height: 0;
}

.site-banner__photo {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  object-fit: cover;
  object-position: center center;
}

.site-banner__title {
  position: absolute;
  left: max(1.5rem, calc(50% - var(--wide) / 2 + 1.5rem));
  top: 3.5rem;
  z-index: 1;
  margin: 0;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(4.5rem, 12vw, 6.75rem);
  font-weight: 700;
  line-height: 1.05;
  color: #fff;
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.9),
    0 4px 14px rgba(0, 0, 0, 0.8),
    0 8px 28px rgba(28, 36, 48, 0.75),
    0 16px 48px rgba(28, 36, 48, 0.6);
}

.site-banner__title-line {
  display: block;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header__inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-title {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0;
}

.site-title a {
  color: var(--ink);
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  font-size: 0.9rem;
}

.site-nav a {
  color: var(--ink-muted);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--accent);
}

.page-intro {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.page-intro::after {
  content: "";
  display: table;
  clear: both;
}

.site-id-card {
  float: right;
  width: clamp(20rem, 48vw, 30rem);
  margin: 0 0 0 1.5rem;
  padding: 0;
  transform: translateX(20%);
}

.site-id-card img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  filter: drop-shadow(8px 10px 6px rgba(28, 36, 48, 0.45))
    drop-shadow(14px 18px 16px rgba(28, 36, 48, 0.28));
}

.hero {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 3.5rem 1.5rem 2.5rem;
}

.page-intro .hero {
  max-width: none;
  margin: 0;
  padding: 2.5rem 0 2.5rem;
}

.hero__eyebrow {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.hero__subtitle {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 1.25rem;
}

.hero__subtitle-line {
  display: block;
  white-space: nowrap;
}

.hero__lede {
  max-width: var(--max);
  margin: 0;
  font-size: 1.2rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.hero__meta a {
  font-weight: 600;
}

.hero--wine h1 {
  color: var(--wine);
}

.hero__eyebrow--wine {
  color: var(--wine);
}

main {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.section {
  padding: var(--section-scroll-band) 0 5rem;
  border-top: 1px solid var(--border);
  font-size: 1.2rem;
}

.section:first-of-type {
  border-top: none;
}

.section h2 {
  font-size: 1.65rem;
  margin: 0 0 1.25rem;
}

.section--wine h2 {
  color: var(--wine);
}

.section p {
  max-width: var(--max);
  margin: 0 0 1rem;
}

.section p:last-child {
  margin-bottom: 0;
}

.section--politics::after,
.section--wine::after,
.section--writing::after {
  content: "";
  display: table;
  clear: both;
}

.section--politics p,
.section--wine p,
.section--writing p {
  max-width: none;
}

.section__float-figure {
  float: right;
  width: 50%;
  aspect-ratio: 944 / 1024;
  margin: 0.25rem 0 1rem 1.5rem;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.section__float-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.section--wine .section__float-figure img {
  object-position: 42% 58%;
}

.section--writing .section__float-figure img {
  object-position: center 45%;
}

.writing-page .section__float-figure {
  aspect-ratio: 1224 / 1584;
  border: 1px solid #000;
}

.writing-page .section__float-figure img {
  object-fit: contain;
  object-position: center top;
}

.writing-page .section__float-figure--moran {
  aspect-ratio: 1952 / 1486;
  border: none;
}

.writing-page .section__float-figure--moran img {
  object-fit: cover;
  object-position: center center;
}

.wine-page .section__float-figure {
  aspect-ratio: 390 / 722;
}

.wine-page .section__float-figure img {
  object-fit: contain;
  object-position: center center;
}

.politics-page .section__float-figure {
  aspect-ratio: 1024 / 773;
}

.wine-page h2 {
  clear: both;
  margin-top: 2rem;
}

.wine-page .timeline__role,
.writing-page .timeline__role,
.politics-page .timeline__role {
  display: inline;
}

.wine-page .timeline__role::after,
.writing-page .timeline__role::after,
.politics-page .timeline__role::after {
  content: " - ";
  font-weight: 400;
}

.wine-page .timeline__when,
.writing-page .timeline__when,
.politics-page .timeline__when {
  display: block;
}

.wine-page__logo-banner {
  margin: 1.25rem 0 1.75rem;
  padding: 1.5rem 1.25rem;
  background: linear-gradient(180deg, #fff 0%, var(--paper-warm) 100%);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.wine-page__logo-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 2rem;
}

.wine-page__logo-list li {
  flex: 0 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 7.5rem;
  height: 3.75rem;
}

.wine-page__logo-list li.wine-page__logo-item--wide {
  max-width: 10.5rem;
}

.wine-page__logo-list img {
  display: block;
  max-width: 100%;
  max-height: 3.75rem;
  width: auto;
  height: auto;
  object-fit: contain;
}

.wine-page__logo-list img.wine-page__logo-img--invert {
  filter: invert(1);
}

.writing-page h2 {
  clear: both;
  margin-top: 2rem;
}

.politics-page h2 {
  clear: both;
  margin-top: 2rem;
}

.writing-page__documents,
.politics-page__documents {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  clear: both;
  margin: 1.5rem 0 0.5rem;
}

.writing-page__documents .wine-page__document,
.politics-page__documents .wine-page__document {
  clear: none;
  margin: 0;
  flex: 1 1 9rem;
  max-width: 20%;
}

.writing-page__documents .wine-page__document-link,
.politics-page__documents .wine-page__document-link {
  width: 100%;
}

.wine-page__document {
  clear: both;
  margin: 1.5rem 0 0.5rem;
}

.wine-page__document-link {
  display: inline-block;
  width: 20%;
  min-width: 9rem;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s ease;
}

.wine-page__document-link:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.wine-page__document-thumb-wrap {
  display: block;
  width: 100%;
  aspect-ratio: 8.5 / 11;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(28, 36, 48, 0.12);
}

.wine-page__document-thumb-wrap--missing {
  background: linear-gradient(180deg, #fff 0%, var(--paper-warm) 100%);
}

.wine-page__document-thumb-wrap canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.wine-page__document-title {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--ink-muted);
}

.section p.section__actions {
  clear: both;
  margin-top: 2.5rem;
  max-width: none;
  width: 100%;
  text-align: center;
}

.section--politics .section__actions,
.section--wine .section__actions,
.section--writing .section__actions {
  margin-top: 4rem;
}

.button {
  display: inline-block;
  padding: 1.1rem 2.5rem;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 9999px;
  border: none;
  background: #4f6ef7;
  color: #fff;
  box-shadow: none;
  transition: filter 0.15s ease;
}

.button:hover {
  color: #fff;
  filter: brightness(1.08);
}

.button--wine:hover {
  color: #fff;
}

.education-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: var(--max);
}

.education-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
}

.education-list li:last-child {
  border-bottom: none;
}

.education-list strong {
  display: block;
  font-weight: 600;
}

.education-list span {
  color: var(--ink-muted);
  font-size: 1.05rem;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: var(--max);
}

.timeline li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.timeline li:last-child {
  border-bottom: none;
}

.timeline__role {
  font-weight: 600;
  display: block;
}

.timeline__org {
  color: var(--accent);
}

.timeline__when {
  font-size: 1rem;
  color: var(--ink-muted);
}

.timeline__detail {
  margin: 0.65rem 0 0;
  max-width: 42rem;
  color: var(--ink-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--paper-warm);
  padding: 2rem 1.5rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
  text-align: center;
}

.site-footer p {
  margin: 0.25rem 0;
}

@media (max-width: 600px) {
  .wine-page__document-link {
    width: min(20%, 11rem);
  }

  .writing-page__documents .wine-page__document,
  .politics-page__documents .wine-page__document {
    max-width: none;
    flex: 1 1 calc(50% - 0.625rem);
  }

  .writing-page__documents .wine-page__document-link,
  .politics-page__documents .wine-page__document-link {
    width: 100%;
  }

  .wine-page__logo-banner {
    padding: 1rem 0.75rem;
  }

  .wine-page__logo-list {
    gap: 1rem 1.25rem;
  }

  .wine-page__logo-list li {
    max-width: 6rem;
    height: 3rem;
  }

  .wine-page__logo-list li.wine-page__logo-item--wide {
    max-width: 8.5rem;
  }

  .wine-page__logo-list img {
    max-height: 3rem;
  }

  .section__float-figure {
    width: 50%;
    margin-left: 1rem;
    margin-bottom: 0.75rem;
  }

  .site-id-card {
    float: none;
    width: min(85%, 28rem);
    margin: 0 auto;
    transform: translateX(20%);
  }

  .page-intro .hero {
    padding-top: 1.5rem;
  }

  .site-nav {
    width: 100%;
  }
}
