:root {
  --black: #08090d;
  --white: #f7f7f4;
  --header-h: 64px;
  --page-gutter: clamp(12px, 2vw, 30px);
  --card-pad: clamp(28px, 4.5vw, 72px);
  --radius: clamp(24px, 3vw, 42px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
strong {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 11px 16px;
  color: var(--black);
  background: var(--white);
  border-radius: 10px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 0 max(20px, 3vw);
  color: var(--white);
  background: rgba(8, 9, 13, .92);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(14px);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 700;
}

.brand img {
  width: 30px;
  height: 30px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 36px);
}

.desktop-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: rgba(255, 255, 255, .66);
  font-size: 13px;
  transition: color .2s ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s var(--ease);
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="true"] {
  color: #fff;
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="true"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-contact {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 17px;
  color: var(--black);
  background: var(--white);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  transition: background-color .2s ease;
}

.header-contact:hover {
  background: #dfe1ff;
}

.menu-toggle,
.mobile-nav {
  display: none;
}

/* Stacked cards */
.card-deck {
  --stage-pad: 18px;
  --stack-frame: 38px;
  --stack-depth: 68px;
  padding: calc(var(--header-h) + var(--stage-pad)) var(--page-gutter) 14vh;
  background: var(--black);
  isolation: isolate;
}

.deck-card {
  position: sticky;
  top: calc(var(--header-h) + var(--stage-pad) + var(--stack-offset));
  z-index: var(--card-z);
  width: min(100%, 1540px);
  min-height: calc(100vh - var(--header-h) - var(--stack-frame) - var(--stack-depth));
  min-height: calc(100svh - var(--header-h) - var(--stack-frame) - var(--stack-depth));
  margin: 0 auto clamp(70px, 12vh, 130px);
  padding: var(--card-pad);
  overflow: hidden;
  color: var(--card-ink, var(--black));
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius);
  background:
    radial-gradient(115% 90% at 78% -18%, rgba(255, 255, 255, .3), transparent 48%),
    radial-gradient(90% 75% at 100% 100%, rgba(0, 0, 0, .2), transparent 58%),
    linear-gradient(135deg, rgba(255, 255, 255, .08), transparent 38%, rgba(0, 0, 0, .1)),
    var(--card-color);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .5),
    inset 0 -30px 46px rgba(0, 0, 0, .13),
    inset 20px 0 32px rgba(255, 255, 255, .05),
    inset -20px 0 32px rgba(0, 0, 0, .07),
    0 28px 70px rgba(0, 0, 0, .42);
  scroll-margin-top: calc(var(--header-h) + 18px);
}

.deck-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: calc(var(--radius) - 2px);
}

.deck-card:nth-child(1) { --stack-offset: 0px; --card-z: 1; }
.deck-card:nth-child(2) { --stack-offset: 8px; --card-z: 2; }
.deck-card:nth-child(3) { --stack-offset: 16px; --card-z: 3; }
.deck-card:nth-child(4) { --stack-offset: 24px; --card-z: 4; }
.deck-card:nth-child(5) { --stack-offset: 32px; --card-z: 5; }
.deck-card:nth-child(6) { --stack-offset: 40px; --card-z: 6; }
.deck-card:nth-child(7) { --stack-offset: 48px; --card-z: 7; }

.intro-card {
  --card-color: #4058d8;
  --card-ink: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  grid-template-rows: 1fr auto;
  gap: clamp(34px, 6vw, 100px);
  align-items: center;
}

.services-card {
  --card-color: #fb7254;
}

.projects-card {
  --card-color: #7152d3;
  --card-ink: #fff;
}

.articles-card {
  --card-color: #b5e85b;
}

.profile-card {
  --card-color: #f0c45c;
}

.speaking-card {
  --card-color: #5bcbd0;
}

.contact-card {
  --card-color: #ec5683;
}

.card-heading h2 {
  max-width: 14ch;
  margin-bottom: 0;
  font-size: clamp(44px, 5.4vw, 78px);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.055em;
}

.card-heading p {
  max-width: 50ch;
  margin: 18px 0 0;
  font-size: 16px;
}

.card-heading-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.card-count {
  flex: 0 0 auto;
  padding: 10px 15px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 13px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 50px;
  padding: 0 21px;
  border: 1px solid currentColor;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  transition: color .2s ease, background-color .2s ease;
}

.button-dark {
  color: #fff;
  background: var(--black);
  border-color: var(--black);
}

.button-dark:hover {
  color: var(--black);
  background: #fff;
  border-color: #fff;
}

.button-plain:hover {
  background: rgba(255, 255, 255, .14);
}

