:root {
  color-scheme: light;
  --ink: #0f171d;
  --muted: #65717a;
  --line: #d9e0e5;
  --paper: #f5f7f8;
  --white: #ffffff;
  --teal: #2dd4bf;
  --gold: #f2b84b;
  --shadow: 0 24px 70px rgba(15, 23, 29, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(15, 23, 29, 0.78), rgba(15, 23, 29, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.nav-links {
  display: flex;
  gap: 20px;
  font-size: 14px;
  font-weight: 800;
}

.nav-links a {
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  color: var(--white);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 11, 16, 0.94) 0%, rgba(7, 11, 16, 0.74) 45%, rgba(7, 11, 16, 0.26) 100%),
    linear-gradient(0deg, rgba(15, 23, 29, 0.86), rgba(15, 23, 29, 0.08) 54%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  width: calc(100% - 36px);
  max-width: 1120px;
  min-height: 88vh;
  margin: 0 auto;
  padding: 120px 0 64px;
  flex-direction: column;
  justify-content: flex-end;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: #0c7f76;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(48px, 10vw, 104px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.42;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
}

.button.primary {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}

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

.projects-section {
  width: calc(100% - 36px);
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 0 74px;
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 54px);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.project-card {
  display: grid;
  min-height: 220px;
  align-content: end;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  text-decoration: none;
  box-shadow: 0 16px 42px rgba(15, 23, 29, 0.06);
}

.project-card.featured {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(15, 23, 29, 0.96), rgba(13, 84, 80, 0.92)),
    var(--ink);
  border-color: rgba(45, 212, 191, 0.28);
  box-shadow: var(--shadow);
}

.project-kicker {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.project-card strong {
  font-size: 24px;
  line-height: 1.08;
}

.project-card span:last-child {
  color: var(--muted);
  line-height: 1.45;
}

.project-card.featured span:last-child {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer {
  padding: 28px clamp(18px, 4vw, 56px);
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.site-footer p {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  font-size: 14px;
}

.signature-badge {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 50;
  overflow: hidden;
  border-top: 1px solid rgba(242, 184, 75, 0.34);
  border-left: 1px solid rgba(242, 184, 75, 0.34);
  border-radius: 8px 0 0;
  background: rgba(15, 23, 29, 0.94);
  box-shadow: 0 -8px 28px rgba(15, 23, 29, 0.18);
  backdrop-filter: blur(14px);
}

.signature-badge a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 13px;
  color: var(--white);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.signature-badge a::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--gold);
}

@media (max-width: 760px) {
  .site-header {
    position: absolute;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .hero-content {
    min-height: 92vh;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

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