:root {
  --ink: #171819;
  --muted: #5f625d;
  --line: #d8d3c8;
  --paper: #f7f2e8;
  --panel: #fffaf0;
  --green: #244b3d;
  --green-dark: #19362c;
  --clay: #a35d3b;
  --gold: #b8944f;
  --blue-slate: #3d6173;
  --white: #ffffff;
  --header-height: 72px;
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-padding-top: calc(var(--header-height) + 20px);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: var(--header-height);
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.6), rgba(247, 242, 232, 0) 320px),
    var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

a[data-tooltip] {
  position: relative;
}

a[data-tooltip]::after {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  z-index: 20;
  max-width: min(260px, 82vw);
  padding: 7px 10px;
  border-radius: 5px;
  background: var(--ink);
  color: var(--white);
  content: attr(data-tooltip);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
  opacity: 0;
  pointer-events: none;
  text-align: center;
  text-transform: none;
  transform: translate(-50%, 4px);
  transition:
    opacity 140ms ease,
    transform 140ms ease;
  white-space: normal;
  width: max-content;
}

a[data-tooltip]::before {
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  z-index: 21;
  border: 6px solid transparent;
  border-top-color: var(--ink);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition:
    opacity 140ms ease,
    transform 140ms ease;
}

a[data-tooltip]:hover::after,
a[data-tooltip]:focus-visible::after,
a[data-tooltip]:hover::before,
a[data-tooltip]:focus-visible::before {
  opacity: 1;
  transform: translate(-50%, 0);
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(23, 24, 25, 0.08);
  background: rgba(255, 250, 240, 0.92);
  backdrop-filter: blur(18px);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 750;
  text-decoration: none;
}

.wordmark img {
  width: 34px;
  height: 34px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.94rem;
}

.nav a {
  flex: 0 0 auto;
  text-decoration: none;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.54fr);
  gap: clamp(28px, 3.5vw, 48px);
  align-items: stretch;
  min-height: 690px;
  padding: clamp(34px, 5vw, 64px) clamp(18px, 4vw, 56px) 34px;
  border-bottom: 1px solid rgba(36, 75, 61, 0.12);
}

.hero > *,
.section > *,
.contact > * {
  min-width: 0;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 830px;
  padding-bottom: 32px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 15.5ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  font-weight: 500;
  line-height: 0.99;
  letter-spacing: 0;
}

.lede {
  max-width: 700px;
  margin: 24px 0 0;
  color: #31332f;
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
}

.role-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 28px;
}

.role-strip span {
  display: inline-flex;
  align-items: center;
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.role-strip span + span {
  padding-left: 14px;
  border-left: 1px solid rgba(23, 24, 25, 0.22);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--green);
  border-radius: 6px;
  font-size: 0.96rem;
  font-weight: 750;
  text-decoration: none;
  transition:
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

.button.primary {
  background: var(--green);
  color: var(--panel);
}

.button.primary:hover {
  background: var(--green-dark);
}

.contact-actions .button {
  flex: 0 0 220px;
  width: 220px;
  white-space: nowrap;
}

.portrait {
  align-self: center;
  justify-self: start;
  width: 100%;
  max-width: min(36vw, 540px);
  margin: 0;
}

.portrait img {
  width: 100%;
  height: auto;
  margin-inline: auto;
  transform: translateX(clamp(-160px, -10vw, -96px));
}

.intro {
  padding: clamp(44px, 7vw, 90px) clamp(18px, 9vw, 144px);
  background:
    linear-gradient(90deg, rgba(25, 54, 44, 0.72), rgba(36, 75, 61, 0)),
    var(--green);
  color: var(--panel);
}

.intro p {
  max-width: 1020px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.5vw, 2.25rem);
  line-height: 1.22;
}

