/* =========================================================
   PRATIK SHINDE — PREMIUM PORTFOLIO
   Dark editorial / futuristic engineering aesthetic
   ========================================================= */

:root {
  --bg: #05070a;
  --bg-2: #080c12;
  --panel: rgba(13, 19, 27, .72);
  --panel-solid: #0d131b;
  --text: #f2f7fb;
  --muted: #8e9aa8;
  --muted-2: #5e6976;
  --line: rgba(154, 181, 201, .16);
  --cyan: #70e6ff;
  --cyan-2: #21b7dd;
  --blue: #6f7dff;
  --green: #79f0b0;
  --max: 1220px;
  --radius: 22px;
  --ease: cubic-bezier(.2,.75,.2,1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 75% 12%, rgba(49, 105, 137, .13), transparent 27rem),
    radial-gradient(circle at 15% 58%, rgba(76, 67, 160, .09), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: "Manrope", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { max-width: 100%; display: block; }

::selection { color: #041016; background: var(--cyan); }

.container {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 140px 0;
  overflow: hidden;
}

.section-light {
  background:
    linear-gradient(180deg, rgba(255,255,255,.018), rgba(255,255,255,.006)),
    #070a0f;
  border-block: 1px solid rgba(255,255,255,.045);
}

/* Grain / atmospheric layer */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  z-index: 0;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(83, 218, 255, .08), transparent 65%);
  filter: blur(12px);
}

.scroll-progress {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  box-shadow: 0 0 18px rgba(112,230,255,.65);
}

/* ================= HEADER ================= */

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  padding: 18px 0;
  transition: .45s var(--ease);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: rgba(4,7,10,.72);
  border-bottom: 1px solid rgba(255,255,255,.07);
  backdrop-filter: blur(18px);
  transition: .45s var(--ease);
}

.site-header.scrolled { padding: 11px 0; }
.site-header.scrolled::after { opacity: 1; }

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
  font-weight: 700;
  letter-spacing: -.02em;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(112,230,255,.45);
  border-radius: 10px;
  color: var(--cyan);
  background: rgba(112,230,255,.07);
  font: 500 12px "DM Mono", monospace;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 27px;
  list-style: none;
}

.nav-links a {
  position: relative;
  padding: 6px 0;
  color: #aab5c1;
  font-size: 13px;
  font-weight: 600;
  transition: .3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--cyan);
  transition: .3s var(--ease);
}

.nav-links a:hover,
.nav-links a.active { color: #fff; }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); transform-origin: left; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border: 1px solid rgba(112,230,255,.24);
  border-radius: 100px;
  color: #d9f8ff;
  background: rgba(112,230,255,.05);
  font-size: 12px;
  font-weight: 700;
  transition: .3s ease;
}

.nav-cta:hover { border-color: rgba(112,230,255,.65); background: rgba(112,230,255,.09); }
.nav-cta span { color: var(--cyan); }

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.03);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 15px;
  height: 1px;
  margin: 4px auto;
  background: currentColor;
}

/* ================= HERO ================= */

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 150px;
  padding-bottom: 90px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .32;
  background-image:
    linear-gradient(rgba(100,160,190,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100,160,190,.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 92%);
}

.hero-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 55% 45%, transparent 0, var(--bg) 72%);
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(112,230,255,.08);
  border-radius: 50%;
  transform: rotate(-23deg);
  pointer-events: none;
}

.orbit-one { width: 700px; height: 250px; right: -160px; top: 18%; }
.orbit-two { width: 900px; height: 330px; right: -230px; top: 13%; opacity: .5; }

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 80px;
  align-items: center;
}

.hero-copy { max-width: 720px; }

.eyebrow,
.kicker,
.card-index {
  color: var(--cyan);
  font: 500 11px/1.4 "DM Mono", monospace;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 28px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(121,240,176,.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(121,240,176,0); }
  100% { box-shadow: 0 0 0 0 rgba(121,240,176,0); }
}

