:root {
  --bg: #020617;
  --bg-alt: #050816;
  --card: #091122;
  --border-soft: rgba(148, 163, 184, 0.22);

  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.18);
  --accent-2: #a855f7;
  --accent-3: #22c55e;

  --text-main: #e5e7eb;
  --text-muted: #9ca3af;

  --radius-lg: 1.5rem;
  --radius-md: 1rem;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.92);
  --shadow-glow: 0 0 30px rgba(56, 189, 248, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  background: radial-gradient(circle at top, #182647 0, #081225 38%, #020617 100%);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

.section {
  position: relative;
  padding: 8rem min(8vw, 8rem);
  overflow: hidden;
}

.section-alt {
  background: radial-gradient(circle at top left, #071121 0, #030713 55%, #000 100%);
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.06), transparent 60%);
  pointer-events: none;
}

.section-alt::before {
  background: radial-gradient(circle at bottom left, rgba(168, 85, 247, 0.08), transparent 60%);
}

.section-header {
  text-align: center;
  margin-bottom: 4.6rem;
  position: relative;
  z-index: 2;
}

.section-header h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 3.6rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.2rem;
}

.section-header p {
  font-size: 1.65rem;
  color: var(--text-muted);
  max-width: 78rem;
  margin: 0 auto;
  line-height: 1.8;
}

.section-tag,
.role-label,
.mini-label,
.internship-label {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-3);
  margin-bottom: 1rem;
  display: inline-block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem min(8vw, 8rem);
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.96),
    rgba(15, 23, 42, 0.78),
    transparent
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.logo-wrap {
  text-decoration: none;
}

.logo-mark {
  width: 4rem;
  height: 4rem;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #07111f;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  box-shadow: 0 0 26px rgba(56, 189, 248, 0.5);
}

.nav {
  display: flex;
  gap: 1.8rem;
  align-items: center;
}

.nav-link {
  font-size: 1.3rem;
  color: var(--text-muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 3.2rem;
  height: 3.2rem;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 0.45rem;
}

.nav-toggle span {
  display: block;
  width: 2.2rem;
  height: 2px;
  border-radius: 999px;
  background: var(--text-main);
  transition: 0.25s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* HERO */
.hero-section {
  min-height: 95vh;
  display: flex;
  align-items: center;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 85%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.eyebrow {
  font-size: 1.35rem;
  color: var(--accent-3);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 1.4rem;
}

.hero h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(4rem, 5vw, 6rem);
  line-height: 1.08;
  margin-bottom: 1.4rem;
}

.accent {
  color: var(--accent);
}

.hero-sub {
  font-size: 2.1rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1.8rem;
}

.hero-body {
  font-size: 1.75rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 63rem;
  margin-bottom: 2.2rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.2rem;
}

.pill,
.skill-chip {
  font-size: 1.25rem;
  padding: 0.55rem 1.35rem;
  border-radius: 999px;
  border: 1px solid var(--accent-soft);
  background: rgba(8, 15, 29, 0.92);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.08);
}

.hero-actions,
.resume-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.15rem 2.2rem;
  border-radius: 999px;
  font-size: 1.45rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: 0.25s ease;
}

.btn-primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #06101e;
  box-shadow: 0 15px 35px rgba(56, 189, 248, 0.28);
}

.btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.82);
  color: var(--text-main);
  border-color: rgba(148, 163, 184, 0.35);
}

.btn-ghost:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.hero-social {
  display: flex;
  gap: 1rem;
}

.hero-social a {
  width: 3.6rem;
  height: 3.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: var(--accent);
  font-size: 1.7rem;
  text-decoration: none;
}

.hero-social a:hover {
  border-color: var(--accent-2);
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.4);
}

.hero-photo-wrap {
  position: relative;
  width: min(31rem, 72vw);
  aspect-ratio: 3 / 4;
  margin-inline: auto;
  border-radius: 2.4rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.92);
  animation: heroFloat 6s ease-in-out infinite;
}

.hero-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-orbit {
  position: absolute;
  inset: 12%;
  border-radius: 999px;
  border: 2px dashed rgba(148, 163, 184, 0.35);
  animation: orbit 18s linear infinite;
}

