:root {
  --bg: #050913;
  --panel: #0c1224;
  --ink: #e8edf7;
  --muted: #9aa8c3;
  --accent: #f59f3a; /* orange accent */
  --accent-2: #4da3ff; /* blue accent */
  --stroke: rgba(255, 255, 255, 0.08);
  --shadow: 0 20px 80px rgba(0, 0, 0, 0.4);
  --radius: 18px;
  --radius-sm: 12px;
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Sora", sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(77, 163, 255, 0.08), transparent 40%),
    radial-gradient(circle at 80% 0%, rgba(245, 159, 58, 0.12), transparent 38%),
    linear-gradient(180deg, #04070f 0%, #080c19 60%, #060914 100%);
  color: var(--ink);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.noise-overlay {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'%3E%3C/feTurbulence%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'%3E%3C/rect%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

main,
.site-header,
.footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;

.detail-link {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.detail-link:hover {
  text-decoration: underline;
}

.detail-text {
  color: var(--ink);
  font-weight: 600;
}
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.5rem 0;
  gap: 1rem;
}

.logo {
  margin-top: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #050913;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-weight: 500;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.btn.primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #050913;
  box-shadow: var(--shadow);
}

.btn.ghost {
  border-color: var(--stroke);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
  align-items: center;
}

.hero__content h1 {
  font-size: clamp(4.8rem, 5vw, 4.2rem);
  margin: 0.3rem 0 0.75rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0;
}

.lede {
  color: var(--muted);
  max-width: 46ch;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.hero__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.75rem;
}

.chip {
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(6px);
}

.chip__label {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  margin-bottom: 0.25rem;
}

.chip__value {
  font-weight: 600;
}

.hero__panel {
  background: radial-gradient(circle at 20% 20%, rgba(245, 159, 58, 0.18), transparent 45%),
    radial-gradient(circle at 90% 0%, rgba(77, 163, 255, 0.16), transparent 40%),
    #0b1120;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
}

.panel__stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid var(--stroke);
  padding-bottom: 0.75rem;
}

.stat__value {
  font-size: 2.4rem;
  margin: 0;
}

.stat__label {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
}

.panel__pillars {
  display: grid;
  gap: 0.85rem;
}

.pillar {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  border: 1px solid var(--stroke);
}

.pillar__title {
  margin: 0 0 0.2rem;
  font-weight: 600;
}

.pillar__body {
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

.section {
  margin-top: 3.5rem;
}

.section__header h2 {
  margin: 0.25rem 0 0.5rem;
  font-size: 1.8rem;
}

.section__body {
  color: var(--muted);
  line-height: 1.6;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}

.timeline {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}

.timeline__item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
}

.timeline__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

.timeline__title {
  margin: 0;
  font-weight: 600;
}

.timeline__time {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.timeline__summary {
  margin: 0.35rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  line-height: 1.5;
}

.card__label {
  margin: 0 0 0.35rem;
  font-weight: 600;
}

.card__body {
  margin: 0;
  color: var(--muted);
}

.projects {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}

.project {
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  background: linear-gradient(135deg, rgba(247, 165, 59, 0.08), rgba(37, 208, 160, 0.08));
}

.project__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  margin-bottom: 0.35rem;
}

.project__title {
  margin: 0;
  font-weight: 600;
}

.project__title a {
  color: var(--ink);
  text-decoration: none;
}

.project__title a:hover {
  text-decoration: underline;
}

.project__tag {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.project__body {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.services__intro {
  color: var(--muted);
  max-width: 760px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.services-grid--compact {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.service-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.35rem;
}

.service__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(120deg, rgba(245, 159, 58, 0.12), rgba(77, 163, 255, 0.12));
  border: 1px solid var(--stroke);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.service__title {
  margin: 0;
  font-size: 1.05rem;
}

.service__desc {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.services__subheader {
  margin-top: 1.8rem;
}

.services__cta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
  margin-top: 1.2rem;
}

.contact__card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
}

.contact__title {
  margin: 0 0 0.35rem;
  font-weight: 600;
}

.contact__body {
  margin: 0 0 0.75rem;
  color: var(--muted);
  line-height: 1.6;
}

.contact__actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.contact__details {
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px dashed var(--stroke);
  background: rgba(255, 255, 255, 0.01);
  line-height: 1.8;
}


.contact__block {
  margin-bottom: 0.9rem;
}

.detail__heading {
  margin: 0 0 0.4rem;
  font-weight: 600;
  color: var(--ink);
}

.icon-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--stroke);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.icon-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.contact a {
  color: var(--ink);
}

.footer {
  padding: 2rem 1.5rem 3rem;
  color: var(--muted);
  text-align: center;
}

.footer a {
  color: var(--ink);
}

@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    gap: 0.5rem;
    overflow-x: auto;
  }

  .hero {
    margin-top: 1.5rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__meta {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }

  .timeline__meta,
  .project__meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .services__cta-row {
    flex-direction: column;
  }

  main,
  .site-header,
  .footer {
    padding: 0 1rem;
  }
}
