/* 2004-style profile page, full width */

body {
  margin: 0;
  background: #fff;
  font-family: "Lucida Grande", Tahoma, Verdana, Arial, sans-serif;
  font-size: 13px;
  color: #333;
}

a { color: #3b5998; text-decoration: none; }
a:hover { text-decoration: underline; }

.page { width: 100%; }

/* ---------- top blue bar ---------- */
.topbar {
  background: #3b5998;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}
.logo {
  color: #fff;
  font-size: 26px;
  font-weight: bold;
  letter-spacing: -1px;
}
.logo:hover { text-decoration: none; }
.toplinks a {
  color: #fff;
  margin-left: 16px;
}

/* ---------- layout ---------- */
.main { display: flex; }

.sidebar {
  width: 180px;
  flex-shrink: 0;
  padding: 12px 0 12px 20px;
}
.sidebar a {
  display: block;
  padding: 5px 6px;
  border-bottom: 1px solid #d8dfea;
}
.sidebar a.active {
  background: #3b5998;
  color: #fff;
  text-decoration: none;
}
.quicksearch {
  background: #edeff4;
  border: 1px solid #d8dfea;
  padding: 6px;
  margin-bottom: 12px;
  color: #3b5998;
}
.quicksearch input {
  width: 105px;
  border: 1px solid #bdc7d8;
}
.quicksearch button {
  background: #3b5998;
  color: #fff;
  border: 1px solid #29447e;
  margin-left: 2px;
  cursor: pointer;
}

.content {
  flex: 1;
  padding: 12px 20px;
  min-width: 0;
}
.view[hidden] { display: none; }

.pagetitle {
  background: #6d84b4;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  padding: 6px 10px;
  margin-bottom: 12px;
}

.columns { display: flex; gap: 12px; }
.col-left { width: 300px; flex-shrink: 0; }
.col-right { flex: 1; min-width: 0; }

/* ---------- boxes ---------- */
.box {
  border: 1px solid #d8dfea;
  margin-bottom: 12px;
}
.box-head {
  background: #d8dfea;
  color: #3b5998;
  font-weight: bold;
  padding: 4px 8px;
}
.box-body { padding: 10px; }
.box-body p { margin: 4px 0 0; line-height: 1.5; }
.small { color: #808080; font-size: 11px; margin-top: 4px; }

/* label / value tables */
.info { width: 100%; border-collapse: collapse; }
.info td { padding: 4px; vertical-align: top; }
.info td:first-child {
  color: #808080;
  width: 120px;
  white-space: nowrap;
}

/* ---------- currently listening ---------- */
.np { display: flex; gap: 8px; align-items: center; }
.np-art { width: 48px; height: 48px; border: 1px solid #ccc; flex-shrink: 0; }
#np-status { margin: 0 0 2px; }

/* ---------- intro video ---------- */
.video { aspect-ratio: 16 / 9; display: block; position: relative; background: #000; }
.video iframe, .video img { width: 100%; height: 100%; display: block; border: 0; object-fit: cover; }
.video .play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 44px;
  line-height: 44px;
  text-align: center;
  font-size: 22px;
  color: #fff;
  background: #3b5998;
  border: 2px solid #fff;
}
.video:hover .play { background: #29447e; }

/* ---------- timeline ---------- */
.timeline {
  margin: 6px 0 0 8px;
  padding-left: 24px;
  border-left: 2px solid #d8dfea;
}
.t-item {
  position: relative;
  padding-bottom: 22px;
}
.t-item:last-child { padding-bottom: 4px; }
.t-item::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 2px;
  width: 10px;
  height: 10px;
  background: #3b5998;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #3b5998;
}
.t-date {
  color: #808080;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
}
.t-title {
  color: #3b5998;
  font-weight: bold;
  font-size: 15px;
  margin-top: 2px;
}

/* ---------- story ---------- */
.story { max-width: 820px; padding: 14px 18px; }
.story p { font-size: 14px; line-height: 1.7; margin: 0 0 14px; }
.story p:last-child { margin-bottom: 0; }
.story p.story-quote {
  font-weight: bold;
  color: #3b5998;
  border-left: 3px solid #3b5998;
  background: #edeff4;
  padding: 10px 14px;
  margin-bottom: 18px;
}

/* ---------- goals checklist ---------- */
.goals { list-style: none; margin: 6px 0 0; padding: 0; }
.goals li {
  padding: 7px 4px;
  border-bottom: 1px dotted #d8dfea;
  font-size: 14px;
}
.goals li:last-child { border-bottom: none; }
.goals li::before { content: "±0"; color: #3b5998; margin-right: 8px; }
.goals li.done { color: #999; text-decoration: line-through; }
.goals li.done::before { content: "±1"; }

/* small company logo before an experience title */
.t-logo {
  width: 26px;
  height: 26px;
  border: 1px solid #d8dfea;
  background: #fff;
  vertical-align: middle;
  margin-right: 8px;
  object-fit: contain;
}
.t-badge {
  display: inline-block;
  line-height: 26px;
  text-align: center;
  font-size: 13px;
  color: #fff;
  background: #3b5998;
  border-color: #3b5998;
}

/* items appear one by one */
.anim.in { animation: fadeUp 0.5s ease both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- evidence ---------- */
.evidence-note { margin: -4px 0 10px; }
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
  gap: 12px;
}
.evidence { border: 1px solid #d8dfea; background: #fff; }
.evidence img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top;
  display: block;
  border-bottom: 1px solid #d8dfea;
}
.evidence a:hover img { opacity: 0.85; }
.evidence p { margin: 0; padding: 8px 10px; font-size: 13px; line-height: 1.5; }
@media (max-width: 700px) {
  .evidence-grid { grid-template-columns: 1fr; }
}

/* ---------- image placeholders ---------- */
.ph {
  background: #edeff4;
  border: 1px solid #ccc;
  overflow: hidden;
  display: block;
}
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-profile { width: 100%; aspect-ratio: 1; }
.ph-photo   { width: 100%; aspect-ratio: 1; }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}
.gallery-wide { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.gallery-wide .ph-photo { aspect-ratio: 4 / 3; }
a.ph:hover img { opacity: 0.85; }
.friend { text-align: center; }
.friend a { display: block; margin-top: 4px; }

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid #d8dfea;
  margin: 12px 20px;
  padding: 10px 0;
  text-align: center;
  color: #808080;
}
.footer a { margin: 0 6px; }

/* ---------- phones ---------- */
@media (max-width: 700px) {
  .topbar { padding: 0 12px; }
  .logo { font-size: 19px; }
  .toplinks { display: none; }
  .main { flex-direction: column; }
  .sidebar {
    width: auto;
    padding: 10px 16px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }
  .sidebar a { border: 1px solid #d8dfea; }
  .quicksearch { display: none; }
  .content { padding: 10px 16px; }
  .columns { flex-direction: column; }
  .col-left { width: 100%; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
