:root {
  --bg: #071114;
  --panel: #0f2024;
  --panel-soft: #12292d;
  --text: #f3f7f6;
  --muted: #aab9b8;
  --line: rgba(255, 255, 255, 0.13);
  --teal: #35c7b7;
  --teal-dark: #0f766e;
  --amber: #f0b45a;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 4vw, 54px);
  background: rgba(7, 17, 20, 0.76);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(53, 199, 183, 0.42);
  background: linear-gradient(135deg, rgba(53, 199, 183, 0.2), rgba(240, 180, 90, 0.12));
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: var(--muted);
  font-size: 0.95rem;
}

.main-nav a:hover,
.site-footer a:hover {
  color: var(--white);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  font-weight: 700;
}

.nav-cta {
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 140px clamp(18px, 6vw, 84px) 76px;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/hero-yc.png");
  background-position: center;
  background-size: cover;
  opacity: 0.74;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 17, 20, 0.96) 0%, rgba(7, 17, 20, 0.76) 42%, rgba(7, 17, 20, 0.24) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(7, 17, 20, 0) 28%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 8vw, 7.6rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
}

.lead {
  max-width: 660px;
  margin-bottom: 34px;
  color: #d8e2e0;
  font-size: clamp(1.12rem, 2.2vw, 1.48rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button.primary {
  border-color: transparent;
  background: var(--teal);
  color: #041112;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(18px, 6vw, 84px);
}

.section-heading {
  max-width: 760px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: start;
  border-top: 1px solid var(--line);
}

.intro-text,
.project-copy p,
.about-content p,
.contact-panel p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.services {
  background: #09171a;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
}

.card {
  min-height: 280px;
  padding: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.card-icon {
  display: inline-flex;
  margin-bottom: 54px;
  color: var(--amber);
  font-weight: 800;
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.project-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 70px);
  align-items: center;
  background:
    radial-gradient(circle at 85% 20%, rgba(53, 199, 183, 0.18), transparent 28%),
    linear-gradient(135deg, #0d1d21, #071114);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.project-list {
  display: grid;
  gap: 12px;
}

.project-list div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
}

.project-list strong {
  color: var(--white);
}

.project-list span {
  color: var(--muted);
  line-height: 1.55;
}

.about-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: clamp(32px, 5vw, 68px);
  margin-top: 32px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.stats div {
  min-height: 132px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.stats strong {
  display: block;
  margin-bottom: 28px;
  color: var(--teal);
  font-size: 1.55rem;
}

.stats span {
  color: var(--muted);
  font-size: 0.9rem;
}

.contact {
  padding-top: 34px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.8fr);
  gap: 30px;
  align-items: end;
  padding: clamp(28px, 5vw, 54px);
  background: linear-gradient(135deg, var(--panel), var(--panel-soft));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

address {
  display: grid;
  gap: 12px;
  color: var(--muted);
  font-style: normal;
}

address span {
  color: var(--white);
  font-weight: 800;
}

address a {
  color: #d7f8f3;
  word-break: break-word;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 6vw, 84px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .intro,
  .project-band,
  .about-content,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: 86vh;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand span:last-child {
    max-width: 150px;
    white-space: normal;
    line-height: 1.1;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: 82vh;
    padding: 116px 18px 58px;
  }

  h1 {
    font-size: 3.25rem;
  }

  .button {
    width: 100%;
    min-height: 48px;
    text-align: center;
  }

  .section {
    padding: 58px 18px;
  }

  .service-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .project-list div {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: auto;
  }

  .card-icon {
    margin-bottom: 34px;
  }

  .site-footer {
    flex-direction: column;
  }
}
