@font-face {
  font-family: 'Excalifont';
  src: url('Excalifont-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

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

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: 'Excalifont', system-ui, sans-serif;
  color: #1a1a1a;
  background: #fafafa;
}

.layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  min-height: 100vh;
  height: 100vh;
}

.left-panel {
  background: #fafafa;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  min-height: 0;
}

.left-panel-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 280px;
  height: 100%;
  min-height: 0;
}

.left-panel-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding-bottom: 8vh;
  min-height: 0;
}

.left-panel-answers {
  width: 100%;
  flex: 1;
  min-height: 6rem;
  max-height: 12rem;
  overflow-y: auto;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #444;
  background: #fafafa;
  border-radius: 6px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.left-panel-answers::-webkit-scrollbar {
  display: none;
}

.left-panel-social {
  display: flex;
  gap: 1.5rem;
  flex-shrink: 0;
  padding-top: 1rem;
}

.left-panel-social .social-icon {
  color: #666;
  transition: color 0.2s;
}

.left-panel-social .social-icon:hover {
  color: #1a1a1a;
}

.left-panel-social .social-icon svg {
  display: block;
  width: 24px;
  height: 24px;
}

.interaction-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: #1a1a1a;
  background: #fff;
  border: none;
  border-radius: 6px;
  outline: none;
}

.interaction-input::placeholder {
  color: #999;
}

.photo-wrap {
  position: relative;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo {
  width: 80%;
  height: 80%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.photo-placeholder {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.9rem;
}

.right-panel {
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.right-panel-header {
  flex-shrink: 0;
  background: #fafafa;
}

.content-header-inner {
  max-width: 56ch;
  margin: 0 auto;
  padding: 3rem 2.5rem 1.5rem;
}

.right-panel-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: y mandatory;
}

.section-scroll-wrapper {
  min-height: 100%;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.section-scroll-wrapper > .section-inner {
  flex: 0 1 auto;
  max-height: 100%;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  max-width: 56ch;
  margin: -3rem auto 0;
  padding: 1.5rem 2.5rem 2rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.section-scroll-wrapper > .section-inner::-webkit-scrollbar {
  display: none;
}

.right-panel-scroll {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.right-panel-scroll::-webkit-scrollbar {
  display: none;
}


.content-header-inner h1 {
  margin: 0 0 0.25rem;
  font-size: 4rem;
  font-weight: 700;
  white-space: nowrap;
}

.content-header-inner .tagline {
  margin: 1.5rem 0 0;
  color: #555;
  font-size: 1rem;
}

.section-inner > * + * {
  margin-top: 1.5rem;
}

.skills-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skills-list li {
  margin: 0;
}

.skill-tag {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  font-size: 0.9rem;
  color: #1a1a1a;
  background: #e8e8e8;
  border-radius: 4px;
}

.education-item {
  margin: 0;
}

.education-item + .education-item {
  margin-top: 1.5rem;
}

.education-degree-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 0.2rem;
}

.section-inner .education-degree {
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
}

.section-inner .education-college {
  color: #444;
  margin: 0 0 0.2rem;
}

.section-inner .education-years {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
  flex-shrink: 0;
}

.experience-item {
  margin: 0;
}

.experience-item + .experience-item {
  margin-top: 1.5rem;
}

.experience-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 0.2rem;
}

.section-inner .experience-role {
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
}

.section-inner .experience-company {
  color: #444;
  margin: 0 0 0.2rem;
}

.experience-contributions {
  margin: 0.5rem 0 0 1.25rem;
  padding: 0;
  color: #444;
  line-height: 1.6;
}

.experience-contributions li {
  margin-bottom: 0.35rem;
}

.experience-contributions li:last-child {
  margin-bottom: 0;
}

.section-inner .experience-years {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
  flex-shrink: 0;
}

.section-inner h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #333;
}

.section-inner p {
  margin: 0;
  line-height: 1.6;
  color: #444;
}

.page-footer {
  flex-shrink: 0;
  padding: 2rem 2.5rem 3rem;
  max-width: 56ch;
  margin: 0 auto;
}

.page-footer .vibe-coded {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
}

@media (max-width: 720px) {
  html {
    height: auto;
    min-height: 100%;
    -webkit-text-size-adjust: 100%;
  }

  body {
    min-height: 100%;
    height: auto;
    overflow-x: hidden;
  }

  .layout {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    min-height: 100vh;
    height: auto;
    overflow: visible;
  }

  .left-panel {
    min-height: 0;
    padding: 1.5rem;
    flex-shrink: 0;
  }

  .photo-wrap {
    max-width: 160px;
  }

  .right-panel {
    min-height: 0;
    overflow: visible;
    flex: none;
  }

  .right-panel-scroll {
    overflow: visible;
    scroll-snap-type: none;
    -webkit-overflow-scrolling: touch;
    display: block;
  }

  .section-scroll-wrapper {
    min-height: 0;
    height: auto;
    scroll-snap-align: none;
    scroll-snap-stop: normal;
    justify-content: flex-start;
    display: block;
  }

  .section-scroll-wrapper > .section-inner {
    max-height: none;
    overflow: visible;
    padding: 1.5rem 1.5rem 2rem;
    margin: 0 auto;
  }

  .content-header-inner h1 {
    font-size: min(2.25rem, 8vw);
    white-space: nowrap;
  }

  .content-header-inner {
    padding: 2rem 1.5rem 1rem;
  }

  .page-footer {
    padding: 2rem 1.5rem 3rem;
  }
}