/* Intro */
.intro-copy {
  position: relative;
  z-index: 1;
  align-self: center;
}

.intro-copy h1 {
  margin-bottom: 8px;
  font-size: clamp(64px, 8.7vw, 132px);
  font-weight: 700;
  line-height: .88;
  letter-spacing: -.07em;
}

.intro-role {
  margin-bottom: clamp(28px, 5vh, 54px);
  font-size: clamp(30px, 4.2vw, 62px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.055em;
}

.intro-text {
  max-width: 650px;
  margin-bottom: 28px;
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.5;
}

.intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-object {
  display: grid;
  place-items: center;
  min-width: 0;
}

.hero-tile {
  position: relative;
  width: min(31vw, 430px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 30%;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, .24), transparent 33%),
    linear-gradient(145deg, #202331 0%, #08090d 72%);
  box-shadow:
    inset 14px 16px 24px rgba(255, 255, 255, .08),
    inset -20px -24px 35px rgba(0, 0, 0, .55),
    0 34px 55px rgba(10, 18, 71, .45);
  transform: rotate(5deg);
}

.hero-tile::before {
  content: "";
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 27%;
}

.hero-tile img {
  width: 55%;
  height: 55%;
  filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .28));
}

.intro-meta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .32);
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
}

/* Services */
.services-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(28px, 4vh, 48px);
}

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

.service-panel {
  display: grid;
  grid-template-columns: minmax(150px, .7fr) minmax(200px, 1fr);
  grid-template-rows: auto 1fr;
  gap: 14px 30px;
  padding: clamp(24px, 3vw, 42px);
  border: 1px solid rgba(8, 9, 13, .22);
  border-radius: 20px;
  background: rgba(255, 255, 255, .18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28);
}

.service-panel h3 {
  grid-column: 1;
  margin-bottom: 0;
  font-size: clamp(27px, 2.7vw, 40px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.045em;
}

.service-panel > p {
  grid-column: 1;
  align-self: end;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.55;
}

.service-panel ul {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-panel li {
  padding: 13px 0;
  border-top: 1px solid rgba(8, 9, 13, .28);
  font-size: clamp(15px, 1.3vw, 19px);
  font-weight: 600;
}

.service-panel li:last-child {
  border-bottom: 1px solid rgba(8, 9, 13, .28);
}

.services-footer {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 26px;
  align-items: center;
}

.client-strip {
  min-width: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 12px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .72);
}

.client-strip > span {
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.client-strip > div {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 22px;
}

.client-strip img {
  width: auto;
  max-width: 120px;
  max-height: 25px;
  object-fit: contain;
  filter: grayscale(1);
  mix-blend-mode: multiply;
}

/* Projects */
.projects-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: clamp(30px, 5vh, 52px);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.project-item {
  position: relative;
  min-height: 178px;
  display: grid;
  grid-template-columns: 52px 1fr;
  grid-template-rows: 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 18px;
  background: rgba(8, 9, 13, .16);
  transition: background-color .2s ease, border-color .2s ease;
}

.project-item:hover {
  background: rgba(8, 9, 13, .28);
  border-color: rgba(255, 255, 255, .5);
}

.project-item img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 12px;
}

.project-item > span {
  align-self: center;
  display: grid;
  gap: 8px;
  min-width: 0;
}

.project-item strong {
  padding-right: 18px;
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.1;
}

.project-item small {
  color: rgba(255, 255, 255, .75);
  font-size: 12px;
  line-height: 1.45;
}

.project-item b {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 17px;
  transition: transform .2s ease;
}

.project-item:hover b {
  transform: translate(2px, -2px);
}

/* Articles */
.articles-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: clamp(28px, 5vh, 48px);
}

.external-profiles {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.external-profiles a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid rgba(8, 9, 13, .4);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  transition: color .2s ease, background-color .2s ease;
}

.external-profiles a:hover {
  color: #fff;
  background: var(--black);
}

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

.article-item {
  position: relative;
  min-height: 112px;
  display: grid;
  align-content: space-between;
  gap: 10px;
  padding: 18px 48px 18px 20px;
  border: 1px solid rgba(8, 9, 13, .2);
  border-radius: 16px;
  background: rgba(255, 255, 255, .24);
  transition: background-color .2s ease, border-color .2s ease;
}

a.article-item:hover {
  background: rgba(255, 255, 255, .48);
  border-color: rgba(8, 9, 13, .46);
}

.article-item > span,
.article-item > small {
  color: rgba(8, 9, 13, .65);
  font-size: 11px;
}

.article-item strong {
  max-width: 42ch;
  font-size: clamp(15px, 1.25vw, 19px);
  line-height: 1.35;
}

