/* ===============================
   Design Tokens
   =============================== */
:root {
  --bg: #02030a;         /* main background (near-black) */
  --surface: #050816;    /* card + surface background */
  --text: #f9fafb;
  --muted: #9ca3af;
  --line: rgba(148,163,184,0.35);
  --accent: #FF4ECD;     /* vivid magenta */
  --accent-2: #C9188D;   /* deeper magenta */
  --ring: rgba(255, 78, 205, 0.32);

  --shadow-sm: 0 16px 45px rgba(0,0,0,.65);
  --shadow:    0 24px 70px rgba(0,0,0,.8);
  --shadow-lg: 0 40px 110px rgba(0,0,0,.95);

  --radius-xl: 22px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 10px;

  --space:   clamp(16px, 2.4vw, 28px);
  --space-lg:clamp(28px, 6vw, 80px);
  --maxw: 1120px;

  --ease: cubic-bezier(.2,.6,.2,1);
  --dur: .6s;
}

/* ===============================
   Base Styles
   =============================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at top, rgba(248, 113, 255, 0.12), transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(96, 165, 250, 0.16), transparent 60%),
    radial-gradient(circle at 80% 90%, rgba(236, 72, 153, 0.18), transparent 65%),
    #02030a;
  color: var(--text);
  font: 400 16px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
a.link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
img { max-width: 100%; height: auto; display: block; }
.container { width: min(100% - 2*var(--space), var(--maxw)); margin-inline: auto; }

/* ===============================
   Page Transitions
   =============================== */
body.page-enter {
  animation: pageFadeIn 260ms ease-out;
}

body.page-exit {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 220ms ease, transform 220ms ease;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===============================
   Scroll Progress Bar
   =============================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--accent, #ff4ecd);
  z-index: 999;
  pointer-events: none;
}

/* ===============================
   Header / Nav
   =============================== */
.site-header{
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--bg) 65%, transparent);
  border-bottom: 1px solid rgba(148,163,184,0.35);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--space);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: .2px;
}
.brand-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 4px var(--ring);
}
.nav-links { display: flex; gap: clamp(14px, 2.5vw, 28px); align-items: center; }
.nav-links a {
  opacity: .82;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.nav-links a:hover {
  opacity: 1;
  text-shadow: 0 0 18px rgba(255, 78, 205, 0.55);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.4);
  background: radial-gradient(circle at 0% 0%, rgba(248,250,252,0.04), transparent 55%), var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform .08s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
  color: var(--text);
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--accent) 60%, rgba(148,163,184,0.4));
}
.btn.primary {
  background: radial-gradient(circle at 0% 0%, rgba(255,255,255,0.16), transparent 55%),
              linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #fff;
  border-color: transparent;
  box-shadow:
    0 16px 45px rgba(0,0,0,0.9),
    0 0 24px rgba(255, 78, 205, 0.5);
}
.btn.ghost{
  background: rgba(15,23,42,0.8);
  border:1px solid rgba(148,163,184,0.5);
}

/* ===============================
   Hero (Pill Liquid Glass)
   =============================== */
.hero {
  padding: var(--space-lg) var(--space) calc(var(--space-lg) - 8px);
  position: relative;
  background:
    radial-gradient(circle at 10% 0%, rgba(248, 113, 255, 0.16), transparent 55%),
    radial-gradient(circle at 80% 10%, rgba(56, 189, 248, 0.18), transparent 60%),
    linear-gradient(180deg, #020617 0%, #02030a 100%);
}
.hero-center {
  position: relative; display:grid; place-items:center; min-height:58vh;
}
.glass-wrap {
  position: relative;
  width: min(820px, 92vw);
  aspect-ratio: 3 / 1;
  display: grid;
  place-items: center;
}

/* Glass Button look, adapted to a pill (no straight sides) */
.glass-orb {
  position: absolute; inset: 0; margin: auto;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(15,23,42,0.85), rgba(15,23,42,0.6));
  backdrop-filter: blur(22px) saturate(165%) brightness(1.08);
  -webkit-backdrop-filter: blur(22px) saturate(165%) brightness(1.08);

  border: 1px solid rgba(148,163,184,0.65);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    inset 0 -10px 18px rgba(0,0,0,0.65),
    0 22px 60px rgba(0,0,0,0.9),
    0 0 26px rgba(255,78,205,0.35);
  overflow: hidden;
  animation: orbIn var(--dur) var(--ease) both;
}

