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

.subpage .site-header {
  justify-content: flex-end;
}

.subpage .site-nav {
  justify-content: flex-end;
  width: 100%;
}

.subpage .subpage-home {
  margin-right: auto;
}

.subpage .site-nav > a[aria-current="page"]::after {
  transform: scaleX(1);
}

.page-hero {
  background: #050505;
  color: var(--white);
  min-height: 760px;
  overflow: hidden;
  padding: 175px var(--gutter) 90px;
  position: relative;
}

.page-hero::after {
  background: var(--acid);
  content: "";
  height: 5px;
  left: var(--gutter);
  position: absolute;
  top: 112px;
  width: 74px;
}

.page-hero__grid {
  align-items: end;
  display: grid;
  gap: clamp(56px, 8vw, 140px);
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  margin: 0 auto;
  max-width: 1660px;
}

.page-hero__copy {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-size: clamp(78px, 10vw, 166px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.84;
  margin: 0;
  text-transform: uppercase;
}

.page-hero h1 span {
  display: block;
}

.page-hero h1 span:last-child {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--white);
}

.page-hero__intro {
  color: #b3b0a9;
  font-size: clamp(17px, 1.45vw, 24px);
  line-height: 1.55;
  margin: 42px 0 0;
  max-width: 840px;
}

.page-hero__media {
  margin: 0;
  position: relative;
}

.page-hero__media::before {
  background: var(--acid);
  content: "";
  height: 34%;
  left: -22px;
  position: absolute;
  top: -22px;
  width: 25%;
}

.page-hero__media img {
  aspect-ratio: 4 / 5;
  filter: grayscale(1) contrast(1.08);
  height: min(58vh, 560px);
  object-fit: cover;
  position: relative;
  width: 100%;
}

.page-hero__media--book {
  background: #d9d5ca;
}

.page-hero__media--book img {
  filter: saturate(0.95) contrast(1.03);
  object-fit: contain;
  padding: 7%;
}

.page-hero__media figcaption {
  display: flex;
  font-size: 9px;
  font-weight: 700;
  justify-content: space-between;
  letter-spacing: 0.14em;
  padding-top: 13px;
  text-transform: uppercase;
}

.page-section {
  padding: clamp(100px, 10vw, 170px) var(--gutter);
}

.page-section--dark {
  background: var(--ink);
  color: var(--white);
}

.page-section--acid {
  background: var(--acid);
}

.page-section__inner {
  margin: 0 auto;
  max-width: 1660px;
}

.page-lead-grid {
  display: grid;
  gap: clamp(70px, 10vw, 180px);
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
}

