:root {
  color-scheme: dark;
  --bg: #07110f;
  --bg-2: #0b1714;
  --panel: #10201c;
  --panel-2: #142822;
  --text: #f4fbf8;
  --muted: #a9bcb5;
  --soft: #d7e5df;
  --line: rgba(203, 235, 224, 0.15);
  --emerald: #36f0a2;
  --mint: #90ffd1;
  --amber: #f3c35a;
  --cyan: #57d8ff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 12%, rgba(54, 240, 162, 0.13), transparent 28rem),
    radial-gradient(circle at 90% 28%, rgba(243, 195, 90, 0.08), transparent 25rem),
    linear-gradient(180deg, #07110f 0%, #0a1512 48%, #07110f 100%);
  color: var(--text);
  letter-spacing: 0;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  width: min(var(--max), calc(100% - 32px));
  margin: 16px auto 0;
  padding: 10px;
  border: 1px solid rgba(220, 244, 235, 0.16);
  border-radius: 8px;
  background: rgba(7, 17, 15, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.24);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #03110c;
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
  background: linear-gradient(135deg, var(--emerald), var(--amber));
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  margin-top: 0.18rem;
  color: var(--muted);
  font-size: 0.75rem;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a,
.header-cta,
.button {
  border-radius: 8px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.site-nav a {
  padding: 0.72rem 0.85rem;
  color: var(--soft);
  font-size: 0.9rem;
}

.nav-download,
.mobile-label {
  display: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

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

.header-cta {
  background: rgba(255, 255, 255, 0.06);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  border-color: rgba(54, 240, 162, 0.42);
  background: linear-gradient(135deg, #33e699, #dcb24e);
  color: #03110c;
  box-shadow: 0 14px 42px rgba(54, 240, 162, 0.22);
}

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

.button.light {
  background: rgba(7, 17, 15, 0.48);
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.nav-bars {
  position: relative;
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
}

.nav-bars::before,
.nav-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 19px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
}

.nav-bars::before {
  top: -6px;
}

.nav-bars::after {
  top: 6px;
}

.icons-ready .nav-bars {
  display: none;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 8.5rem 0 3rem;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
  filter: saturate(0.95) contrast(1.06);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 17, 15, 0.98) 0%, rgba(7, 17, 15, 0.76) 38%, rgba(7, 17, 15, 0.22) 76%),
    linear-gradient(180deg, rgba(7, 17, 15, 0.25), rgba(7, 17, 15, 0.88));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.9rem;
  color: var(--mint);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(3rem, 6.6vw, 6.35rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 720px;
  margin: 1.35rem 0 0;
  color: var(--soft);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 960px;
  margin: 3rem 0 0;
  padding: 1px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  overflow: hidden;
}

.hero-stats div {
  padding: 1.2rem;
  background: rgba(9, 24, 20, 0.82);
}

.hero-stats dt {
  color: #fff;
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  font-weight: 800;
}

.hero-stats dd {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  width: min(var(--max), calc(100% - 32px));
  margin: -1.35rem auto 0;
  position: relative;
  z-index: 2;
}

.trust-strip span {
  padding: 0.72rem 0.95rem;
  border: 1px solid rgba(220, 244, 235, 0.16);
  border-radius: 8px;
  background: rgba(16, 32, 28, 0.9);
  color: var(--soft);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.24);
}

.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 6.5rem 0 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.62fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.1rem;
}

h2,
h3,
p {
  overflow-wrap: anywhere;
}

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

.section-heading p,
.intro-copy p,
.contact-card p {
  color: var(--muted);
  line-height: 1.72;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 3rem;
  align-items: start;
}

.intro-copy {
  padding-left: 1.2rem;
  border-left: 2px solid rgba(54, 240, 162, 0.55);
}

.service-grid,
.proof-grid,
.skill-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-card,
.proof-card,
.skill-group,
.credentials-panel,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(20, 40, 34, 0.86), rgba(12, 27, 23, 0.86));
  box-shadow: var(--shadow);
}

.service-card,
.proof-card,
.skill-group {
  padding: 1.45rem;
}

.service-card svg,
.credential-list svg,
.contact-link svg {
  width: 22px;
  height: 22px;
  color: var(--emerald);
}