.hero-orbit--small {
  inset: 28%;
  border-color: rgba(56, 189, 248, 0.5);
  animation-duration: 28s;
}

.hero-stat-card {
  margin-top: 2rem;
  padding: 1.8rem 2rem;
  background: radial-gradient(circle at top, #0b1220, #07101f);
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: var(--shadow-soft);
  max-width: 40rem;
  margin-inline: auto;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--accent-3);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.stat-main {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.stat-sub {
  font-size: 1.4rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.hero-scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 1.8rem;
  transform: translateX(-50%);
  font-size: 1.15rem;
  color: rgba(148, 163, 184, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

/* GENERIC CARDS */
.card {
  background: radial-gradient(circle at top left, #0b1220, #06101e);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 2.6rem;
}

.card h3,
.card h4 {
  font-family: "Space Grotesk", sans-serif;
}

.card p,
.card li,
.contact-card a,
.course-meta,
.edu-meta,
.exp-date,
.role-meta,
.internship-meta {
  font-size: 1.55rem;
  line-height: 1.8;
}

.course-meta,
.edu-meta,
.exp-date,
.role-meta,
.internship-meta {
  display: block;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* ABOUT */
.about-section .section-header {
  margin-bottom: 4.4rem;
}

.about-shell {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.2rem;
  position: relative;
  z-index: 2;
}

.about-story-card,
.about-growth-card {
  min-height: 100%;
}

.about-story-card {
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), transparent 35%),
    linear-gradient(145deg, #0b1220, #07101c);
  border-color: rgba(56, 189, 248, 0.16);
}

.about-growth-card {
  background:
    radial-gradient(circle at top right, rgba(168, 85, 247, 0.13), transparent 35%),
    linear-gradient(145deg, #0b1220, #07101c);
  border-color: rgba(168, 85, 247, 0.16);
}

.about-story-card h3,
.about-growth-card h3 {
  font-size: 2.6rem;
  margin-bottom: 1rem;
}

.about-story-card p,
.about-growth-card p {
  color: var(--text-main);
  margin-bottom: 1.2rem;
}

.about-quote {
  margin-top: 1.8rem;
  padding: 1.8rem;
  border-left: 3px solid var(--accent);
  background: rgba(56, 189, 248, 0.06);
  border-radius: 0 1.2rem 1.2rem 0;
}

.about-quote p {
  margin-bottom: 0;
}

.about-photo-wrap {
  grid-column: 1 / -1;
  max-width: 52rem;
  margin: 0 auto;
}

.about-photo-frame {
  border-radius: 1.8rem;
  overflow: hidden;
}

.about-photo-frame img {
  width: 100%;
  height: 30rem;
  object-fit: cover;
}

.about-photo-wrap .caption {
  margin-top: 1rem;
  text-align: center;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .about-shell {
    grid-template-columns: 1fr;
  }

  .about-photo-wrap {
    grid-column: auto;
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .about-photo-frame img {
    height: 24rem;
  }
}

/* RESUME */
.resume-shell {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.4rem;
  position: relative;
  z-index: 2;
}

.resume-summary-card {
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), transparent 35%),
    linear-gradient(145deg, #0b1220, #07101c);
}

.resume-summary-card h3 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.resume-summary-card p {
  color: var(--text-main);
}

.resume-stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.mini-stat {
  padding: 1.4rem 1.2rem;
  border-radius: 1rem;
  background: rgba(56, 189, 248, 0.06);
  border: 1px solid rgba(56, 189, 248, 0.12);
}

.mini-stat-label {
  display: block;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-3);
  margin-bottom: 0.6rem;
}

.mini-stat-value {
  display: block;
  font-size: 1.35rem;
  font-weight: 600;
}

.resume-viewer-card {
  overflow: hidden;
}

.pdf-frame {
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  background: #020617;
}

.pdf-frame embed {
  width: 100%;
  height: 55rem; /* reduced from 78 */
  display: block;
}

/* fix spacing between stacked PDFs */
.cyse-card .pdf-frame {
  margin-top: 1.5rem;
}

/* remove extra bottom space */
.cyse-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* SKILLS */
.skills-shell {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.skill-feature-card h3 {
  font-size: 2.3rem;
  margin-bottom: 1rem;
}

.skill-feature-card ul {
  list-style: none;
}

.skill-feature-card li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.8rem;
}

.skill-feature-card li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--accent-2);
}

.skill-feature-card--cyan {
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.16), transparent 35%),
    linear-gradient(145deg, #0b1220, #07101c);
  border-color: rgba(56, 189, 248, 0.18);
}

.skill-feature-card--purple {
  background:
    radial-gradient(circle at top right, rgba(168, 85, 247, 0.16), transparent 35%),
    linear-gradient(145deg, #0b1220, #07101c);
  border-color: rgba(168, 85, 247, 0.18);
}

.skill-feature-card--green {
  background:
    radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.12), transparent 35%),
    linear-gradient(145deg, #0b1220, #07101c);
  border-color: rgba(34, 197, 94, 0.18);
}

.skills-band {
  margin-top: 2.4rem;
  padding: 2.3rem 2.4rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at left center, rgba(56, 189, 248, 0.08), transparent 25%),
    linear-gradient(145deg, #0a1220, #07101c);
  border: 1px solid rgba(56, 189, 248, 0.16);
  position: relative;
  z-index: 2;
}

.skills-band h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.2rem;
  margin-bottom: 1.4rem;
}

.chip-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* EDUCATION */
.education-shell {
  position: relative;
  max-width: 100rem;
  margin: 0 auto;
  padding: 1rem 0;
}

.education-shell::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    rgba(56, 189, 248, 0.08),
    rgba(56, 189, 248, 0.5),
    rgba(168, 85, 247, 0.35),
    rgba(56, 189, 248, 0.08)
  );
}

