/* ==========================================================================
   Pyramida Premium Design System
   ========================================================================== */

:root {
  /* Vibrant Natural Palette */
  --forest-950: #050d08;
  --forest-900: #0a1f11;
  --forest-800: #10361f;
  --forest-700: #175430;
  --forest-600: #1f7d46;

  --leaf-500: #29a35e;
  --leaf-400: #42c278;
  --leaf-300: #6ee09d;
  --leaf-glow: rgba(66, 194, 120, 0.4);

  --sand-50: #fcfbfa;
  --sand-100: #f4f0e6;
  --sand-200: #e8e0cc;

  --accent-500: #e85d38;
  --accent-600: #cc4724;
  --accent-glow: rgba(232, 93, 56, 0.4);

  /* Typography Colors */
  --text-main: #1a241f;
  --text-muted: #536359;
  --text-light: #8e9e94;

  /* Glassmorphism System */
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-bg-dark: rgba(10, 31, 17, 0.85);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-border-dark: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 12px 40px rgba(10, 31, 17, 0.08);
  --border-light: rgba(10, 31, 17, 0.06);

  /* Structural Variables */
  --radius-sm: 0.75rem;
  --radius-md: 1.25rem;
  --radius-lg: 1.75rem;
  --radius-pill: 9999px;

  /* Easing and Transitions */
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.15);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --trans-fast: 0.2s var(--ease-smooth);
  --trans-base: 0.3s var(--ease-smooth);
  --trans-slow: 0.6s var(--ease-smooth);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background-color: var(--sand-50);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Clean, modern typography */
h1,
h2,
h3,
h4,
.brand,
.kicker-text,
.button,
.badge {
  font-family: 'Outfit', sans-serif;
  line-height: 1.2;
}

h1,
h2,
h3,
h4 {
  color: var(--forest-900);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--trans-base);
}

.page-shell {
  width: min(1140px, calc(100% - 2.5rem));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section-padding {
  padding: 6rem 0;
}

.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 2rem;
}

.pt-4 {
  padding-top: 2rem;
}

.relative {
  position: relative;
}

/* ==========================================================================
   Background Blobs (Dynamic Visuals)
   ========================================================================== */

.blob-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: radial-gradient(circle at 50% 0%, var(--sand-100), var(--sand-50));
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
}

.blob-1 {
  top: -10%;
  right: -5%;
  width: 50vw;
  height: 50vw;
  background: rgba(66, 194, 120, 0.15);
  animation: float 20s ease-in-out infinite alternate;
}

.blob-2 {
  top: 40%;
  left: -10%;
  width: 40vw;
  height: 40vw;
  background: rgba(232, 93, 56, 0.08);
  animation: float 25s ease-in-out infinite alternate-reverse;
}

.blob-3 {
  bottom: -20%;
  right: 10%;
  width: 60vw;
  height: 60vw;
  background: rgba(23, 84, 48, 0.08);
  animation: float 22s ease-in-out infinite alternate;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(5%, 5%) scale(1.05);
  }

  100% {
    transform: translate(-5%, 8%) scale(0.95);
  }
}

/* ==========================================================================
   Glass Header
   ========================================================================== */

.site-header {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: min(1140px, calc(100% - 2.5rem));
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  box-shadow: var(--glass-shadow);
  transition: transform var(--trans-base), background var(--trans-base);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 20px rgba(10, 31, 17, 0.08);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--forest-900);
}

.nav-toggle {
  display: none;
  background: transparent;
  color: var(--forest-900);
  border: 1px solid var(--border-light);
  padding: 0.5rem;
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.5rem;
}

.nav-menu a {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0.2rem;
  left: 1.25rem;
  right: 1.25rem;
  height: 2px;
  background: var(--leaf-400);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease-spring);
}

.nav-menu a:hover {
  color: var(--forest-900);
}

.nav-menu a:hover::after,
.nav-menu a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-menu a.is-active {
  color: var(--forest-900);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--trans-base);
  cursor: pointer;
  border: 2px solid transparent;
}

.button-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
}

.button-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(1px);
}

.button-primary {
  background: var(--leaf-500);
  color: white;
  box-shadow: 0 4px 14px var(--leaf-glow);
}

