@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Inter:wght@300;400;500&display=swap');

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

body {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  color: #1a1a1a;
  background-color: #fafafa;
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #1a1a1a;
  text-decoration: none;
}

a:hover {
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

header {
  padding: 40px 60px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid #e0e0e0;
}

.site-name {
  font-family: 'EB Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: 32px;
}

nav a {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

nav a.active {
  border-bottom: 1px solid #1a1a1a;
  padding-bottom: 2px;
}

main {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 40px;
}

.home-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
}

.home-name {
  font-family: 'EB Garamond', serif;
  font-size: 48px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.home-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 1px;
  color: #666;
}

.page-title {
  font-family: 'EB Garamond', serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 48px;
}

.project {
  margin-bottom: 56px;
  border-bottom: 1px solid #e8e8e8;
  padding-bottom: 48px;
}

.project:last-child {
  border-bottom: none;
}

.project-title {
  font-family: 'EB Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 8px;
}

.project-meta {
  font-size: 13px;
  color: #888;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.project-description {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
  max-width: 700px;
}

.video-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #e0e0e0;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 13px;
  letter-spacing: 1px;
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.work-item {
  margin-bottom: 48px;
  border-bottom: 1px solid #e8e8e8;
  padding-bottom: 40px;
}

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

.work-item-title {
  font-family: 'EB Garamond', serif;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 6px;
}

.work-item-meta {
  font-size: 13px;
  color: #888;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.work-item-description {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
  max-width: 700px;
}

.resume-download {
  display: inline-block;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid #1a1a1a;
  padding: 10px 24px;
  margin-bottom: 48px;
  transition: all 0.2s ease;
}

.resume-download:hover {
  background-color: #1a1a1a;
  color: #fafafa;
  opacity: 1;
}

.resume-section {
  margin-bottom: 40px;
}

.resume-section-title {
  font-family: 'EB Garamond', serif;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 8px;
  margin-bottom: 20px;
}

.resume-entry {
  margin-bottom: 24px;
}

.resume-entry-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 2px;
}

.resume-employer {
  font-weight: 500;
  font-size: 15px;
}

.resume-location {
  font-size: 13px;
  color: #888;
}

.resume-title-date {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.resume-title {
  font-style: italic;
  font-size: 14px;
}

.resume-date {
  font-size: 13px;
  color: #888;
}

.resume-bullets {
  list-style: none;
  padding-left: 0;
}

.resume-bullets li {
  font-size: 14px;
  line-height: 1.7;
  padding-left: 16px;
  position: relative;
  margin-bottom: 4px;
}

.resume-bullets li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  color: #999;
}

.resume-skills {
  font-size: 14px;
  line-height: 1.8;
}

.resume-skills strong {
  font-weight: 500;
}

.contact-container {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-line {
  font-size: 16px;
  margin-bottom: 12px;
}

.contact-line a {
  border-bottom: 1px solid #ccc;
  padding-bottom: 1px;
}

.contact-line a:hover {
  border-bottom-color: #1a1a1a;
  opacity: 1;
}

footer {
  padding: 40px 60px;
  border-top: 1px solid #e0e0e0;
  text-align: center;
  font-size: 12px;
  color: #aaa;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: center;
    padding: 24px 20px;
    gap: 16px;
  }
  nav { gap: 20px; }
  nav a { font-size: 12px; }
  main { padding: 40px 20px; }
  .home-name { font-size: 32px; }
  .page-title { font-size: 26px; }
  .resume-entry-header,
  .resume-title-date {
    flex-direction: column;
    gap: 2px;
  }
}
