/* ============================================================
   Adarsh Pala — portfolio styles
   Theme: DropIt / SwingLoop neon — deep green-black background,
   neon lime primary, Inter + Space Grotesk.
   Layout: editorial "luxury" rows — hairline separators, big
   display type, ghost year watermarks, gradient hover underline.
   Interactive constellation canvas sits behind everything.
   ============================================================ */

:root {
  --bg: #0a1410;
  --surface: #121c18;
  --surface-2: #1a2622;
  --text: #f2f2f2;
  --muted: #9ca3af;
  --label: #d6ddd8;
  --primary: #8be80d;
  --primary-dark-text: #10140f;
  --gold: #ffe28a;
  --border: #2b3a36;
  --hairline: rgba(214, 221, 216, 0.14);
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --nav-h: 68px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); background: var(--bg); }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(139, 232, 13, 0.3); }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

.container { width: min(1080px, 92%); margin-inline: auto; }
.container.narrow { width: min(700px, 92%); }

/* ---------------- Constellation background ---------------- */
#bgCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
main, .nav, .footer { position: relative; z-index: 1; }

/* ---------------- Top bar ---------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(10, 20, 16, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  width: min(1180px, 94%);
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--text);
}
.nav-logo:hover { text-decoration: none; }

.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--primary);
  color: var(--primary-dark-text);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}
.nav-links a:not(.btn) {
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 500;
}
.nav-links a:not(.btn):hover,
.nav-links a.active { color: var(--text); text-decoration: none; }

.nav-toggle { display: none; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: transform 0.18s ease, filter 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--primary);
  color: var(--primary-dark-text);
  font-weight: 700;
}
.btn-primary:hover { filter: brightness(1.06); }

.btn-outline {
  background: var(--surface-2);
  border-color: var(--border);
  color: var(--text);
}
.btn-outline:hover {
  background: rgba(139, 232, 13, 0.14);
  border-color: rgba(139, 232, 13, 0.4);
  color: var(--primary);
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.88rem; }

/* ---------------- Hero ---------------- */
.hero {
  min-height: 92svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 3rem) 0 4rem;
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(640px 420px at 80% 12%, rgba(139, 232, 13, 0.09), transparent 60%),
    radial-gradient(520px 400px at 8% 85%, rgba(255, 226, 138, 0.05), transparent 60%);
}

.hero-inner { position: relative; }

/* status strip: "Open to AI/ML roles | Relocation flexible" */
.status-strip {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 2rem;
}
.status-strip li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--label);
}
.status-strip li + li {
  border-left: 1px solid var(--border);
  padding-left: 0.8rem;
}
.status-strip li:first-child { color: var(--primary); }

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(139, 232, 13, 0.5); }
  50% { box-shadow: 0 0 0 7px rgba(139, 232, 13, 0); }
}

.hero-sub {
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 500;
  margin-top: 0.7rem;
}
.hero-sub .iisc {
  font-family: var(--font-display);
  font-size: 1.12em;
  font-weight: 700;
  background: linear-gradient(90deg, #ffe28a, #b7ff45);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-exp { margin: 1.8rem 0 0.7rem; }

.hero .hero-chips { justify-content: flex-start; margin-bottom: 0; }
.chip-primary {
  color: var(--primary);
  border-color: rgba(139, 232, 13, 0.45);
  background: rgba(139, 232, 13, 0.08);
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5rem);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.01em;
}

.hero-role {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4.2vw, 2.6rem);
  font-weight: 600;
  line-height: 1.18;
  color: var(--muted);
  margin-top: 0.8rem;
}

.grad-text {
  background: linear-gradient(90deg, #ffe28a, #b7ff45);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-tagline {
  max-width: 580px;
  color: var(--muted);
  margin-top: 1.4rem;
}
.hero-tagline strong { color: var(--text); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.4rem; }

.hero-social {
  display: flex;
  gap: 1.3rem;
  list-style: none;
  margin-top: 2.2rem;
}
.hero-social a {
  color: var(--muted);
  display: inline-flex;
  transition: color 0.18s ease, transform 0.18s ease;
}
.hero-social a:hover { color: var(--primary); transform: translateY(-2px); }

/* ---------------- Sections ---------------- */
.section { padding: 6rem 0; }

.section-head { margin-bottom: 3rem; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.6vw, 2.3rem);
  font-weight: 700;
  line-height: 1.12;
}

.subheading {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 3.5rem 0 0;
}
.subheading.reveal + .lux-list { margin-top: 1.2rem; }

/* ---------------- Editorial rows (the "lux" system) ---------------- */
.lux-list { list-style: none; border-top: 1px solid var(--hairline); }