.hero h1 {
  max-width: 850px;
  font-size: clamp(52px, 6.3vw, 91px);
  line-height: .99;
  letter-spacing: -.065em;
  font-weight: 800;
}

.hero h1 span,
.section-heading h2 span,
.contact-content h2 span,
.project-main h3 span {
  color: transparent;
  background: linear-gradient(100deg, #fff 5%, var(--cyan) 55%, #9a9dff 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-lead {
  max-width: 660px;
  margin: 30px 0 34px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 49px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.button-primary {
  color: #031016;
  background: var(--cyan);
  box-shadow: 0 10px 35px rgba(112,230,255,.12);
}

.button-primary:hover { box-shadow: 0 14px 50px rgba(112,230,255,.22); }

.button-ghost {
  color: #e7edf3;
  border-color: var(--line);
  background: rgba(255,255,255,.025);
}

.button-ghost:hover { border-color: rgba(112,230,255,.38); background: rgba(112,230,255,.05); }

.button span { margin-left: 10px; }

.hero-meta {
  display: flex;
  gap: 34px;
  margin-top: 58px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.hero-meta div { display: grid; gap: 3px; }
.hero-meta strong { font-size: 13px; }
.hero-meta span { color: var(--muted-2); font: 10px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .08em; }

.hero-visual {
  position: relative;
  min-height: 510px;
  display: grid;
  place-items: center;
}

.terminal-card {
  width: min(100%, 510px);
  overflow: hidden;
  border: 1px solid rgba(132,184,207,.19);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(17,28,38,.88), rgba(7,12,17,.9));
  box-shadow:
    0 35px 90px rgba(0,0,0,.4),
    inset 0 1px rgba(255,255,255,.04),
    0 0 80px rgba(54,174,208,.06);
  transition: transform .4s var(--ease);
}

.terminal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 17px;
  border-bottom: 1px solid var(--line);
  color: #607080;
  font: 10px "DM Mono", monospace;
}

.terminal-dots { display: flex; gap: 5px; }
.terminal-dots i { width: 7px; height: 7px; border-radius: 50%; background: #34404b; }

.terminal-body { padding: 31px; font: 12px/1.8 "DM Mono", monospace; }
.terminal-body > p { color: #9aa8b4; margin-bottom: 4px; }
.syntax-muted { color: var(--cyan); }

.terminal-body h2 {
  margin: 0 0 25px;
  font: 600 29px/1.2 "Manrope", sans-serif;
  letter-spacing: -.04em;
}

.stack-line {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 10px 0 25px;
}

.stack-line span,
.chip-row span {
  padding: 5px 8px;
  border: 1px solid rgba(112,230,255,.14);
  border-radius: 7px;
  color: #b7e9f5;
  background: rgba(112,230,255,.035);
  font-size: 10px;
}

.direction {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 9px 0 27px;
  color: #eaf3f8;
  font-size: 11px;
}

.direction b { color: var(--cyan); font-size: 18px; }

.terminal-status {
  padding-top: 17px;
  border-top: 1px dashed rgba(255,255,255,.1);
  color: var(--green);
  font-size: 10px;
}

.status-light {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(9,14,20,.82);
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
  backdrop-filter: blur(14px);
}

.floating-card b,
.floating-card small { display: block; }
.floating-card b { font-size: 11px; }
.floating-card small { color: var(--muted-2); font: 9px "DM Mono", monospace; }
.mini-icon { color: var(--cyan); font-size: 18px; }

.float-one { top: 15%; left: -2%; animation: float 5s ease-in-out infinite; }
.float-two { right: -2%; bottom: 14%; animation: float 6s ease-in-out infinite reverse; }

@keyframes float {
  50% { transform: translateY(-10px); }
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 13px;
  transform: translateX(-50%);
  color: #5c6874;
  font: 9px "DM Mono", monospace;
  letter-spacing: .16em;
}

.scroll-cue i {
  position: relative;
  display: block;
  width: 34px;
  height: 1px;
  background: #52606c;
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  right: 0;
  top: -2px;
  width: 5px;
  height: 5px;
  border-right: 1px solid var(--cyan);
  border-bottom: 1px solid var(--cyan);
  transform: rotate(-45deg);
}

/* ================= SHARED SECTION HEADINGS ================= */

.section-label {
  padding-top: 8px;
  color: var(--muted-2);
  font: 500 11px "DM Mono", monospace;
  letter-spacing: .15em;
}

.section-label span { color: var(--cyan); margin-right: 9px; }

.split-layout {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 70px;
}

.about-content { max-width: 900px; }
.about-content h2 {
  max-width: 850px;
  margin: 15px 0 25px;
  font-size: clamp(40px, 5vw, 66px);
  line-height: 1.02;
  letter-spacing: -.055em;
}
.about-content h2 em { color: var(--cyan); font-style: normal; }
.large-copy { max-width: 820px; color: var(--muted); font-size: 17px; line-height: 1.85; }

.about-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 55px;
  border: 1px solid var(--line);
  background: var(--line);
}

.about-facts > div {
  min-height: 150px;
  padding: 20px;
  background: #080c11;
}

.about-facts span {
  display: block;
  margin-bottom: 28px;
  color: var(--cyan);
  font: 10px "DM Mono", monospace;
}
.about-facts b { display: block; margin-bottom: 4px; font-size: 13px; }
.about-facts p { color: var(--muted-2); font-size: 11px; }

/* ================= JOURNEY ================= */

.journey-section {
  background:
    radial-gradient(circle at 50% 25%, rgba(61,135,165,.09), transparent 33rem),
    var(--bg);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 90px;
}

.section-heading h2 {
  margin-top: 15px;
  font-size: clamp(42px, 5.2vw, 70px);
  line-height: 1;
  letter-spacing: -.06em;
}

.section-heading > p {
  max-width: 300px;
  color: var(--muted-2);
  font-size: 12px;
}
.section-heading > p b { color: var(--cyan); margin: 0 5px; }

.journey-line {
  position: relative;
  max-width: 1050px;
  margin: auto;
}

.journey-line::before,
.journey-progress {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background: rgba(112,230,255,.12);
}

.journey-progress {
  bottom: auto;
  height: 0;
  z-index: 1;
  background: linear-gradient(var(--cyan), var(--blue));
  box-shadow: 0 0 12px rgba(112,230,255,.55);
  transition: height .15s linear;
}

.journey-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 90px 1fr;
  min-height: 230px;
}

.journey-item:nth-child(odd) .journey-year { grid-column: 1; text-align: right; padding-right: 55px; }
.journey-item:nth-child(even) .journey-year { grid-column: 3; text-align: left; padding-left: 55px; }
.journey-item:nth-child(odd) .journey-card { grid-column: 3; }
.journey-item:nth-child(even) .journey-card { grid-column: 1; grid-row: 1; }

.journey-year {
  align-self: start;
  padding-top: 12px;
  color: #65727f;
  font: 500 12px "DM Mono", monospace;
  letter-spacing: .08em;
}

.journey-node {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  place-items: start center;
  padding-top: 4px;
  z-index: 3;
}

.journey-node span {
  display: block;
  width: 13px;
  height: 13px;
  border: 3px solid var(--bg);
  border-radius: 50%;
  background: #344552;
  box-shadow: 0 0 0 1px rgba(112,230,255,.15);
  transition: .5s var(--ease);
}

.journey-item.is-visible .journey-node span {
  background: var(--cyan);
  box-shadow: 0 0 0 6px rgba(112,230,255,.07), 0 0 25px rgba(112,230,255,.35);
}

.journey-card {
  max-width: 410px;
  margin-bottom: 35px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(13,19,27,.58);
  transition: .45s var(--ease);
}

.journey-card:hover {
  transform: translateY(-5px);
  border-color: rgba(112,230,255,.28);
  background: rgba(16,25,34,.8);
}

.journey-card h3 {
  margin: 8px 0 8px;
  font-size: 20px;
  letter-spacing: -.035em;
}

.journey-card > p:not(.card-index) { color: var(--muted); font-size: 12px; line-height: 1.7; }

.chip-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 17px; }
.chip-row span { color: #83919e; border-color: rgba(255,255,255,.08); background: rgba(255,255,255,.025); }

.journey-card.featured {
  border-color: rgba(112,230,255,.28);
  background: linear-gradient(145deg, rgba(14,31,39,.8), rgba(9,15,22,.7));
  box-shadow: 0 20px 70px rgba(28,146,178,.07);
}
.journey-card.featured .card-index { color: var(--green); }

.journey-card.ai-card {
  border-color: rgba(137,128,255,.25);
  background: linear-gradient(145deg, rgba(29,27,50,.55), rgba(9,14,21,.7));
}
.journey-card.ai-card .card-index { color: #a39bff; }

/* ================= EXPERTISE ================= */

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.expertise-card {
  position: relative;
  min-height: 390px;
  padding: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #080c11;
  transition: .45s var(--ease);
}

.expertise-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(112,230,255,.06);
  filter: blur(35px);
  transition: .45s ease;
}

.expertise-card:hover {
  transform: translateY(-8px);
  border-color: rgba(112,230,255,.24);
}
.expertise-card:hover::after { transform: scale(1.35); }

.big-number {
  position: absolute;
  top: 25px;
  right: 28px;
  color: rgba(255,255,255,.08);
  font: 500 12px "DM Mono", monospace;
}

.expertise-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 55px;
  place-items: center;
  border: 1px solid rgba(112,230,255,.22);
  border-radius: 13px;
  color: var(--cyan);
  background: rgba(112,230,255,.05);
  font-size: 20px;
}

