:root {
  /* Colors - Slate & Orange Palette */
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-alt: #f1f5f9;
  --primary: #0f172a;
  --brand: #ea580c;
  --brand-hover: #c2410c;
  --muted: #64748b;
  --line: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  
  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  
  /* Layout */
  --content-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Space Grotesk", sans-serif;
  background-color: var(--bg);
  color: var(--primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Fraunces", serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--primary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

ul {
  list-style: none;
}

/* Layout Utilities */
.site-frame {
  width: min(calc(100% - 32px), var(--content-width));
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.section-heading {
  margin-bottom: 48px;
  max-width: 720px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.section-heading p {
  font-size: 1.125rem;
  color: var(--muted);
}

.eyebrow {
  color: var(--brand);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: block;
}

/* Header */
.site-header {
  position: sticky;
  top: 16px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  padding: 12px 24px;
  margin-top: 16px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  background: linear-gradient(135deg, var(--brand), var(--brand-hover));
  color: white;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.1rem;
}

.brand-copy strong {
  display: block;
  font-size: 1.15rem;
  font-family: "Fraunces", serif;
  line-height: 1;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.site-nav {
  display: flex;
  gap: 24px;
}

.site-nav a {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a.is-current {
  color: var(--primary);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
}

.hero-copy {
  max-width: 640px;
}

h1 {
  font-size: clamp(3rem, 6vw, 4.5rem);
  margin-bottom: 24px;
}

.hero-text {
  font-size: 1.25rem;
  color: var(--muted);
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-points {
  display: grid;
  gap: 12px;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.hero-points li::before {
  content: "→";
  color: var(--brand);
  font-weight: 700;
}

/* Buttons */
.btn {
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
  background: var(--brand);
  color: white;
  box-shadow: 0 4px 14px 0 rgba(234, 88, 12, 0.3);
}

.btn-primary:hover {
  background: var(--brand-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(234, 88, 12, 0.4);
}

.btn-secondary {
  background: var(--surface);
  color: var(--primary);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  background: var(--surface-alt);
  border-color: var(--muted);
  transform: translateY(-2px);
}

/* Panels & Cards */
.hero-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.project-spotlight {
  background: var(--primary);
  color: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.project-spotlight::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.panel-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
  margin-bottom: 16px;
  display: block;
}

.project-spotlight h2 {
  color: white;
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.project-spotlight p {
  color: #94a3b8;
  font-size: 1rem;
  margin-bottom: 32px;
}

.spotlight-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
}

.spotlight-meta div span {
  display: block;
  font-size: 0.75rem;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.spotlight-meta div strong {
  font-weight: 700;
  color: white;
}

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

.metric-row article {
  background: var(--surface);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  text-align: center;
}

.metric-row article strong {
  display: block;
  font-size: 2rem;
  color: var(--brand);
  font-family: "Fraunces", serif;
}

.metric-row article span {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 600;
}

/* Grids */
.audience-grid, .showcase-grid, .community-grid {
  display: grid;
  gap: 24px;
}

.audience-grid, .community-grid {
  grid-template-columns: repeat(3, 1fr);
}

.showcase-grid {
  grid-template-columns: repeat(4, 1fr);
}

.audience-card, .community-card, .showcase-card {
  background: var(--surface);
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.audience-card:hover, .community-card:hover {
  border-color: var(--brand);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.card-index {
  color: var(--brand);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 16px;
  display: block;
}

.audience-card h3, .community-card h3, .showcase-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.audience-card p, .community-card p, .showcase-card p {
  color: var(--muted);
  font-size: 0.9375rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.875rem;
}

.text-link:hover {
  gap: 12px;
}

/* Showcase Specifics */
.showcase-card {
  padding: 24px;
  border-top: 4px solid var(--line);
}

.accent-sand { border-top-color: #d7a84d; }
.accent-blue { border-top-color: #183a52; }
.accent-green { border-top-color: #617a3d; }
.accent-red { border-top-color: #a63b20; }

/* Signal Band */
.signal-band {
  background: var(--surface-alt);
  padding: 40px;
  border-radius: var(--radius-lg);
  text-align: center;
  margin-bottom: 80px;
}

.signal-band p {
  font-size: 1.125rem;
  max-width: 800px;
  margin: 0 auto;
  color: var(--primary);
  font-weight: 500;
}

/* Split Layout */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.stack-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stack-card {
  background: var(--surface);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  transition: all 0.2s ease;
}

.stack-card:hover {
  border-color: var(--brand);
  background: var(--surface-alt);
}

.mini-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 8px;
  display: block;
}

/* CTA Section */
.cta-section {
  background: var(--primary);
  color: white;
  padding: 48px 64px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 80px;
}

.cta-section h2 {
  color: white;
  margin-bottom: 0;
}

.cta-section .eyebrow {
  color: var(--brand);
}

.cta-section .hero-actions {
  margin-top: 0;
}

/* Footer */
.site-footer {
  padding: 64px 0 32px;
  text-align: center;
  border-top: 1px solid var(--line);
  margin-top: 80px;
}

.site-footer p {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.site-footer small {
  color: var(--muted);
}

/* Pages Specifics */
.hero-page {
  text-align: center;
  grid-template-columns: 1fr;
  padding: 80px 0;
}

.hero-page .hero-copy {
  margin: 0 auto;
}

.explore-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 32px;
}

.filter-card, .form-card, .info-card {
  background: var(--surface);
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}

.filter-card {
  position: sticky;
  top: 100px;
}

.search-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 0.875rem;
  font-weight: 700;
}

input, select, textarea {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface-alt);
  font-family: inherit;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
}

form .btn {
  margin-top: 24px;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.1);
}

.results-info {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr));
  gap: 32px;
}

.project-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand);
}

.project-art {
  height: 240px;
  background-size: cover;
  background-position: center;
}

.art-health { background: linear-gradient(135deg, rgba(234, 88, 12, 0.1), rgba(15, 23, 42, 0.4)), url("https://images.unsplash.com/photo-1576091160550-2173dba999ef?auto=format&fit=crop&w=1200&q=80"); }
.art-education { background: linear-gradient(135deg, rgba(234, 88, 12, 0.1), rgba(15, 23, 42, 0.4)), url("https://images.unsplash.com/photo-1509062522246-3755977927d7?auto=format&fit=crop&w=1200&q=80"); }
.art-city { background: linear-gradient(135deg, rgba(234, 88, 12, 0.1), rgba(15, 23, 42, 0.4)), url("https://images.unsplash.com/photo-1480714378408-67cf0d13bc1b?auto=format&fit=crop&w=1200&q=80"); }
.art-culture { background: linear-gradient(135deg, rgba(234, 88, 12, 0.1), rgba(15, 23, 42, 0.4)), url("https://images.unsplash.com/photo-1516280440614-37939bbacd81?auto=format&fit=crop&w=1200&q=80"); }
.art-agro { background: linear-gradient(135deg, rgba(234, 88, 12, 0.1), rgba(15, 23, 42, 0.4)), url("https://images.unsplash.com/photo-1500937386664-56d1dfef3854?auto=format&fit=crop&w=1200&q=80"); }
.art-tech { background: linear-gradient(135deg, rgba(234, 88, 12, 0.1), rgba(15, 23, 42, 0.4)), url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1200&q=80"); }
.art-marketing { background: linear-gradient(135deg, rgba(234, 88, 12, 0.2), rgba(15, 23, 42, 0.5)), url("https://images.unsplash.com/photo-1533750349088-cd871a92f312?auto=format&fit=crop&w=1200&q=80"); }
.art-finance { background: linear-gradient(135deg, rgba(15, 23, 42, 0.4), rgba(100, 116, 139, 0.6)), url("https://images.unsplash.com/photo-1590283603385-17ffb3a7f29f?auto=format&fit=crop&w=1200&q=80"); }
.art-civil { background: linear-gradient(135deg, rgba(234, 88, 12, 0.15), rgba(15, 23, 42, 0.6)), url("https://images.unsplash.com/photo-1503387762-592dea58ef23?auto=format&fit=crop&w=1200&q=80"); }

.project-body {
  padding: 32px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-headline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.challenge-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand);
  letter-spacing: 0.05em;
}

.status-chip {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 12px;
  background: var(--surface-alt);
  border-radius: var(--radius-pill);
  color: var(--muted);
  border: 1px solid var(--line);
}

.project-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.project-meta div span {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.project-meta div strong {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 700;
}

.project-card.is-hidden {
  display: none;
}

.inline-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-note {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 24px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.audience-card, .community-card, .showcase-card, .project-card, .stack-card {
  animation: fadeInUp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.audience-card:nth-child(2) { animation-delay: 0.1s; }
.audience-card:nth-child(3) { animation-delay: 0.2s; }

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

.timeline-card {
  background: var(--surface);
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  position: relative;
}

.timeline-card span {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.timeline-card h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.timeline-card p {
  font-size: 0.9375rem;
  color: var(--muted);
}

.timeline-card { animation: fadeInUp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.timeline-card:nth-child(2) { animation-delay: 0.1s; }
.timeline-card:nth-child(3) { animation-delay: 0.2s; }
.timeline-card:nth-child(4) { animation-delay: 0.3s; }

@media (max-width: 1024px) {
  .timeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hero-page .section-heading {
  margin-left: auto;
  margin-right: auto;
  max-width: 840px; /* Slightly wider for better balance */
}

.hero-page .hero-text {
  margin-left: auto;
  margin-right: auto;
}

/* Responsiveness */
@media (max-width: 1024px) {
  .hero, .split-layout, .explore-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .hero-panel {
    order: -1;
  }
  
  .audience-grid, .community-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-section {
    flex-direction: column;
    text-align: center;
    padding: 48px 24px;
  }
}

@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    gap: 16px;
    border-radius: var(--radius-md);
    padding: 16px;
  }
  
  .site-nav {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .audience-grid, .community-grid, .showcase-grid, .project-grid, .inline-grid, .timeline-grid {
    grid-template-columns: 1fr;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  .section {
    padding: 60px 0;
  }
}
