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

:root {
  --black: #1a1a1a;
  --orange: #FF7300;
  --gray: #888;
  --white: #fff;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--white);
  color: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 24px;
}

/* ── Main content ── */
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  width: 100%;
  text-align: center;
}

/* ── Desktop & Tablet: name + "coming soon" side by side ── */
.hero {
  display: flex;
  align-items: flex-start;
  gap: 1px;
  margin-bottom: 28px;
  width: 100%;
  max-width: 336px;
}

.name,
.tagline {
  font-weight: 600;
  font-size: 34px;
  line-height: 38px;
}

.name {
  color: var(--black);
  text-align: left;
}

.tagline {
  color: var(--orange);
  text-align: right;
}

/* ── Skills row ── */
.skills {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: 336px;
  font-size: 14px;
  font-weight: 400;
  color: #555;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sep {
  display: inline-block;
  width: 1px;
  height: 14px;
  background-color: var(--orange);
  opacity: 1;
}

/* ── Fade-in animation ── */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.container {
  animation: fadeIn 0.8s ease both;
}

.footer {
  animation: fadeIn 0.8s ease 0.3s both;
}

/* ── Footer link ── */
.footer {
  margin-top: auto;
  padding-bottom: 8px;
}

.footer a {
  font-size: 12px;
  font-weight: 400;
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.footer a:hover {
  color: var(--orange);
}

/* ── Responsive: Mobile (≤ 480px) ── */
@media (max-width: 480px) {
  body {
    align-items: center;
    justify-content: flex-start;
    padding: 56px 0 40px;
  }

  .container {
    align-items: center;
    text-align: left;
    flex: unset;
    width: 240px;
  }

  .hero {
    flex-direction: column;
    gap: 0;
    margin-bottom: 24px;
    width: 240px;
    max-width: 240px;
  }

  .tagline {
    text-align: left;
  }

  .skills {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 240px;
    max-width: 240px;
  }

  .sep {
    display: inline-block;
    width: 14px;
    height: 1px;
    background-color: var(--orange);
  }

  .footer {
    margin-top: 48px;
    padding-bottom: 0;
    width: 240px;
    display: flex;
    justify-content: flex-start;
  }
}

/* ── Desktop: content shifted up 10% ── */
@media (min-width: 481px) {
  body {
    padding-bottom: 20%;
  }
}

/* ── Responsive: Tablet (481px – 1023px) ── */
@media (min-width: 481px) and (max-width: 1023px) {
  body {
    justify-content: center;
  }

  .hero {
    gap: 1px;
  }
}