/* glossy crown strip (subtle) */
.glass-orb::before {
  content: "";
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.18) 0%,
    rgba(255,255,255,0.12) 14%,
    rgba(255,255,255,0.00) 40%
  );
  mask: radial-gradient(120% 60% at 50% -10%, #000 40%, transparent 60%);
  opacity: .9;
  filter: blur(2px);
}

/* gentle magenta + cyan tint */
.glass-orb::after {
  content: "";
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background:
    radial-gradient(55% 45% at 65% 70%, rgba(255,78,205,0.26), transparent 70%),
    radial-gradient(60% 50% at 25% 20%, rgba(56,189,248,0.18), transparent 75%);
  mix-blend-mode: screen;
  opacity: .95;
}

/* entrance */
@keyframes orbIn {
  from { transform: translateY(10px) scale(.985); opacity:.94; }
  to   { transform: translateY(0)    scale(1);     opacity:1; }
}

/* Hero text */
.hero-card {
  position: relative; z-index: 1; text-align: center;
  padding: clamp(24px, 5vw, 42px) clamp(32px, 7vw, 64px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.kicker { color: var(--accent); font-weight: 700; letter-spacing: .22em; text-transform: uppercase; font-size: 11px; }
h1 {
  font-family: "Space Grotesk", Inter, ui-sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4.5vw, 52px);
  line-height: 1.1;
  margin: 0;
}
.subhead {
  color: var(--muted);
  font-size: clamp(16px, 2vw, 20px);
  margin-top: 10px;
  max-width: 50ch;
}
.hero-accent {
  height: 4px; width: 84px; background: var(--accent); border-radius: 999px;
  margin: 12px auto 0;
  box-shadow: 0 6px 28px color-mix(in srgb, var(--accent) 60%, transparent);
}
.chiprow {
  margin-top: 16px;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.chip {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15,23,42,0.82);
  border: 1px solid rgba(148,163,184,0.5);
  font-size: 13px;
  color: var(--muted);
}

/* Keep pill proportion comfortable on small screens */
@media (max-width: 640px) {
  .glass-wrap { aspect-ratio: 2.2 / 1; }
  .hero-card { padding: 24px 28px; }
}

/* ===============================
   Home scroll sections
   =============================== */
.home-section {
  padding: var(--space-lg) var(--space) var(--space-lg);
  background:
    radial-gradient(circle at 0% 0%, rgba(79, 70, 229, 0.25), transparent 55%),
    linear-gradient(180deg, #020617 0%, #02030a 100%);
  border-top: 1px solid rgba(15,23,42,1);
}

.home-section-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 3vw, 26px);
}

.home-section-header {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
  justify-content: space-between;
}

.home-kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 4px;
}

.home-heading {
  font-family: "Space Grotesk", Inter, ui-sans-serif;
  font-size: clamp(22px, 3.8vw, 32px);
  margin: 0;
}

.home-sub {
  margin: 6px 0 0;
  max-width: 52ch;
  color: var(--muted);
}

/* About preview layout on home */
.home-about-grid {
  display: grid;
  gap: clamp(18px, 3vw, 26px);
}

.home-about-text {
  display: grid;
  gap: 10px;
}

.home-about-side {
  padding: clamp(16px, 2.4vw, 22px);
  border-radius: var(--radius-xl);
  display: grid;
  gap: 6px;
  background: radial-gradient(circle at 0% 0%, rgba(248,250,252,0.02), transparent 55%),
              rgba(15,23,42,0.85);
  border: 1px solid rgba(148,163,184,0.45);
  box-shadow: var(--shadow-sm);
}
/* About page — make the Currently section a compact box */
.home-about-side {
  width: fit-content;
  max-width: 520px;
  padding: 20px 24px;
  border-radius: var(--radius-xl);
  background: rgba(15,23,42,0.96);
  border: 1px solid rgba(148,163,184,0.5);
  box-shadow:
    0 16px 45px rgba(0,0,0,0.85),
    0 0 24px rgba(255,78,205,0.14);
}

.home-mini-heading {
  font-family: "Space Grotesk", Inter, ui-sans-serif;
  font-size: 16px;
  margin: 0 0 4px;
}

