:root {
  --bg: #0b0c10;
  --surface: #FFFFF0;
  --text: #333333;
  --heading: #1338BE;
  --accent: #1338BE;
  --muted: #555555;
  --banner: #FFFFF0;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 18px;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.site-header {
  text-align: center;
  padding: 3rem 1rem;
  background-color: var(--banner);
  border-bottom: 4px solid var(--heading);
}

.logo {
  width: 90%;
  max-width: 700px;
  height: auto;
  margin-bottom: 1rem;
}

.subtitle {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 700;
}

.projects {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 1rem 5rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.project-card {
  background-color: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}

.project-image {
  width: 100%;
  height: auto;
  min-height: 250px;
  max-height: 400px;
  display: block;
  object-fit: cover;
}

.project-info {
  padding: 2rem;
}

.project-info h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--heading);
}

.project-meta {
  margin: 0 0 0.25rem;
  color: var(--accent);
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.project-status {
  margin: 0 0 1.25rem;
  color: var(--accent);
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.logline {
  margin: 0;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  color: var(--text);
  line-height: 1.7;
}

footer {
  text-align: center;
  padding: 3rem 1rem;
  background-color: var(--banner);
  border-top: 4px solid var(--heading);
}

.contact {
  margin: 0 0 0.75rem;
  color: var(--heading);
  font-weight: 700;
  white-space: nowrap;
  font-size: clamp(0.5rem, 2.8vw, 1.4rem);
}

.contact a {
  color: var(--heading);
  text-decoration: none;
}

.contact a:hover {
  text-decoration: underline;
}

footer p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 2vw, 1.15rem);
}

@media (min-width: 900px) {
  .project-card {
    flex-direction: row;
    min-height: auto;
  }

  .project-image {
    width: 38%;
    min-height: 100%;
    max-height: none;
  }

  .project-info {
    width: 62%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem;
  }
}