.expertise-card h3 { margin-bottom: 12px; font-size: 23px; letter-spacing: -.04em; }
.expertise-card > p { min-height: 60px; color: var(--muted); font-size: 12px; line-height: 1.7; }

.expertise-card ul {
  display: grid;
  gap: 7px;
  margin-top: 20px;
  list-style: none;
}

.expertise-card li {
  padding-left: 15px;
  color: #8995a1;
  font: 10px "DM Mono", monospace;
}

.expertise-card li::before {
  content: "—";
  margin-left: -15px;
  margin-right: 8px;
  color: var(--cyan);
}

/* ================= PROJECTS ================= */

.projects-section { background: #06090d; }

.text-link {
  color: #d9e6ed;
  border-bottom: 1px solid rgba(255,255,255,.2);
  padding-bottom: 4px;
  font: 11px "DM Mono", monospace;
  transition: .3s ease;
}
.text-link:hover { color: var(--cyan); border-color: var(--cyan); }

.project-showcase {
  position: relative;
  display: grid;
  grid-template-columns: 70px 1fr 320px;
  gap: 50px;
  padding: 50px;
  overflow: hidden;
  border: 1px solid rgba(112,230,255,.16);
  border-radius: 26px;
  background:
    radial-gradient(circle at 75% 25%, rgba(68,123,151,.11), transparent 20rem),
    linear-gradient(135deg, rgba(14,22,30,.88), rgba(7,11,16,.92));
  transition: transform .4s var(--ease);
}

.project-showcase::before {
  content: "";
  position: absolute;
  top: 0;
  left: 70px;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent 70%);
  opacity: .5;
}

