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

img {
  max-width: 100%;
}

.tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 32px;
  border-bottom: 1px solid #e0e0e0;
}

.tabs a {
  padding: 8px 16px;
  color: #666;
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.15s;
}

.tabs a:hover {
  color: #2563eb;
  text-decoration: none;
}

.tabs a.active {
  color: #111;
  border-bottom-color: #2563eb;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.skills li {
  background: #f3f4f6;
  color: #444;
  font-size: 0.85rem;
  padding: 5px 12px;
  border-radius: 999px;
}

.header-section {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 16px;
}

.profile-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.header-text {
  flex: 1;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.7;
  color: #333;
  background: #fff;
  max-width: 750px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #111;
}

.tagline {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 16px;
}

.social-links {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

a {
  color: #2563eb;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #555;
  font-size: 0.92rem;
  transition: color 0.15s;
}

.social-links a:hover {
  color: #2563eb;
  text-decoration: none;
}

.social-links svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

hr {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 32px 0;
}

h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111;
  margin-bottom: 20px;
}

.bio {
  font-size: 1rem;
  color: #444;
  margin-bottom: 0;
}

.story p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 16px;
}

.story p:last-child {
  margin-bottom: 0;
}

.story strong {
  color: #222;
  font-weight: 600;
}

.back-link {
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.back-link a {
  color: #888;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

.book-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.book {
  height: 150px;
  width: auto;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  display: block;
}

.timeline-entry {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.timeline-logo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: contain;
  flex-shrink: 0;
  background: #f5f5f5;
  padding: 4px;
  margin-top: 2px;
}

.timeline-text {
  flex: 1;
}

.timeline-text .dates {
  font-size: 0.85rem;
  color: #888;
  font-weight: 500;
}

.timeline-text .role {
  font-weight: 600;
  color: #222;
}

.timeline-text .company {
  color: #555;
}

.timeline-text .desc {
  font-size: 0.93rem;
  color: #555;
  margin-top: 4px;
}

.writing-list {
  list-style: none;
}

.writing-list li {
  margin-bottom: 14px;
}

.writing-list .post-title {
  font-weight: 500;
  color: #2563eb;
}

.writing-list .post-date {
  font-size: 0.82rem;
  color: #999;
  margin-left: 8px;
}

.writing-list .post-desc {
  font-size: 0.9rem;
  color: #666;
  margin-top: 2px;
}

.philosophy-list {
  list-style: disc;
  padding-left: 20px;
}

.philosophy-list li {
  margin-bottom: 8px;
  color: #444;
  font-size: 0.95rem;
}

.cert-list {
  list-style: none;
}

.cert-list li {
  margin-bottom: 8px;
  font-size: 0.93rem;
  color: #444;
}

.cert-list .cert-name {
  font-weight: 500;
  color: #222;
}

.cert-list .cert-issuer {
  color: #888;
  font-size: 0.85rem;
}

footer {
  text-align: center;
  color: #bbb;
  font-size: 0.82rem;
  margin-top: 48px;
}

@media (max-width: 600px) {
  body {
    padding: 24px 16px 40px;
  }

  .header-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  h1 {
    font-size: 1.6rem;
  }

  .timeline-entry {
    gap: 12px;
  }

  .timeline-logo {
    width: 40px;
    height: 40px;
  }

  .social-links {
    gap: 14px;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Portfolio additions (Nov 2026) ---------- */

.positioning {
  font-size: 1.05rem;
  color: #444;
  margin-bottom: 16px;
}

.proof {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  list-style: none;
}

.proof li {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 14px 16px;
}

.proof .num {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  color: #111;
  line-height: 1.3;
}

.proof .what {
  display: block;
  font-size: 0.88rem;
  color: #666;
  line-height: 1.5;
}

.cards {
  list-style: none;
  display: grid;
  gap: 12px;
}

.cards a {
  display: block;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 16px 18px;
  color: inherit;
  transition: border-color 0.15s;
}

.cards a:hover {
  border-color: #2563eb;
  text-decoration: none;
}

.cards .kicker {
  font-size: 0.8rem;
  color: #888;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cards .card-title {
  display: block;
  font-weight: 600;
  color: #111;
  font-size: 1.05rem;
  margin: 2px 0 4px;
}

.cards .card-desc {
  display: block;
  font-size: 0.93rem;
  color: #555;
}




/* Case study pages */

.case-header .kicker {
  font-size: 0.85rem;
  color: #888;
  font-weight: 500;
}

.case-header h1 {
  margin: 4px 0 8px;
  line-height: 1.3;
}

.case-header .summary {
  font-size: 1.05rem;
  color: #444;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
  font-size: 0.9rem;
}

.facts dt {
  color: #888;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.facts dd {
  color: #222;
  font-weight: 500;
}

.prose h2 {
  font-size: 1.1rem;
  margin: 28px 0 10px;
}

.prose p,
.prose li {
  color: #444;
  margin-bottom: 12px;
}

.prose ul {
  padding-left: 20px;
}

.next-case {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.93rem;
}

.principles {
  list-style: none;
  counter-reset: p;
}

.principles li {
  counter-increment: p;
  margin-bottom: 18px;
  padding-left: 36px;
  position: relative;
  color: #444;
}

.principles li::before {
  content: counter(p);
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #eef2ff;
  color: #2563eb;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  line-height: 24px;
}

.principles strong {
  color: #111;
  display: block;
}

.timeline-text .scope {
  margin-top: 6px;
  padding-left: 18px;
  font-size: 0.93rem;
  color: #555;
}

.timeline-text .scope li {
  margin-bottom: 4px;
}

@media (max-width: 600px) {
  .proof {
    grid-template-columns: 1fr;
  }

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

div.timeline-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #555;
}

@media (max-width: 600px) {
  .tabs {
    flex-wrap: wrap;
    gap: 0;
  }

  .tabs a {
    padding: 8px 10px;
    font-size: 0.88rem;
  }
}

.prose .cards {
  padding-left: 0;
  margin-bottom: 12px;
}

.prose .cards li {
  margin-bottom: 0;
}

.case-header .kicker a {
  color: inherit;
  text-decoration: underline;
}