.service-card h3,
.proof-card h3,
.skill-group h3 {
  margin: 1rem 0 0.65rem;
  font-size: 1.12rem;
  line-height: 1.25;
}

.service-card p,
.proof-card p,
.skill-group p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.proof-grid {
  grid-template-columns: 1.12fr 0.88fr;
}

.proof-card.large {
  grid-row: span 2;
}

.proof-number {
  display: inline-flex;
  padding: 0.32rem 0.52rem;
  border: 1px solid rgba(54, 240, 162, 0.28);
  border-radius: 8px;
  color: var(--mint);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
}

.proof-card.large h3 {
  margin-top: 3.2rem;
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  line-height: 1;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 32, 28, 0.72);
}

.timeline-date {
  color: var(--mint);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.88rem;
}

.timeline-body h3 {
  margin: 0;
  font-size: 1.25rem;
}

.timeline-body h3 span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.role {
  margin: 0.35rem 0 0.9rem;
  color: var(--amber);
  font-weight: 700;
}

.timeline ul {
  margin: 0;
  padding-left: 1.05rem;
  color: var(--soft);
  line-height: 1.65;
}

.timeline li + li {
  margin-top: 0.45rem;
}

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

.skill-group h3 {
  color: var(--mint);
}

.credentials-panel,
.contact-card {
  padding: clamp(1.4rem, 4vw, 3rem);
}

.credentials-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.credential-list {
  display: grid;
  gap: 1rem;
}

.credential-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.credential-list h3,
.credential-list p {
  margin: 0;
}

.credential-list p {
  margin-top: 0.35rem;
  color: var(--muted);
  line-height: 1.55;
}

.contact-section {
  padding-bottom: 5.5rem;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 0.72fr);
  gap: 2rem;
  background:
    linear-gradient(135deg, rgba(54, 240, 162, 0.15), transparent 38%),
    linear-gradient(180deg, rgba(20, 40, 34, 0.94), rgba(9, 24, 20, 0.94));
}

.contact-actions {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  padding: 0.86rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--soft);
}

.contact-link span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.contact-link.strong {
  color: #fff;
  border-color: rgba(54, 240, 162, 0.32);
}

.download-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.3rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

svg {
  flex: 0 0 auto;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    padding: 0.65rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(7, 17, 15, 0.96);
    box-shadow: var(--shadow);
  }

  .site-header.nav-open .site-nav {
    display: grid;
  }

  .site-nav a {
    padding: 0.9rem;
  }

  .nav-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 0.25rem;
    border: 1px solid rgba(54, 240, 162, 0.38);
    background: linear-gradient(135deg, rgba(54, 240, 162, 0.18), rgba(243, 195, 90, 0.12));
    color: #fff;
    font-weight: 800;
  }

  .header-cta {
    min-width: 54px;
    padding-inline: 0.8rem;
  }

  .header-cta .desktop-label {
    display: none;
  }

  .header-cta .mobile-label {
    display: inline;
  }

  .hero {
    min-height: auto;
    padding-top: 8rem;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 17, 15, 0.99), rgba(7, 17, 15, 0.76)),
      linear-gradient(180deg, rgba(7, 17, 15, 0.12), rgba(7, 17, 15, 0.92));
  }

  .hero-stats,
  .section-heading,
  .intro-grid,
  .credentials-panel,
  .contact-card {
    grid-template-columns: 1fr;
  }

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

  .proof-card.large {
    grid-row: auto;
    grid-column: span 2;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    width: calc(100% - 20px);
    margin-top: 10px;
    gap: 0.5rem;
  }

  .brand small {
    display: none;
  }

  .hero-content,
  .section,
  .trust-strip,
  .site-footer {
    width: calc(100% - 24px);
  }

  .hero {
    padding-bottom: 2rem;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 12vw, 3.35rem);
    line-height: 1;
  }

  .hero-copy {
    margin-top: 1rem;
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-actions {
    margin-top: 1.15rem;
  }

  .hero-stats,
  .service-grid,
  .proof-grid,
  .skill-columns,
  .download-row {
    grid-template-columns: 1fr;
  }

  .proof-card.large {
    grid-column: auto;
  }

  .proof-card.large h3 {
    margin-top: 2rem;
  }

  .section {
    padding-top: 4.75rem;
  }

  .intro-copy {
    padding-left: 0;
    border-left: 0;
  }

  .contact-link {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