.button-primary:hover {
  background: var(--leaf-400);
  box-shadow: 0 6px 20px var(--leaf-glow);
}

.button-primary.accent {
  background: var(--accent-500);
  box-shadow: 0 4px 14px var(--accent-glow);
}

.button-primary.accent:hover {
  background: var(--accent-600);
  box-shadow: 0 6px 20px var(--accent-glow);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

.button-white {
  background: white;
  color: var(--forest-900);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.button-white:hover {
  background: var(--sand-100);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  padding: 7rem 0 0;
  margin-bottom: 2rem;
}

.hero-box {
  position: relative;
  min-height: 85vh;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(10, 31, 17, 0.15);
}

.hero-img-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-box img:not(.hero-logo) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.05);
  transition: transform 0.1s linear;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg,
      rgba(10, 31, 17, 0.9) 0%,
      rgba(23, 84, 48, 0.6) 50%,
      rgba(66, 194, 120, 0.2) 100%);
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 760px;
  padding: clamp(2.5rem, 6vw, 5rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  color: white;
}

.kicker-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.kicker-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.kicker-text {
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--leaf-300);
}

.hero-content h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.05;
  margin-bottom: 0.5rem;
  color: white;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  display: block;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  max-width: 55ch;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   Info Banner (Stats overlapping hero)
   ========================================================================== */

.info-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  margin: -4rem auto 0;
  width: calc(100%);
  max-width: 1140px;
  position: relative;
  z-index: 20;
  box-shadow: var(--glass-shadow);
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.info-icon {
  font-size: 2rem;
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sand-100);
  border-radius: 50%;
}

.info-label {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.info-item strong {
  font-size: 1.2rem;
  font-family: 'Outfit';
  color: var(--forest-900);
}

/* ==========================================================================
   Section Headers
   ========================================================================== */

.section-intro {
  max-width: 700px;
  margin-bottom: 4rem;
}

.section-intro.text-center {
  margin-left: auto;
  margin-right: auto;
}

.section-kicker {
  display: inline-block;
  font-family: 'Outfit';
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--leaf-500);
  margin-bottom: 1rem;
}

.section-intro h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1.25rem;
}

.section-intro p {
  font-size: 1.2rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Bento Grid & Glass Cards
   ========================================================================== */

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  grid-auto-flow: dense;
}

.card-glass {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.hover-lift {
  transition: transform var(--trans-base), box-shadow var(--trans-base);
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(10, 31, 17, 0.08);
}

.bento-card h2,
.bento-card h3 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.bento-card p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

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

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: inline-block;
}

/* Highlighting styles */
.highlight-dark {
  background: var(--forest-900);
  color: white;
  border-color: rgba(255, 255, 255, 0.1);
}

.highlight-dark h2,
.highlight-dark h3 {
  color: white;
}

.highlight-dark p {
  color: rgba(255, 255, 255, 0.8);
}

.highlight-green {
  background: linear-gradient(135deg, var(--leaf-500), var(--leaf-400));
  color: white;
  border: none;
}

.highlight-green h2,
.highlight-green h3,
.highlight-green p {
  color: white;
}

/* Grid Spans */
.span-4 {
  grid-column: span 12;
}

.span-6 {
  grid-column: span 12;
}

.span-8 {
  grid-column: span 12;
}

.span-12 {
  grid-column: span 12;
}

@media (min-width: 768px) {
  .span-4 {
    grid-column: span 4;
  }

  .span-6 {
    grid-column: span 6;
  }

  .span-8 {
    grid-column: span 8;
  }
}

/* Lists */
.styled-list {
  list-style: none;
}

.styled-list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.styled-list li:last-child {
  border-bottom: none;
}

.styled-list li::before {
  content: '✓';
  color: var(--leaf-500);
  font-weight: bold;
}

/* ==========================================================================
   Dates Grid
   ========================================================================== */

.dates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.date-card {
  background: var(--glass-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--trans-base), box-shadow var(--trans-base);
}

.date-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--glass-shadow);
  border-color: var(--leaf-400);
}