.section {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(48px, 7vw, 86px) clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 360px;
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 3vw, 3rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.25;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.focus-grid article,
.timeline-item {
  min-height: 168px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 48px rgba(25, 54, 44, 0.06);
}

.focus-grid p,
.timeline-item p,
.writing > p {
  margin: 12px 0 0;
  color: var(--muted);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.date {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.proof {
  background:
    linear-gradient(180deg, rgba(184, 148, 79, 0.16), rgba(184, 148, 79, 0.05)),
    #eee7dc;
}

.proof-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.proof-list li {
  padding: 18px 20px;
  border-left: 5px solid var(--gold);
  background: rgba(255, 250, 240, 0.8);
}

.writing {
  background: var(--paper);
}

.writing > p,
.writing .selected-writing,
.writing .writing-links {
  grid-column: 2;
}

.writing > p {
  max-width: 760px;
  margin-top: 0;
  font-size: 1.18rem;
}

.selected-writing {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.selected-writing article {
  position: relative;
  padding: 22px 24px 22px 28px;
  border-left: 4px solid var(--blue-slate);
  background: rgba(255, 250, 240, 0.58);
}

.selected-writing a {
  color: var(--blue-slate);
  font-size: 1.08rem;
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.selected-writing a:hover {
  color: var(--green-dark);
  text-decoration-thickness: 2px;
}

.selected-writing p {
  max-width: 820px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.writing-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 24px;
}

.text-link {
  display: inline-block;
  color: var(--blue-slate);
  font-weight: 800;
  text-underline-offset: 5px;
}

.download-page {
  min-height: 100vh;
}

.download-hero {
  display: grid;
  min-height: calc(100vh - var(--header-height) - 81px);
  padding: clamp(54px, 9vw, 110px) clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(36, 75, 61, 0.12);
}

.download-copy {
  align-self: center;
  width: min(1120px, 100%);
}

.download-copy h1 {
  max-width: 14ch;
}

.download-list {
  display: grid;
  gap: 24px;
  margin-top: 42px;
}

.download-card {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 42px);
  align-items: center;
  max-width: 920px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.78);
  box-shadow: 0 18px 48px rgba(25, 54, 44, 0.06);
}

.download-cover {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(23, 24, 25, 0.12);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 16px 38px rgba(23, 24, 25, 0.14);
}

.download-cover img {
  width: 100%;
  height: auto;
}

.download-detail h2 {
  max-width: 620px;
  font-size: clamp(1.45rem, 2.4vw, 2.35rem);
}

.download-detail p {
  max-width: 630px;
  margin: 14px 0 0;
  color: var(--muted);
}

.download-type {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 34px;
}

.download-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(44px, 7vw, 86px) clamp(18px, 4vw, 56px);
  background:
    linear-gradient(135deg, rgba(61, 97, 115, 0.18), rgba(163, 93, 59, 0.1)),
    var(--ink);
  color: var(--panel);
}

.contact .eyebrow {
  color: #d3ad66;
}

.contact h2 {
  max-width: 900px;
}

.footer {
  padding: 28px clamp(18px, 4vw, 56px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.footer p {
  margin: 0;
}

@media (max-width: 900px) {
  :root {
    --header-height: 128px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .section {
    grid-template-columns: 1fr;
  }

  .writing > p,
  .writing .selected-writing,
  .writing .writing-links {
    grid-column: 1;
  }

  .hero {
    min-height: auto;
    overflow: hidden;
  }

  h1 {
    max-width: 15.5ch;
  }

  .portrait {
    justify-self: center;
  }

  .portrait img {
    transform: none;
  }

  .focus-grid,
  .timeline,
  .download-card {
    grid-template-columns: 1fr;
  }

  .download-cover {
    max-width: 260px;
  }

  .contact {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  :root {
    --header-height: 156px;
  }

  body {
    font-size: 16px;
  }

  .site-header {
    padding-inline: 20px;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    gap: 10px;
    font-size: 0.86rem;
  }

  .hero {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100vw;
    padding-inline: 20px;
  }

  h1 {
    max-width: 14ch;
    font-size: clamp(2rem, 9vw, 2.65rem);
  }

  .hero-copy,
  .intro p {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .lede,
  .role-strip,
  .hero-actions {
    max-width: min(100%, calc(100vw - 40px));
  }

  .eyebrow {
    max-width: 30ch;
    letter-spacing: 0.08em;
  }

  .lede {
    max-width: 30ch;
  }

  .role-strip {
    flex-direction: column;
    gap: 8px;
  }

  .role-strip span + span {
    padding-left: 0;
    border-left: 0;
  }

  .intro {
    padding-inline: 20px;
  }

  .intro p {
    width: 100%;
    max-width: 32ch;
    font-size: clamp(1.18rem, 5.3vw, 1.35rem);
    line-height: 1.24;
  }

  .portrait {
    width: 100%;
  }

  .portrait img {
    max-width: min(92vw, 470px);
  }

  .hero-actions,
  .contact-actions,
  .download-actions {
    align-self: stretch;
    width: auto;
  }

  .button {
    width: 100%;
  }

  .contact-actions .button {
    flex: 1 1 100%;
    width: 100%;
  }

  .focus-grid article,
  .timeline-item {
    min-height: auto;
  }
}
