@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&display=swap");

:root {
  --bg-base: #08141b;
  --bg-top: #0f2a2f;
  --bg-bottom: #08141b;
  --surface: #12262f;
  --surface-soft: #173440;
  --text-main: #ecf6f3;
  --text-muted: #bed3cd;
  --accent: #35c49a;
  --accent-strong: #26a37f;
  --border: #27414a;
  --shadow: 0 18px 44px rgba(1, 8, 11, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at 12% 18%, rgba(53, 196, 154, 0.16), transparent 42%),
    radial-gradient(circle at 88% 8%, rgba(50, 140, 170, 0.17), transparent 45%),
    linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
  line-height: 1.6;
}

a {
  color: #92f2d4;
  text-decoration: none;
}

a:hover {
  color: #ccffef;
}

.page-shell {
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 1.2rem 0 2.5rem;
  animation: fade-up 0.6s ease-out;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 800;
  font-size: 1.08rem;
  color: var(--text-main);
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.topnav {
  display: flex;
  gap: 1.05rem;
  flex-wrap: wrap;
}

.topnav a {
  padding: 0.36rem 0.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--text-muted);
}

.topnav a:hover {
  color: var(--text-main);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.hero {
  padding: 1.2rem 0 2.4rem;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: #a7d6c9;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.79rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0 0 0.7rem;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 4.3vw, 3.3rem);
  max-width: 14.5ch;
}

h2 {
  font-size: clamp(1.32rem, 2.6vw, 1.78rem);
}

h3 {
  font-size: 1.05rem;
}

.lead {
  margin-top: 0.85rem;
  max-width: 64ch;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.72rem 1.12rem;
  font-weight: 700;
  border-radius: 10px;
  border: 1px solid transparent;
}

.button-primary {
  background: var(--accent);
  color: #072116;
}

.button-primary:hover {
  background: #4dd4ae;
  color: #05180f;
}

.button-ghost {
  border-color: var(--border);
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.03);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: linear-gradient(170deg, rgba(32, 62, 75, 0.58), rgba(18, 37, 46, 0.92));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.card ul {
  margin: 0.85rem 0 0;
  padding-left: 1.1rem;
}

.card li + li {
  margin-top: 0.32rem;
}

.project-card {
  border: 1px solid #35535e;
  border-radius: 12px;
  background: rgba(9, 24, 32, 0.58);
  padding: 0.92rem;
}

.project-media {
  margin: 0.2rem 0 0.9rem;
}

.project-media img {
  width: min(220px, 100%);
  height: auto;
  border-radius: 12px;
  border: 1px solid #3a5d68;
  display: block;
}

.badge {
  display: inline-block;
  padding: 0.16rem 0.56rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid #4f8a7d;
  color: #baf3e4;
}

.highlight {
  margin-top: 1rem;
}

.zoomies-grid {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}

.zoomies-shot {
  margin: 0;
  border: 1px solid #35535e;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(5, 15, 22, 0.7);
}

.zoomies-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 0.45rem;
  background: linear-gradient(180deg, rgba(42, 70, 82, 0.45), rgba(14, 29, 37, 0.9));
}

.zoomies-shot figcaption {
  padding: 0.42rem 0.5rem 0.52rem;
  font-size: 0.8rem;
  color: #c8ddd7;
}

.page-content {
  max-width: 78ch;
}

.page-content p,
.page-content li {
  color: var(--text-muted);
}

.page-content ol {
  padding-left: 1.16rem;
}

.page-content ul {
  padding-left: 1.16rem;
}

.page-content h2 {
  margin-top: 1.35rem;
}

.page-content h3 {
  margin-top: 1.05rem;
}

.contact-box {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  border: 1px solid var(--border);
}

footer {
  margin-top: 2.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

footer p {
  color: var(--text-muted);
  margin-top: 0.72rem;
  margin-bottom: 0;
}

.reveal {
  animation: lift-in 0.7s ease both;
}

.reveal:nth-of-type(2) {
  animation-delay: 0.1s;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lift-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(1100px, 94vw);
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .zoomies-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topbar {
    margin-bottom: 1.5rem;
  }
}