.date-header {
  background: var(--forest-900);
  color: white;
  padding: 1rem;
  text-align: center;
  font-family: 'Outfit';
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.date-body {
  padding: 2.5rem 2rem;
  text-align: center;
}

.date-day {
  font-size: 3rem;
  font-weight: 800;
  font-family: 'Outfit';
  color: var(--forest-900);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.date-month {
  font-size: 1.25rem;
  color: var(--accent-500);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.date-year {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.date-location {
  display: inline-flex;
  background: var(--sand-100);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-weight: 500;
  color: var(--text-muted);
}

/* ==========================================================================
   Team Section
   ========================================================================== */

.team-avatars {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--sand-200);
  color: var(--forest-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: 'Outfit';
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform var(--trans-base);
}

.avatar:hover {
  transform: scale(1.1) translateY(-5px);
}

.avatar.lead {
  background: var(--leaf-500);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 6px 16px var(--leaf-glow);
}

.avatar.lead:hover {
  transform: scale(1.2) translateY(-5px);
}

/* ==========================================================================
   Contact Links
   ========================================================================== */

.contact-list,
.social-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-link,
.social-link {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  transition: all var(--trans-fast);
}

.contact-link:hover,
.social-link:hover {
  background: white;
  border-color: var(--leaf-400);
  transform: translateX(5px);
}

.contact-link .icon,
.social-link .icon {
  font-size: 1.5rem;
}

.contact-link div {
  display: flex;
  flex-direction: column;
}

.contact-link strong {
  color: var(--forest-900);
  font-family: 'Outfit';
  font-size: 1.1rem;
}

.contact-link span {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.social-link span:not(.icon) {
  font-weight: 600;
  font-family: 'Outfit';
  font-size: 1.1rem;
  color: var(--forest-900);
}

/* ==========================================================================
   Brand Logo
   ========================================================================== */

.brand-logo {
  height: 36px;
  width: auto;
  border-radius: 4px;
}

.kicker-logo {
  display: inline-block;
  height: 18px;
  max-height: 18px;
  width: 18px;
  max-width: 18px;
  object-fit: contain;
  vertical-align: text-bottom;
  margin-right: 4px;
  border-radius: 2px;
}

.hero-logo {
  display: block;
  width: 160px;
  height: 160px;
  object-fit: contain;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}

/* ==========================================================================
   Info Note
   ========================================================================== */

.info-note {
  text-align: center;
  font-style: italic;
  color: var(--text-muted);
  margin-top: 2rem;
  font-size: 0.95rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Chronicle / Archive Section
   ========================================================================== */

.chronicle-scroller {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--leaf-400) transparent;
  padding-bottom: 1rem;
}

.chronicle-scroller::-webkit-scrollbar {
  height: 6px;
}

.chronicle-scroller::-webkit-scrollbar-track {
  background: transparent;
}

.chronicle-scroller::-webkit-scrollbar-thumb {
  background: var(--leaf-400);
  border-radius: 3px;
}

.chronicle-track {
  display: flex;
  gap: 2rem;
  padding: 1rem 0.5rem;
  width: max-content;
}

.chronicle-item {
  position: relative;
  width: 420px;
  min-width: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  scroll-snap-align: start;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform var(--trans-base), box-shadow var(--trans-base);
}

.chronicle-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(10, 31, 17, 0.12);
}

.chronicle-year {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Outfit', sans-serif;
  font-size: 8rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.25);
  z-index: 2;
  pointer-events: none;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}

.chronicle-img-wrap {
  width: 100%;
  height: 260px;
  overflow: hidden;
}

.chronicle-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.chronicle-item:hover .chronicle-img-wrap img {
  transform: scale(1.05);
}

.chronicle-info {
  padding: 1.5rem 2rem 2rem;
}

.chronicle-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.chronicle-stat {
  font-weight: 600;
  color: var(--leaf-500);
  font-family: 'Outfit', sans-serif;
  margin-bottom: 0.25rem;
}

.chronicle-detail {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.chronicle-locations {
  color: var(--text-light);
  font-size: 0.9rem;
}

.chronicle-team {
  color: var(--text-light);
  font-size: 0.8rem;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-light);
  line-height: 1.4;
}

/* ==========================================================================
   Team Grid
   ========================================================================== */

.team-hero-photo {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(10, 31, 17, 0.12);
}

.team-hero-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.team-volunteer-note {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2.5rem 1rem;
  align-items: start;
  justify-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 0.25rem 0;
  text-align: center;
  transition: transform var(--trans-fast);
  width: 100%;
}

.team-member:hover {
  transform: translateY(-4px);
}

.team-member.team-lead {
  grid-column: 3;
  grid-row: 1;
}

.team-grid > .team-member:nth-child(2) {
  grid-column: 1;
  grid-row: 2;
}

.team-grid > .team-member:nth-child(3) {
  grid-column: 2;
  grid-row: 2;
}

.team-grid > .team-member:nth-child(4) {
  grid-column: 3;
  grid-row: 2;
}

.team-grid > .team-member:nth-child(5) {
  grid-column: 4;
  grid-row: 2;
}

.team-grid > .team-member:nth-child(6) {
  grid-column: 5;
  grid-row: 2;
}

.team-grid > .team-member:nth-child(7) {
  grid-column: 1;
  grid-row: 3;
}

.team-grid > .team-member:nth-child(8) {
  grid-column: 2;
  grid-row: 3;
}

.team-grid > .team-member:nth-child(9) {
  grid-column: 3;
  grid-row: 3;
}

.team-grid > .team-member:nth-child(10) {
  grid-column: 4;
  grid-row: 3;
}

.team-grid > .team-member:nth-child(11) {
  grid-column: 5;
  grid-row: 3;
}

.team-avatar {
  width: clamp(8.5rem, 17vw, 10.75rem);
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(66, 194, 120, 0.12), rgba(232, 93, 56, 0.14));
  border: 4px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 18px 36px rgba(10, 31, 17, 0.12);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 24%;
}

.team-avatar.lead {
  box-shadow: 0 18px 36px rgba(10, 31, 17, 0.16), 0 0 0 6px rgba(41, 163, 94, 0.12);
}

.team-avatar-fallback {
  color: var(--forest-900);
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3rem);
}

.team-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  max-width: 18ch;
}

