:root {
  --paper: #f4f5f6;
  --ink: #171a1d;
  --muted: #676763;
  --accent: #8a2130;
  --line: rgba(23, 26, 29, 0.17);
}

html,
body {
  background: var(--paper);
  color: var(--ink);
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, ui-sans-serif, system-ui, sans-serif;
  font-size: 16.5px;
  line-height: 1.67;
}

.navbar {
  min-height: 68px;
  padding-block: 0.55rem;
  background: rgba(244, 245, 246, 0.96) !important;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.navbar-title,
.navbar-title:hover,
.navbar-brand,
.navbar-brand:hover {
  color: var(--ink) !important;
  font-family: "Helvetica Neue", Helvetica, Arial, ui-sans-serif, system-ui, sans-serif;
  font-weight: 650;
  font-size: 1rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.navbar .nav-link {
  color: var(--ink) !important;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--accent) !important;
}

a {
  color: #741b28;
  text-decoration-color: rgba(116, 27, 40, 0.43);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

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

.page-layout-article main.content {
  max-width: 800px;
  padding-top: clamp(2.4rem, 5vw, 4.2rem);
  padding-bottom: 5rem;
}

#title-block-header {
  margin-bottom: 2.25rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}

h1,
h2,
h3 {
  color: var(--ink);
}

h1,
h2 {
  font-family: "Helvetica Neue", Helvetica, Arial, ui-sans-serif, system-ui, sans-serif;
  font-weight: 620;
  letter-spacing: -0.025em;
}

h1 {
  margin: 0;
  font-size: clamp(2.05rem, 4vw, 2.75rem);
  line-height: 1.06;
}

h2 {
  margin-top: 3.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  line-height: 1.18;
}

h3 {
  margin-top: 2.15rem;
  font-size: 1.05rem;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-family: "Helvetica Neue", Helvetica, Arial, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.15rem;
  line-height: 1.5;
}

.home-shell {
  position: relative;
  width: 100vw;
  min-height: calc(100vh - 68px);
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  isolation: isolate;
  background: var(--paper);
  color: var(--ink);
}

.home-shell::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: url("rittenhouse.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
  filter: grayscale(1) contrast(1.04) brightness(1.04);
}

.home-shell::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(244, 245, 246, 0.92) 0%,
    rgba(244, 245, 246, 0.86) 40%,
    rgba(244, 245, 246, 0.66) 58%,
    rgba(244, 245, 246, 0.25) 82%,
    rgba(244, 245, 246, 0.08) 100%);
  content: "";
}

.hero-panel {
  display: flex;
  align-items: center;
  width: min(1320px, calc(100% - 4rem));
  min-height: calc(100vh - 68px);
  margin: 0 auto;
}

.hero-copy {
  width: min(690px, 64%);
  padding: clamp(3.2rem, 7vw, 6.5rem) 0;
}

.eyebrow {
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 650px;
  margin: 0 0 1.35rem;
  color: var(--ink);
  font-size: clamp(2.8rem, 4.8vw, 3.85rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.dek {
  max-width: 630px;
  margin: 0 0 2.15rem;
  color: #353a3f;
  font-family: "Helvetica Neue", Helvetica, Arial, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.08rem, 1.65vw, 1.35rem);
  line-height: 1.46;
}

.role-stack {
  max-width: 670px;
  margin-bottom: 1.9rem;
  border-top: 1px solid var(--line);
}

.role-stack p {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) minmax(245px, 0.9fr);
  gap: 1.4rem;
  margin: 0;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.86rem;
  line-height: 1.38;
}

.role-stack strong {
  font-weight: 650;
}

.role-stack span {
  color: var(--muted);
}

.role-stack a {
  color: var(--ink);
  text-decoration-color: rgba(23, 26, 29, 0.38);
}

.hero-links,
.hero-links p {
  margin: 0;
}

.hero-links p {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-links a {
  display: inline-block;
  min-width: 104px;
  padding: 0.57rem 0.95rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.hero-links a:hover,
.hero-links .primary-link {
  background: var(--ink);
  color: #fff;
}

.hero-links .primary-link:hover {
  background: #383c40;
}

.photo-caption {
  position: absolute;
  right: 1.6rem;
  bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.61rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.page-footer {
  padding-block: 1rem;
  background: #171a1d !important;
  border-top: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.76rem;
}

.page-footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 800px) {
  .home-shell::before {
    background-position: center;
    background-size: cover;
  }

  .home-shell::after {
    background: rgba(244, 245, 246, 0.86);
  }

  .hero-panel {
    width: min(100% - 2.4rem, 1320px);
  }

  .hero-copy {
    width: 100%;
  }

  .photo-caption {
    display: none;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .hero-copy h1 {
    font-size: clamp(2.75rem, 14vw, 3.7rem);
  }

  .role-stack p {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
}
