:root {
  --color-primary: #ef4044;
  --color-primary-dark: #c83236;
  --color-secondary: #9a8b7d;
  --color-dark: #231f20;
  --color-light: #f7f4f2;
  --color-text: #212529;
  --color-muted: #6c757d;
  --radius: 1rem;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --section-space: 5rem;
  --font-base: "Myriad Pro", Myriad, "Helvetica Neue", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  color: var(--color-text);
  background: #fff;
}

a {
  color: var(--color-primary);
}

a:hover {
  color: var(--color-primary-dark);
}

img {
  display: block;
  max-width: 100%;
}

.site-navbar {
  background: rgba(35, 31, 32, 0.95);
  backdrop-filter: blur(10px);
}

.site-hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
}

.hero-kicker {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-section {
  padding: var(--section-space) 0;
}

.section-soft {
  background: var(--color-light);
}

.section-title {
  margin-bottom: 2rem;
  font-weight: 700;
  text-align: center;
}

.section-title-left {
  text-align: left;
}

.section-copy {
  max-width: 70ch;
  margin: 0 auto;
  text-align: center;
  color: #5b6168;
}

.about-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.cards-grid {
  display: grid;
  gap: 1.5rem;
}

.cards-grid-profile {
  align-items: stretch;
}

.card-clean {
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.card-clean img {
  width: 100%;
  object-fit: cover;
}

.card-body-clean {
  padding: 1.5rem;
}

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

.profile {
  padding: 2rem;
  text-align: center;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.profile img {
  width: 180px;
  height: 180px;
  margin: 0 auto 1rem;
  object-fit: cover;
  border-radius: 50%;
}

.profile-role {
  color: var(--color-secondary);
  font-style: italic;
  margin-bottom: 1rem;
}

.contact-line {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  color: #495057;
}

.site-footer {
  padding: 2rem 0;
  background: var(--color-dark);
  color: #fff;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.footer-layout {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-layout {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr 1.3fr;
  }

  .cards-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .cards-grid > * {
    grid-column: span 2;
  }

  .cards-grid > :nth-last-child(1):nth-child(3n + 1) {
    grid-column: 3 / span 2;
  }

  .cards-grid > :nth-last-child(2):nth-child(3n + 1) {
    grid-column: 2 / span 2;
  }

  .cards-grid > :nth-last-child(1):nth-child(3n + 2) {
    grid-column: 4 / span 2;
  }
}