.home-mini-line {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* Two-column layout on wider screens */
@media (min-width: 820px) {
  .home-about-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

/* ===============================
   Footer
   =============================== */
footer {
  padding: var(--space-lg) var(--space);
  color: var(--muted);
  background: #02030a;
}
.foot {
  border-top: 1px solid rgba(15,23,42,1);
  padding-top: var(--space);
  display: grid; gap: 14px; justify-items: center;
}

/* ===============================
   Motion prefs
   =============================== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===============================
   Work page
   =============================== */
/* Home: make work preview cards minimal (no image, no long description) */
.home-work .wthumb {
  display: none;
}

.home-work .wdesc {
  display: none;
}

/* Slightly tighten padding when used as a compact preview on home */
.home-work .wcard .wbody {
  padding-block: 12px 14px;
}

.work-hero {
  padding: var(--space-lg) var(--space) var(--space-lg);
}

.section-head {
  display: grid;
  gap: 8px;
  margin-bottom: clamp(18px, 2.5vw, 28px);
}

.work-title {
  font-family: "Space Grotesk", Inter, ui-sans-serif;
  font-size: clamp(28px, 4.8vw, 42px);
  margin: 0;
}

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

/* Filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 20px;
}

.filter {
  border: 1px solid rgba(148,163,184,0.4);
  background: rgba(15,23,42,0.85);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  cursor: pointer;
  transition: transform .06s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
  color: var(--muted);
}

.filter:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.filter.is-active {
  border-color: color-mix(in srgb, var(--accent) 60%, rgba(148,163,184,0.4));
  box-shadow: 0 0 0 3px rgba(255,78,205,.2);
  color: var(--text);
}

/* Grid – small cards side by side */
.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(14px, 2vw, 22px);
}

/* 2 cards per row on medium screens */
@media (min-width: 720px) {
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 3 cards per row on large screens */
@media (min-width: 1040px) {
  .work-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Card – small, clean + animated */
.wcard {
  border: 1px solid rgba(148,163,184,0.4);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: radial-gradient(circle at 0% 0%, rgba(248,250,252,0.03), transparent 55%),
              rgba(15,23,42,0.98);
  box-shadow: var(--shadow-sm);
  transition:
    transform 220ms var(--ease),
    box-shadow 220ms var(--ease),
    border-color 200ms var(--ease),
    opacity 220ms var(--ease),
    background 200ms var(--ease);
}

/* Scroll reveal states */
.wcard--hidden {
  opacity: 0;
  transform: translateY(18px) scale(0.98);
}

.wcard--visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.wcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--accent) 25%, rgba(148,163,184,0.4));
  background: radial-gradient(circle at 0% 0%, rgba(255,255,255,0.06), transparent 55%),
              rgba(15,23,42,1);
}

/* Thumbnail – fixed small height */
.wthumb {
  width: 100%;
  height: 140px;
  background: radial-gradient(circle at 0% 0%, rgba(248,250,252,0.04), transparent 55%),
              rgba(15,23,42,0.9);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.wthumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Card body */
.wbody {
  padding: clamp(16px, 2.2vw, 22px);
  display: grid;
  gap: 8px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.wtitle {
  font-family: "Space Grotesk", Inter, ui-sans-serif;
  font-size: clamp(18px, 2.6vw, 22px);
  margin: 0;
}

.wmeta {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

.wdesc {
  margin: 0;
  color: #e5e7eb;
}

.wactions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

/* Liquid-glass option */
.glass-card {
  background: radial-gradient(circle at 0% 0%, rgba(248,250,252,0.03), transparent 55%),
              rgba(15,23,42,0.96);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(148,163,184,0.55);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.9),
    0 0 24px rgba(255,78,205,0.16);
}

/* ===============================
   CONTACT PAGE
   =============================== */

.contact-hero{
  padding: var(--space-lg) var(--space) var(--space-lg);
}

/* Optional if you want centered title */
.contact-page-title {
  font-size: 2.3rem;
  margin-bottom: 2rem;
  text-align: center;
}

/* Top cards grid – centered above the form */
.contact-top-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 520px;
  margin: 0 auto 2.5rem;
}

/* Small contact cards */
.contact-top-grid .contact-card {
  background: rgba(10, 10, 15, 0.5);
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  transition:
    transform .12s var(--ease),
    box-shadow .2s var(--ease),
    border-color .2s var(--ease),
    background .2s var(--ease);
}

.contact-top-grid .contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--accent) 26%, rgba(148,163,184,0.45));
  background: radial-gradient(circle at 0% 0%, rgba(255,255,255,0.08), transparent 55%),
              rgba(15,23,42,1);
}

.contact-top-grid .contact-card h3 {
  margin: 0 0 0.5rem;
  font-weight: 600;
  font-family:"Space Grotesk", Inter, ui-sans-serif;
}

.contact-top-grid .contact-card p {
  margin: 0;
  color: var(--muted);
}

.contact-top-grid .contact-card a {
  color: #ff4ecd;
  text-decoration: none;
}