.project-number {
  color: rgba(112,230,255,.65);
  font: 12px "DM Mono", monospace;
}

.project-main h3 {
  margin: 12px 0 20px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.03;
  letter-spacing: -.055em;
}

.project-description {
  max-width: 650px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 25px 0 28px;
}

.tech-tags span {
  padding: 6px 9px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 7px;
  color: #9aa8b4;
  background: rgba(255,255,255,.025);
  font: 10px "DM Mono", monospace;
}

.project-status {
  align-self: center;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 15px;
  background: rgba(0,0,0,.14);
}

.status-head,
.status-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.status-head {
  margin-bottom: 18px;
  color: #73808c;
  font: 9px "DM Mono", monospace;
  letter-spacing: .12em;
}

.status-head b { color: var(--green); }

.status-bar {
  height: 2px;
  margin-bottom: 17px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
}
.status-bar span { display: block; width: 72%; height: 100%; background: var(--green); box-shadow: 0 0 10px var(--green); }

.status-row {
  padding: 9px 0;
  border-top: 1px solid rgba(255,255,255,.06);
  color: #8996a1;
  font-size: 10px;
}
.status-row b { color: #d7e1e7; font: 9px "DM Mono", monospace; }
.status-row.upcoming b { color: #8f91ff; }

.learning-strip {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 30px;
  margin-top: 16px;
  padding: 25px 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.018);
}

.learning-strip h3 { margin-top: 7px; font-size: 18px; }
.learning-strip > p { color: var(--muted-2); font: 10px "DM Mono", monospace; }

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

.contact-section {
  min-height: 80vh;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    radial-gradient(circle at center, rgba(60,130,160,.12), transparent 32rem),
    var(--bg);
}

.contact-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(58,190,230,.035);
  filter: blur(60px);
}