.edu-panel {
  position: relative;
  width: 50%;
  padding: 0 2rem 2.4rem;
}

.edu-panel--left {
  left: 0;
}

.edu-panel--right {
  left: 50%;
}

.edu-dot {
  position: absolute;
  top: 2.6rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  background: radial-gradient(circle, var(--accent), var(--accent-2));
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.55);
}

.edu-panel--left .edu-dot {
  right: -0.8rem;
}

.edu-panel--right .edu-dot {
  left: -0.8rem;
}

.edu-card {
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.1), transparent 35%),
    linear-gradient(145deg, #0b1220, #07101c);
}

.edu-card h3 {
  font-size: 2.4rem;
  margin-bottom: 0.8rem;
}

/* EXPERIENCE */
.experience-shell {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.timeline-card {
  min-height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.timeline-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft), var(--shadow-glow);
}

.timeline-card--primary {
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.16), transparent 35%),
    linear-gradient(145deg, #0b1220, #07101c);
  border-color: rgba(56, 189, 248, 0.18);
}

.timeline-card h3 {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
}

/* CURRENT ROLE */
.current-role-section .section-header {
  margin-bottom: 5rem;
}

.current-role-shell {
  position: relative;
  z-index: 2;
}

.current-role-top {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 2.4rem;
  margin-bottom: 2.4rem;
}

.role-hero-card,
.role-highlight-card,
.role-mini-card,
.role-reflection-band {
  position: relative;
  overflow: hidden;
}

.role-hero-card {
  padding: 3rem;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.14), transparent 35%),
    radial-gradient(circle at bottom right, rgba(168, 85, 247, 0.12), transparent 40%),
    linear-gradient(145deg, #0b1220, #08101d);
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.role-hero-card::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.14), transparent 70%);
  pointer-events: none;
}

.role-hero-card h3 {
  font-size: 3rem;
  margin-bottom: 0.8rem;
}

.role-meta {
  font-size: 1.45rem;
  margin-bottom: 1.6rem;
}

.role-hero-copy {
  font-size: 1.65rem;
  line-height: 1.8;
  color: var(--text-main);
  max-width: 62rem;
}

.role-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.role-highlight-card {
  padding: 2.8rem;
  background:
    radial-gradient(circle at top right, rgba(168, 85, 247, 0.12), transparent 35%),
    linear-gradient(145deg, #0a1220, #07101c);
  border: 1px solid rgba(168, 85, 247, 0.18);
}

.role-highlight-card h3 {
  font-size: 2.4rem;
  margin-bottom: 1.6rem;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  margin-bottom: 1rem;
  font-size: 1.55rem;
  position: relative;
  padding-left: 1.7rem;
}

.feature-list li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--accent-2);
}