.team-info strong {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  color: var(--forest-900);
}

.team-info span {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.team-role {
  font-weight: 600;
  color: var(--forest-700);
}

.team-stredisko {
  font-size: 0.82rem;
  color: var(--text-light);
}

/* ==========================================================================
   Photo Strip
   ========================================================================== */

.photo-strip {
  overflow: hidden;
  margin: 2rem 0;
}

.photo-strip-track {
  display: flex;
  gap: 1rem;
  animation: scroll-photos 40s linear infinite;
  width: max-content;
}

.photo-strip-track img {
  height: 440px;
  width: auto;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

@keyframes scroll-photos {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  margin-top: 6rem;
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--forest-700), var(--leaf-500));
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  position: relative;
  z-index: 2;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-family: 'Outfit';
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.footer-logo {
  height: 32px;
  width: auto;
  border-radius: 4px;
}

/* ==========================================================================
   Reveal Animations (Intersection Observer)
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--trans-slow), transform var(--trans-slow);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
  .info-banner {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
    margin-top: -3rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-actions {
    display: none;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1rem;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all var(--trans-base);
    box-shadow: var(--glass-shadow);
    margin-top: 0.5rem;
  }

  .nav-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu a {
    width: 100%;
    text-align: center;
    padding: 1rem;
  }

  .card-glass {
    padding: 2rem;
  }

  .chronicle-item {
    width: 300px;
    min-width: 300px;
  }

  .chronicle-year {
    font-size: 5rem;
  }

  .chronicle-img-wrap {
    height: 180px;
  }

  .hero-box {
    min-height: 48rem;
  }

  .hero-box img:not(.hero-logo) {
    object-position: center 54%;
  }

  .hero-content {
    padding: 2rem;
    padding-bottom: 2.25rem;
  }

  .hero-logo {
    width: 118px;
    height: 118px;
    margin-bottom: 1rem;
  }

  .team-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 0 1rem;
    max-width: 100%;
  }

  .team-grid > .team-member,
  .team-grid > .team-member.team-lead {
    grid-column: unset;
    grid-row: unset;
    width: auto;
  }

  .team-avatar {
    width: 60vw;
  }

  .photo-strip-track img {
    height: 280px;
  }
}

@media (max-width: 480px) {
  .info-banner {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .hero-box {
    min-height: 44rem;
  }

  .hero-box img:not(.hero-logo) {
    object-position: center 58%;
  }

  .hero-logo {
    width: 104px;
    height: 104px;
  }

}