.contact-content { position: relative; z-index: 1; }

.contact-content .kicker { margin-bottom: 24px; }
.contact-content h2 {
  font-size: clamp(50px, 7vw, 95px);
  line-height: .95;
  letter-spacing: -.065em;
}
.contact-content > p:not(.kicker) {
  margin: 25px auto 32px;
  color: var(--muted);
  font-size: 14px;
}

.contact-actions { justify-content: center; }

.contact-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 11px;
  margin-top: 55px;
  color: #65727e;
  font: 10px "DM Mono", monospace;
}
.contact-details a:hover { color: var(--cyan); }

/* ================= FOOTER ================= */

footer {
  padding: 22px 0;
  border-top: 1px solid var(--line);
  color: #5d6975;
  font: 10px "DM Mono", monospace;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.footer-inner a:hover { color: var(--cyan); }

/* ================= REVEAL ================= */

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay { transition-delay: .16s; }

/* ================= RESPONSIVE ================= */

@media (max-width: 980px) {
  .nav-links { gap: 17px; }
  .nav-cta { display: none; }

  .hero-layout { grid-template-columns: 1fr; gap: 60px; }
  .hero-copy { max-width: 820px; }
  .hero-visual { min-height: 450px; }

  .split-layout { grid-template-columns: 1fr; gap: 25px; }
  .about-facts { grid-template-columns: repeat(2, 1fr); }

  .expertise-grid { grid-template-columns: 1fr; }
  .expertise-card { min-height: auto; }
  .expertise-card > p { min-height: auto; }

  .project-showcase { grid-template-columns: 45px 1fr; }
  .project-status { grid-column: 2; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 30px), var(--max)); }
  .section { padding: 92px 0; }

  .site-header { padding: 12px 0; }
  .nav-links {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 22px;
    padding: 90px 30px 40px;
    background: rgba(4,7,10,.96);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: .35s ease;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { font-size: 28px; letter-spacing: -.03em; }
  .menu-toggle { display: block; }

  .hero { padding-top: 125px; }
  .hero h1 { font-size: clamp(45px, 14vw, 70px); }
  .hero-lead { font-size: 14px; }
  .hero-meta { gap: 20px; flex-wrap: wrap; }
  .hero-visual { min-height: 390px; }
  .terminal-body { padding: 23px; }
  .float-one { left: -3%; }
  .float-two { right: -3%; }

  .section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 60px; }
  .section-heading h2 { font-size: 48px; }

  .journey-line::before,
  .journey-progress { left: 10px; transform: none; }

  .journey-item,
  .journey-item:nth-child(odd),
  .journey-item:nth-child(even) {
    display: grid;
    grid-template-columns: 35px 1fr;
    min-height: auto;
    padding-bottom: 35px;
  }

  .journey-node,
  .journey-item:nth-child(odd) .journey-node,
  .journey-item:nth-child(even) .journey-node {
    grid-column: 1;
    grid-row: 1;
    justify-content: start;
  }

  .journey-node span { width: 11px; height: 11px; }
  .journey-year,
  .journey-item:nth-child(odd) .journey-year,
  .journey-item:nth-child(even) .journey-year {
    grid-column: 2;
    grid-row: 1;
    padding: 0 0 10px;
    text-align: left;
  }

  .journey-card,
  .journey-item:nth-child(odd) .journey-card,
  .journey-item:nth-child(even) .journey-card {
    grid-column: 2;
    grid-row: 2;
    max-width: none;
    margin: 0;
  }

  .about-facts { grid-template-columns: 1fr 1fr; }

  .project-showcase { grid-template-columns: 1fr; gap: 25px; padding: 27px; }
  .project-number { display: none; }
  .project-status { grid-column: auto; }
  .project-showcase::before { left: 0; }

  .learning-strip { grid-template-columns: 1fr; gap: 15px; }
  .learning-strip .text-link { justify-self: start; }

  .contact-content h2 { font-size: 54px; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-actions .button { width: 100%; }
  .about-facts { grid-template-columns: 1fr; }
  .hero-visual { min-height: 350px; }
  .floating-card { transform: scale(.85); }
  .float-one { left: -15px; }
  .float-two { right: -15px; }
  .contact-details { flex-direction: column; gap: 6px; }
  .contact-details span:nth-of-type(1),
  .contact-details span:nth-of-type(2) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .cursor-glow { display: none; }
}


