@charset "UTF-8";
/* ==============================================================
   MAIN.SCSS
   Source stylesheet for the developer portfolio one-pager.
   Compile to ../styles/main.css before deploying.

   Sections:
     1.  Design tokens (variables, breakpoints, easing)
     2.  Mixins & helpers
     3.  Base / reset
     4.  Layout helpers (container, section spacing)
     5.  Buttons & shared atoms
     6.  Site header / navigation
     7.  Hero
     8.  About
     9.  Skills
     10. Experience timeline
     11. Services
     12. Contact form
     13. Footer
     14. Animations (reveal on scroll, keyframes)
   ============================================================== */
/* --------------------------------------------------------------
   1. DESIGN TOKENS
   Single source of truth — change here, propagates everywhere.
   -------------------------------------------------------------- */
/* --------------------------------------------------------------
   2. MIXINS & HELPERS
   -------------------------------------------------------------- */
/* --------------------------------------------------------------
   3. BASE / RESET
   -------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #050505;
  color: #FFFFFF;
  font-family: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1rem;
}

a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible {
  outline: 2px solid #16DB65;
  outline-offset: 3px;
  border-radius: 6px;
}

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

button {
  font: inherit;
  cursor: pointer;
}
button:focus-visible {
  outline: 2px solid #16DB65;
  outline-offset: 3px;
  border-radius: 6px;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: #16DB65;
  color: #050505;
}

/* --------------------------------------------------------------
   4. LAYOUT HELPERS
   -------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}
@media (min-width: 768px) {
  .container {
    padding-inline: 2rem;
  }
}
@media (min-width: 1024px) {
  .container {
    padding-inline: 3rem;
  }
}

.section {
  padding-block: 6rem;
}
@media (min-width: 768px) {
  .section {
    padding-block: 8rem;
  }
}

.section__header {
  max-width: 720px;
  margin-bottom: 3rem;
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.85rem;
  color: #a8a8b3;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.section__eyebrow .script {
  font-family: "Michroma", "Sora", sans-serif;
  font-size: 0.7rem;
  color: #16DB65;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1;
}

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  max-width: 18ch;
}

.highlight {
  color: #FFFFFF;
  background: linear-gradient(90deg, rgba(22, 219, 101, 0.15), rgba(52, 35, 166, 0.15));
  padding: 2px 6px;
  border-radius: 6px;
}

.script {
  font-family: "Michroma", "Sora", sans-serif;
  font-weight: 400;
  color: #16DB65;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* --------------------------------------------------------------
   5. BUTTONS & SHARED ATOMS
   -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-family: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 180ms cubic-bezier(0.2, 0.7, 0.2, 1), background 180ms cubic-bezier(0.2, 0.7, 0.2, 1), color 180ms cubic-bezier(0.2, 0.7, 0.2, 1), border-color 180ms cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 360ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}
.btn--primary {
  background: #16DB65;
  color: #050505;
  box-shadow: 0 0 0 0 rgba(22, 219, 101, 0.5);
}
.btn--primary:hover {
  background: rgb(38.3626556017, 233.2373443983, 116.510373444);
  box-shadow: 0 10px 30px -10px rgba(22, 219, 101, 0.6);
}
.btn--ghost {
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.16);
}
.btn--ghost:hover {
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, 0.04);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.tag-list li {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: #a8a8b3;
  transition: border-color 180ms cubic-bezier(0.2, 0.7, 0.2, 1), color 180ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16DB65;
  margin-right: 0.5rem;
  box-shadow: 0 0 0 0 rgba(22, 219, 101, 0.6);
  animation: pulse 2s infinite cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* --------------------------------------------------------------
   6. SITE HEADER / NAVIGATION
   Sticky, with a subtle blur + dynamic background on scroll.
   -------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(5, 5, 5, 0.55);
  border-bottom: 1px solid transparent;
  transition: background 360ms cubic-bezier(0.2, 0.7, 0.2, 1), border-color 360ms cubic-bezier(0.2, 0.7, 0.2, 1), padding 360ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.site-header.is-scrolled {
  background: rgba(5, 5, 5, 0.85);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.brand__mark {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.9rem;
  color: #16DB65;
  padding: 0.25rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background: #0c0c0e;
}
.brand__accent {
  color: #16DB65;
}

.primary-nav__list {
  display: none;
}
@media (min-width: 768px) {
  .primary-nav__list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
}

.primary-nav__link {
  position: relative;
  display: inline-flex;
  padding: 0.55rem 1rem;
  font-size: 0.92rem;
  color: #a8a8b3;
  border-radius: 999px;
  transition: color 180ms cubic-bezier(0.2, 0.7, 0.2, 1), background 180ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.primary-nav__link::after {
  content: "";
  position: absolute;
  inset: auto 1rem 0.35rem 1rem;
  height: 1px;
  background: #16DB65;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 360ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.primary-nav__link:hover {
  color: #FFFFFF;
}
.primary-nav__link:hover::after {
  transform: scaleX(1);
}
.primary-nav__link.is-active {
  color: #FFFFFF;
}
.primary-nav__link.is-active::after {
  transform: scaleX(1);
}
.primary-nav__link--cta {
  background: #16DB65;
  color: #050505 !important;
  margin-left: 0.75rem;
}
.primary-nav__link--cta::after {
  display: none;
}
.primary-nav__link--cta:hover {
  background: rgb(38.3626556017, 233.2373443983, 116.510373444);
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
}
.nav-toggle__bar {
  display: block;
  height: 1.5px;
  width: 100%;
  background: #FFFFFF;
  transition: transform 180ms cubic-bezier(0.2, 0.7, 0.2, 1), opacity 180ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.nav-toggle.is-open .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }
}

@media (max-width: 767px) {
  .primary-nav {
    position: fixed;
    inset: 70px 0 0 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(28px) saturate(140%);
    -webkit-backdrop-filter: blur(28px) saturate(140%);
    z-index: 40;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 360ms cubic-bezier(0.2, 0.7, 0.2, 1);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .primary-nav.is-open {
    transform: translateX(0);
  }
  .primary-nav.is-open .primary-nav__list {
    display: flex;
  }
  .primary-nav__list {
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
  }
  .primary-nav__link {
    font-size: 1.15rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    color: #FFFFFF;
    justify-content: space-between;
    transition: background 180ms cubic-bezier(0.2, 0.7, 0.2, 1), border-color 180ms cubic-bezier(0.2, 0.7, 0.2, 1), color 180ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 180ms cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .primary-nav__link::after {
    display: none;
  }
  .primary-nav__link:hover, .primary-nav__link:active {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(22, 219, 101, 0.45);
    color: #16DB65;
    transform: translateY(-1px);
  }
  .primary-nav__link--cta {
    margin-left: 0;
    background: #16DB65;
    border-color: #16DB65;
    color: #050505 !important;
  }
  .primary-nav__link--cta:hover, .primary-nav__link--cta:active {
    background: rgb(38.3626556017, 233.2373443983, 116.510373444);
    border-color: rgb(38.3626556017, 233.2373443983, 116.510373444);
    color: #050505 !important;
  }
}
/* --------------------------------------------------------------
   7. HERO
   -------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 6rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: drift 18s ease-in-out infinite;
}
.hero__orb--green {
  width: 420px;
  height: 420px;
  background: #16DB65;
  top: 12%;
  left: -100px;
  opacity: 0.25;
}
.hero__orb--indigo {
  width: 520px;
  height: 520px;
  background: #3423A6;
  bottom: -150px;
  right: -120px;
  opacity: 0.55;
  animation-direction: reverse;
  animation-duration: 22s;
}

.hero__noise {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__hello {
  font-size: 1.05rem;
  color: #a8a8b3;
  margin-bottom: 0.75rem;
}
.hero__hello .script {
  font-size: 0.85rem;
  margin-right: 0.75rem;
  letter-spacing: 0.15em;
  vertical-align: 1px;
}

.hero__title {
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
}
.hero__title .hero__line {
  display: block;
}
.hero__title .hero__line--accent {
  background: linear-gradient(110deg, #16DB65 0%, rgb(56.9004149378, 235.0995850622, 128.3609958506) 40%, #3423A6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__tagline {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: #a8a8b3;
  max-width: 38ch;
  margin-bottom: 3rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero__meta-item {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
}

.hero__meta-num {
  font-size: 1.6rem;
  font-weight: 600;
  color: #16DB65;
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

.hero__meta-label {
  font-size: 0.85rem;
  color: #a8a8b3;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero__meta-divider {
  display: none;
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.08);
}
@media (min-width: 768px) {
  .hero__meta-divider {
    display: inline-block;
  }
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #a8a8b3;
}
@media (min-width: 768px) {
  .hero__scroll {
    display: flex;
  }
}
.hero__scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(#16DB65, transparent);
  animation: scroll-hint 2s ease-in-out infinite;
}

/* --------------------------------------------------------------
   8. ABOUT
   -------------------------------------------------------------- */