.current-role-mid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-bottom: 2.4rem;
}

.role-mini-card {
  min-height: 100%;
  background: linear-gradient(145deg, #0b1220, #07101b);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.role-mini-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.28);
  box-shadow:
    0 18px 45px rgba(15, 23, 42, 0.92),
    0 0 20px rgba(56, 189, 248, 0.12);
}

.role-mini-card h4 {
  font-size: 1.95rem;
  margin-bottom: 1rem;
}

.role-reflection-band {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2.8rem 3rem;
  background:
    radial-gradient(circle at left center, rgba(56, 189, 248, 0.1), transparent 30%),
    linear-gradient(145deg, #0a1220, #07101c);
  border: 1px solid rgba(56, 189, 248, 0.18);
}

.role-reflection-band h3 {
  font-size: 2.4rem;
}

.reflection-right p {
  font-size: 1.58rem;
  line-height: 1.85;
}

/* PAST INTERNSHIP */
.internship-shell {
  position: relative;
  z-index: 2;
}

.internship-top {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.internship-story-card {
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.13), transparent 35%),
    linear-gradient(145deg, #0b1220, #07101c);
}

.internship-story-card h3,
.internship-growth-card h3,
.internship-focus-card h4 {
  font-size: 2.4rem;
  margin-bottom: 0.9rem;
}

.internship-growth-card {
  background:
    radial-gradient(circle at top right, rgba(168, 85, 247, 0.12), transparent 35%),
    linear-gradient(145deg, #0b1220, #07101c);
}

.internship-copy {
  font-size: 1.6rem;
  line-height: 1.85;
}

.internship-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.6rem;
  margin-bottom: 2rem;
}

.internship-photo-card {
  position: relative;
  border-radius: 1.4rem;
  padding: 0.4rem;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.28), #020617 70%);
}

.internship-photo-card img {
  width: 100%;
  height: 22rem;
  object-fit: cover;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-soft);
  transition: 0.3s ease;
}

.internship-photo-card figcaption {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-top: 0.9rem;
}

.internship-photo-card:hover img {
  transform: translateY(-4px) scale(1.02);
}

.internship-bottom {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.internship-focus-card {
  background: linear-gradient(145deg, #0b1220, #07101c);
}

/* IDS */
.ids-shell {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.ids-editorial-card,
.ids-reflection-card {
  min-height: 100%;
}

.ids-editorial-card {
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.11), transparent 35%),
    linear-gradient(145deg, #0b1220, #07101c);
}

.ids-editorial-card--accent {
  background:
    radial-gradient(circle at top right, rgba(168, 85, 247, 0.13), transparent 35%),
    linear-gradient(145deg, #0b1220, #07101c);
}

.ids-reflection-card {
  background:
    radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.08), transparent 35%),
    linear-gradient(145deg, #0b1220, #07101c);
}

.ids-shell h3 {
  font-size: 2.3rem;
  margin-bottom: 1rem;
}

/* COURSEWORK */
.coursework-shell {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.course-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft), var(--shadow-glow);
}

.course-card h3 {
  font-size: 2.2rem;
  margin-bottom: 0.7rem;
}

.course-card--cyan {
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.14), transparent 35%),
    linear-gradient(145deg, #0b1220, #07101c);
}

.course-card--purple {
  background:
    radial-gradient(circle at top right, rgba(168, 85, 247, 0.14), transparent 35%),
    linear-gradient(145deg, #0b1220, #07101c);
}

.course-card--green {
  background:
    radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.1), transparent 35%),
    linear-gradient(145deg, #0b1220, #07101c);
}

/* CONTACT */
.contact-shell {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.contact-feature-card {
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), transparent 35%),
    linear-gradient(145deg, #0b1220, #07101c);
}