.article-item b {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 17px;
  transition: transform .2s ease;
}

a.article-item:hover b {
  transform: translate(2px, -2px);
}

.article-item-static {
  background: rgba(8, 9, 13, .08);
}

/* Profile */
.profile-card {
  display: grid;
  grid-template-columns: minmax(300px, .78fr) minmax(0, 1.22fr);
  gap: clamp(34px, 6vw, 96px);
  align-items: stretch;
}

.profile-photo {
  min-height: 0;
  margin: 0;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  max-height: 690px;
  object-fit: cover;
  object-position: 58% center;
  border: 1px solid rgba(8, 9, 13, .22);
  border-radius: 20px;
  box-shadow: 0 22px 45px rgba(97, 60, 4, .2);
}

.profile-copy {
  display: grid;
  align-content: start;
  gap: clamp(20px, 3vh, 34px);
}

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

.profile-text p {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.7;
}

.profile-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.profile-facts li {
  padding: 9px 13px;
  border: 1px solid rgba(8, 9, 13, .34);
  border-radius: 999px;
  font-size: 12px;
}

.publications {
  border-top: 1px solid rgba(8, 9, 13, .34);
}

.publications h3 {
  margin: 18px 0 10px;
  font-size: 18px;
}

.publications p {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  margin: 0;
  padding: 10px 0;
  border-top: 1px solid rgba(8, 9, 13, .18);
  font-size: 13px;
}

.publications span {
  color: rgba(8, 9, 13, .62);
}

/* Speaking */
.speaking-card {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(360px, 1.14fr);
  gap: clamp(36px, 6vw, 98px);
  align-items: center;
}

.speaking-copy {
  display: grid;
  align-content: center;
  gap: 32px;
}

.topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.topic-list li {
  padding: 10px 14px;
  border: 1px solid rgba(8, 9, 13, .36);
  border-radius: 999px;
  font-size: 13px;
}

.speaking-copy .button {
  justify-self: start;
}

.speaking-photo {
  margin: 0;
}

.speaking-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(8, 9, 13, .22);
  border-radius: 20px;
  box-shadow: 0 22px 45px rgba(2, 72, 77, .22);
}

.speaking-photo figcaption {
  margin-top: 10px;
  font-size: 12px;
}

/* Contact */
.contact-card {
  position: sticky;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, .6fr);
  grid-template-rows: auto 1fr auto;
  gap: clamp(26px, 5vh, 48px);
}

.contact-card .card-heading {
  grid-column: 1 / -1;
}

.contact-main {
  position: relative;
  z-index: 1;
  align-self: center;
  display: grid;
  gap: 18px;
}

