/* =========================
   Design tokens / variables
   ========================= */
:root {
  --bg: #ffffff;
  --bg-muted: #f6f8fa;
  --border: #d0d7de;
  --text: #24292f;
  --muted: #57606a;
  --accent: #0969da;
  --radius: 6px;
}


/* =========================
   Base / Reset
   ========================= */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial,
    sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

/* =========================
   Typography
   ========================= */
h1 {
  font-size: 2rem;
  margin-bottom: 0.2rem;
}

h2 {
  font-size: 1.25rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}

h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

p {
  margin: 0.4rem 0;
}


a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* =========================
   Layout
   ========================= */

main {
  max-width: 960px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}


.muted {
  color: var(--muted);
}

/* HERO */

.hero-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-logo {
  width: 7.5rem;
  height: 7.5rem;
  object-fit: contain;
}

.hero {
  display: grid;
  gap: 1rem;
}

.hero-meta {
  font-size: 0.95rem;
  color: var(--muted);
}

.linkedin-button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #0a66c2;
  background: #e8f0fb;
  border: 1px solid #c6dbf7;
  border-radius: 6px;
  text-decoration: none;
  margin-left: 0.4rem;
}

.linkedin-button:hover {
  background: #dbeafe;
  text-decoration: none;
}

.linkedin-icon {
  font-weight: 700;
  font-size: 0.9rem;
}

.reveal-button {
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.25rem 0.6rem;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--accent);
}

.reveal-button:hover {
  background: #eef1f4;
}

.reveal-button:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
}

.contact-button:hover {
  background: #eef1f4;
}

.contact-button:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.contact-icon {
  font-size: 0.9rem;
}

/* CARD */

.card {
  background: var(--bg-muted);
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* QUOTES */

.quotes-section {
  margin-top: 3rem;
}

.quotes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 1rem 0;
}

@media (min-width: 640px) {
  .quotes {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.quote-card {
  margin: 0;
  padding: 1.5rem;
  border-radius: 10px;
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.6;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
}

.quote-card:hover {
  transform: rotate(0deg) scale(1.03) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.quote-card p {
  margin: 0;
}

.quote-card::before {
  content: "\201C";
  position: absolute;
  top: -0.2rem;
  left: 0.5rem;
  font-size: 3.5rem;
  line-height: 1;
  opacity: 0.15;
  font-style: normal;
  font-weight: 700;
}

.quote-card--1 {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  transform: rotate(-1.5deg);
}

.quote-card--2 {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  transform: rotate(1deg);
}

.quote-card--3 {
  background: #fef3c7;
  border: 1px solid #fde68a;
  color: #92400e;
  transform: rotate(-0.8deg);
}

/* SKILLS */

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

@media (min-width: 640px) {
  .skills {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .skills {
    grid-template-columns: repeat(4, 1fr);
  }
}

.skills ul {
  padding-left: 1.2rem;
  margin: 0.5rem 0 0;
}

/* EXPERIENCE */

.experience {
  display: grid;
  gap: 1rem;
}

.experience-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}

.experience-logo img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.experience-item:hover .experience-logo img {
  filter: grayscale(0%);
  opacity: 1;
}

.experience-header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  align-items: baseline;
}

.company {
  font-weight: 600;
}

.period {
  font-size: 0.85rem;
  color: var(--muted);
}

.tagline {
  font-style: italic;
  color: var(--muted);
  margin: 0.4rem 0 0.6rem;
}

@media (max-width: 640px) {
  .experience-item {
    grid-template-columns: 1fr;
  }

  .experience-logo img {
    width: 48px;
    height: 48px;
  }

  .hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem; /* vertical | horizontal spacing */
    align-items: center;
  }

  #reveal-contact {
    margin-top: 0.4rem;
  }
}

/* PHOTOS */

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
}

.photo-thumb {
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-muted);
  cursor: pointer;
  overflow: hidden;
}

.photo-thumb img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease;
}

.photo-thumb:hover img {
  transform: scale(1.05);
}

/* LIGHTBOX */

#lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none; /* hidden by default */
  place-items: center;
}

#lightbox.is-open {
  display: grid;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}

#lightbox-image {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: white;
}

/* SIMPLE LIST */

.simple-list {
  display: grid;
  gap: 0.8rem;
}

/* TESTIMONIAL */

.testimonial {
  border-left: 3px solid var(--border);
  padding-left: 1rem;
  margin-top: 1rem;
}

/* STICKY MAN */

.sticky-man {
  display: block;
  margin: 2rem auto 0;
  max-width: 300px;
  height: auto;
}

/* FOOTER */

footer {
  margin-top: 5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}


