:root {
  --bg: #061525;
  --bg-soft: #0c2136;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.14);
  --text: #f5fbff;
  --muted: #b8c8d6;
  --cyan: #20d7e8;
  --blue: #0774d9;
  --teal: #12b8b8;
  --lime: #ccff5d;
  --line: rgba(255, 255, 255, 0.16);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 28px;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(32, 215, 232, 0.3), transparent 34rem),
    radial-gradient(circle at 85% 15%, rgba(7, 116, 217, 0.35), transparent 32rem),
    linear-gradient(135deg, #050c18 0%, #071a2c 44%, #07131f 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.shell {
  width: min(100% - 40px, var(--max-width));
  margin-inline: auto;
}

.section {
  padding: 100px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 21, 37, 0.78);
  backdrop-filter: blur(22px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #04111d;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(32, 215, 232, 0.28);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

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

.nav-links a {
  padding: 10px 14px;
  color: var(--muted);
  border-radius: 999px;
  transition: color 180ms ease, background 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
}

.nav-links .nav-cta {
  color: #03111e;
  font-weight: 900;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
  box-shadow: 0 14px 34px rgba(32, 215, 232, 0.22);
}

.nav-links .nav-cta:hover {
  color: #03111e;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  border-radius: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  display: grid;
  gap: 42px;
  align-items: center;
  justify-items: center;
  min-height: calc(100vh - 78px);
  padding-top: 62px;
  text-align: center;
}

.hero-copy {
  margin-top: clamp(20px, 4vh, 54px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 1000px;
  margin: 0 auto 12px;
  font-size: clamp(3rem, 7.2vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: -0.065em;
  white-space: nowrap;
}

h1 span {
  color: var(--cyan);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.hero-text {
  max-width: 640px;
  margin-inline: auto;
  color: var(--muted);
  font-size: clamp(0.85rem, 1.3vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.22em;
  line-height: 1.7;
  text-transform: uppercase;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-badges span {
  padding: 9px 13px;
  color: var(--muted);
  font-size: 0.88rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #03111e;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
  box-shadow: 0 18px 48px rgba(32, 215, 232, 0.22);
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line);
}

.hero-visual {
  position: relative;
  width: min(100%, 980px);
}

.cube-stage {
  position: relative;
  display: grid;
  min-height: clamp(470px, 60vh, 680px);
  place-items: center;
  overflow: visible;
  perspective: 1100px;
  transform-style: preserve-3d;
  background: transparent;
  border: 0;
  border-radius: 46px;
  box-shadow: none;
}

.cube-stage::before {
  position: absolute;
  inset: 12%;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  border-radius: 32px;
  transform: rotateX(62deg) translateY(40px);
  opacity: 0.55;
}

.cube-stage::after {
  position: absolute;
  bottom: 50px;
  width: 380px;
  height: 42px;
  content: "";
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.55), transparent 70%);
  filter: blur(8px);
}

.portfolio-cube {
  position: relative;
  z-index: 2;
  width: clamp(270px, 36vw, 430px);
  height: clamp(270px, 36vw, 430px);
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  transform-style: preserve-3d;
  will-change: transform;
  transform: rotateX(-18deg) rotateY(32deg);
}

.portfolio-cube.is-dragging {
  cursor: grabbing;
}

.cube-face {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  gap: 10px;
  padding: 0;
  overflow: hidden;
  color: var(--text);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    inset 0 0 20px rgba(255, 255, 255, 0.08),
    0 20px 50px rgba(0, 0, 0, 0.24);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
  user-select: none;
  -webkit-user-select: none;
}

.cube-face img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
}

.cube-face strong,
.cube-face span {
  position: relative;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.cube-face strong {
  font-size: 2.05rem;
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.cube-face span {
  color: rgba(245, 251, 255, 0.8);
  font-weight: 700;
}

.cube-front {
  transform: translateZ(calc(clamp(270px, 36vw, 430px) / 2));
}

.cube-back {
  transform: rotateY(180deg) translateZ(calc(clamp(270px, 36vw, 430px) / 2));
}

.cube-right {
  transform: rotateY(90deg) translateZ(calc(clamp(270px, 36vw, 430px) / 2));
}

.cube-left {
  transform: rotateY(-90deg) translateZ(calc(clamp(270px, 36vw, 430px) / 2));
}

.cube-top {
  transform: rotateX(90deg) translateZ(calc(clamp(270px, 36vw, 430px) / 2));
}

.cube-bottom {
  transform: rotateX(-90deg) translateZ(calc(clamp(270px, 36vw, 430px) / 2));
}

.profile-card {
  position: relative;
  display: grid;
  min-height: 560px;
  padding: 26px;
  place-items: end center;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(32, 215, 232, 0.32), transparent 40%),
    linear-gradient(315deg, rgba(7, 116, 217, 0.55), rgba(255, 255, 255, 0.08));
  border: 1px solid var(--line);
  border-radius: 46px;
  box-shadow: var(--shadow);
}

.profile-card::before,
.profile-card::after {
  position: absolute;
  content: "";
  border-radius: 999px;
}

.profile-card::before {
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(204, 255, 93, 0.24), transparent 65%);
  transform: translate(36%, -42%);
}

.profile-card::after {
  inset: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
}

.portrait {
  position: absolute;
  top: 50px;
  left: 50%;
  display: grid;
  width: min(82%, 360px);
  aspect-ratio: 0.74;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #172b62, #0e9bb0);
  border: 8px solid rgba(255, 255, 255, 0.14);
  border-radius: 42% 42% 24% 24%;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.38);
  transform: translateX(-50%);
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.profile-meta {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 22px;
  text-align: center;
  background: rgba(5, 15, 28, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  backdrop-filter: blur(16px);
}

.profile-meta p {
  margin-bottom: 4px;
  font-size: 1.3rem;
  font-weight: 800;
}

.profile-meta span {
  color: var(--muted);
}

.floating-chip {
  position: absolute;
  z-index: 3;
  padding: 12px 16px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  animation: float 5s ease-in-out infinite;
}

.chip-one {
  top: 26%;
  left: 0;
}

.chip-two {
  top: 14%;
  right: 8%;
  animation-delay: -1.5s;
}

.chip-three {
  right: -2%;
  bottom: 28%;
  animation-delay: -2.5s;
}

.hero-stats {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.hero-stats article,
.about-card,
.service-card,
.tool-card,
.project-card,
.work-showcase,
.process-card,
.timeline,
.skills-grid,
.contact-card {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.hero-stats article {
  padding: 22px;
  border-radius: 22px;
}

.hero-stats strong {
  display: block;
  color: var(--cyan);
  font-size: 2rem;
  line-height: 1;
}

.hero-stats span {
  color: var(--muted);
}

.intro-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 38px;
  align-items: start;
}

.intro-layout .section-heading {
  grid-column: 1 / -1;
  max-width: 820px;
}

.intro-profile,
.intro-details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.intro-profile {
  display: grid;
  justify-items: center;
  padding: 20px;
  text-align: center;
}

.intro-profile img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  object-position: center top;
  border-radius: 22px;
}

.intro-profile h3 {
  margin: 24px 0 8px;
  font-size: 1.55rem;
}

.intro-profile p {
  color: var(--muted);
}

.intro-details {
  padding: clamp(28px, 5vw, 42px);
}

.intro-details > p {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.85;
}

.intro-skills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
  margin-top: 30px;
}

.skill-pill {
  display: grid;
  gap: 8px;
}

.skill-pill.wide {
  grid-column: 1 / -1;
}

.skill-pill span {
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 800;
}

.skill-pill i {
  position: relative;
  display: block;
  height: 13px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.skill-pill i::before {
  position: absolute;
  inset: 0;
  width: var(--fill, 82%);
  content: "";
  background: linear-gradient(90deg, var(--cyan), var(--lime));
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left;
}

.intro-details.visible .skill-pill i::before {
  animation: skillFill 1.15s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.skill-pill:nth-child(1) i {
  --fill: 82%;
}

.skill-pill:nth-child(2) i {
  --fill: 86%;
}

.skill-pill:nth-child(3) i {
  --fill: 76%;
}

.skill-pill:nth-child(4) i {
  --fill: 64%;
}

.skill-pill:nth-child(5) i {
  --fill: 88%;
}

.skill-pill:nth-child(6) i {
  --fill: 70%;
}

.skill-pill:nth-child(7) i {
  --fill: 84%;
}

.skill-pill:nth-child(8) i {
  --fill: 78%;
}

.skill-pill:nth-child(9) i {
  --fill: 86%;
}

.two-column,
.timeline-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.section-heading {
  max-width: 680px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.about-card {
  padding: clamp(28px, 5vw, 48px);
  border-radius: var(--radius);
}

.about-card p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.85;
}

.contact-strip {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-strip a,
.contact-strip span {
  padding: 14px 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.service-card {
  min-height: 270px;
  padding: 26px;
  border-radius: var(--radius);
  transition: transform 180ms ease, background 180ms ease;
}

.service-card:hover {
  background: var(--panel-strong);
  transform: translateY(-6px);
}

.service-card span {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 52px;
  color: #061525;
  font-weight: 900;
  background: var(--cyan);
  border-radius: 16px;
}

.service-card p,
.project-card p,
.timeline-item p,
.contact-card p {
  color: var(--muted);
  line-height: 1.7;
}

.tools-section,
.process-section,
.connect-section,
.experience-section,
.contact-section {
  background: linear-gradient(180deg, transparent, rgba(18, 184, 184, 0.08), transparent);
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.tool-card {
  display: grid;
  gap: 20px;
  padding: 24px;
  border-radius: var(--radius);
}

.tool-icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  font-size: 1.35rem;
  font-weight: 900;
  border-radius: 18px;
}

.illustrator {
  color: #ff9a1f;
  background: #241002;
}

.photoshop {
  color: #30a9ff;
  background: #001d35;
}

.logo-tool {
  padding: 0;
  overflow: hidden;
  background: #ffffff;
}

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

.meter,
.skill-bar {
  height: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.11);
  border-radius: 999px;
}

.meter span,
.skill-bar span {
  display: block;
  width: var(--level);
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--lime));
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left;
}

.tool-card.visible .meter span,
.skills-grid.visible .skill-bar span {
  animation: skillFill 1.15s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.work-showcase {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 28px;
  align-items: stretch;
  margin-top: 42px;
  padding: 18px;
  border-radius: 34px;
}

.work-showcase-visual {
  display: grid;
  min-height: 260px;
  align-content: end;
  gap: 12px;
  padding: 30px;
  color: #04111d;
  background:
    radial-gradient(circle at 24% 20%, rgba(255, 255, 255, 0.55), transparent 26%),
    linear-gradient(135deg, var(--cyan), var(--lime));
  border-radius: 24px;
}

.work-showcase-visual span {
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.work-showcase-visual strong {
  max-width: 360px;
  font-size: clamp(2.1rem, 5vw, 4.4rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.work-showcase-copy {
  display: grid;
  align-content: center;
  padding: clamp(12px, 4vw, 34px);
}

.work-showcase-copy .project-type {
  margin-bottom: 18px;
}

.work-showcase-copy h3 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.work-showcase-copy p:last-child {
  color: var(--muted);
  line-height: 1.75;
}

.project-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 28px 0 0;
}

.filter-chip {
  min-height: 42px;
  padding: 0 16px;
  color: var(--muted);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.filter-chip:hover,
.filter-chip.active {
  color: #04111d;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
  transform: translateY(-2px);
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 18px;
  overflow: hidden;
  border-radius: var(--radius);
  transition: opacity 220ms ease, transform 220ms ease, background 180ms ease;
}

.project-card:hover {
  background: var(--panel-strong);
  transform: translateY(-6px);
}

.project-card.is-hidden {
  display: none;
}

.project-empty {
  display: none;
  max-width: 680px;
  margin: 28px auto 0;
  padding: 34px;
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.project-empty.visible {
  display: block;
}

.project-empty p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.project-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  margin: 0 0 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.project-card:hover .project-media img {
  transform: scale(1.04);
}

.project-card.featured {
  color: #04111d;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
}

.project-card.featured p {
  color: rgba(4, 17, 29, 0.76);
}

.project-card.featured:hover {
  background: linear-gradient(135deg, var(--cyan), var(--lime));
}

.project-number {
  align-self: flex-start;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 18px;
  color: #04111d;
  font-weight: 900;
  background: var(--cyan);
  border-radius: 15px;
}

.project-card.featured .project-number {
  color: var(--cyan);
  background: #04111d;
}

.project-type {
  margin-bottom: 18px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
}

.tag-list span {
  padding: 8px 10px;
  color: var(--muted);
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}

.project-card.featured .tag-list span {
  color: rgba(4, 17, 29, 0.78);
  background: rgba(4, 17, 29, 0.08);
  border-color: rgba(4, 17, 29, 0.12);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.process-card {
  position: relative;
  min-height: 260px;
  padding: 28px;
  overflow: hidden;
  border-radius: var(--radius);
}

.process-card::before {
  position: absolute;
  top: -58px;
  right: -58px;
  width: 140px;
  height: 140px;
  content: "";
  background: radial-gradient(circle, rgba(32, 215, 232, 0.25), transparent 68%);
}

.process-card span {
  display: inline-flex;
  margin-bottom: 64px;
  padding: 10px 13px;
  color: #04111d;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--cyan);
  border-radius: 999px;
}

.process-card p {
  color: var(--muted);
  line-height: 1.7;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 44px;
}

.journey-column {
  display: grid;
  gap: 18px;
}

.journey-label {
  justify-self: center;
  padding: 12px 20px;
  color: var(--text);
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 0 28px rgba(32, 215, 232, 0.16);
}

.connect-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 38px;
}

.social-icon {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  padding: 0;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.social-icon:hover {
  background: var(--panel-strong);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-4px);
}

.social-icon svg {
  width: 54px;
  height: 54px;
  padding: 14px;
  fill: #04111d;
  border-radius: 999px;
}

.social-icon.instagram svg {
  background: linear-gradient(135deg, #feda75, #d62976 52%, #4f5bd5);
}

.social-icon.facebook svg {
  background: #1877f2;
}

.social-icon.linkedin svg {
  background: #0a66c2;
}

.timeline {
  padding: clamp(26px, 5vw, 46px);
  border-radius: var(--radius);
}

.timeline-item {
  position: relative;
  padding: 0 0 32px 34px;
  border-left: 1px solid var(--line);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -8px;
  width: 16px;
  height: 16px;
  background: var(--cyan);
  border: 4px solid #082034;
  border-radius: 999px;
}

.timeline-date {
  margin-bottom: 8px;
  color: var(--cyan) !important;
  font-weight: 800;
}

.skills-grid {
  display: grid;
  gap: 20px;
  max-width: 820px;
  margin-top: 34px;
  padding: clamp(26px, 5vw, 42px);
  border-radius: var(--radius);
}

.skill-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  align-items: center;
}

.skill-row span:first-child {
  color: var(--muted);
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(30px, 6vw, 58px);
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(32, 215, 232, 0.26), transparent),
    rgba(255, 255, 255, 0.08);
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
}

.footer-content p {
  margin-bottom: 0;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links a {
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

@keyframes skillFill {
  to {
    transform: scaleX(1);
  }
}

@media (max-width: 980px) {
  .section {
    padding: 78px 0;
  }

  .hero,
  .intro-layout,
  .two-column,
  .timeline-layout,
  .work-showcase {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .card-grid,
  .tool-grid,
  .project-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .journey-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 28px, var(--max-width));
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    right: 14px;
    left: 14px;
    display: none;
    padding: 12px;
    background: rgba(6, 21, 37, 0.96);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: grid;
  }

  .nav-links a {
    padding: 14px;
  }

  h1 {
    font-size: clamp(2.6rem, 13vw, 4.2rem);
    white-space: normal;
  }

  .profile-card {
    min-height: 470px;
    border-radius: 34px;
  }

  .cube-stage {
    min-height: 450px;
    border-radius: 34px;
  }

  .portfolio-cube {
    width: 190px;
    height: 190px;
  }

  .cube-front {
    transform: translateZ(95px);
  }

  .cube-back {
    transform: rotateY(180deg) translateZ(95px);
  }

  .cube-right {
    transform: rotateY(90deg) translateZ(95px);
  }

  .cube-left {
    transform: rotateY(-90deg) translateZ(95px);
  }

  .cube-top {
    transform: rotateX(90deg) translateZ(95px);
  }

  .cube-bottom {
    transform: rotateX(-90deg) translateZ(95px);
  }

  .portrait {
    top: 42px;
    width: min(86%, 320px);
  }

  .card-grid,
  .tool-grid,
  .project-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .skill-row {
    grid-template-columns: 1fr;
  }

  .intro-skills {
    grid-template-columns: 1fr;
  }

  .contact-card,
  .footer-content {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