.contact-main a {
  width: max-content;
  max-width: 100%;
  border-bottom: 2px solid currentColor;
  font-size: clamp(22px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}

.contact-main .contact-email {
  font-size: clamp(30px, 5.4vw, 82px);
  letter-spacing: -.06em;
}

.contact-main a:hover {
  color: #fff;
}

.contact-details {
  position: relative;
  z-index: 1;
  align-self: end;
  display: grid;
  gap: 18px;
}

.contact-details p {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(8, 9, 13, .35);
  font-size: 14px;
}

.contact-details strong {
  font-size: 12px;
}

.contact-mark {
  position: absolute;
  right: 2%;
  bottom: -12%;
  width: min(34vw, 470px);
  opacity: .07;
  transform: rotate(7deg);
  pointer-events: none;
}

/* Footer */
.site-footer {
  min-height: 94px;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 30px;
  align-items: center;
  padding: 24px max(20px, 3vw);
  color: rgba(255, 255, 255, .55);
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 11px;
}

.site-footer span:nth-child(2) {
  justify-self: center;
  text-align: center;
}

.site-footer a {
  justify-self: end;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #fff;
}

@media (max-width: 1180px) {
  .service-panel {
    grid-template-columns: 1fr;
  }

  .service-panel > p,
  .service-panel ul {
    grid-column: 1;
    grid-row: auto;
  }

  .service-panel > p {
    align-self: start;
  }

  .project-item {
    min-height: 160px;
    grid-template-columns: 44px 1fr;
  }

  .project-item img {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    gap: 10px;
    padding-inline: 16px;
  }

  .desktop-nav {
    display: none;
  }

  .header-contact {
    min-height: 38px;
  }

  .js .menu-toggle {
    position: relative;
    z-index: 202;
    width: 42px;
    height: 42px;
    display: grid;
    place-content: center;
    gap: 6px;
    padding: 0;
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 11px;
  }

  .menu-toggle > span:not(.sr-only) {
    display: block;
    width: 17px;
    height: 2px;
    background: currentColor;
    transition: transform .25s var(--ease);
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(2) {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
  }

  .js .mobile-nav {
    position: absolute;
    top: 100%;
    right: auto;
    bottom: auto;
    left: 0;
    z-index: 201;
    width: 100vw;
    height: calc(100vh - var(--header-h));
    height: calc(100svh - var(--header-h));
    display: flex;
    flex-direction: column;
    padding: 24px 20px 50px;
    color: #fff;
    background: var(--black);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
  }

  .js .mobile-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-nav a {
    display: flex;
    align-items: center;
    min-height: 66px;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    font-size: 24px;
    font-weight: 600;
  }

  .card-deck {
    padding-inline: 10px;
  }

  .deck-card {
    position: relative;
    top: auto;
    min-height: auto;
    margin-bottom: 14px;
  }

  .intro-card {
    min-height: calc(100vh - var(--header-h) - 30px);
    min-height: calc(100svh - var(--header-h) - 30px);
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    align-content: center;
  }

  .hero-object {
    position: absolute;
    right: -5%;
    bottom: 7%;
    opacity: .34;
  }

  .hero-tile {
    width: min(46vw, 340px);
  }

  .intro-copy {
    max-width: 620px;
  }

  .intro-meta {
    position: relative;
    z-index: 1;
    grid-column: 1;
    align-self: end;
  }

  .services-grid,
  .article-grid,
  .profile-text {
    grid-template-columns: 1fr;
  }

  .services-footer {
    grid-template-columns: 1fr;
  }

  .services-footer .button {
    justify-self: start;
  }

  .client-strip {
    grid-template-columns: 1fr;
  }

  .client-strip > div {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-card {
    grid-template-columns: minmax(240px, .75fr) minmax(0, 1.25fr);
    gap: 32px;
  }

  .speaking-card {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 650px) {
  :root {
    --card-pad: 25px;
    --radius: 23px;
  }

  .brand span {
    display: none;
  }

  .card-deck {
    --stage-pad: 10px;
    padding-top: calc(var(--header-h) + var(--stage-pad));
  }

  .deck-card {
    padding: 25px;
    border-radius: 23px;
  }

  .deck-card::after {
    border-radius: 21px;
  }

  .card-heading-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .card-heading h2 {
    font-size: clamp(40px, 13vw, 60px);
  }

  .intro-card {
    padding-top: 42px;
    padding-bottom: 30px;
  }

  .intro-copy h1 {
    font-size: clamp(58px, 19vw, 88px);
  }

  .intro-role {
    font-size: clamp(29px, 9vw, 42px);
  }

  .intro-text {
    max-width: 31ch;
    font-size: 16px;
  }

  .intro-meta {
    gap: 8px 18px;
  }

  .hero-object {
    right: -15%;
    bottom: 9%;
  }

  .hero-tile {
    width: 58vw;
  }

  .services-card,
  .projects-card,
  .articles-card,
  .profile-card,
  .speaking-card,
  .contact-card {
    gap: 28px;
  }

  .service-panel {
    padding: 22px;
  }

  .client-strip img {
    max-width: 88px;
    max-height: 22px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-item {
    min-height: 122px;
  }

  .article-grid {
    gap: 8px;
  }

  .article-item {
    min-height: 106px;
  }

  .profile-card {
    grid-template-columns: 1fr;
  }

  .profile-copy {
    display: contents;
  }

  .profile-copy .card-heading { order: 1; }
  .profile-photo { order: 2; }
  .profile-text { order: 3; }
  .profile-facts { order: 4; }
  .publications { order: 5; }

  .profile-photo img {
    max-height: none;
    aspect-ratio: 4 / 5;
  }

  .publications p {
    grid-template-columns: 72px 1fr;
  }

  .speaking-photo figcaption {
    margin-left: 2px;
  }

  .contact-card {
    grid-template-columns: 1fr;
    min-height: 78svh;
  }

  .contact-card .card-heading {
    grid-column: 1;
  }

  .contact-main .contact-email {
    font-size: clamp(27px, 8.8vw, 46px);
  }

  .contact-details {
    align-self: end;
  }

  .contact-mark {
    right: -22%;
    width: 78vw;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    gap: 14px;
  }

  .site-footer span:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce), (max-height: 660px) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .deck-card {
    position: relative;
    top: auto;
    min-height: auto;
    margin-bottom: 16px;
  }
}

@media (prefers-contrast: more) {
  .deck-card,
  .project-item,
  .article-item,
  .service-panel {
    border-color: currentColor;
  }
}
