:root {
  --navy: #00253d;
  --cream: #eeeae7;
  --cyan: #74d2e7;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  color: var(--navy);
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 300;
  position: relative;
  overflow-x: hidden;
}

.bg-wave {
  position: fixed;
  top: 8%;
  left: 50%;
  width: 140%;
  max-width: none;
  transform: translateX(-50%);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

/* Header */
.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(20px, 5vw, 64px);
}

.logo img {
  display: block;
  width: 110px;
  height: auto;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}

.lang-sep {
  color: rgba(0, 37, 61, 0.35);
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 2px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: rgba(0, 37, 61, 0.45);
  transition: color 0.25s ease;
}

.lang-btn:hover {
  color: var(--navy);
}

.lang-btn.is-active {
  color: var(--navy);
  position: relative;
}

.lang-btn.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  background: var(--cyan);
}

/* Main content */
.content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px clamp(20px, 6vw, 64px) 60px;
  max-width: 760px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #2d90a6;
}

h1 {
  margin: 0 0 20px;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-style: italic;
  line-height: 1.1;
  font-size: clamp(32px, 5.5vw, 56px);
}

.lead {
  margin: 0 auto;
  max-width: 520px;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.6;
  color: rgba(0, 37, 61, 0.85);
}

hr {
  width: 64px;
  height: 2px;
  margin: 40px auto;
  border: none;
  background: var(--navy);
  opacity: 0.15;
}

.projects-intro {
  margin: 0 0 32px;
  font-size: clamp(15px, 1.8vw, 17px);
  color: rgba(0, 37, 61, 0.85);
}

.projects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
}

.project-card {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  padding: 20px;
  background: var(--white);
  border: 1px solid rgba(0, 37, 61, 0.12);
  border-radius: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 37, 61, 0.12);
  border-color: var(--cyan);
}

.project-card img {
  max-width: 100%;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
  font-size: 13px;
  color: rgba(0, 37, 61, 0.55);
}

@media (max-width: 640px) {
  .projects {
    grid-template-columns: 1fr;
  }

  .project-card {
    height: 100px;
  }

  .bg-wave {
    top: 4%;
    opacity: 0.25;
  }
}
