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

body {
  font-family: "IBM Plex Mono", "iA Writer Mono", "iA Writer Duo", Menlo, Monaco,
    "Courier New", monospace;
  line-height: 1.5;
  color: #336;
  background: #f2f3f4;
  padding: 0;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  background: #f2f3f4;
  padding: 40px;
  border: 8px solid #336;
  border-radius: 10px;
}

header {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
}

.profile-photo-wrapper {
  border: 8px solid #336;
  border-radius: 10px;
  flex-shrink: 0;
  overflow: hidden;
  width: 150px;
  height: 150px;
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: sepia(100%) saturate(300%) hue-rotate(180deg) brightness(0.7);
  transition: filter 0.3s;
}

.profile-photo:hover {
  filter: none;
}

.header-text {
  flex: 1;
}

header h1 {
  font-size: 4em;
  margin-bottom: 10px;
  color: #5c2f7e;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -2px;
}

.intro {
  font-size: 1.3em;
  margin-bottom: 10px;
  font-weight: bold;
}

.location {
  font-size: 1.1em;
  font-weight: normal;
  margin-top: 10px;
  margin-bottom: 10px;
}

.header-links {
  font-size: 1em;
  margin-top: 10px;
}

.header-links a {
  color: #336;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  font-weight: bold;
  transition: background 0.2s;
}

.header-links a:hover {
  background: #336;
  color: #f2f3f4;
}

.header-links .separator {
  margin: 0 10px;
  color: #336;
}

.roles {
  margin-bottom: 40px;
  overflow: hidden;
  background: #336;
  color: #f2f3f4;
  padding: 20px 0;
  margin-left: -40px;
  margin-right: -40px;
}

.ticker {
  overflow: hidden;
  white-space: nowrap;
}

.ticker-content {
  display: inline-block;
  animation: scroll 30s linear infinite;
}

.ticker-content span {
  display: inline-block;
  padding: 0 40px;
  font-size: 1.2em;
  font-weight: bold;
  text-transform: uppercase;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.summary {
  margin-bottom: 40px;
  font-size: 1.2em;
  font-weight: bold;
  border: 4px solid #336;
  padding: 20px;
  background: #f2f3f4;
  border-radius: 10px;
}

.skills {
  margin-bottom: 40px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.skill-card {
  border: 4px solid #336;
  padding: 20px;
  background: #f2f3f4;
  border-radius: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.skill-card:hover {
  transform: translateY(-4px);
  box-shadow: 8px 8px 0 #336;
}

.skill-card h3 {
  font-size: 1.1em;
  color: #336;
  margin-bottom: 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.skill-card p {
  font-size: 0.95em;
  line-height: 1.6;
}

.skill-card h3 a {
  color: #336;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  transition: background 0.2s;
}

.skill-card h3 a:hover {
  background: #336;
  color: #f2f3f4;
}

.view-all-projects {
  text-align: center;
  margin-top: 30px;
  font-size: 1.1em;
  font-weight: bold;
}

.view-all-projects a {
  color: #336;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  transition: background 0.2s;
}

.view-all-projects a:hover {
  background: #336;
  color: #f2f3f4;
}

hr {
  border: none;
  border-top: 4px solid #336;
  margin: 40px 0;
}

h2 {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #5c2e7e;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.job {
  margin-bottom: 30px;
  border-left: 8px solid #336;
  padding-left: 20px;
}

.job h3 {
  font-size: 1.3em;
  color: #336;
  margin-bottom: 10px;
  font-weight: bold;
}

.job p {
  color: #336;
}

p {
  font-weight: lighter;
}

blockquote {
  border-left: 8px solid #336;
  padding-left: 20px;
  margin: 30px 0;
  color: #336;
  font-style: normal;
  background: #f0f0f0;
  padding: 20px;
}

.contact {
  text-align: center;
  font-size: 1em;
  font-weight: bold;
  background: #336;
  color: #f2f3f4;
  padding: 30px;
  margin: 40px -40px -40px -40px;
}

.contact a {
  color: #f2f3f4;
  text-decoration: underline;
  text-decoration-thickness: 3px;
}

.contact a:hover {
  background: #f2f3f4;
  color: #336;
}

strong {
  color: #336;
  font-weight: 900;
}

/* Fade-in animation - removed for brutalist aesthetic */
.fade-in {
  opacity: 1;
}

/* Floating CTA Button */
.floating-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #5c2e7e;
  color: #f2f3f4;
  padding: 12px 18px;
  font-size: 0.85em;
  font-weight: bold;
  text-decoration: none;
  border: 3px solid #5c2e7e;
  border-radius: 6px;
  box-shadow: 4px 4px 0 #336;
  transition: transform 0.2s, box-shadow 0.2s;
  z-index: 1000;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.floating-cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #336;
}

.floating-cta:active {
  transform: translate(1px, 1px);
  box-shadow: 3px 3px 0 #336;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 20px;
    border: 4px solid #336;
  }

  header {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .profile-photo-wrapper {
    width: 120px;
    height: 120px;
    border: 6px solid #336;
  }

  header h1 {
    font-size: 2.5em;
  }

  .intro {
    font-size: 1.1em;
  }

  .location {
    font-size: 1em;
  }

  .header-links {
    font-size: 0.9em;
  }

  .header-links .separator {
    margin: 0 5px;
  }

  h2 {
    font-size: 2em;
  }

  .summary {
    font-size: 1.1em;
    padding: 15px;
  }

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

  .skill-card {
    border: 3px solid #336;
    padding: 15px;
  }

  .roles {
    margin-left: -20px;
    margin-right: -20px;
  }

  .contact {
    margin: 40px -20px -20px -20px;
    padding: 20px;
    font-size: 1em;
  }

  .ticker-content span {
    font-size: 1em;
    padding: 0 20px;
  }

  .floating-cta {
    bottom: 20px;
    right: 20px;
    padding: 10px 14px;
    font-size: 0.75em;
  }

  .view-all-projects {
    font-size: 1em;
    margin-top: 20px;
  }

  blockquote {
    padding: 15px;
    font-size: 0.95em;
  }

  .job {
    border-left: 4px solid #336;
    padding-left: 15px;
  }

  .job h3 {
    font-size: 1.1em;
  }
}
