:root {
  color-scheme: light;
  --bg: #f9fafb;
  --card: #ffffff;
  --accent: #f3f6ff;
  --text: #1f2933;
  --muted: #61758a;
  --primary: #3b82f6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Nunito', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
    sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  border-radius: 16px;
  display: block;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--text);
}

p {
  margin-top: 0.4rem;
  margin-bottom: 0;
}

a {
  color: inherit;
}

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

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 5rem 1.5rem 4rem;
  color: #fff;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 18, 38, 0.25), rgba(8, 18, 38, 0.55));
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  inset: -25%;
  background: url('background.jpg') center 22% / cover no-repeat;
  transform: scale(0.67);
  transform-origin: center;
  z-index: 0;
}

.hero__content {
  margin: 0 auto;
  max-width: 640px;
  position: relative;
  z-index: 2;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 1rem;
}

.hero .intro {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.5rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

.button {
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  border-radius: 999px;
  padding: 0.75rem 1.75rem;
  border: none;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.25);
  transition: transform 120ms ease;
}

.button--ghost {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: #fff;
  box-shadow: none;
}

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

.panel {
  background: var(--card);
  border-radius: 32px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 15px 35px rgba(31, 41, 51, 0.08);
}

.panel--accent {
  background: var(--accent);
}

.panel--gallery {
  background: transparent;
  box-shadow: none;
  padding: 0;
}

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

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.25rem;
}

.timeline span {
  font-weight: 700;
  color: var(--primary);
}

.text-link {
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

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

figure {
  margin: 0;
}

figcaption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

footer {
  text-align: center;
  padding: 2rem 1.5rem;
  color: var(--muted);
}

@media (max-width: 600px) {
  .panel {
    padding: 1.75rem;
    border-radius: 24px;
  }

  .hero__actions {
    flex-direction: column;
  }
}
