* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: #f6f7f6;
  color: #101410;
  font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.hero {
  padding-top: 12vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.hero.is-visible {
  opacity: 1;
  transform: none;
}

.scroll-hint {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(16, 20, 16, 0.45);
  font-size: 12px;
  letter-spacing: 0.4px;
  opacity: 0;
  transition: opacity 1s ease 0.6s;
}

.hero.is-visible .scroll-hint {
  opacity: 1;
}

.scroll-hint__arrow {
  width: 14px;
  height: 14px;
  border-right: 1.5px solid rgba(16, 20, 16, 0.4);
  border-bottom: 1.5px solid rgba(16, 20, 16, 0.4);
  transform: rotate(45deg);
  animation: nudge 1.6s ease-in-out infinite;
}

@keyframes nudge {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(4px); }
}

a {
  color: inherit;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px;
  display: flex;
  align-items: stretch;
  gap: 24px;
}

.col {
  flex: 1;
  min-width: 0;
}

.page > .col:first-child {
  margin-top: 40px;
}

.divider {
  width: 1px;
  background: rgba(16, 20, 16, 0.25);
  align-self: stretch;
}

.tag {
  display: inline-block;
  margin: 0 0 18px;
  padding: 3px 3px;
  font-size: 17px;
}

h1 {
  margin: 0;
  font-size: 46px;
  line-height: 1.1;
  letter-spacing: -1px;
}

.role {
  margin: 6px 0 18px;
  font-size: 15px;
  font-weight: 600;
}

.text {
  margin: 0 0 22px;
  max-width: 420px;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
}

.skills p {
  margin: 0;
  padding: 0 10px;
  border: 0;
  border-radius: 0;
  font-size: 13px;
  text-align: center;
}

.skills p:not(:last-child) {
  border-right: 1px solid rgba(16, 20, 16, 0.35);
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background: #1b1b1b;
  color: #fbfcfa;
  border-radius: 6px;
  font-size: 15px;
  text-decoration: none;
}

.btn:hover {
  background: #1b1b1b;
}

.right {
  border-left: 1px solid rgba(16, 20, 16, 0.25);
  padding-left: 40px;
}

h2 {
  margin: 0 0 10px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

h3 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
}

.list {
  margin-bottom: 26px;
}

.list li {
  padding: 4px 0;
  font-size: 15px;
}

.list a {
  text-decoration: underline;
}

.foot {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 140px;
  font-size: 13px;
}

.foot p {
  margin: 0;
}

.projects {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 10px 24px 80px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.projects.is-visible {
  opacity: 1;
  transform: none;
}

.projects h3 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.project-card {
  border: 1px solid rgba(16, 20, 16, 0.2);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.project-card__preview {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0b0c0d;
  overflow: hidden;
}

.project-card__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-card__preview--soon {
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  text-align: center;
  padding: 12px;
}

.project-card__body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.project-card__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.project-card__desc {
  margin: 0;
  font-size: 13px;
  color: rgba(16, 20, 16, 0.7);
}

.project-card__link {
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.project-card__link:hover {
  text-decoration: underline;
}

.project-card--soon {
  opacity: 0.6;
}

@media (max-width: 760px) {
  body {
    justify-content: flex-start;
  }

  .page {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 24px 24px;
  }

  h1 {
    font-size: 34px;
  }

  .vl {
  border-left: 6px solid green;
  height: 500px;
  position: absolute;
  left: 50%;
  margin-left: -3px;
  top: 0;
}

  .right {
    border-left: 0;
    border-top: 1px solid rgba(16, 20, 16, 0.25);
    padding-left: 0;
    padding-top: 24px;
  }
}
