@font-face {
  font-family: 'GT Walsheim';
  src: url('/fonts/GT-Walsheim-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GT Walsheim';
  src: url('/fonts/GT-Walsheim-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

html,
body {
  height: 100%;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'GT Walsheim', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 18px;
  line-height: 28px;
  color: #333;
  background: #fff;
}

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

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ──────────────────────────────────────────────
   Home (index.html)
   Split layout: top row + bottom row, page fills viewport
   ────────────────────────────────────────────── */

.home {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
}

.home__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 16px;
}

.home__left {
  text-align: left;
}

.home__right {
  text-align: right;
}

.home__row--top .home__right {
  max-width: 420px;
}

.home__links {
  display: flex;
  gap: 24px;
}

@media (max-width: 720px) {
  .home__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .home__right,
  .home__row--top .home__right {
    text-align: left;
    max-width: 100%;
  }

  .home__links {
    flex-wrap: wrap;
    gap: 16px 24px;
  }
}

/* ──────────────────────────────────────────────
   AI Experiments (ai-experiments.html)
   6-col grid, 1200px max content width
   ────────────────────────────────────────────── */

.exp {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.exp__hero {
  min-height: 60vh;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  column-gap: 24px;
  align-content: center;
  align-items: start;
}

.exp__hero-icon {
  grid-column: 1 / span 1;
  display: inline-block;
  line-height: 0;
}

.exp__hero-icon img {
  display: block;
  width: 40px;
  height: 40px;
}

.exp__hero-text {
  grid-column: 3 / span 3;
}

.exp__hero-name {
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
}

.exp__hero-title {
  font-size: 38px;
  line-height: 44px;
  font-weight: 700;
}

.exp__project {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  column-gap: 24px;
  row-gap: 64px;
  margin-top: 160px;
}

.exp__project-text {
  grid-column: 3 / span 3;
}

.exp__project-title {
  font-size: 18px;
  line-height: 28px;
  font-weight: 700;
  margin-bottom: 32px;
}

.exp__project-desc {
  font-size: 18px;
  line-height: 28px;
  margin-bottom: 24px;
}

.exp__project-action {
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
}

a.exp__project-action {
  display: inline-block;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.exp__project-img {
  grid-column: span 2;
  aspect-ratio: 408 / 425;
  background: #ececec;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b0b0b0;
  font-family: 'SF Mono', 'Menlo', 'Monaco', monospace;
  font-size: 11px;
  letter-spacing: 0.02em;
  overflow: hidden;
}

.exp__project-img--wide {
  grid-column: span 4;
  aspect-ratio: 792 / 400;
}

img.exp__project-img,
video.exp__project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.exp__footer {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  column-gap: 24px;
  margin-top: 160px;
  padding-bottom: 40px;
}

.exp__footer-content {
  grid-column: 3 / span 3;
}

.exp__quote {
  font-size: 18px;
  line-height: 28px;
  font-style: regular;
  margin-bottom: 24px;
}

.exp__footer-links {
  display: flex;
  gap: 24px;
}

@media (max-width: 720px) {
  .exp__hero {
    min-height: auto;
    grid-template-columns: 1fr;
    row-gap: 32px;
    padding: 64px 0 48px;
  }

  .exp__hero-icon,
  .exp__hero-text {
    grid-column: 1 / -1;
  }

  .exp__project {
    grid-template-columns: 1fr;
    row-gap: 32px;
    margin-top: 80px;
  }

  .exp__project-text,
  .exp__project-img,
  .exp__project-img--wide {
    grid-column: 1 / -1;
  }

  .exp__project-img--wide {
    aspect-ratio: 408 / 425;
  }

  .exp__footer {
    grid-template-columns: 1fr;
    margin-top: 80px;
  }

  .exp__footer-content {
    grid-column: 1 / -1;
  }
}
