:root {
  color-scheme: dark;
  --bg: #07110f;
  --bg-2: #0c1815;
  --panel: #10211d;
  --panel-2: #142822;
  --text: #f6f8f7;
  --muted: #b7c6c1;
  --subtle: #7e918a;
  --line: rgba(217, 249, 157, 0.18);
  --green: #8fd14f;
  --cyan: #51c6e8;
  --amber: #e0b54f;
  --shadow: rgba(0, 0, 0, 0.36);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  letter-spacing: 0;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 20;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px clamp(18px, 4vw, 54px);
  transition: background 180ms ease, border-color 180ms ease, padding 180ms ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  padding-block: 12px;
  background: rgba(7, 17, 15, 0.86);
  border-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 760;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(143, 209, 79, 0.42);
  border-radius: 6px;
  background: rgba(12, 24, 21, 0.72);
  color: var(--green);
  font-size: 13px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 28px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.site-nav a {
  padding: 6px 0;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.hero {
  position: relative;
  min-height: 94svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 118px clamp(18px, 5vw, 72px) 90px;
}

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

.hero-bg {
  background-image: url("../img/llm-platform-hero.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 17, 15, 0.94) 0%, rgba(7, 17, 15, 0.74) 36%, rgba(7, 17, 15, 0.34) 66%, rgba(7, 17, 15, 0.48) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(7, 17, 15, 0) 26%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(780px, 100%);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 13px;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(50px, 8vw, 104px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-lede {
  width: min(680px, 100%);
  margin-bottom: 30px;
  color: #e7efec;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.42;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 760;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--green);
  color: #07110f;
  border-color: var(--green);
}

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

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 32px;
  max-width: 660px;
}

.hero-proof span {
  padding: 7px 10px;
  border: 1px solid rgba(217, 249, 157, 0.2);
  border-radius: 999px;
  background: rgba(8, 20, 17, 0.68);
  color: #dff7c0;
  font-size: 13px;
  font-weight: 700;
}

.section-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.focus-band,
.work-section,
.stack-section,
.cert-section,
.contact-section {
  padding: clamp(72px, 9vw, 118px) 0;
}

.focus-band {
  background: var(--bg);
}

.work-section {
  background: #0a1512;
}

.stack-section {
  background: #111d19;
}

.cert-section {
  background: #0b1714;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  margin-bottom: 36px;
}

.section-heading h2,
.contact-layout h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.focus-item {
  min-height: 250px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.item-index,
.work-kicker {
  display: block;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.item-index {
  margin-bottom: 42px;
}

.focus-item h3,
.work-item h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.16;
}

.focus-item p,
.work-item p,
.stack-row p {
  color: var(--muted);
}

.work-list {
  display: grid;
  gap: 16px;
}

.work-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 18px 60px var(--shadow);
}

.work-item.featured {
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.45fr);
  align-items: stretch;
  border-color: rgba(143, 209, 79, 0.28);
  background:
    linear-gradient(135deg, rgba(143, 209, 79, 0.12), rgba(81, 198, 232, 0.06)),
    rgba(255, 255, 255, 0.035);
}

.work-kicker {
  margin-bottom: 14px;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.metric-strip div {
  padding: 18px;
  background: rgba(7, 17, 15, 0.72);
}

.metric-strip dt {
  margin-bottom: 7px;
  color: var(--subtle);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.metric-strip dd {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.text-link {
  justify-self: start;
  color: #dff7c0;
  font-weight: 800;
  white-space: nowrap;
}

.private-note {
  justify-self: start;
  align-self: end;
  padding: 7px 10px;
  border: 1px solid rgba(143, 209, 79, 0.26);
  border-radius: 999px;
  color: #dff7c0;
  font-size: 13px;
  font-weight: 800;
}

.text-link::after {
  content: " ↗";
  color: var(--green);
}

.stack-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.48fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 76px);
}

.stack-layout .section-heading {
  display: block;
  margin-bottom: 0;
}

.stack-table {
  border-top: 1px solid var(--line);
}

.stack-row {
  display: grid;
  grid-template-columns: minmax(130px, 0.32fr) minmax(0, 1fr);
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.stack-row span {
  color: var(--text);
  font-weight: 820;
}

.stack-row p {
  margin: 0;
}

.cert-table,
.credential-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 18px 60px var(--shadow);
}

.credential-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.credential-summary div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.credential-summary span {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 32px;
  font-weight: 860;
  line-height: 1;
}

.credential-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.cert-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.36fr) minmax(0, 1fr) minmax(110px, 0.18fr);
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.cert-row:last-child {
  border-bottom: 0;
}

.cert-head {
  color: var(--subtle);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.035);
}

.cert-row a {
  color: #dff7c0;
  font-weight: 820;
}

.credential-row {
  display: grid;
  grid-template-columns: 64px minmax(220px, 1.25fr) minmax(150px, 0.68fr) minmax(96px, 0.42fr) minmax(96px, 0.42fr) minmax(120px, 0.48fr);
  gap: 14px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.credential-row:last-child {
  border-bottom: 0;
}

.credential-head {
  color: var(--subtle);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.035);
}

.credential-badge-cell img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.credential-name a {
  color: #f6f8f7;
  font-weight: 820;
}

.credential-name a::after {
  content: " ↗";
  color: var(--green);
}

.cert-row a::after {
  content: " ↗";
  color: var(--green);
}

.cert-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 150px;
  min-height: 32px;
  padding: 7px 11px;
  border-radius: 6px;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
}

.cert-badge.azure {
  background: #0078d4;
}

.cert-badge.gcp {
  background: #1a73e8;
}

.cert-badge.aws {
  background: #232f3e;
  color: #ffb84d;
}

.cert-badge.data {
  background: #336791;
}

.cert-badge.security {
  background: #374151;
}

.credential-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: #dff7c0;
  font-weight: 820;
}

.contact-section {
  background:
    linear-gradient(90deg, rgba(143, 209, 79, 0.1), rgba(81, 198, 232, 0.08)),
    var(--bg);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 54px);
  border-top: 1px solid var(--line);
  background: #06100e;
  color: var(--subtle);
  font-size: 14px;
}

@media (max-width: 980px) {
  .site-nav {
    gap: 14px;
  }

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

  .section-heading,
  .stack-layout,
  .work-item,
  .work-item.featured,
  .cert-row,
  .credential-summary,
  .credential-row,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .metric-strip {
    max-width: 100%;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    gap: 12px;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: 92svh;
    padding-top: 104px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 17, 15, 0.96) 0%, rgba(7, 17, 15, 0.84) 60%, rgba(7, 17, 15, 0.62) 100%),
      linear-gradient(0deg, var(--bg) 0%, rgba(7, 17, 15, 0) 26%);
  }

  .hero-actions,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .focus-grid,
  .metric-strip,
  .stack-row,
  .cert-row,
  .credential-summary,
  .credential-row {
    grid-template-columns: 1fr;
  }

  .cert-head,
  .credential-head {
    display: none;
  }

  .cert-row,
  .credential-row {
    gap: 9px;
  }

  .credential-row {
    padding: 16px;
  }

  .focus-item {
    min-height: auto;
  }

  .item-index {
    margin-bottom: 24px;
  }

  .work-item {
    padding: 22px;
  }

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