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

body {
  font-family: 'Inter', sans-serif;
  color: #1b1b1b;
}

img { display: block; }

/* Image plugin wraps <img> in <picture>; keep it out of layout */
picture { display: contents; }
picture > source { display: none; }

:focus-visible {
  outline: 2px solid #1b1b1b;
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 200;
  padding: 8px 16px;
  background: #000;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
}

.skip-link:focus { top: 16px; }

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.7);
}

.nav-brand {
  display: flex;
  flex-direction: column;
  text-align: right;
  text-decoration: none;
}

.nav-brand-name {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 1.2px;
  color: #18181b;
  line-height: 26px;
  white-space: nowrap;
}

.nav-brand-sub {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.5px;
  color: #18181b;
  line-height: 16px;
}

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

.nav-link {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.35px;
  color: #71717a;
  text-decoration: none;
}

.nav-link.active {
  color: #18181b;
  border-bottom: 2px solid #18181b;
  padding-bottom: 6px;
}

.btn-outline {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #000;
  border: 0.5px solid #616161;
  border-radius: 4px;
  padding: 8px 16px;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
}

/* About / Contact: "Let's talk" shown in its selected state */
.btn-outline.is-filled {
  border: 1px solid #000;
  background: #f5f1ed;
}

.btn-solid {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #fff;
  background: #000;
  border: 0.5px solid #616161;
  border-radius: 4px;
  padding: 8px 16px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

/* ── PROJECT CARD META ── */
.project-name-lg {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 36px;
  letter-spacing: -0.75px;
  color: #1b1b1b;
}

.project-name-sm {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.6px;
  color: #1b1b1b;
}

.project-loc {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #4c4546;
}

/* ── FOOTER ── */
.footer {
  width: 100%;
  background: #000;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 48px;
  row-gap: 48px;
  padding: 64px 32px;
}

.footer-brand {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: start;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: max-content;
  text-align: right;
  text-decoration: none;
}

.footer-logo .nav-brand-name,
.footer-logo .nav-brand-sub { color: #fff; }

.footer-desc {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 19.5px;
  letter-spacing: 0.3px;
  color: #f5f1ed;
  max-width: 380px;
}

.footer-copy {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  justify-self: start;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: 12px;
  color: #808080;
}

.footer-copy a { color: inherit; }

.footer-connect {
  grid-column: 3;
  grid-row: 1;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 4px;
}

.footer-connect-label {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #a1a1aa;
  line-height: 15px;
  padding-bottom: 8px;
}

.footer-link {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  color: #f5f1ed;
  text-decoration: none;
  display: block;
}

.footer-email {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: #f5f1ed;
  text-decoration: none;
  white-space: nowrap;
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  .nav { padding: 16px; }
  .nav-brand-name { font-size: 18px; line-height: 20px; letter-spacing: 0.8px; }
  .nav-brand-sub { font-size: 11px; line-height: 14px; }
  .nav-links { gap: 16px; }
  .btn-outline { padding: 6px 10px; font-size: 13px; }

  .footer {
    grid-template-columns: 1fr;
    row-gap: 40px;
    padding: 48px 16px;
  }

  .footer-brand,
  .footer-connect,
  .footer-copy { grid-column: 1; grid-row: auto; }

  .footer-copy { order: 3; }
  .footer-desc br { display: none; }
}
