/*DESIGN TOKENS*/

:root {
  --primary: #2A9D8F;      /* Teal */
  --accent: #FFD84D;       /* Bulb Yellow */
  --bg-light: #F3F6F5;
  --text-dark: #1F2933;
  --text-muted: #4B5563;
  --border-dark: #1F2933;
}

/*RESET / BASE*/

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
}

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

a:hover {
  color: var(--text-dark);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.text-muted {
  color: var(--text-muted);
}

.max-width {
  max-width: 650px;
}

/*HEADER NAV*/

header {
  background: #ffffff;
  border-bottom: 3px solid var(--border-dark);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.logo img {
  width: 36px;
  height: 36px;
  image-rendering: pixelated;
}

.logo-frame {
  border: 3px solid var(--border-dark);

  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-frame img {
  width: 36px;
  height: 36px;
  image-rendering: pixelated;
}


.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  margin-left: 1.5rem;
  color: var(--text-muted);
}

.nav-links a:hover {
  color: var(--primary);
}

/*DROPDOWN*/

.nav-item {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border: 3px solid var(--border-dark);
  min-width: 180px;
  padding: 0.4rem 0;
  display: none;
  z-index: 10;
}

.dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.dropdown-menu a:hover {
  background: var(--accent);
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  display: block;
}

/*HERO*/

.hero {
  background: #ffffff;
  border: 3px solid var(--border-dark);
  padding: 3rem;
  max-width: 720px;
}

.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.hero span {
  color: var(--primary);
  border-bottom: 4px solid var(--accent);
}

.hero p {
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.cta {
  display: inline-block;
  background: var(--primary);
  color: #ffffff;
  padding: 0.8rem 1.6rem;
  border: 3px solid var(--border-dark);
  font-family: 'Space Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cta:hover {
  background: var(--accent);
  color: var(--text-dark);
}

/*SECTIONS*/

section {
  margin-top: 4.5rem;
}

section h2 {
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  font-family: 'Space Mono', monospace;
}

section h2::after {
  content: "––––––";
  display: block;
  color: var(--primary);
  margin-top: 0.2rem;
  letter-spacing: -2px;
}

/*PROJECTS*/

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

.project-page section {
  margin-top: 4rem;
}

.project-page .subsection {
  margin-top: 1.5rem;
  padding-left: 1rem;
  border-left: 3px solid var(--primary);
}

.project-page h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-family: 'Space Mono', monospace;
}

.project-page h2::after {
  content: "––––––";
  display: block;
  color: var(--primary);
  margin-top: 0.2rem;
  letter-spacing: -2px;
}

.project-page h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-family: 'Space Mono', monospace;
}

.project-page p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Project Images */
.project-image {
  margin: 1.5rem 0;
  text-align: center; /* centers image and caption */
}

.project-image img {
  max-width: 100%;
  height: auto;
  border: 3px solid var(--border-dark);
  border-radius: 6px;
  display: inline-block;
}

.project-image .caption {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  font-family: 'Space Mono', monospace;
}

.project-image video {
  max-width: 100%;
  height: auto;
  border: 3px solid var(--border-dark);
  border-radius: 6px;
  display: inline-block;
}


.card {
  background: #ffffff;
  border: 3px solid var(--border-dark);
  padding: 1.5rem;
  transition: transform 0.15s ease;
}

.card:hover {
  transform: translate(-4px, -4px);
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card h3::before {
  content: "■ ";
  color: var(--primary);
}

.card p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.reference-list {
  list-style: none;
  padding-left: 0;
}

.reference-list li {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.reference-list a {
  text-decoration: underline;
}

.disclaimer-banner {
  background: #ffffff;
  border: 3px solid var(--border-dark);
  border-left: 10px solid var(--accent);
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  font-family: 'Space Mono', monospace;
}


/*FOOTER*/

footer {
  margin-top: 5rem;
  padding: 2rem 0;
  border-top: 3px solid var(--border-dark);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: 'Space Mono', monospace;
}

/*RESPONSIVE*/

@media (max-width: 600px) {
  .hero {
    padding: 2rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .logo span {
    display: none;
  }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: -1;
}

.back-home {
  padding: 1.5rem;
  transition: transform 0.15s ease;

}