.contact-top-grid .contact-card a:hover {
  text-decoration: underline;
}

/* Form block */
.contact-form-wrap {
  max-width: 520px;
  margin: 0 auto;
  padding: 2rem;
  background: rgba(10, 10, 15, 0.55);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.contact-form-wrap h2 {
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
}

.contact-sub {
  margin-bottom: 1.5rem;
  color: #bcbccc;
}

/* FORM ELEMENTS */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  gap: 0.4rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1rem;
}

.contact-form textarea {
  height: 140px;
  resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #ff4ecd;
}

/* BUTTON */
.contact-button {
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  border: none;
  background: #ff4ecd;
  color: #0a0710;
  cursor: pointer;
  font-weight: 600;
}

.contact-button:hover {
  transform: translateY(-1px);
  transition: 0.2s ease;
}

/* ===============================
   About page
   =============================== */
.about{
  padding: var(--space-lg) var(--space) var(--space-lg);
}

.about-hero{
  margin-bottom: clamp(18px, 2.6vw, 34px);
}
/* ORIGINAL — About page hero pill */
.glass-pill{
  position: relative;
  display: grid;
  gap: clamp(16px, 2vw, 24px);
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  border-radius: 999px;
  padding: clamp(18px, 3.2vw, 32px) clamp(22px, 3.6vw, 40px);

  background: radial-gradient(circle at 0% 0%, rgba(248,250,252,0.04), transparent 55%),
              rgba(15,23,42,0.96);
  border: 1px solid rgba(148,163,184,0.65);
  backdrop-filter: blur(22px) saturate(160%) brightness(1.06);
  -webkit-backdrop-filter: blur(22px) saturate(160%) brightness(1.06);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.07),
    inset 0 -10px 18px rgba(0,0,0,0.6),
    0 16px 44px rgba(0,0,0,0.9),
    0 0 18px rgba(255,78,205,0.28);
}

.currently-card {
  width: fit-content;
  max-width: 560px;
  padding: 20px 24px;
  border-radius: var(--radius-xl);
  background: rgba(15,23,42,0.96);
  border: 1px solid rgba(148,163,184,0.5);
  box-shadow:
    0 16px 45px rgba(0,0,0,0.85),
    0 0 24px rgba(255,78,205,0.14);
  display: grid;
  gap: 8px;
}
/* About page – make the Currently card a compact box */
.about-hero .home-about-side {
  max-width: 560px;
  margin-top: 24px;
}

.about-text{ display:grid; gap:10px; }
.about-title{
  font-family:"Space Grotesk", Inter, ui-sans-serif;
  margin:0;
  font-size:clamp(24px,4.8vw,40px);
}
.about-sub{
  color: var(--muted);
  margin:0;
  max-width: 70ch;
}
.about-cta{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 6px; }

.about-photo{
  display:grid; place-items:center;
  background: radial-gradient(circle at 0% 0%, rgba(248,250,252,0.08), transparent 55%),
              #020617;
  border-radius: 28px;
  border:1px solid rgba(148,163,184,0.65);
  padding: clamp(8px, 1.6vw, 14px);
  box-shadow: var(--shadow-sm);
}
.about-photo img{
  border-radius: 22px;
  width:100%;
  height:auto;
  object-fit:cover;
}

@media (max-width: 900px){
  .glass-pill{ grid-template-columns: 1fr; border-radius: 32px; }
}

/* Sections */
.about-section{ margin-top: clamp(24px, 4vw, 46px); }
.sec-title{
  font-family:"Space Grotesk", Inter, ui-sans-serif;
  margin:0 0 10px;
  font-size: clamp(20px, 3.6vw, 28px);
}

/* Skills grid */
.skills-grid{
  display:grid; gap: clamp(12px, 2vw, 18px);
  grid-template-columns: 1fr;
}
.card{
  border-radius: var(--radius-xl);
  border:1px solid rgba(148,163,184,0.45);
  background: radial-gradient(circle at 0% 0%, rgba(248,250,252,0.03), transparent 55%),
              rgba(15,23,42,0.96);
  box-shadow: var(--shadow-sm);
  padding: clamp(14px, 2vw, 20px);
}
.card h3{
  margin:0 0 8px;
  font-size: 16px;
  font-weight:700;
}
.list{ margin:0; padding-left: 18px; }
.list li{
  margin: 6px 0;
  color: #e5e7eb;
}

/* Chips */
.chiplist{
  display:flex; gap:10px; flex-wrap:wrap; padding:0; margin:0; list-style:none;
}
.chiplist .chip{
  background:rgba(15,23,42,0.95);
  border:1px solid rgba(148,163,184,0.55);
}