.lux-row {
  position: relative;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.5rem 3rem;
  padding: 2.6rem 0.6rem 2.6rem 0;
  border-bottom: 1px solid var(--hairline);
  transition: background 0.5s ease, padding-left 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* gradient hairline that draws itself along the bottom on hover */
.lux-row::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  width: 0;
  background: linear-gradient(90deg, #ffe28a, #b7ff45);
  transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) {
  .lux-row:hover {
    background: linear-gradient(90deg, rgba(139, 232, 13, 0.05), transparent 55%);
    padding-left: 0.9rem;
  }
  .lux-row:hover::after { width: 100%; }
  .lux-row:hover .lux-heading { color: var(--primary); }
  .lux-row:hover .lux-ghost { color: rgba(139, 232, 13, 0.1); }
  .lux-row:hover .lux-thumb svg { transform: scale(1.045) rotate(-0.6deg); }
}

.lux-meta { min-width: 0; }

.lux-dates {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.lux-ghost {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.9rem);
  font-weight: 700;
  line-height: 1;
  color: rgba(242, 242, 242, 0.05);
  margin-top: 0.5rem;
  user-select: none;
  transition: color 0.5s ease;
}

.lux-metric {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 0.6rem;
}

.lux-kicker {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--label);
  margin-bottom: 0.35rem;
}

.lux-heading {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  font-weight: 700;
  line-height: 1.2;
  transition: color 0.35s ease;
}

.lux-desc { color: var(--muted); font-size: 0.97rem; margin-top: 0.7rem; max-width: 640px; }

.lux-points { list-style: none; margin-top: 1.1rem; max-width: 640px; }
.lux-points li {
  color: var(--muted);
  font-size: 0.95rem;
  padding-left: 1.1rem;
  border-left: 1px solid rgba(139, 232, 13, 0.35);
  margin-bottom: 0.9rem;
}
.lux-points li:last-child { margin-bottom: 0; }
.lux-points strong { color: var(--text); }

.lux-tech {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--label);
  margin-top: 1.2rem;
}

.lux-link {
  font-size: 0.92rem;
  font-weight: 600;
  margin-top: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.lux-link svg { transition: transform 0.25s ease; }
.lux-link:hover svg { transform: translate(2px, -2px); }

/* ---------------- Org logos & row headers ---------------- */
.lux-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.4rem;
}
.org-logo {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  object-fit: contain;
  padding: 5px;
}
.org-logo-sm { width: 34px; height: 34px; border-radius: 9px; padding: 4px; }

/* ---------------- Project cards ---------------- */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.proj-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.proj-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 232, 13, 0.45);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}
.proj-card[hidden] { display: none; }

.proj-img {
  aspect-ratio: 16 / 8.5;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.proj-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.proj-card:hover .proj-img img { transform: scale(1.05); }

.proj-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.2rem 1.3rem 1.35rem;
}

.proj-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 0.7rem;
}
.proj-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}
.proj-metric {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(139, 232, 13, 0.09);
  border: 1px solid rgba(139, 232, 13, 0.3);
  border-radius: 999px;
  padding: 0.14rem 0.7rem;
  white-space: nowrap;
}

.proj-title {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.3;
}
.proj-card:hover .proj-title { color: var(--primary); }

.proj-desc { color: var(--muted); font-size: 0.88rem; margin-top: 0.6rem; }

.proj-card .tech-chips { margin-top: auto; padding-top: 1.1rem; }
.proj-card .lux-link { margin-top: 1rem; }

.proj-more { text-align: center; margin-top: 2.2rem; }
.proj-more .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.proj-more .chev { transition: transform 0.3s ease; }
.proj-more .btn[aria-expanded="true"] .chev { transform: rotate(180deg); }

/* ---------------- Tech chips (logo + name pills) ---------------- */
.tech-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tech-chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--label);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 0.3rem 0.7rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.tech-chips li:hover { border-color: rgba(139, 232, 13, 0.4); transform: translateY(-1px); }
.tech-chips img { display: block; }

/* ---------------- Experience: reference-style cards ---------------- */
.section-sub { color: var(--muted); font-size: 0.98rem; margin-top: 0.6rem; max-width: 580px; }

.stat-strip {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1rem;
}
.stat-strip li {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  padding: 0.55rem 1.05rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.stat-strip strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--primary);
}
.stat-strip span { color: var(--muted); font-size: 0.85rem; }

