.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 64px 0 80px;
}

.hero-text {
  flex: 1;
  max-width: 600px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.tagline {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 16px;
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 32px;
  color: var(--color-text);
  opacity: 0.85;
}

.hero-ctas {
  display: flex;
  gap: 12px;
}


.hero-visual {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-finch {
  width: 160px;
  height: 160px;
  color: var(--color-primary);
  animation: finch-float 4s ease-in-out infinite;
}

@keyframes finch-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-finch { animation: none; }
}

/* ---- featured showcase bento ---- */

.featured-showcase {
  padding: 48px 0;
}

.featured-showcase h2,
.dept-cards h2 {
  font-size: 1.75rem;
  margin-bottom: 24px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.bento-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: var(--color-text);
  border: 1px solid rgba(45, 106, 79, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(27, 67, 50, 0.1);
  text-decoration: none;
}

.bento-card-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.bento-hero {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-feature {
  grid-column: span 2;
}

.bento-metric {
  grid-column: span 1;
}

.bento-card h3 {
  font-size: 1.125rem;
  margin: 8px 0 6px;
}

.bento-hero h3 {
  font-size: 1.5rem;
}

.bento-card p {
  font-size: 0.875rem;
  line-height: 1.5;
  opacity: 0.8;
}

.dept-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--dept-color, var(--color-primary));
}

.dept-icon {
  width: 10px;
  height: 10px;
  display: inline-block;
  background: var(--dept-color, var(--color-primary));
}

.dept-icon-design { border-radius: 50%; }
.dept-icon-engineering { border-radius: 1px; }
.dept-icon-data {
  width: 0; height: 0;
  background: none;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 10px solid var(--dept-data);
}
.dept-icon-operations {
  transform: rotate(45deg);
  width: 8px; height: 8px;
}
.dept-icon-comms {
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  width: 12px; height: 12px;
}
.dept-icon-partnership {
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  width: 10px; height: 10px;
}

.showcase-more {
  text-align: center;
  margin-top: 32px;
}

/* ---- dept cards ---- */

.dept-cards {
  padding: 48px 0;
}

.dept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.dept-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  text-decoration: none;
  color: var(--color-text);
  border: 1px solid rgba(45, 106, 79, 0.1);
  border-top: 3px solid var(--dept-color, var(--color-primary));
  transition: transform 0.2s, box-shadow 0.2s;
}

.dept-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(27, 67, 50, 0.1);
  text-decoration: none;
}

.dept-icon-large {
  width: 32px;
  height: 32px;
  background: var(--dept-color, var(--color-primary));
  margin-bottom: 16px;
}

.dept-icon-large.dept-icon-design { border-radius: 50%; }
.dept-icon-large.dept-icon-engineering { border-radius: 2px; }
.dept-icon-large.dept-icon-data {
  width: 0; height: 0;
  background: none;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-bottom: 32px solid var(--dept-data);
}
.dept-icon-large.dept-icon-operations {
  transform: rotate(45deg);
  width: 24px; height: 24px;
}
.dept-icon-large.dept-icon-comms {
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.dept-icon-large.dept-icon-partnership {
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.dept-card h3 {
  font-size: 1.125rem;
  margin-bottom: 6px;
}

.dept-fun {
  font-size: 0.875rem;
  font-style: italic;
  opacity: 0.7;
}

/* ---- responsive ---- */

@media (max-width: 1023px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-hero { grid-column: span 2; grid-row: span 1; }
  .dept-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 32px 0 48px;
    gap: 24px;
  }
  .hero-ctas { justify-content: center; }
  .hero h1 { font-size: 2.25rem; }
  .hero-visual { width: 120px; height: 120px; }
  .hero-finch { width: 100px; height: 100px; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-hero, .bento-feature { grid-column: span 1; }
  .dept-grid { grid-template-columns: 1fr; }
}