.contact-feature-card h3 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-card h3 {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.contact-card a {
  color: var(--accent);
  text-decoration: none;
  word-break: break-word;
}

.contact-card a:hover {
  text-decoration: underline;
}

.contact-icon {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

/* FOOTER / ANIMATION */
.site-footer {
  padding: 2.6rem min(8vw, 8rem);
  text-align: center;
  font-size: 1.35rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  background: #020617;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes orbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0) scale(1.01); }
  50% { transform: translateY(-6px) scale(1.01); }
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .nav {
    gap: 1.3rem;
  }

  .nav-link {
    font-size: 1.15rem;
  }

  .contact-shell {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1100px) {
  .current-role-top,
  .internship-top,
  .resume-shell,
  .about-shell,
  .skills-shell,
  .experience-shell,
  .ids-shell,
  .coursework-shell,
  .internship-bottom,
  .current-role-mid,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .role-reflection-band {
    grid-template-columns: 1fr;
  }

  .education-shell::before {
    left: 1.1rem;
    transform: none;
  }

  .edu-panel,
  .edu-panel--left,
  .edu-panel--right {
    width: 100%;
    left: 0;
    padding-left: 3.5rem;
    padding-right: 0;
  }

  .edu-panel--left .edu-dot,
  .edu-panel--right .edu-dot {
    left: 0.3rem;
    right: auto;
  }
}

@media (max-width: 980px) {
  .hero-inner,
  .internship-gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 6rem;
  }

  .hero-visual {
    order: -1;
  }

  .nav {
    position: fixed;
    top: 6rem;
    left: 1.6rem;
    right: 1.6rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4rem;
    background: rgba(15, 23, 42, 0.98);
    padding: 1.8rem;
    border-radius: 1.6rem;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.96);
    transform: translateY(-140%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-scroll-hint {
    display: none;
  }

  .internship-photo-card img {
    height: 26rem;
  }

  .resume-stat-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  html {
    font-size: 58%;
  }

  .section {
    padding: 6.4rem 1.8rem;
  }

  .site-header {
    padding-inline: 1.8rem;
  }

  .card,
  .role-hero-card,
  .role-highlight-card,
  .role-mini-card,
  .role-reflection-band {
    padding: 2rem;
  }

  .hero h1 {
    font-size: 3.8rem;
  }

  .hero-sub {
    font-size: 1.8rem;
  }

  .hero-body,
  .section-header p,
  .card p,
  .card li,
  .contact-card a,
  .course-meta,
  .edu-meta,
  .exp-date,
  .role-meta,
  .internship-meta {
    font-size: 1.45rem;
  }

  .pdf-frame embed {
    height: 54rem;
  }
}

/* ABOUT BACKGROUND IMAGE */
.about-bg {
  position: relative;
  background: url("computer.jpg") center/cover no-repeat;
  overflow: hidden;
}

/* dark overlay so text is readable */
.about-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(2, 6, 23, 0.92),
      rgba(2, 6, 23, 0.88)
    ),
    radial-gradient(
      circle at top,
      rgba(56, 189, 248, 0.08),
      transparent 60%
    );
  z-index: 0;
}

/* keep content above overlay */
.about-bg .section-header,
.about-bg .about-shell {
  position: relative;
  z-index: 2;
}

/* CYSE BUTTON */
.btn-cyse {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.15rem 2.2rem;
  border-radius: 999px;
  font-size: 1.45rem;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(120deg, #22c55e, #38bdf8);
  color: #06101e;
  box-shadow: 0 15px 35px rgba(34, 197, 94, 0.35);
  transition: 0.25s ease;
}

.btn-cyse:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

/* CYSE SECTION */
.cyse-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.cyse-card h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* Make PDFs slightly smaller than resume for better layout */
.cyse-card .pdf-frame embed {
  height: 50rem;
}

/* Mobile fix */
@media (max-width: 900px) {
  .cyse-grid {
    grid-template-columns: 1fr;
  }

  .cyse-card .pdf-frame embed {
    height: 60rem;
  }
}

/* IMAGE FRAME (matches your theme) */
.image-frame {
  margin-top: 1.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background: #020617;
  box-shadow: var(--shadow-soft);
}

/* image styling */
.image-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* hover effect */
.image-frame:hover {
  box-shadow:
    var(--shadow-soft),
    0 0 25px rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.35);
  transition: 0.25s ease;
}

.artifact-subtext {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 1.4rem;
}

.artifact-list {
  margin-top: 1rem;
  padding-left: 1.5rem;
  color: var(--text-main);
}

.artifact-list li {
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}
