/* Fonts */
@font-face {
  font-family: "Alte Haas Grotesk";
  src: url("fonts/AlteHaasGroteskRegular.ttf");
  font-weight: 400;
}

@font-face {
  font-family: "Alte Haas Grotesk";
  src: url("fonts/AlteHaasGroteskBold.ttf");
  font-weight: 700;
}

/* Global */
* {
  cursor: url("images/cursor.png"), auto;
}

a,
button,
[role="button"],
input,
label,
select,
textarea,
.carousel-item,
.carousel-dot {
  cursor: url("images/cursor-hover.png"), pointer;
}

body {
  padding-top: 3rem;
}

h1 {
  font-family: "Alte Haas Grotesk", sans-serif;
  font-size: 2rem;
  color: #1a1a1a;
  margin-bottom: 1rem;
  padding-top: 2rem;
}

h2 {
  font-family: "Alte Haas Grotesk", sans-serif;
  font-size: 1.5rem;
  color: #1a1a1a;
}

p {
  font-family: "DM Mono", monospace;
  margin: 0;
  padding-bottom: 1rem;
  font-size: 0.8rem;
  color: #1a1a1a;
  max-width: 50rem;
  line-height: 1.5;
}

.highlight {
  font-family: "DM Mono", monospace;
  font-weight: 500;
  color: #aaaaaa;
  font-size: 0.8rem;
}

.page-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
}

.inline-logo {
  height: 1.2em;
  width: auto;
  vertical-align: middle;
  border-radius: 2px;
  margin-right: 1rem;
}

.divider {
  padding-top: 2rem;
  padding-bottom: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
}

/* Hero */
.hero-video {
  position: relative;
  width: 100%;
  border-radius: 3px;
  overflow: hidden;
  background: #a8c8e8;
  margin-bottom: 1.5rem;
  margin-top: 2rem;
  height: 320px;
}

#cloud-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-glass-overlay {
  position: absolute;
  font-weight: 800;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-name {
  font-family: "Alte Haas Grotesk", sans-serif;
  font-size: 5rem;
  color: #1a1a1a;
  padding-bottom: 0;
  max-width: none;
  letter-spacing: 0.1em;
}

.hero-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: start;
}

.hero-bio {
  max-width: 90%;
  padding-bottom: 0;
}

.hero-study {
  max-width: 90%;
  padding-bottom: 0;
  padding-left: 3rem;
  text-align: right;
}

@media (max-width: 700px) {
  .hero-bottom {
    grid-template-columns: 1fr; /* stack into single column */
  }

  .hero-bio,
  .hero-study {
    max-width: 100%;
    text-align: center;
    padding-left: 0;
  }

  .hero-dots {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

/* Hero dots */
.hero-dots {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
}

.hero-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
  color: #1a1a1a;
}

.dot-shape {
  display: inline-block;
  font-size: 2rem;
  transition: transform 0.3s ease;
}

.dot-label {
  font-family: "DM Mono", monospace;
  font-size: 0.75rem;
  font-style: italic;
  opacity: 0;
  transform: translateY(-4px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.hero-dot:hover .dot-shape {
  transform: rotate(-45deg);
}

.hero-dot:hover .dot-label {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 480px) {
  .dot-label {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Work list */
.work-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.work-item {
  display: block;
  text-decoration: none;
  color: #1a1a1a;
}

.work-thumbnail {
  width: 100%;
  border-radius: 3px;
  overflow: hidden;
  background-color: #d9d9d9;
  position: relative; /* 👈 needed for overlay positioning */
}

.work-thumbnail img {
  width: 100%;
  display: block;
  border-radius: 3px;
  transition: opacity 0.3s ease;
}

.work-overlay {
  position: absolute;
  inset: 0; /* covers the full thumbnail */
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 3px;
}

.work-overlay p {
  color: black;
  font-weight: 800;
  padding-bottom: 0;
  max-width: none;
}

.work-item:hover .work-overlay {
  opacity: 1;
}

/* remove the old image dim on hover */
.work-item:hover .work-thumbnail img {
  opacity: 1;
}

.work-info-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.work-description {
  font-family: "DM Mono", monospace;
  font-size: 0.8rem;
  line-height: 1.5;
  max-width: 70%;
  padding-bottom: 0;
}

.work-date {
  padding-bottom: 0;
}

.work-tags {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: -0.75rem;
}

.work-tags p {
  padding-bottom: 0;
  max-width: none;
  color: black;
}

.tag-dot {
  font-size: 2rem;
  color: black;
  line-height: 1;
}

/* Playground grid */
.grid {
  columns: 3;
  column-gap: 1rem;
  margin: 2rem 0;
}

.grid-item {
  break-inside: avoid;
  margin-bottom: 1rem;
}

.grid-item img {
  width: 100%;
  display: block;
  border-radius: 3px;
  background-color: #d9d9d9;
}

.grid-item video {
  width: 100%;
  display: block;
  border-radius: 3px;
}

.grid p {
  padding-bottom: 0;
}

.grid-caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 4px 0 8px;
}

@media (max-width: 50rem) {
  .grid {
    columns: 1;
  }
}

.grid-link {
  position: relative;
  display: block;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 3px;
}

.grid-overlay p {
  color: #1a1a1a;
  padding-bottom: 0;
  max-width: none;
  font-weight: 800;
}

.grid-link:hover .grid-overlay {
  opacity: 1;
}

/* about */

.about-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: start;
}

.inline-logo {
  height: 2rem; /* was 1.2em */
  width: auto;
  vertical-align: middle;
  border-radius: 2px;
  margin-right: 0;
}

.about-dots {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 2rem;
  position: sticky; /* keeps dots visible as you scroll */
  top: 80px;
}

.about-dot-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.about-dot {
  display: inline-block;
  font-size: 2rem;
  transition: transform 0.3s ease;
  cursor: default;
  line-height: 1;
}

.about-dot-item:hover .about-dot {
  transform: rotate(-45deg);
}

.about-dot-image {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 3px;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.about-dot-item:hover .about-dot-image {
  opacity: 1;
  transform: translateY(0);
}

.about-dot-item .highlight {
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  padding-bottom: 0;
}

.about-dot-item:hover .highlight {
  opacity: 1;
  transform: translateY(0);
}

/* about page experience grid */
.experience-grid h2 {
  margin: 0;
}

.experience-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem 2rem;
  align-items: center;
  justify-items: start; /* default */
  margin-top: 4rem;
}

.experience-grid .inline-logo {
  justify-self: center;
}

@media (max-width: 800px) {
  .about-layout {
    grid-template-columns: 1fr;
  }
}