.org-strip {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2.2rem;
  padding: 0.75rem 1.4rem;
  margin-bottom: 1.6rem;
  background: rgba(18, 28, 24, 0.55);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.org-strip li {
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.exp-cards { display: flex; flex-direction: column; gap: 1.6rem; }

.exp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.6rem 1.7rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.exp-card:hover {
  border-color: rgba(139, 232, 13, 0.4);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.4);
}

.exp-top { display: flex; align-items: flex-start; gap: 1rem; }
.exp-role {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.2;
}
.exp-company { color: var(--muted); font-size: 0.95rem; margin-top: 0.15rem; }

.exp-right {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem 1.3rem;
}
.exp-right p {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.88rem;
  white-space: nowrap;
}
.exp-right svg { color: var(--label); }

.exp-mid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 1.1rem;
}
.exp-mid .metric-chips { justify-content: flex-end; max-width: 360px; margin-bottom: 0; flex: none; }

.lime-tags li {
  color: var(--primary);
  border-color: rgba(139, 232, 13, 0.35);
  background: rgba(139, 232, 13, 0.06);
  font-family: var(--font-display);
  font-size: 0.78rem;
}
.lime-tags svg { flex: none; }

.exp-card .sub-cards { margin-top: 1.2rem; }
.exp-card .sub-card { background: rgba(10, 20, 16, 0.5); }

.exp-summary { color: var(--label); font-size: 1rem; max-width: 560px; }

.metric-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
}
.metric-chips li {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(139, 232, 13, 0.09);
  border: 1px solid rgba(139, 232, 13, 0.3);
  border-radius: 999px;
  padding: 0.18rem 0.75rem;
  white-space: nowrap;
}

.exp-tags { margin-bottom: 1.2rem; }

.sub-cards { display: flex; flex-direction: column; gap: 0.9rem; }

.sub-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 1.05rem 1.2rem;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.sub-card:hover { border-color: rgba(139, 232, 13, 0.4); transform: translateY(-2px); }
.sub-card[hidden] { display: none; }

.sub-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.25rem;
}
.sub-card h4 {
  font-family: var(--font-display);
  font-size: 0.99rem;
  font-weight: 700;
  color: var(--text);
}
.sub-card p:not(.sub-eyebrow) { color: var(--muted); font-size: 0.9rem; margin-top: 0.35rem; }
.sub-card .tech-chips { margin-top: 0.75rem; }
.tech-chips.sm li { font-size: 0.75rem; padding: 0.22rem 0.6rem; }

.sub-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.9rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  padding: 0.3rem 0;
}
.sub-toggle:hover { color: var(--primary); }
.sub-toggle .chev { transition: transform 0.3s ease; }
.sub-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }

/* ---------------- About ---------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 3rem;
  align-items: start;
}

.op-profile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem 1.5rem 1.2rem;
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
}
.op-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--primary);
}
.op-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0.2rem 0 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--hairline);
}
.op-list { list-style: none; }
.op-list li {
  display: flex;
  gap: 0.9rem;
  padding: 0.95rem 0;
}
.op-list li + li { border-top: 1px solid var(--hairline); }
.op-icon {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(139, 232, 13, 0.35);
  background: rgba(139, 232, 13, 0.07);
  color: var(--primary);
}
.op-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--primary);
}
.op-head { font-weight: 700; font-size: 0.95rem; margin-top: 0.15rem; }
.op-desc { color: var(--muted); font-size: 0.86rem; margin-top: 0.2rem; }

.about-text { max-width: 720px; margin-bottom: 2.6rem; }
.about-text p { color: var(--muted); }
.about-text strong { color: var(--text); }

.facts dt, .facts dd { margin: 0; }

.fact-row { padding-block: 1.7rem; align-items: baseline; }

.fact-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--label);
}
.fact-label svg { color: var(--primary); flex: none; }

.fact-value { color: var(--muted); font-size: 0.98rem; max-width: 640px; }
.fact-value a { color: var(--text); font-weight: 600; }
.fact-value a:hover { color: var(--primary); }

.fact-note {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(139, 232, 13, 0.09);
  border: 1px solid rgba(139, 232, 13, 0.3);
  border-radius: 999px;
  padding: 0.1rem 0.65rem;
  margin-left: 0.6rem;
  white-space: nowrap;
}

/* ---------------- Mini project rows ---------------- */
.mini-row { padding-block: 1.5rem; align-items: baseline; }
.mini-title {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
}
.mini-title a {
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.mini-title a:hover { color: var(--primary); text-decoration: none; }
.mini-title svg { color: var(--primary); }
.mini-desc { color: var(--muted); font-size: 0.92rem; margin-top: 0.25rem; max-width: 640px; }

/* ---------------- Education bullet points ---------------- */
.edu-points { list-style: none; margin-top: 1rem; max-width: 640px; }
.edu-points li {
  color: var(--muted);
  font-size: 0.92rem;
  padding-left: 1.1rem;
  border-left: 1px solid rgba(139, 232, 13, 0.35);
  margin-bottom: 0.55rem;
}
.edu-points li:last-child { margin-bottom: 0; }

/* ---------------- Skills "Used in" ---------------- */
.used-in { margin-top: 1.3rem; }
.used-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.used-in ul { list-style: none; }
.used-in li {
  padding: 0.45rem 0 0.45rem 0.9rem;
  border-left: 1px solid var(--border);
  margin-bottom: 0.15rem;
}
.used-in strong { display: block; font-size: 0.88rem; color: var(--text); font-weight: 600; }
.used-in span { display: block; font-size: 0.82rem; color: var(--muted); }

/* ---------------- Skills rows ---------------- */
.skill-row { padding-block: 1.9rem; align-items: baseline; }
.skill-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
}
.skill-group svg { color: var(--primary); flex: none; }
.skill-items { color: var(--muted); font-size: 0.97rem; max-width: 640px; }