.about__grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .about__grid {
    grid-template-columns: 1.5fr 1fr;
    align-items: start;
  }
}

.about__lead p {
  font-size: 1.1rem;
  color: #a8a8b3;
}
.about__lead p:not(:last-child) {
  margin-bottom: 1rem;
}

@media (min-width: 1024px) {
  .about__lead {
    align-self: center;
  }
}

.about__header {
  max-width: none;
  margin-bottom: 2rem;
}

.about__side {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .about__side {
    position: sticky;
    top: 100px;
  }
}

/* --------------------------------------------------------------
   ABOUT — PORTRAIT
   A duotone, halftone portrait inside a circular frame.
   Layers (lowest → highest):
     1. .about__portrait-glow  → soft radial glow (visible on hover)
     2. .about__portrait-ring  → rotating conic gradient ring (on hover)
     3. .about__portrait-img   → the portrait PNG itself
   Hover combines: scale-up, subtle tilt, brightness lift, ring spin,
   and glow expansion. All animation respects prefers-reduced-motion
   (handled globally in the animations section).
   -------------------------------------------------------------- */
.about__portrait {
  position: relative;
  width: 100%;
  max-width: 260px;
  aspect-ratio: 1/1;
  margin: 0 auto;
  padding: 8px;
  cursor: pointer;
  isolation: isolate;
}
.about__portrait-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  filter: drop-shadow(0 12px 24px rgba(5, 5, 5, 0.4));
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform, filter;
}
.about__portrait-glow {
  position: absolute;
  inset: -10%;
  z-index: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 219, 101, 0.55) 0%, rgba(22, 219, 101, 0.15) 35%, transparent 65%);
  filter: blur(20px);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 500ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.about__portrait-ring {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #16DB65 0deg, transparent 90deg, #3423A6 180deg, transparent 270deg, #16DB65 360deg);
  -webkit-mask: radial-gradient(circle, transparent 64%, #000 65%);
  mask: radial-gradient(circle, transparent 64%, #000 65%);
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 400ms cubic-bezier(0.2, 0.7, 0.2, 1);
  animation: portrait-spin 6s linear infinite;
  animation-play-state: paused;
}
.about__portrait:hover .about__portrait-img, .about__portrait:focus-within .about__portrait-img {
  transform: scale(1.05) rotate(-3deg);
  filter: drop-shadow(0 18px 32px rgba(52, 35, 166, 0.45)) brightness(1.08);
}
.about__portrait:hover .about__portrait-glow, .about__portrait:focus-within .about__portrait-glow {
  opacity: 1;
  transform: scale(1.05);
}
.about__portrait:hover .about__portrait-ring, .about__portrait:focus-within .about__portrait-ring {
  opacity: 1;
  animation-play-state: running;
}

@keyframes portrait-spin {
  to {
    transform: scale(1.08) rotate(360deg);
  }
}
/* --------------------------------------------------------------
   ABOUT — INFO CARD
   (Lives inside .about__side now; sticky behaviour moved up to the
   wrapper, so the card itself just needs surface + row styling.)
   -------------------------------------------------------------- */
.about__card {
  background: #131318;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  transition: border-color 360ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 360ms cubic-bezier(0.2, 0.7, 0.2, 1);
  padding: 2rem;
  display: grid;
  gap: 1rem;
}
.about__card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}
.about__card-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.about__card-label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #707078;
}
.about__card-value {
  font-size: 0.95rem;
  color: #FFFFFF;
  text-align: right;
}

