
/* =========================
   Base + tokens
   ========================= */

   :root {
    --bg: #05060a;
    --bg-elevated: #0e1018;
    --bg-soft: #141723;
    --fg: #f5f5f7;
    --muted: #9ea0a7;
    --accent: #2fd3d3;
    --accent-soft: rgba(47, 211, 211, 0.14);
    --border-subtle: #232531;
    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-pill: 999px;
    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.45);
    --max-width: 1080px;
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
                 "Segoe UI", sans-serif;
  }
  
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  
  html, body {
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: var(--font-sans);
    background-color: var(--bg);
    color: var(--fg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  
  /* Layout */
  
  .container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
  }
  
  header {
    border-bottom: 1px solid var(--border-subtle);
    padding: 3.5rem 0 4.5rem;
  }

  header {
    position: relative;
    padding: 6rem 0;
    background: 
      linear-gradient(
        rgba(0, 0, 0, 0.55), /* top darkness */
        rgba(0, 0, 0, 0.55)  /* bottom darkness */
      ),
      url('../assets/images/hero_background.png') no-repeat center center / cover;
  }
  .logo {
    height: 150px;
    width: auto;
  }
  
/* NAV WRAPPER */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
}

/* NAV RIGHT LINKS */
.nav-right {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-right a,
.nav-link {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
}

.nav-right a:hover,
.nav-link:hover {
  color: var(--accent);
}

.nav-item {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;         /* directly under the trigger */
  left: 0;
  background: rgba(5, 6, 10, 0.96);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  display: none;
  flex-direction: column;
  min-width: 220px;
  border: 1px solid var(--border-subtle);
}

.dropdown-menu a {
  color: #fff;
  padding: 0.35rem 0;
  text-decoration: none;
  font-size: 0.9rem;
}

.dropdown-menu a:hover {
  text-decoration: underline;
}

/* Keep menu visible while hovering link OR menu */
.nav-item:hover .dropdown-menu {
  display: flex;
}

  
  
  main section {
    padding: 4rem 0;
    border-bottom: 1px solid var(--border-subtle);
  }
  
  main section:last-of-type {
    border-bottom: none;
  }
  
  h1, h2, h3 {
    font-weight: 600;
    line-height: 1.2;
  }
  
  h1 {
    font-size: clamp(2.1rem, 3vw + 1rem, 2.9rem);
    letter-spacing: -0.03em;
  }
  
  h2 {
    font-size: 1.7rem;
    margin-bottom: 0.75rem;
  }
  
  h3 {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
  }
  
  p {
    margin: 0 0 0.6rem;
    color: var(--muted);
  }
  
  .section-intro {
    margin-bottom: 1.85rem;
    max-width: 640px;
  }
  
  /* Links & buttons */
  
  a {
    color: var(--accent);
    text-decoration: none;
  }
  
  a:hover {
    text-decoration: underline;
  }
  
  .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.6rem;
    border-radius: var(--radius-pill);
    border: none;
    background: var(--accent);
    color: #020308;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    text-decoration: none;
    transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, background 0.12s;
  }
  
  .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.6);
    background: #3ce0e0;
  }
  
  .link-secondary {
    font-size: 0.92rem;
    color: var(--muted);
  }
  
  .link-secondary:hover {
    color: var(--accent);
  }
  
  .small-link {
    font-size: 0.8rem;
  }
  
  /* Hero */
  
  .hero {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
  }
  
  .hero-copy {
    flex: 2;
  }
  
  .hero-sub {
    margin-top: 1rem;
    max-width: 620px;
  }
  
  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.9rem;
    margin-top: 1.6rem;
  }
  
  .hero-media {
    flex: 1.2;
  }
  
  .hero-card {
    background: radial-gradient(circle at top left, #1b2334, #060711);
    border-radius: var(--radius-lg);
    padding: 1.1rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.04);
  }
  
  .hero-image {
    width: 100%;
    border-radius: var(--radius-md);
    display: block;
    margin-bottom: 0.9rem;
  }
  
  
  .hero-metric {
    padding: 0.7rem 0.8rem;
    border-radius: var(--radius-md);
    background: var(--accent-soft);
  }
  
  .hero-metric .metric-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    color: var(--muted);
    margin-bottom: 0.2rem;
  }
  
  .hero-metric .metric-value {
    font-size: 0.9rem;
    color: var(--fg);
    margin: 0;
  }
  
  /* Pillars */
  
  .pillars {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.6rem;
  }
  
  .pillar {
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    padding: 1.4rem 1.4rem 1.2rem;
  }
  
  .pillar p {
    margin-bottom: 0;
  }
  
  /* Projects */
  
  .projects-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.9rem;
  }
  
  .project-card {
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  
  .project-image {
    width: 100%;
    height: 190px;
    object-fit: cover;
  }
  
  .project-body {
    padding: 1.3rem 1.4rem 1.2rem;
  }
  
  .project-type {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 0.25rem;
    color: var(--muted);
  }
  
  .project-points {
    list-style: disc;
    padding-left: 1.1rem;
    margin: 0.25rem 0 0.6rem;
    color: var(--muted);
  }
  
  .project-points li {
    margin-bottom: 0.2rem;
  }
  
  .project-status {
    font-size: 0.82rem;
    color: var(--muted);
  }
  
  .projects-cta {
    margin-top: 1.5rem;
  }
  
  /* How we work */
  
  .steps {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.4rem;
  }
  
  .step {
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    padding: 1.3rem 1.4rem 1.1rem;
  }
  
  /* Lists */
  
  .bullets {
    list-style: disc;
    padding-left: 1.2rem;
    color: var(--muted);
  }
  
  /* Notes */
  
  .notes-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.4rem;
  }
  
  .note {
    background: var(--bg-soft);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    padding: 1.3rem 1.4rem 1.2rem;
  }
  
  /* Contact */
  
  .contact-form {
    margin-top: 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .contact-form label {
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
    gap: 0.3rem;
    color: var(--muted);
  }
  
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    border-radius: var(--radius-md);
    border: 1px solid #2b2d3a;
    background: #050712;
    padding: 0.6rem 0.7rem;
    font: inherit;
    color: var(--fg);
    outline: none;
    transition: border 0.14s ease, box-shadow 0.14s ease, background 0.14s;
  }
  
  .contact-form input:focus,
  .contact-form select:focus,
  .contact-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(47, 211, 211, 0.3);
    background: #070918;
  }
  
  .form-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .form-full {
    width: 100%;
  }
  
  /* Footer */
  
  footer {
    padding: 1.6rem 0 2.2rem;
    border-top: 1px solid var(--border-subtle);
    margin-top: 1rem;
  }
  
  .footer-inner {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--muted);
  }
  
  .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-bottom: 1rem;
  }
  
  .footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
  }
  
  .footer-links a:hover {
    color: #fff;
  }

  .footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
  }
  
  .social-icon {
    width: 24px;
    height: 24px;
    color: #fff;
    opacity: 0.8;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  
  .footer-social a:hover .social-icon {
    opacity: 1;
    transform: translateY(-1px);
  }

  
  /* =========================
     Responsive
     ========================= */
  
  @media (min-width: 768px) {
    .hero {
      flex-direction: row;
      align-items: center;
    }
  
    .project-image {
      height: 210px;
    }
  
    .pillars {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  
    .projects-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  
    .steps {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  
    .notes-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  
    .form-row {
      flex-direction: row;
    }
  
    .form-row label {
      flex: 1;
    }
  
    .footer-inner {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
    }
  }
  
  @media (min-width: 1080px) {
    header {
      padding-top: 4.2rem;
      padding-bottom: 4.8rem;
    }
  
    main section {
      padding: 4.2rem 0;
    }
  }
  