.page-section h2,
.page-cta h2 {
  font-size: clamp(52px, 6.8vw, 112px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.84;
  margin: 0;
  text-transform: uppercase;
}

.page-section h2 span {
  color: transparent;
  -webkit-text-stroke: 1.5px currentColor;
}

.page-copy {
  padding-top: 36px;
}

.about-bio__media {
  display: none;
}

.page-copy p {
  color: #4d4b46;
  font-size: 15px;
  line-height: 1.8;
  margin: 0 0 27px;
}

.page-section--dark .page-copy p {
  color: #aaa7a0;
}

.page-stats {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 55px;
  padding-top: 24px;
}

.page-stats strong {
  display: block;
  font-size: clamp(34px, 3.6vw, 58px);
  line-height: 1;
}

.page-stats span {
  color: #66645f;
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  margin-top: 10px;
  text-transform: uppercase;
}

.reviews-heading,
.timeline-heading,
.books-heading {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin-bottom: clamp(65px, 8vw, 120px);
}

.reviews-heading h2,
.timeline-heading h2,
.books-heading h2 {
  max-width: 1030px;
}

.reviews-grid {
  border-left: 1px solid var(--line-light);
  border-top: 1px solid var(--line-light);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.review-card {
  border-bottom: 1px solid var(--line-light);
  border-right: 1px solid var(--line-light);
  min-height: 350px;
  padding: clamp(28px, 3vw, 48px);
}

.review-card blockquote {
  color: #cfccc5;
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 38px;
}

.review-card strong,
.review-card span {
  display: block;
}

.review-card strong {
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.review-card span {
  color: #85827d;
  font-size: 9px;
  letter-spacing: 0.1em;
  margin-top: 7px;
  text-transform: uppercase;
}

.teaching-intro {
  display: grid;
  gap: clamp(50px, 8vw, 140px);
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.55fr);
  margin-bottom: clamp(70px, 9vw, 130px);
}

.teaching-intro p {
  color: #4d4b46;
  font-size: 17px;
  line-height: 1.75;
  margin: 8px 0 0;
}

.teaching-grid {
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.teaching-card {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  min-height: 300px;
  padding: clamp(28px, 3vw, 46px);
  transition: background-color 220ms ease, color 220ms ease;
}

.teaching-card:hover {
  background: var(--acid);
}

.teaching-card > span {
  color: #78756f;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.teaching-card h3 {
  font-size: clamp(22px, 2.1vw, 34px);
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.03;
  margin: 55px 0 18px;
  text-transform: uppercase;
}

.teaching-card p {
  color: #57554f;
  font-size: 13px;
  line-height: 1.65;
  margin: 0 0 20px;
}

.teaching-card time {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.timeline-list {
  border-top: 1px solid var(--line-light);
}

.timeline-list li {
  border-bottom: 1px solid var(--line-light);
  display: grid;
  gap: 36px;
  grid-template-columns: 110px minmax(0, 1fr);
  list-style: none;
  padding: 23px 0;
}

.timeline-list time {
  color: var(--acid);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.11em;
}

.timeline-list span {
  color: #ccc9c2;
  font-size: 14px;
}

.book-grid {
  display: grid;
  gap: clamp(70px, 8vw, 125px) clamp(24px, 3vw, 54px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.book-card {
  display: flex;
  flex-direction: column;
}

.book-card__cover {
  background: #d9d5ca;
  overflow: hidden;
  position: relative;
}

.book-card__cover::after {
  border: 1px solid rgba(10, 10, 10, 0.16);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.book-card__cover img {
  aspect-ratio: 3 / 4.45;
  filter: saturate(0.9) contrast(1.03);
  object-fit: contain;
  padding: 9%;
  transition: filter 300ms ease, transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.book-card:hover .book-card__cover img {
  filter: saturate(1.06) contrast(1.03);
  transform: scale(1.035);
}

.book-card__meta {
  border-top: 1px solid var(--line);
  display: flex;
  flex: 1;
  flex-direction: column;
  margin-top: 18px;
  padding-top: 17px;
}

.book-card__meta > span {
  color: #74716b;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.book-card h3 {
  font-size: clamp(25px, 2.25vw, 38px);
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin: 13px 0 18px;
  text-transform: uppercase;
}

.book-card p {
  color: #57554f;
  font-size: 13px;
  line-height: 1.7;
  margin: 0 0 25px;
}

.book-card a {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  font-size: 10px;
  font-weight: 750;
  justify-content: space-between;
  letter-spacing: 0.12em;
  margin-top: auto;
  padding-top: 15px;
  text-transform: uppercase;
}

.book-card a:hover {
  color: #65730f;
}

.archive-list {
  columns: 2;
  column-gap: 70px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.archive-list li {
  border-bottom: 1px solid rgba(10, 10, 10, 0.28);
  break-inside: avoid;
  font-size: 14px;
  line-height: 1.55;
  padding: 17px 0;
}

.subpage[data-page="video"] .page-hero h1 {
  font-size: clamp(76px, 8.6vw, 144px);
}

.subpage[data-page="video"] .video-page__intro h2 {
  max-width: 690px;
}

.subpage[data-page="video"] .video-page__intro .page-copy {
  padding-top: 0;
}

.subpage[data-page="video"] .video-page__action {
  border: 1px solid var(--ink);
  margin-top: 48px;
}

.filmography-heading {
  margin-bottom: clamp(60px, 7vw, 110px);
}

.filmography-heading h2 {
  max-width: 1180px;
}

.filmography-list {
  border-bottom: 1px solid var(--line-light);
  list-style: none;
  margin: 0;
  padding: 0;
}

.filmography-list li {
  align-items: baseline;
  border-top: 1px solid var(--line-light);
  display: grid;
  gap: clamp(24px, 4vw, 80px);
  grid-template-columns: 80px minmax(0, 1fr) minmax(220px, 0.38fr);
  padding: 22px 0;
}

.filmography-list time {
  color: var(--acid);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.filmography-list strong {
  color: var(--white);
  font-size: clamp(15px, 1.25vw, 20px);
  letter-spacing: -0.01em;
  line-height: 1.35;
  text-transform: uppercase;
}

.filmography-list > li > span {
  color: #918e88;
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.55;
}

.page-cta {
  background: var(--ink);
  color: var(--white);
  padding: clamp(95px, 10vw, 160px) var(--gutter);
}

.page-cta__inner {
  align-items: end;
  display: grid;
  gap: 60px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 0 auto;
  max-width: 1660px;
}

.page-cta h2 {
  max-width: 1180px;
}

.page-cta .button {
  white-space: nowrap;
}

.subpage-footer {
  align-items: center;
  background: var(--ink);
  border-top: 1px solid var(--line-light);
  color: var(--white);
  display: grid;
  font-size: 9px;
  font-weight: 700;
  grid-template-columns: repeat(3, 1fr);
  letter-spacing: 0.11em;
  padding: 28px var(--gutter);
  text-transform: uppercase;
}

.subpage-footer p {
  margin: 0;
}

.subpage-footer__socials {
  display: flex;
  gap: 18px;
  justify-content: center;
}

.subpage-footer__socials img {
  height: 18px;
  width: 18px;
}

.subpage-footer > a {
  justify-self: end;
}

@media (min-width: 1041px) {
  .about-page__intro {
    align-items: stretch;
    gap: clamp(42px, 4.5vw, 78px);
    grid-template-columns: minmax(0, 1.26fr) minmax(460px, 0.74fr);
  }

  .about-page__intro > div:first-child {
    display: none;
  }

  .about-bio-layout {
    display: contents;
  }

  .about-bio__media {
    display: block;
    margin: 0;
    min-height: clamp(650px, 46vw, 820px);
    overflow: hidden;
    position: relative;
  }

  .about-bio__media::before {
    background: var(--acid);
    content: "";
    height: 5px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
  }

  .about-bio__media img {
    filter: grayscale(1) contrast(1.06);
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    width: 100%;
  }

  .about-bio__copy {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 0;
  }

  .about-bio__copy p {
    font-size: 16px;
    line-height: 1.75;
    margin: 0 0 22px;
  }

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

  .subpage[data-page="about"] .subpage-footer__socials img {
    height: 22px;
    width: 22px;
  }

  .subpage[data-page="teaching"] .teaching-card p {
    font-size: 14px;
  }

  .subpage[data-page="teaching"] .teaching-card time {
    font-size: 13px;
  }

  .subpage[data-page="teaching"] .timeline-list time {
    font-size: 13px;
  }

  .subpage[data-page="teaching"] .timeline-list span {
    font-size: 15px;
  }

  html[lang="es"] .page-hero h1 {
    font-size: clamp(72px, 9.1vw, 150px);
    letter-spacing: -0.035em;
    line-height: 0.97;
  }

  html[lang="es"] .page-cta h2 {
    font-size: clamp(48px, 6.25vw, 104px);
    letter-spacing: -0.035em;
    line-height: 0.98;
  }
}

@media (max-width: 1040px) {
  .subpage .site-nav {
    gap: 14px;
  }

  .page-hero__grid,
  .page-lead-grid,
  .teaching-intro {
    grid-template-columns: 1fr;
  }

  .page-hero__media {
    max-width: 460px;
  }

  .reviews-grid,
  .teaching-grid,
  .book-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .filmography-list li {
    grid-template-columns: 64px minmax(0, 1fr) minmax(180px, 0.42fr);
  }
}

@media (max-width: 780px) {
  .subpage-footer {
    display: none;
  }

  .page-hero {
    min-height: auto;
    padding: 70px 20px;
  }

  .page-hero::after {
    display: none;
  }

  .page-hero h1 {
    font-size: clamp(54px, 15vw, 82px);
  }

  .page-hero__media {
    display: none;
  }

  .page-section {
    padding: 80px 20px;
  }

  .reviews-grid,
  .teaching-grid,
  .book-grid,
  .page-stats {
    grid-template-columns: 1fr;
  }

  .reviews-heading,
  .timeline-heading,
  .books-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-cta__inner {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .archive-list {
    columns: 1;
  }

  .filmography-list li {
    gap: 8px 18px;
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .filmography-list > li > span {
    grid-column: 2;
  }
}

/* Keep the new navigation available on internal pages at smartphone widths. */
@media (max-width: 780px) {
  .subpage .site-header {
    display: flex;
    justify-content: space-between;
  }

  .subpage .mobile-wordmark {
    display: inline-flex;
  }

  .subpage .site-nav {
    gap: 0;
    justify-content: flex-start;
    width: min(86vw, 390px);
  }

  .subpage .subpage-home {
    margin-right: 0;
  }

  .page-hero {
    padding: 148px 20px 70px;
  }

  .page-hero h1,
  html[lang="es"] .page-hero h1 {
    font-size: clamp(38px, 11.2vw, 56px);
    letter-spacing: -0.04em;
    line-height: 0.92;
    max-width: 100%;
  }

  .page-hero h1 span,
  .page-cta h2 {
    overflow-wrap: anywhere;
  }

  .page-cta h2,
  html[lang="es"] .page-cta h2 {
    font-size: clamp(36px, 10.5vw, 50px);
    letter-spacing: -0.035em;
    line-height: 0.96;
  }
}

/* Keep new copy and school marks within the original cards and grid. */
.teaching-card__logo { display: block; width: auto; max-width: 150px; height: 70px; object-fit: contain; object-position: left center; margin-top: 24px; }
.teaching-card h3 { margin-top: 28px; overflow-wrap: break-word; }
.teaching-card > span { color: #65625b; }
.page-section h2 span { -webkit-text-stroke-color: var(--ink); }
.page-hero__grid { align-items: center; }
.page-hero__copy { min-width: 0; }
.page-hero h1, .subpage[data-page="video"] .page-hero h1 { font-size: clamp(54px, 6.7vw, 112px); line-height: .96; }
.page-section h2, .page-cta h2 { overflow-wrap: break-word; }
.page-cta h2 { font-size: clamp(36px, 4.1vw, 68px); line-height: 1.02; }
.subpage[data-page="teaching"] .page-hero__media img { object-position: 35% center; }
@media (max-width: 1040px) {
  .page-cta__inner { grid-template-columns: 1fr; }
  .page-cta .button { justify-self: start; }
  .page-hero h1, .subpage[data-page="video"] .page-hero h1 { font-size: clamp(44px, 7.6vw, 78px); }
}
@media (max-width: 780px) {
  .page-hero h1, html[lang="es"] .page-hero h1, .subpage[data-page="video"] .page-hero h1 { font-size: clamp(32px, 9.2vw, 56px); line-height: .98; }
  .page-section h2, .page-cta h2, html[lang="es"] .page-cta h2 { font-size: clamp(32px, 9vw, 50px); line-height: 1.02; }
  .subpage-footer { display: grid; grid-template-columns: 1fr; gap: 20px; }
  .subpage-footer__socials { justify-content: flex-start; }
  .subpage-footer__socials a { display: grid; place-items: center; width: 32px; height: 32px; }
  .page-hero__media { display: block; width: min(100%, 360px); }
  .page-hero__media img { height: auto; max-height: 420px; }
  .page-hero__grid { gap: 56px; }
  .timeline-list { padding: 0; }
  .timeline-list li { gap: 14px; grid-template-columns: 72px minmax(0, 1fr); }
}
.book-card__meta > span { color: #66635c; }
.books-heading > div { min-width: 0; max-width: 100%; }
.books-heading h2 { overflow-wrap: anywhere; }

/* Avoid broken outline glyphs in Android browsers on phones and tablets. */
@media (hover: none) and (pointer: coarse), (max-width: 900px) {
  .page-hero h1 span:last-child,
  .page-section h2 span {
    color: inherit;
    -webkit-text-fill-color: currentColor;
    -webkit-text-stroke: 0;
    text-shadow: none;
  }
}
