﻿:root {
  --bg: #f6f2ea;
  --panel: #fff9f0;
  --ink: #1d2b2a;
  --muted: #526460;
  --accent: #db5b2b;
  --accent-2: #1f6a69;
  --line: #e4d9c8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  background: radial-gradient(circle at 15% 8%, #ffe5b8 0%, transparent 33%), var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  text-align: center;
}


h1, h2, h3, h4 {
  margin: 0;
  font-family: "Sora", "Trebuchet MS", sans-serif;
  line-height: 1.15;
}

a {
  color: inherit;
}

.bg-shape {
  position: fixed;
  width: 36vmax;
  height: 36vmax;
  border-radius: 50%;
  z-index: -1;
  filter: blur(50px);
  opacity: 0.35;
}

.bg-shape-a {
  top: -14vmax;
  right: -9vmax;
  background: #ffb26f;
}

.bg-shape-b {
  bottom: -18vmax;
  left: -9vmax;
  background: #69b6a6;
}

.site-header,
main,
.site-footer {
  width: min(1040px, 92vw);
  margin: 0 auto;
  text-align: center;
}

.site-header {
  padding: 36px 0 22px;
  position: relative;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  align-items: center;
  gap: 28px;
}

.hero-copy {
  text-align: center;
}

.eyebrow {
  margin: 0 0 3px;
  letter-spacing: 0.14em;
  font-weight: 700;
  font-size: clamp(2.70rem, 5.13vw, 3.72rem);
  color: #6f42c1;
}

.eyebrow .name-char {
  display: inline-block;
  animation: name-wave 2.2s ease-in-out infinite;
  animation-delay: var(--char-delay, 0ms);
}

@keyframes name-wave {
  0% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-3px);
  }
  50% {
    transform: translateY(0);
  }
  75% {
    transform: translateY(3px);
  }
  100% {
    transform: translateY(0);
  }
}

h1 {
  font-size: clamp(1.05rem, 2.45vw, 2rem);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.lead {
  margin: 16px 0 0;
  max-width: 760px;
  font-size: clamp(1rem, 2.1vw, 1.22rem);
  color: var(--muted);
  margin-left: auto;
  margin-right: auto;
}

.hero-photo-wrap {
  width: 220px;
  height: 220px;
  margin: 0 auto;
  border-radius: 50%;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.hero-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #f1eadf;
}

.cta-row {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.btn {
  text-decoration: none;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 20px rgba(219, 91, 43, 0.25);
}

.btn.ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
}

.hero-actions {
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.contact-label {
  font-weight: 700;
  font-size: clamp(1.58rem, 3.68vw, 3rem);
  color: var(--ink);
}

.icon-contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: transform 180ms ease;
}

.icon-contact-link:hover {
  transform: scale(1.08);
}

.contact-icon {
  width: 51px;
  height: 51px;
  object-fit: contain;
  display: block;
}

.email-text {
  display: none;
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--muted);
}

.email-text.show {
  display: inline;
}

.yt-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: #fffdf8;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.yt-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(22, 39, 37, 0.12);
}

.yt-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

main {
  padding-bottom: 18px;
}

.panel {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 24px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 10px 12px;
  margin: 10px 0 30px;
}

.panel h2 {
  font-size: 1.45rem;
  line-height: 1.05;
}

.panel p {
  margin: 4px 0 0;
  font-size: 0.9rem;
  color: var(--ink);
}

section {
  margin-bottom: 34px;
}

main > section + section {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

main > .site-footer + section {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.skills-experience-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 34px;
}

.block-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 14px;
  min-height: 220px;
  margin-bottom: 0;
}

.skills-experience-row > .block-card:not(:first-child) {
  border-left: 3px solid var(--line);
}

section h3 {
  font-size: 1.42rem;
  margin-bottom: 10px;
}

.tech-skill-line {
  margin: 8px auto 0;
  max-width: 900px;
  color: var(--ink);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 14px;
}

.chips span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 13px;
  background: #fffdf8;
  font-weight: 500;
}

.program-logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(64px, 1fr));
  gap: 10px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 12px;
  margin-bottom: 8px;
}

.program-logo {
  width: 96px;
  height: 96px;
  border: 0;
  border-radius: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 180ms ease;
}

.program-logo:hover {
  transform: scale(1.08);
}

.program-logo img {
  width: 51px;
  height: 51px;
  object-fit: contain;
  display: block;
}

.program-logo img.github-icon {
  width: 92px;
  height: 92px;
}

.program-logo img.unity-icon {
  width: 61px;
  height: 61px;
}

.program-logo img.mixamo-icon {
  width: 56px;
  height: 56px;
}

.program-logo img.premiere-icon {
  width: 46px;
  height: 46px;
}

.program-logo img.notion-icon,
.program-logo img.photoshop-icon,
.program-logo img.aseprite-icon {
  width: 45px;
  height: 45px;
}

.skill-expand {
  max-width: 680px;
  margin: 0 auto;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: center;
}

.skill-expand summary {
  font-weight: 700;
  cursor: pointer;
}

.skill-expand ul {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.skill-expand li {
  padding: 0;
}

.skill-expand li:not(:last-child)::after {
  content: " |";
  color: var(--muted);
}

.project-grid {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin-top: 12px;
}

.project-card {
  border-radius: 999px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fffdfa 0%, #fff5e8 100%);
  text-decoration: none;
  transition: transform 190ms ease, box-shadow 190ms ease;
  min-width: 0;
  width: 100%;
  text-align: center;
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(22, 39, 37, 0.13);
}

.project-card h4 {
  font-size: 0.98rem;
}

.project-card-youtube {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline article {
  border-top: 4px solid var(--accent-2);
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 12px;
}

.meta {
  margin: 6px 0;
  color: #33504c;
  font-weight: 600;
}

.exp-list {
  list-style-position: inside;
  margin: 8px 0 0;
  padding: 0;
}

.exp-list li {
  margin: 6px 0;
}

.company-list {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

#experience.block-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.company-link {
  display: inline-block;
  padding: 2px;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.company-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(22, 39, 37, 0.12);
}

.company-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  display: block;
  border-radius: 10px;
}

.site-footer {
  padding: 2px 0 24px;
  color: var(--muted);
}

#message {
  width: min(1040px, 92vw);
  margin: 0 auto 28px;
  text-align: center;
}

.contact-form {
  max-width: 680px;
  margin: 12px auto 0;
  display: grid;
  gap: 10px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  color: var(--ink);
  background: #fffdf8;
}

.contact-form textarea {
  resize: vertical;
}

.send-btn {
  justify-self: center;
  border: 0;
  border-radius: 999px;
  padding: 9px 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
  background: var(--accent);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.send-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(219, 91, 43, 0.25);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .skills-experience-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .skills-experience-row > .block-card:not(:first-child) {
    border-left: 1px solid var(--line);
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-photo-wrap {
    width: 170px;
    height: 170px;
  }

  .panel {
    grid-template-columns: 1fr;
  }

  .project-grid {
    justify-content: center;
  }
}

@media (max-width: 620px) {
  .project-card {
    min-width: 0;
    width: 100%;
    max-width: 320px;
  }
}




