:root {
  --ink: #151515;
  --paper: #f2f0e9;
  --white: #fff;
  --signal: #e7572e;
  --acid: #d7ef58;
  --muted: #686761;
  --line: rgba(21, 21, 21, 0.22);
  --site-ink: var(--ink);
  --site-muted: var(--muted);
  --site-primary: var(--signal);
  --site-surface: var(--paper);
  --site-border: var(--line);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  text-rendering: optimizeLegibility;
}

section[id] {
  scroll-margin-top: 2rem;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

.site-shell {
  max-width: 1480px;
  padding-inline: clamp(1.25rem, 4vw, 4.5rem);
}

.site-navbar {
  background: var(--paper);
}

.navbar-brand {
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1;
}

.navbar-brand:hover,
.navbar-brand:focus {
  color: var(--ink);
}

.brand-mark {
  display: grid;
  width: 2.55rem;
  height: 2.55rem;
  color: var(--paper);
  background: var(--ink);
  border-radius: 50%;
  font-size: 0.73rem;
  font-weight: 800;
  place-items: center;
}

.brand-copy {
  display: grid;
  gap: 0.18rem;
}

.brand-copy strong {
  font-size: 0.9rem;
  letter-spacing: -0.02em;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.brand-mobile {
  display: none;
}

.nav-link,
.nav-contact {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-link:hover,
.nav-link:focus,
.nav-contact:hover,
.nav-contact:focus {
  color: var(--signal);
}

.nav-contact {
  display: inline-block;
  padding: 0.65rem 1rem;
  color: var(--paper);
  background: var(--ink);
}

.nav-contact:hover,
.nav-contact:focus {
  color: var(--ink);
  background: var(--acid);
}

.navbar-toggler {
  border: 1px solid var(--ink);
  border-radius: 0;
}

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

.hero-grid {
  min-height: calc(100vh - 74px);
}

.hero-main {
  display: flex;
  padding: clamp(3rem, 7vw, 7rem) clamp(2rem, 5vw, 5rem) clamp(3rem, 6vw, 6rem) 0;
  border-right: 1px solid var(--ink);
  flex-direction: column;
  justify-content: space-between;
}

.section-label,
.eyebrow {
  margin: 0 0 2.5rem;
  color: var(--signal);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin: auto 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(5rem, 13vw, 12rem);
  font-weight: 400;
  letter-spacing: -0.085em;
  line-height: 0.72;
}

.hero-statement {
  max-width: 49rem;
  margin: 5rem 0 2rem;
  font-size: clamp(1.45rem, 2.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

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

.hero-links a {
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.hero-links a:hover,
.hero-links a:focus {
  color: var(--signal);
  text-decoration: underline;
}

.hero-aside {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.hero-aside-top {
  display: grid;
  gap: 1.5rem;
  padding: clamp(2rem, 4vw, 4rem);
  flex: 1;
  align-content: start;
}

.hero-aside-top p {
  max-width: 24rem;
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.45;
}

.hero-portrait {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--signal);
  flex: 0 0 auto;
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 38%;
}

.hero-portrait figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 0.65rem;
  padding: 1.4rem clamp(1.5rem, 3vw, 2.5rem) 1.6rem;
  color: var(--ink);
  background: var(--signal);
}

.hero-portrait figcaption span {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-portrait figcaption strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.themes-section,
.about-section {
  padding-block: clamp(5rem, 10vw, 10rem);
}

.section-intro {
  padding-bottom: clamp(4rem, 8vw, 8rem);
}

.section-intro h2,
.teaching-section h2,
.contact-section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 7vw, 7.5rem);
  font-weight: 400;
  letter-spacing: -0.075em;
  line-height: 0.9;
}

.section-lead {
  max-width: 43rem;
  margin: 2.5rem 0 0;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.impact-statement {
  margin: clamp(4.5rem, 8vw, 8rem) 0 0 25%;
}

.impact-statement p {
  max-width: 13ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6.3vw, 7rem);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.impact-statement span,
.impact-statement strong {
  display: block;
}

.impact-statement strong {
  color: var(--signal);
  font-weight: 400;
}

.theme-list {
  display: grid;
  gap: clamp(4rem, 8vw, 7rem);
}

.theme-row {
  padding-block: 0;
  margin: 0;
}

.theme-number {
  color: var(--signal);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.theme-row h3 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 3.3rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.theme-row p {
  max-width: 35rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.55;
}

.teaching-section {
  padding-block: clamp(5rem, 10vw, 10rem);
  color: var(--paper);
  background: var(--ink);
}

.section-label-light {
  color: var(--acid);
}

.teaching-section h2 {
  max-width: 11ch;
}

.teaching-intro {
  max-width: 32rem;
  margin: 3rem 0 0;
  color: rgba(242, 240, 233, 0.68);
  font-size: clamp(1.1rem, 1.65vw, 1.45rem);
  line-height: 1.55;
}

.teaching-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(4rem, 7vw, 7rem);
}

.teaching-gallery figure {
  position: relative;
  aspect-ratio: 1 / 1;
  margin: 0;
  overflow: hidden;
}

.teaching-gallery img {
  width: 100%;
  height: 100%;
  filter: saturate(0.8) contrast(1.03);
  object-fit: cover;
  object-position: center;
}

.teaching-gallery figure:nth-child(2) img {
  object-position: 57% center;
}

.teaching-gallery figure:nth-child(3) img {
  object-position: 55% center;
}

.teaching-gallery-workshop img {
  object-position: center 24%;
}

.teaching-gallery figure:nth-child(6) img {
  object-position: 64% center;
}

.teaching-gallery figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 0.3rem;
  padding: 0.8rem 1rem;
  color: var(--paper);
  background: rgba(21, 21, 21, 0.86);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 160ms ease, transform 160ms ease;
  text-transform: uppercase;
}

.teaching-gallery figcaption a {
  color: var(--paper);
  font-weight: 800;
  text-decoration: none;
}

.teaching-gallery figcaption a span {
  opacity: 0.65;
}

.teaching-gallery figcaption > span {
  color: rgba(242, 240, 233, 0.62);
  font-size: 0.55rem;
}

.teaching-gallery figcaption a:hover,
.teaching-gallery figcaption a:focus {
  color: var(--acid);
  text-decoration: underline;
}

.teaching-gallery figure:hover figcaption,
.teaching-gallery figure:focus-within figcaption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-info {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  display: none;
  width: 1.85rem;
  aspect-ratio: 1;
  padding: 0;
  color: var(--paper);
  background: rgba(21, 21, 21, 0.82);
  border: 1px solid rgba(242, 240, 233, 0.72);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
  place-items: center;
}

.teaching-gallery figure:focus-within .gallery-info {
  opacity: 0;
}

.engagement-list {
  display: grid;
  gap: clamp(2.5rem, 4vw, 4rem);
}

.engagement-item {
  position: relative;
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr) auto;
  gap: 1.5rem;
  padding: 0;
  color: var(--paper);
  text-decoration: none;
}

a.engagement-item:hover,
a.engagement-item:focus {
  color: var(--acid);
}

.engagement-year {
  color: var(--acid);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.engagement-item h3 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.25rem, 2vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.engagement-item p {
  margin: 0;
  color: rgba(242, 240, 233, 0.6);
  font-size: 0.82rem;
}

.engagement-meta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  align-self: center;
  color: rgba(242, 240, 233, 0.62);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.engagement-arrow {
  color: var(--acid);
  font-size: 1.25rem;
}

.engagement-cta {
  display: inline-block;
  margin-top: 1.75rem;
  color: var(--acid);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.engagement-cta:hover,
.engagement-cta:focus {
  color: var(--paper);
  text-decoration: underline;
}

.about-content {
  align-items: flex-start;
}

.about-section .section-intro h2 {
  max-width: 12ch;
  font-size: clamp(3rem, 5.3vw, 5.75rem);
}

.about-copy {
  max-width: 43rem;
}

.about-copy p {
  margin: 0 0 1.4rem;
  font-size: clamp(1.08rem, 1.5vw, 1.4rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.5;
}

.vita {
  padding-top: 0.2rem;
}

.vita h3 {
  margin: 0 0 2rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.vita dl {
  margin: 0 0 2rem;
  border-top: 1px solid var(--ink);
}

.vita dl div {
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
}

.vita dt {
  margin-bottom: 0.3rem;
  font-size: 0.82rem;
  font-weight: 800;
}

.vita dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.vita a {
  color: var(--signal);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.vita a:hover,
.vita a:focus {
  text-decoration: underline;
}

.contact-section {
  padding-block: clamp(5rem, 10vw, 9rem);
  color: var(--ink);
  background: var(--acid);
}

.contact-section h2 {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.contact-mail {
  display: inline-block;
  max-width: 20ch;
  font-size: clamp(1.8rem, 4vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.02;
  text-decoration-thickness: 0.08em;
}

.contact-mail:hover,
.contact-mail:focus {
  color: var(--signal);
}

.contact-note {
  max-width: 36rem;
  margin: 2rem 0 0;
  font-size: 1rem;
  line-height: 1.5;
}

.site-footer {
  padding-block: 2rem;
  color: var(--paper);
  background: var(--ink);
  font-size: 0.72rem;
}

.site-footer a {
  color: var(--paper);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
  color: var(--acid);
  text-decoration: underline;
}

/* Shared styles for the legal page */
.section-muted {
  background: var(--paper);
}

.section-padding {
  padding-block: 5rem;
}

.footer-link {
  color: inherit;
  text-decoration: none;
}

.legal-hero {
  padding-block: 5rem 2rem;
}

@media (max-width: 991.98px) {
  .hero-grid {
    min-height: auto;
  }

  .hero-main {
    min-height: 42rem;
    padding-right: 0;
    border-right: 0;
  }

  .hero-aside-top {
    grid-template-columns: 1fr 1fr;
  }

  .section-intro .section-label {
    margin-bottom: 3rem;
  }

  .impact-statement {
    margin-left: 15%;
  }

  .teaching-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .teaching-gallery figure {
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 767.98px) {
  .site-navbar .navbar-collapse {
    padding-bottom: 0.75rem;
  }

  .nav-contact {
    margin-top: 0.4rem;
  }

  .hero-main {
    min-height: 35rem;
    padding-block: 2.5rem 3rem;
  }

  .hero h1 {
    font-size: clamp(5rem, 25vw, 7rem);
  }

  .hero-statement {
    margin-top: 4rem;
  }

  .hero-aside-top {
    grid-template-columns: 1fr;
  }

  .impact-statement {
    margin-left: 0;
  }

  .theme-row h3 {
    margin-bottom: 1.25rem;
  }

  .theme-row p {
    padding-right: 0.5rem;
  }

  .engagement-item {
    grid-template-columns: 5.5rem minmax(0, 1fr);
    gap: 0.8rem;
  }

  .engagement-meta {
    grid-column: 2;
    justify-self: start;
    margin-top: -0.35rem;
  }

  .teaching-gallery {
    gap: 0.65rem;
  }

  .teaching-gallery figure {
    aspect-ratio: 1 / 1;
  }

  .teaching-gallery figcaption {
    padding: 0.65rem 0.75rem;
    font-size: 0.54rem;
  }

  .gallery-info {
    display: grid;
  }

  .about-copy {
    margin-bottom: 1rem;
  }
}

@media (hover: none) {
  .gallery-info {
    display: grid;
  }
}

@media (max-width: 575.98px) {
  .brand-copy small {
    font-size: 0.52rem;
    letter-spacing: 0.08em;
  }

}

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