/* ---------------- Certifications rows ---------------- */
.cert-row { padding-block: 1.6rem; align-items: baseline; }
.cert-body { display: flex; align-items: center; gap: 0.9rem; }
.cert-name { font-weight: 600; font-size: 1rem; }
.cert-name a {
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.cert-name a:hover { color: var(--primary); }
.cert-name svg { color: var(--primary); }
.cert-issuer { color: var(--muted); font-size: 0.88rem; margin-top: 0.2rem; }

/* ---------------- Contact ---------------- */
.contact { text-align: center; padding-bottom: 7.5rem; }
.contact .section-head { margin-bottom: 1.6rem; }
.contact-blurb { color: var(--muted); max-width: 560px; margin: 0 auto 1.8rem; }
.contact-blurb strong { color: var(--text); }

.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  margin-bottom: 2.6rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--label);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.42rem 1rem;
}
.chip svg { color: var(--primary); }

.contact-grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  text-align: left;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.05rem 1.2rem;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.contact-card:hover {
  text-decoration: none;
  transform: translateY(-3px);
  border-color: rgba(139, 232, 13, 0.45);
  background: var(--surface-2);
}

.cc-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  flex: none;
  border: 1px solid var(--border);
  background: var(--surface-2);
}
.cc-mail { color: #f87171; }
.cc-li { color: #60a5fa; }
.cc-gh { color: var(--text); }
.cc-cal { color: var(--primary); }

.cc-text { display: flex; flex-direction: column; min-width: 0; }
.cc-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}
.cc-value {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cc-schedule { border-color: rgba(139, 232, 13, 0.5); }
.cc-schedule:hover { border-color: var(--primary); }

.footer {
  border-top: 1px solid var(--border);
  padding: 1.6rem 0;
  text-align: center;
  background: var(--bg);
}
.footer p { font-size: 0.82rem; color: var(--muted); }
.footer .credits { font-size: 0.7rem; color: rgba(156, 163, 175, 0.6); margin-top: 0.4rem; }
.footer .credits a { color: rgba(156, 163, 175, 0.8); }

/* ---------------- Scroll reveal ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .lux-row, .lux-row::after, .lux-thumb svg { transition: none; }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
  .proj-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .proj-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    z-index: 120;
  }
  .nav-toggle span {
    width: 24px; height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav-links {
    position: fixed;
    inset: 0 0 0 28%;
    flex-direction: column;
    justify-content: center;
    background: rgba(18, 28, 24, 0.98);
    backdrop-filter: blur(10px);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.6);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a:not(.btn) { font-size: 1.05rem; color: var(--text); }

  .section { padding: 4.5rem 0; }

  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .op-profile { position: static; }

  .exp-top { flex-wrap: wrap; }
  .exp-right { margin-left: 0; width: 100%; justify-content: flex-start; }
  .exp-mid { flex-direction: column; gap: 0.9rem; }
  .exp-mid .metric-chips { justify-content: flex-start; max-width: none; }
  .exp-card { padding: 1.3rem 1.2rem; }
  .org-strip { gap: 1.2rem; }

  .lux-row {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    padding-block: 2.1rem;
  }
  .lux-ghost { display: none; }
  .lux-meta { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
  .lux-metric { margin-top: 0; }
  .skill-row, .cert-row, .fact-row { gap: 0.4rem; }
  .fact-note { margin-left: 0.3rem; }
}

@media (max-width: 560px) {
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  body { font-size: 1rem; }
}
