:root {
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: #0b0b0d;
  color: #f0f0f0;
  font-family: Georgia, 'Times New Roman', serif;
  padding: 2rem 1.5rem;
}
.page {
  width: 100%;
  max-width: 770px;
  text-align: left;
}
.site-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
}
.site-nav a {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #a8a8a8;
  text-decoration: none;
}
.site-nav a:hover {
  color: #f0f0f0;
}
.site-nav a.active {
  color: #f0f0f0;
}
.site-nav .icon-link {
  display: block;
  color: #a8a8a8;
}
.site-nav .icon-link svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.site-nav .icon-link:hover {
  color: #f0f0f0;
}
h1 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(2.8rem, 6vw, 4rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  margin: 0 0 0.4rem;
}
.subrow {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 0 0 3rem;
}
.title {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #a8a8a8;
  margin: 0;
}
.headshot {
  width: 100%;
  display: block;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.subhead {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #a8a8a8;
  margin: 3rem 0 1.25rem;
}
.tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}
.tools img {
  height: 40px;
  width: auto;
  display: block;
}
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.skill-tag {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f0f0f0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 0.45rem 1rem;
}
.carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}
.carousel-frame {
  position: relative;
  width: 100%;
  max-width: 640px;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.carousel-track {
  position: absolute;
  inset: 0;
  display: flex;
  height: 100%;
  transition: transform 0.4s ease;
}
.carousel-slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
}
.carousel-slide iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.carousel-arrow {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #f0f0f0;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}
.carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.18);
}