/* Values */
.values{
  display:grid;
  gap: clamp(12px, 2vw, 18px);
  grid-template-columns: 1fr;
}
.value{
  padding: clamp(14px, 2vw, 20px);
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at 0% 0%, rgba(248,250,252,0.03), transparent 55%),
              rgba(15,23,42,0.96);
  border:1px solid rgba(148,163,184,0.45);
}
.value h3{ margin:0 0 6px; }

/* Timeline */
.timeline{
  list-style:none; padding:0; margin:0;
  display:grid; gap: 14px;
  border-left: 2px solid rgba(148,163,184,0.6);
  padding-left: 16px;
}
.timeline li{ position:relative; }
.timeline li::before{
  content:""; position:absolute; left:-10px; top:6px;
  width:10px; height:10px; border-radius:50%;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  box-shadow: 0 0 0 4px rgba(255,78,205,.3);
}
.timeline .time{
  font-weight:700;
  font-size: 13px;
  color: var(--muted);
}
.timeline .t-body h4{
  margin:2px 0 4px;
  font-size: 16px;
}
.timeline .t-body p{
  margin:0;
  color:#e5e7eb;
}

/* Responsive grids */
@media (min-width: 860px){
  .skills-grid{ grid-template-columns: 1fr 1fr 1fr; }
  .values{ grid-template-columns: 1fr 1fr 1fr; }
}

/* ===============================
   Assignment / Project Gallery
   =============================== */
.assignment-gallery {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.gallery-item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  padding: 0;
  border-radius: 1rem;
  background: radial-gradient(circle at 0% 0%, rgba(248,250,252,0.03), transparent 55%),
              rgba(15,23,42,0.96);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(148,163,184,0.5);
  transition: transform .12s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}

.gallery-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Placeholder for when you don't have a screenshot yet */
.gallery-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
  color: var(--muted);
  background: radial-gradient(circle at 0% 0%, rgba(248,250,252,0.05), transparent 55%),
              rgba(15,23,42,0.9);
}

.gallery-info {
  padding: 1rem 1.1rem 1.1rem 1.1rem;
}

.gallery-info h2 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.gallery-meta {
  font-size: 0.8rem;
  opacity: 0.8;
  color: var(--muted);
}

/* Hover effect for tiles */
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--accent) 28%, rgba(148,163,184,0.5));
}

/* Project gallery groups */
.project-gallery {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.gallery-group h2 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

.pdf-viewer {
  width: 100%;
  height: 480px;
  border: none;
  border-radius: 1rem;
}

/* Video player */
.video-player {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 1rem;
  display: block;
}

/* Minor perf hint */
.hero,
.home-section {
  will-change: transform;
}

/* ===============================
   Custom Magenta Cursor
   =============================== */

/* Hide the default cursor on desktop */
@media (pointer: fine) {
  body {
    cursor: none;
  }

  a,
  button,
  .btn,
  .gallery-item,
  .wcard,
  .contact-card {
    cursor: none;
  }
}

/* Shared cursor base styles */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}

/* Inner dot */
.cursor-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(255, 78, 205, 0.8);
  opacity: 0;
  transition:
    opacity 0.2s ease,
    transform 0.12s ease;
}

/* Outer glow ring */
.cursor-ring {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 78, 205, 0.6);
  box-shadow:
    0 0 24px rgba(255, 78, 205, 0.35),
    0 0 60px rgba(255, 78, 205, 0.12);
  mix-blend-mode: screen;
  opacity: 0;
  transition:
    opacity 0.25s ease,
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

/* Show cursor when active */
body.cursor-active .cursor-dot,
body.cursor-active .cursor-ring {
  opacity: 1;
}

/* Hover state for interactive elements (scale + brighter ring) */
body.cursor-hover .cursor-dot {
  transform: translate(-50%, -50%) scale(1.6);
}

body.cursor-hover .cursor-ring {
  transform: translate(-50%, -50%) scale(1.25);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 0 30px rgba(255, 255, 255, 0.8),
    0 0 76px rgba(255, 78, 205, 0.65);
}
<form
  name="contact"
  method="POST"
  data-netlify="true"
  class="contact-form"
>
  <input type="hidden" name="form-name" value="contact">

  <label>
    Name
    <input type="text" name="name" required>
  </label>

  <label>
    Email
    <input type="email" name="email" required>
  </label>

  <label>
    Message
    <textarea name="message" required></textarea>
  </label>

  <button type="submit" class="contact-button">Send Message</button>
</form>