
@import url('https://fonts.googleapis.com/css2?family=Mozilla+Text:wght@400;600&display=swap');

body {
  margin: 0;
  font-family: 'Mozilla Text', sans-serif;
  background: #2a2a2a; /* lighter charcoal */
  color: #f4f4f4;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 3rem auto;
  padding: 2rem;
  background: #333333; /* inner container slightly lighter than bg */
  border: 1px solid #444;
  border-radius: 6px;
}

header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
}

.headshot {
  width: 180px;
  height: 180px;
  background: #444;
  position: relative;
  overflow: hidden;
}

.throbber {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #444, #555);
  animation: pulse 1.2s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.headshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
}

h1 {
  margin: 0;
  font-size: 2.4rem;
  color: #ff6f61; /* coral accent */
}

.links {
  margin-top: 1rem;
}

.links a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-right: 1rem;
  color: #ff6f61;
  text-decoration: none;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  transition: background 0.2s;
}

.links a:hover {
  background: rgba(255, 111, 97, 0.15);
}

h2 {
  margin-top: 2rem;
  color: #ff6f61;
  border-bottom: 1px dashed #ff6f61;
  padding-bottom: 0.3rem;
}

h3 {
  margin-bottom: 0.2rem;
  color: #f4f4f4;
}

h3 span {
  font-size: 0.9rem;
  color: #aaa;
}

.skills {
  padding-left: 1.2rem;
  list-style: square;
}

@media (min-width: 768px) {
  .skills {
    columns: 2;
    column-gap: 2rem;
  }
}