/* --------------------------------------------------------------
   9. SKILLS
   -------------------------------------------------------------- */
.skills__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 480px) {
  .skills__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .skills__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.skill-card {
  background: #131318;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  transition: border-color 360ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 360ms cubic-bezier(0.2, 0.7, 0.2, 1);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.skill-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(22, 219, 101, 0.08), transparent 40%);
  opacity: 0;
  transition: opacity 360ms cubic-bezier(0.2, 0.7, 0.2, 1);
  pointer-events: none;
}
.skill-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-4px);
}
.skill-card:hover::before {
  opacity: 1;
}
.skill-card:hover .skill-card__icon {
  color: #16DB65;
  transform: rotate(-4deg) scale(1.05);
}
.skill-card:hover .tag-list li {
  border-color: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
}
.skill-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #a8a8b3;
  margin-bottom: 1rem;
  transition: color 360ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 360ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.skill-card__title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.skill-card__desc {
  color: #a8a8b3;
  font-size: 0.95rem;
  margin: 0;
}

/* --------------------------------------------------------------
   10. EXPERIENCE TIMELINE
   -------------------------------------------------------------- */
.timeline {
  position: relative;
  padding-left: 2rem;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 7px;
  width: 1px;
  background: linear-gradient(to bottom, #16DB65, #3423A6);
  opacity: 0.6;
}
.timeline__item {
  position: relative;
  padding-bottom: 3rem;
}
.timeline__item:last-child {
  padding-bottom: 0;
}
.timeline__marker {
  position: absolute;
  top: 6px;
  left: calc(-2rem + 1px);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #050505;
  border: 2px solid #16DB65;
  box-shadow: 0 0 0 4px rgba(22, 219, 101, 0.15);
  transition: transform 360ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.timeline__item:hover .timeline__marker {
  transform: scale(1.25);
}
.timeline__body {
  background: #131318;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  transition: border-color 360ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 360ms cubic-bezier(0.2, 0.7, 0.2, 1);
  padding: 1.5rem;
}
@media (min-width: 768px) {
  .timeline__body {
    padding: 2rem;
  }
}
.timeline__period {
  display: inline-block;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #16DB65;
  background: rgba(22, 219, 101, 0.1);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}
.timeline__role {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.timeline__org {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.85rem;
  color: #a8a8b3;
  margin-bottom: 0.75rem;
}
.timeline__desc {
  color: #a8a8b3;
  margin: 0;
}

/* --------------------------------------------------------------
   11. SERVICES
   -------------------------------------------------------------- */
.services__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service {
  background: #131318;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  transition: border-color 360ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 360ms cubic-bezier(0.2, 0.7, 0.2, 1);
  padding: 2rem;
  position: relative;
  transition: border-color 360ms cubic-bezier(0.2, 0.7, 0.2, 1), background 360ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.service:hover {
  border-color: #16DB65;
  background: linear-gradient(135deg, #131318 60%, rgba(22, 219, 101, 0.06));
}
.service:hover .service__num {
  color: #16DB65;
}
.service__num {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.85rem;
  color: #707078;
  margin-bottom: 1rem;
  display: block;
  transition: color 360ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.service__title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.service__desc {
  color: #a8a8b3;
  margin: 0;
}

/* --------------------------------------------------------------
   12. CONTACT
   -------------------------------------------------------------- */
.contact__inner {
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .contact__inner {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
  }
}

.contact__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 1rem;
}

.contact__lead {
  color: #a8a8b3;
  max-width: 38ch;
}

.contact__form {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .contact__form {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.field--full {
  grid-column: 1/-1;
}
.field--actions {
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.field--honeypot {
  position: absolute !important;
  left: -10000px !important;
  top: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}
.field--honeypot label, .field--honeypot input {
  position: absolute;
  left: -10000px;
}
.field__label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  color: #707078;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.field__input {
  font: inherit;
  color: #FFFFFF;
  background: #0c0c0e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  transition: border-color 180ms cubic-bezier(0.2, 0.7, 0.2, 1), background 180ms cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 360ms cubic-bezier(0.2, 0.7, 0.2, 1);
  width: 100%;
}
.field__input::placeholder {
  color: #707078;
}
.field__input:hover {
  border-color: rgba(255, 255, 255, 0.16);
}
.field__input:focus {
  outline: none;
  border-color: #16DB65;
  background: #131318;
  box-shadow: 0 0 0 4px rgba(22, 219, 101, 0.12);
}
.field__input--area {
  resize: vertical;
  min-height: 120px;
}

.form-status {
  margin: 0;
  font-size: 0.9rem;
  color: #16DB65;
  min-height: 1.5em;
}

/* --------------------------------------------------------------
   13. FOOTER
   -------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 2rem;
}
.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}
@media (min-width: 768px) {
  .site-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.site-footer__copy {
  margin: 0;
  font-size: 0.85rem;
  color: #707078;
}
.site-footer__sign .script {
  font-size: 0.75rem;
  color: #16DB65;
  letter-spacing: 0.18em;
}

/* --------------------------------------------------------------
   14. ANIMATIONS
   - data-anim attributes are observed by JS and toggled into view.
   - Below we define the *initial* (hidden) state and the
     "is-visible" state. We also keep keyframes for ambient motion.
   -------------------------------------------------------------- */
[data-anim] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}

[data-anim].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-anim] {
    opacity: 1;
    transform: none;
  }
}
@keyframes drift {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(40px, -30px) scale(1.08);
  }
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(22, 219, 101, 0.6);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(22, 219, 101, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(22, 219, 101, 0);
  }
}
@keyframes scroll-hint {
  0%, 100% {
    opacity: 0.3;
    transform: scaleY(0.6);
    transform-origin: top;
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
    transform-origin: top;
  }
}