/* ================= PROFILE PHOTO — V2 ================= */

.profile-card {
  position: absolute;
  z-index: 4;
  top: -38px;
  right: -22px;
  width: 178px;
  padding: 8px;
  border: 1px solid rgba(112,230,255,.22);
  border-radius: 18px;
  background: rgba(7,12,17,.82);
  box-shadow:
    0 25px 65px rgba(0,0,0,.42),
    0 0 45px rgba(112,230,255,.055),
    inset 0 1px rgba(255,255,255,.05);
  backdrop-filter: blur(14px);
  transform: rotate(2deg);
  transition: transform .45s cubic-bezier(.2,.75,.2,1), border-color .3s ease;
}

.profile-card:hover {
  transform: rotate(0deg) translateY(-7px);
  border-color: rgba(112,230,255,.48);
}

.profile-photo-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1.08;
  border-radius: 12px;
  background: #0b1117;
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(.9) contrast(1.04);
  transition: transform .6s cubic-bezier(.2,.75,.2,1);
}

.profile-card:hover .profile-photo {
  transform: scale(1.045);
}

.profile-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 55%, rgba(3,8,12,.72)),
    linear-gradient(135deg, rgba(112,230,255,.08), transparent 48%);
}

.profile-status {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 7px;
  border: 1px solid rgba(121,240,176,.2);
  border-radius: 6px;
  color: #b7f6d1;
  background: rgba(3,10,8,.78);
  font: 8px "DM Mono", monospace;
  letter-spacing: .08em;
}

.profile-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #79f0b0;
  box-shadow: 0 0 8px #79f0b0;
}

.profile-caption {
  display: grid;
  gap: 1px;
  padding: 9px 5px 4px;
}

.profile-caption strong {
  font-size: 11px;
  letter-spacing: -.02em;
}

.profile-caption span {
  color: #6d7b87;
  font: 8px "DM Mono", monospace;
}

@media (max-width: 980px) {
  .profile-card {
    top: -24px;
    right: 0;
    width: 155px;
  }
}

@media (max-width: 760px) {
  .profile-card {
    top: -18px;
    right: 8px;
    width: 135px;
    transform: rotate(1deg);
  }

  .profile-caption strong { font-size: 10px; }
  .profile-caption span { font-size: 7px; }
}

@media (max-width: 480px) {
  .profile-card {
    top: -15px;
    right: 2px;
    width: 112px;
  }

  .profile-status {
    padding: 4px 5px;
    font-size: 6px;
  }
}
