/* ==========================================================================
   LAYOUT — containers, section scaffolding, grid structure
   Responsive overrides live in responsive.css
   ========================================================================== */

.wrap{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

section{ position: relative; }

/* ---- Header ---- */
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.main-nav{ display: flex; align-items: center; gap: 28px; }
.nav-links{ display: flex; gap: 30px; }

/* ---- Hero ---- */
.hero{ padding: 64px 32px 48px; position: relative; }
.hero-grid{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-copy{ position: relative; }
.hero-visual{ position: relative; }

/* ---- Projects ---- */
.projects{ padding: 64px 32px 36px; }
.section-head{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.project-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project-card:nth-child(2){ margin-top: 18px; }
.project-card:nth-child(3){ margin-top: -6px; }
.projects-footer{ display: flex; justify-content: center; margin-top: 40px; }

/* ---- What I Do ---- */
.whatido{ padding: 60px 32px; }
.wid-grid{
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

/* ---- About ---- */
.about{ padding: 60px 32px; }
.about-grid{
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 52px;
  align-items: center;
}
.about-text{ max-width: 440px; margin-bottom: 26px; }
.stats-row{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

/* ---- Contact ---- */
.contact{ padding: 24px 32px 76px; }

/* ---- Footer ---- */
.site-footer{ padding: 36px 0 24px; }
.footer-top{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
  padding-bottom: 28px;
}
.footer-links{ display: flex; gap: 26px; flex-wrap: wrap; }
.footer-bottom{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  flex-wrap: wrap;
  gap: 14px;
}
