
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f5f5f7;
  color: #1d2936;
}
.top-bar {
  background: #0b1723;
  color: #e6edf7;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar span { opacity: 0.9; }
.top-bar a {
  color: #e6edf7;
  text-decoration: none;
  margin-left: 14px;
  font-size: 11px;
}
header {
  background: #ffffff;
  padding: 18px 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #d9e2ec;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #0b1723;
}
.logo span { color: #c99540; }
nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}
nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3b4a5a;
}
nav a:hover { color: #c99540; }
.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary {
  background: #c99540;
  color: #0b1723;
  border: 1px solid #c99540;
}
.btn-primary:hover {
  background: #b17f2e;
  border-color: #b17f2e;
}
.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.8);
}
.btn-outline.dark {
  color: #3b4a5a;
  border-color: #3b4a5a;
}
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 48px 8% 72px;
  color: #ffffff;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(8%) brightness(0.6);
  transform: scale(1.03);
  z-index: -2;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(6,14,24,0.92), rgba(6,14,24,0.4));
  z-index: -1;
}
.hero-inner { max-width: 640px; }
.hero-kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin-bottom: 10px;
  color: #f3ca89;
}
.hero-title {
  font-size: 40px;
  line-height: 1.2;
  margin: 0 0 14px;
}
.hero-subtitle {
  font-size: 16px;
  max-width: 520px;
  line-height: 1.7;
  color: #dde5f2;
}
.hero-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-meta {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 13px;
  opacity: 0.9;
}
.section { padding: 64px 8%; }
.section.alt { background: #ffffff; }
.section.dark {
  background: #0b1723;
  color: #e6edf7;
}
.section-narrow {
  max-width: 1080px;
  margin: 0 auto;
}
.section-kicker {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c99540;
  margin-bottom: 6px;
}
.section.dark .section-kicker { color: #f3ca89; }
.section-title {
  font-size: 28px;
  margin: 0 0 12px;
  color: #0b1723;
}
.section.dark .section-title { color: #ffffff; }
.section-subtitle {
  font-size: 15px;
  color: #5b6878;
  max-width: 720px;
  margin-bottom: 28px;
}
.section.dark .section-subtitle { color: #c6d1e3; }
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 28px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 32px;
}
.card {
  background: #ffffff;
  border-radius: 12px;
  padding: 22px 22px 24px;
  border: 1px solid #dde4ee;
}
.section.dark .card {
  background: #141f2b;
  border-color: #273446;
}
.card-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #c99540;
  margin-bottom: 6px;
}
.card-title {
  font-size: 17px;
  margin: 0 0 8px;
  color: #0b1723;
}
.section.dark .card-title { color: #ffffff; }
.card-body {
  font-size: 14px;
  color: #5b6878;
  line-height: 1.7;
}
.section.dark .card-body { color: #c6d1e3; }
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
  padding: 20px 8%;
  background: #ffffff;
  border-top: 1px solid #d9e2ec;
  border-bottom: 1px solid #d9e2ec;
}
.metric { text-align: center; }
.metric-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #7c8ca0;
}
.metric-value {
  margin-top: 6px;
  font-size: 18px;
  font-weight: 700;
  color: #0b1723;
}
.metric-note {
  font-size: 12px;
  color: #9aa5b6;
  margin-top: 2px;
}
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #d9e2ec;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7c8ca0;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.project-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #dde4ee;
  display: flex;
  flex-direction: column;
}
.project-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}
.project-body {
  padding: 16px 18px 18px;
}
.project-name {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px;
}
.project-location {
  font-size: 13px;
  color: #7c8ca0;
  margin-bottom: 8px;
}
.project-meta {
  font-size: 12px;
  color: #5b6878;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
footer {
  background: #0b1723;
  color: #c6d1e3;
  padding: 28px 8%;
  font-size: 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid #141f2b;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-links a {
  color: #c6d1e3;
  text-decoration: none;
}
.footer-links a:hover { color: #f3ca89; }
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
}
label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #7c8ca0;
  display: block;
  margin-bottom: 4px;
}
input, textarea, select {
  width: 100%;
  padding: 9px 10px;
  border-radius: 6px;
  border: 1px solid #c7d2e3;
  font-size: 14px;
  font-family: inherit;
}
textarea {
  resize: vertical;
  min-height: 100px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}
.form-grid-full { grid-column: 1 / -1; }
@media (max-width: 960px) {
  .metrics-strip {
    grid-template-columns: repeat(2, minmax(0,1fr));
    row-gap: 24px;
  }
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .top-bar {
    padding-inline: 16px;
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
  header { padding-inline: 16px; }
  .hero { padding-inline: 16px; }
  .section { padding-inline: 16px; }
  .metrics-strip {
    padding-inline: 16px;
    grid-template-columns: 1fr;
    text-align: left;
  }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  nav ul {
    gap: 16px;
    font-size: 13px;
  }
  .hero-title { font-size: 30px; }
}
