/* Global */
body, html {
    background: #1b1a1a;
    font-family: "Geist Mono", monospace;
    --green: #43a25a;
}

.wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;

    max-width: 650px;
    margin: 60px auto;
    padding: 0 30px;
}

.content-scroll > * {
    margin: 0;
    text-align: left !important;
}

/* Header */
.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.name-block {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.headshot-outer {
  position: relative;
  width: 140px;
  flex-shrink: 0;
  margin: 20px 20px 0 0;
  transform: translateX(20px);
}

.headshot-wrapper {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
}

.head-shot {
  width: 140px;
  height: 140px;
  object-fit: cover;
  object-position: center 10%;
  border-radius: 50%;
  display: block;
  transform: scale(1.5);
  transform-origin: center 20%;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.headshot-wrapper:hover .head-shot{
    transform: scale(1.7);
}

.headshot-dot {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 18px;
  height: 18px;
  background: var(--green);
  border-radius: 50%;
  border: 3px solid #1b1a1a;
}

/* Responsive */
@media (max-width: 600px) {
    .header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .head-shot {
        align-self: center;
    }
}

/* Titles */
.title-5xl {
    color: white;
    font-size: 1.75rem;
    margin: 0;
}

.title-3xl {
    color: gray;
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
}

.title-2xl {
    color: rgb(168, 168, 168);
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.6;
    margin: 10px 0;
}

/* Location */
.location {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: -2px;
}

/* Socials */
.socials {
    display: flex;
    align-items: center;
    gap: 25px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: gray;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.95rem;
}

.social-link:hover {
    color: var(--green);
}

.social-link:hover .icon {
    opacity: 1;
    filter: none; /* full color */
}

/* Email popup */
.email-item {
    position: relative;
}

.email-popup {
    display: none;
    position: absolute;
    top: 120%;
    left: 0;
    background: #2b2b2b;
    padding: 6px 10px;
    border-radius: 6px;
    color: white;
    font-size: 0.8rem;
    white-space: nowrap;
}

/* Stack */
.stack {
    margin: 15px 0 0 6px;
}

.stack-item {
    display: inline-block;
    position: relative;
    margin-right: 4px;
    cursor: pointer;
}

.stack img {
    width: 30px;
    cursor: pointer;
}

.stack-popup {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #2b2b2b;
    padding: 8px 10px;
    border-radius: 6px;
    color: white;
    font-size: 0.9rem;
}

.stack-item:hover .stack-popup {
    display: block;
}

.terminal-blink {
  color: var(--green);
  font-size: 1rem;
  font-family: "Geist Mono", monospace;
  animation: blink 1s step-start infinite;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
  margin-bottom: 9px;
}

.currently-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin: 10px 0;
  width: 100%;
}

.currently {
    margin-left: 6px;
}

.currently-label {
  color: var(--green);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

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

.currently-rows {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.currently-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 0.88rem;
}

.row-key {
  color: rgba(168, 168, 168, 0.5);
  min-width: 72px;
  flex-shrink: 0;
  font-size: 0.78rem;
}

.row-val {
  color: rgb(168, 168, 168);
  line-height: 1.5;
}

.row-val a {
  color: rgb(168, 168, 168);
  text-decoration: underline;
  text-decoration-color: var(--green);
  text-underline-offset: 3px;
}

.local-time {
  color: #555;
  font-size: 0.78rem;
  font-style: italic;
  margin: 2px 0 0 0;
}

.photo-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.photo-modal.open {
  display: flex;
}

.photo-modal-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: default;
}

.photo-modal-inner img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  object-position: center 10%;
}

.photo-modal-inner p {
  color: #888;
  font-size: 0.8rem;
  font-style: italic;
  font-family: "Geist Mono", monospace;
  margin: 0;
}