@font-face {
  font-family: "Inter";
  src: url("../assets/font/InterVariable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}

:root {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;

  --bg: #101010;
  --border: #222;
  --text: #fff;
  --text-secondary: #888;
  --text-muted: #555;

  --text-body: 1rem;
  --text-caption: 0.9rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}
.section {
  min-height: 100vh;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 2.5rem;
  scroll-snap-align: start;
}

.snap-end {
  scroll-snap-align: end;
  height: 0;
}

.container {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 2rem;
  margin-bottom: 1rem;
}

.section-header--education {
  margin-top: 4rem;
}

.section-header h2,
.section h2 {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 1rem;
}
.section--hero {
  justify-content: flex-start;
  position: relative;
}

.section--hero .container {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
  max-width: none;
  justify-content: space-between;
  gap: 1rem;
}

.section--hero .hero-content {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  justify-content: space-between;
}

.section--hero h1 {
  font-size: 8rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.9;
  margin-left: -0.04em;
  margin-top: -0.01em;
}

.hero-statement {
  font-size: 1.4rem;
  font-weight: 450;
  line-height: 1.66;
  max-width: 53ch;
  color: var(--text);
  margin-top: 1rem;
  letter-spacing: -0.02em;
}

.hero-photo {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  min-width: 0;
  border-radius: 2px;
  max-width: 33%;
}

.hero-photo img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.inline-link {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
  white-space: nowrap;
}

.ext-arrow {
  text-decoration: none;
  display: inline-block;
  font-size: 0.7em;
  vertical-align: super;
}

.inline-link:hover {
  opacity: 0.7;
}

.inline-logo {
  height: 1.1em;
  width: auto;
  vertical-align: -0.2em;
  margin-right: 0.25em;
  margin-left: 0.05em;
}
.section-intro {
  max-width: 53ch;
  margin-bottom: 2rem;
}

.section-intro p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.scroll-strip {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  margin-top: auto;
  margin-left: -2.5rem;
  margin-right: -2.5rem;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.scroll-strip::-webkit-scrollbar {
  display: none;
}

.scroll-strip-item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column-reverse;
}

.scroll-strip-item video,
.scroll-strip-item img {
  height: 44vh;
  min-height: 240px;
  display: block;
  border-radius: 2px;
}

.scroll-strip-caption {
  font-size: var(--text-caption);
  color: var(--text);
  margin-bottom: 0.5rem;
  font-weight: 400;
}
.section--experience {
  height: auto;
  min-height: auto;
}

.experience-grid {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 1rem;
  overflow: visible;
}

.experience-left {
  max-width: 65%;
}

.experience-right {
  position: sticky;
  top: 2.5rem;
  right: 0;
  height: calc(100vh - 5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.experience-location {
  font-size: var(--text-caption);
  color: var(--text-secondary);
  letter-spacing: -0.01em;
  margin-top: 3rem;
}

.timeline {
  display: flex;
  flex-direction: column;
}

.timeline-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: baseline;
  gap: 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  max-width: 75ch;
}

.timeline-item:first-child {
  padding-top: 0;
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-date {
  font-size: var(--text-caption);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
}

.timeline-content {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.timeline-title {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.timeline-company {
  font-size: var(--text-body);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

.timeline-desc {
  font-size: var(--text-body);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 0.2rem;
}

.timeline-desc a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.2s;
}

.timeline-desc a:hover {
  opacity: 0.7;
}

.contact-links {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 1rem;
}

.contact-links a {
  font-size: 1.4rem;
}
.dot-nav {
  position: fixed;
  left: 0;
  top: 4.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 100;
  transition:
    transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1),
    top 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.dot-nav__dot {
  width: 4px;
  height: 4px;
  border-radius: 0;
  background: var(--text-muted);
  transition:
    background 0.2s ease,
    transform 0.2s ease;
  cursor: pointer;
}

.dot-nav__dot:hover {
  background: var(--text-secondary);
  transform: scale(2);
}

.dot-nav__dot.is-active {
  background: var(--text);
}
:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}
@media (max-width: 1024px) {
  .dot-nav {
    top: 4.4rem;
  }

  .section--hero h1 {
    font-size: 5rem;
    max-width: 5.5ch;
  }

  .section--hero .hero-content {
    flex-shrink: 1;
    max-width: 60%;
  }
}

@media (max-width: 720px) {
  :root {
    font-size: 15px;
  }

  .dot-nav {
    display: none;
  }

  .section {
    height: 100svh;
    min-height: 100svh;
    padding: 1rem 1rem;
    margin-bottom: 4rem;
  }

  .section:last-of-type {
    margin-bottom: 0;
  }

  .section--experience {
    height: auto;
    min-height: 100svh;
    overflow-y: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .section--experience::-webkit-scrollbar {
    display: none;
  }

  .section--hero .container {
    flex-direction: column-reverse;
    gap: 2rem;
  }

  .section--hero .hero-content {
    flex-shrink: 0;
    max-width: 100%;
  }

  .section--hero h1 {
    font-size: 3rem;
    max-width: none;
  }

  .hero-statement {
    font-size: 1rem;
    font-weight: 450;
  }

  .hero-photo {
    min-height: 200px;
    max-width: 100%;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .section-header,
  .section h2 {
    font-size: 3rem;
  }

  .section-intro p {
    font-size: 1rem;
  }

  .scroll-strip-caption {
    font-size: 0.75rem;
  }

  .scroll-strip {
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .scroll-strip-item video,
  .scroll-strip-item img {
    height: 35vh;
    min-height: 200px;
  }

  .experience-grid {
    flex-direction: column;
    gap: 2rem;
  }

  .experience-left {
    flex: none;
    max-width: 100%;
  }

  .experience-right {
    flex-direction: column;
    max-width: 100%;
    height: auto;
    position: static;
    padding-bottom: 0;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .timeline-date {
    font-size: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
