:root {
  --accentColor: #c2a4ff;
  --backgroundColor: #0b080c;
  --textColor: #eae5ec;
  --muted: rgba(234, 229, 236, .66);
  --line: rgba(255, 255, 255, .14);
  --cWidth: calc(100% - 30px);
  --cMaxWidth: 1920px;
  color: var(--textColor);
  background: var(--backgroundColor);
  font-family: Geist, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: #000;
  min-height: 100vh;
  overflow-x: hidden;
  user-select: none;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accentColor); }
button, input { font: inherit; }

.section-container {
  width: 1300px;
  max-width: calc(100% - 160px);
  margin: auto;
}

.main-body {
  min-height: 100vh;
  background: var(--backgroundColor);
  overflow: hidden;
}

.navbar {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: var(--cWidth);
  max-width: var(--cMaxWidth);
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.navbar a { pointer-events: auto; }
.brand, .loader-title {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .2px;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: rgba(234, 229, 236, .7);
}

.nav-fade {
  position: fixed;
  z-index: 40;
  pointer-events: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 135px;
  background: linear-gradient(0deg, transparent, var(--backgroundColor) 70%);
}

.cursor-main {
  --size: 50px;
  position: fixed;
  top: calc(var(--size) / -2);
  left: calc(var(--size) / -2);
  width: var(--size);
  height: var(--size);
  border-radius: 999px;
  pointer-events: none;
  z-index: 99;
  background: #e6c3ff;
  box-shadow: 0 0 30px #af83ff;
  mix-blend-mode: difference;
  transition: width .25s, height .25s, opacity .25s;
}

.cursor-main.disabled { --size: 0px; }

.loading-screen {
  position: fixed;
  width: 100vw;
  height: var(--vh, 100vh);
  background-color: #eae5ec;
  z-index: 999999999;
  display: flex;
  place-items: center;
  justify-content: center;
  transition: opacity .8s ease, visibility .8s ease;
}

.loading-screen.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-header {
  width: var(--cWidth);
  max-width: var(--cMaxWidth);
  position: fixed;
  z-index: 9999999999;
  display: flex;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 20px 0;
  left: 50%;
  transform: translate(-50%);
  top: 0;
  color: var(--backgroundColor);
}

.loader-game {
  width: 200px;
  height: 100px;
  overflow: hidden;
  position: relative;
  transform: scale(.42);
  transform-origin: top right;
}

.loader-game-in {
  position: absolute;
  display: flex;
  gap: 40px;
  left: 0;
  animation: loaderGame 7s linear infinite;
}

.loader-line {
  width: 10px;
  height: 60px;
  background: #000;
  flex: 0 0 auto;
}

.loader-line:nth-child(2n) { margin-top: 40px; }
.loader-game-ball {
  position: absolute;
  left: 20%;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #a87cff;
  animation: ball25 7s cubic-bezier(.3, 1.18, .63, 1.28) infinite;
}

@keyframes loaderGame { to { transform: translateX(-300px); } }
@keyframes ball25 {
  0%, 30%, 67%, 90%, 100% { transform: translateY(70px); }
  15%, 45%, 80% { transform: translateY(10px); }
}

.loading-marquee {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  color: var(--backgroundColor);
  font-size: 60px;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
}

.loading-marquee span {
  padding: 0 50px;
  position: relative;
}

.loading-marquee span:before {
  content: "";
  width: 20px;
  height: 20px;
  background-color: var(--backgroundColor);
  position: absolute;
  top: 50%;
  border-radius: 50px;
  left: 0;
  transform: translate(-50%, -50%);
}

.marquee-track {
  display: inline-flex;
  animation: marquee 25s linear infinite;
}

@keyframes marquee { to { transform: translateX(-50%); } }

.loading-wrap {
  --Lsize: 145px;
  padding: 6px;
  position: relative;
  min-width: 0px;
  min-height: 0px;
  border-radius: 100px;
  background-color: #000;
  overflow: hidden;
  transition: .8s ease-in-out;
  transition-delay: .2s;
  box-shadow: 0 15px 15px #0003;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.loading-clicked {
  transition-delay: 0ms;
  transition-timing-function: cubic-bezier(.33, .11, 1, .72);
  transform: scale(1);
  min-width: calc(100vw + 5000px);
  border-radius: 5000px;
  min-height: calc(100vh + 500px);
  box-shadow: none;
}

.loading-hover {
  background-color: #a87cff;
  width: 250px;
  height: 120px;
  position: absolute;
  top: var(--mouse-y, 50%);
  left: var(--mouse-x, 50%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  filter: blur(30px);
  opacity: 0;
  transition: opacity .5s;
}

.loading-wrap:hover .loading-hover {
  opacity: 1;
}

.loading-clicked:hover .loading-hover, .loading-clicked .loading-hover {
  opacity: 0;
}

.loading-button {
  padding: 20px 50px;
  border-radius: 100px;
  background-color: #000;
  overflow: hidden;
  font-size: 18px;
  font-weight: 500;
  position: relative;
  z-index: 9;
  display: block;
}

/* Ensure loader texts are always visible against the light loading-screen */
.loading-wrap, .loading-button, .loading-content, .loading-content span, .loading-content2, #loader-percent {
  color: #ffffff;
}

/* Make the small percent text slightly bolder for readability */
#loader-percent { font-weight: 700; }

.loading-clicked .loading-button {
  overflow: visible;
}

.loading-button:before {
  content: "";
  background-color: #fff;
  top: var(--mouse-y);
  left: var(--mouse-x);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  position: absolute;
  z-index: 99;
  filter: blur(60px);
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity .5s;
}

.loading-button:hover:before {
  opacity: 1;
}

.loading-clicked .loading-button:before {
  opacity: 0;
}

.loading-container {
  position: absolute;
  width: 100%;
  max-width: var(--Lsize);
  top: 50%;
  transition: 1s;
  left: 50px;
  z-index: 9;
  transform: translateY(-50%);
}

.loading-complete .loading-container {
  max-width: 0px;
}

.loading-content {
  position: relative;
  background-color: #000;
  width: 100%;
  overflow: hidden;
  transition: .6s;
  text-transform: uppercase;
  display: block;
  text-align: left;
}

.loading-content-in {
  position: relative;
  width: var(--Lsize);
  overflow: hidden;
}

.loading-content span {
  font-weight: 300;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  opacity: .7;
}

.loading-box {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(100%, -50%);
  width: 15px;
  height: 25px;
  background-color: #fff;
  animation: blink 1s linear infinite;
}

@keyframes blink {
  0%, 100% { opacity: 0; }
  25%, 75% { opacity: 1; }
}

.loading-complete .loading-box {
  animation: blinkDone .3s forwards;
  animation-delay: 1s;
  opacity: 1;
}

@keyframes blinkDone {
  to { opacity: 0; }
}

.loading-content2 {
  position: relative;
  letter-spacing: 2px;
  text-transform: uppercase;
  width: var(--Lsize);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 10px;
  text-align: center;
  transition: 1s;
  max-width: var(--Lsize);
}

.loading-clicked .loading-content2 {
  opacity: 0;
  transition: .5s;
}

.loading-clicked .loading-content2 span {
  transition: 1s;
  transform: translateY(100px);
  opacity: 0;
  display: inline-block;
}

.loading-icon {
  transform: scale(0);
  opacity: 0;
  transition: .5s;
  transition-delay: .5s;
}

.loading-complete .loading-icon {
  transform: scale(1);
  opacity: 1;
}

.loading-clicked .loading-icon {
  transition-delay: 0s;
  transition: 1s;
  transform: translate(200px);
}

.landing-section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  max-width: var(--cMaxWidth);
  margin: auto;
  overflow: hidden;
}

.landing-container {
  width: var(--cWidth);
  max-width: var(--cMaxWidth);
  min-height: 100vh;
  margin: auto;
  position: relative;
}

.landing-circle1, .landing-circle2 {
  position: fixed;
  z-index: 2;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: #fb8dff;
  box-shadow: inset -50px 40px 50px #5400ff99;
  filter: blur(58px);
  animation: loadingCircle 5s linear infinite;
}

.landing-circle1 { top: 0; left: 0; transform: translate(-95%, -75%); }
.landing-circle2 { top: 50%; right: 0; transform: translate(calc(100% - 2px), -50%); }
@keyframes loadingCircle { to { rotate: 360deg; } }

.landing-intro, .landing-info {
  position: absolute;
  z-index: 9;
  top: 42%;
  transform: translateY(-50%);
}

.landing-intro { right: 70%; }
.landing-info { left: 70%; }
.landing-intro h2, .landing-info h3 {
  margin: 0;
  color: var(--accentColor);
  font-size: clamp(24px, 2vw, 35px);
  font-weight: 300;
  letter-spacing: 2px;
}

.landing-intro h1 {
  margin: 0;
  letter-spacing: 2px;
  font-size: clamp(40px, 4vw, 60px);
  line-height: .92;
  font-weight: 520;
}

.landing-info h2 {
  margin: -10px 0 0 20px;
  font-weight: 650;
  font-size: clamp(44px, 4.4vw, 76px);
  line-height: .92;
  text-transform: uppercase;
  letter-spacing: 2px;
  white-space: nowrap;
}

.landing-info-h2 { color: #c481ff; }
.hero-figure {
  position: fixed;
  z-index: 7;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(46vw, 620px);
  height: min(88vh, 920px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.hero-avatar {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
}

.animated-person {
  position: absolute;
  inset: 0;
  display: none; /* shown via JS on desktop */
  z-index: 3;
  width: 100%;
  height: 100%;
  transform-origin: center bottom;
  transition: transform .4s ease;
}

/* When active overlap occurs, make the face less obtrusive */
.animated-person.overlapping {
  opacity: 0.28;
  filter: blur(4px) saturate(.7) contrast(.9);
  transform: translateY(6px) scale(.995);
  transition: opacity .4s ease, filter .4s ease, transform .4s ease;
}

/* Add a heavy dark glow/shadow to reveal elements that overlap the face to keep text readable */
.reveal.overlap {
  text-shadow: 0 6px 18px rgba(0,0,0,0.85), 0 1px 2px rgba(0,0,0,0.6);
}

/* For headings inside overlapped reveal blocks, slightly darken the foreground for extra contrast */
.reveal.overlap h1, .reveal.overlap h2, .reveal.overlap h3, .reveal.overlap p {
  color: #ffffff;
  transition: color .25s ease;
}

@media (min-width: 900px) {
  .hero-photo { display: none; }
  .animated-person { display: block; }
}

.hero-figure:after {
  content: "";
  position: absolute;
  inset: auto -20vw -10px;
  height: 220px;
  background: linear-gradient(to bottom, transparent, var(--backgroundColor) 70%);
  z-index: 4;
}

.hero-rim {
  position: absolute;
  bottom: 7%;
  left: 50%;
  transform: translateX(-50%) scale(1.2);
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: #f59bf8;
  box-shadow: inset 66px 35px 85px #5500ffa6;
  filter: blur(50px);
  animation: backlight 4s ease-in-out infinite;
}

@keyframes backlight {
  0%, 100% { opacity: .45; transform: translateX(-50%) scale(1.1); }
  50% { opacity: .85; transform: translateX(-50%) scale(1.35); }
}

.hero-photo {
  position: relative;
  z-index: 3;
  max-width: 100%;
  max-height: 96%;
  object-fit: contain;
  filter: drop-shadow(0 0 45px rgba(194, 164, 255, .38));
  transform-origin: center bottom;
  animation: floatPerson 5.5s ease-in-out infinite;
}

@keyframes floatPerson {
  0%, 100% { transform: translateY(0) rotate(-.8deg); }
  50% { transform: translateY(-12px) rotate(.8deg); }
}

.social-icons {
  position: fixed;
  z-index: 55;
  left: 24px;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.social-icons a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  border: 1px solid transparent;
  transition: color .3s, transform .3s;
}

.social-icons a:hover { color: var(--backgroundColor); transform: scale(1.16); }
.resume-button {
  position: fixed;
  z-index: 55;
  right: 28px;
  bottom: 40px;
  display: flex;
  gap: 8px;
  align-items: center;
  letter-spacing: 4px;
  font-size: 18px;
  font-weight: 650;
  color: #777;
  transition: color .4s;
}
.resume-button:hover { color: #fff; }
.resume-button span { color: #fff; }

.about-section {
  min-height: 100vh;
  width: var(--cWidth);
  max-width: var(--cMaxWidth);
  margin: auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  z-index: 9;
}

.about-me {
  width: 50%;
  padding: 80px 0;
}

.about-me h3 {
  font-size: 25px;
  text-transform: uppercase;
  letter-spacing: 7px;
  font-weight: 400;
  color: var(--accentColor);
}

.about-me p {
  font-size: clamp(26px, 1.9vw, 40px);
  line-height: 1.14;
  font-weight: 650;
  letter-spacing: .4px;
  word-spacing: 2px;
}

.whatIDO {
  min-height: 100vh;
  width: var(--cWidth);
  max-width: var(--cMaxWidth);
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
}

.what-box {
  width: 50%;
  display: flex;
  justify-content: center;
}

.what-box h2 {
  font-size: clamp(58px, 6vw, 120px);
  line-height: .95;
  font-weight: 650;
}

.hat-h2 { font-style: italic; }
.do-h2 { color: var(--accentColor); }
.what-box-in {
  width: 450px;
  height: 500px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.what-content {
  position: relative;
  min-height: 50%;
  padding: 45px 50px;
  transition: .45s ease;
  overflow: hidden;
}

.what-content:hover, .what-content.active {
  min-height: 67%;
  padding-top: 36px;
}

.what-box-in:hover .what-content:not(:hover) {
  min-height: 33%;
  padding-top: 14px;
}

.what-content:before,
.what-content:after,
.what-corner:before,
.what-corner:after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: 4px solid #fff;
  opacity: .9;
}

.what-content:before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.what-content:after { bottom: 0; left: 0; border-top: 0; border-right: 0; }
.what-corner:before { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.what-corner:after { bottom: 0; right: 0; border-left: 0; border-top: 0; }

.what-content h3 {
  margin: 0;
  font-size: 34px;
  letter-spacing: 1px;
}
.what-content h4 {
  margin: 2px 0 12px;
  font-weight: 300;
  opacity: .45;
}
.what-content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
  color: rgba(255, 255, 255, .72);
}
.what-content h5 {
  margin: 18px 0 6px;
  font-weight: 350;
  opacity: .55;
}
.what-content-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.what-tags {
  font-size: 12px;
  padding: 2px 7px;
  border-radius: 30px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.32);
}
.what-arrow {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 25px;
  height: 25px;
  border: 1px solid #fff;
}
.what-arrow:before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  top: 40%;
  left: 50%;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transform: translate(-50%, -50%) rotate(-45deg);
  transition: .45s;
}
.what-content:hover .what-arrow:before { transform: translate(-50%, -20%) rotate(-225deg); }

.career-section {
  min-height: 100vh;
  padding: 120px 0;
  position: relative;
  z-index: 10;
}
.career-section h2 {
  font-size: clamp(48px, 5vw, 76px);
  line-height: .95;
  font-weight: 420;
  text-align: center;
  background: linear-gradient(0deg, #7f40ff, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0 0 90px;
}
.career-info {
  position: relative;
  display: flex;
  flex-direction: column;
}
.career-timeline {
  position: absolute;
  top: -50px;
  left: 50%;
  width: 3px;
  height: calc(100% + 80px);
  background: linear-gradient(to top, #aa42ff 20%, var(--accentColor) 50%, transparent 95%);
  transform: translateX(-50%);
  transform-origin: top;
}
.career-dot {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #aa42ff;
  transform: translate(-50%, 50%);
  box-shadow: 0 0 5px 2px #d29bff, 0 0 15px 8px #d097ff, 0 0 110px 20px #f2c0ff;
}
.career-info-box {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 50px;
}
.career-info-in {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  width: 42%;
}
.career-role h4 {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: .95;
  font-weight: 540;
}
.career-role h5 {
  margin: 10px 0 0;
  color: var(--accentColor);
  font-size: 18px;
  font-weight: 420;
}
.career-info h3 {
  margin: 0;
  font-size: clamp(34px, 3.5vw, 50px);
  line-height: 1;
}
.career-info-box p {
  width: 42%;
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  line-height: 1.45;
}

.cta-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: transform .3s, box-shadow .3s, background .3s;
}

.techstack-new {
  position: relative;
  min-height: 100vh;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 12;
}
.techstack-video-container {
  position: absolute;
  inset: 0;
}
.techstack-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.techstack-video-container:before,
.techstack-video-container:after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 150px;
  z-index: 2;
  pointer-events: none;
}
.techstack-video-container:before { top: 0; background: linear-gradient(to bottom, #0b080c, transparent); }
.techstack-video-container:after { bottom: 0; background: linear-gradient(to top, #0b080c, transparent); }
.techstack-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
}
.techstack-content {
  position: relative;
  z-index: 3;
  max-width: 1000px;
  padding: 0 20px;
  margin: auto;
}
.techstack-content h2 {
  text-align: center;
  text-transform: uppercase;
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 420;
  background: linear-gradient(180deg, #fff, var(--accentColor));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0 0 50px;
}
.techstack-pyramid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.techstack-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.techstack-item {
  width: 56px;
  height: 68px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(8px);
  transition: transform .3s, border-color .3s, background .3s, box-shadow .3s;
}
.techstack-item:hover {
  transform: translateY(-6px) scale(1.08);
  background: rgba(194,164,255,.12);
  border-color: var(--accentColor);
  box-shadow: 0 8px 30px #c2a4ff40;
}
.techstack-item img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: grayscale(100%) contrast(1.2) brightness(1.5);
  opacity: .85;
}
.techstack-item:hover img { filter: none; opacity: 1; }
.techstack-item span {
  margin-top: 5px;
  max-width: 52px;
  color: rgba(255,255,255,.7);
  font-size: 9px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cta-section {
  position: relative;
  z-index: 14;
  padding: 80px 20px;
  background: var(--backgroundColor);
}
.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
}
.cta-btn {
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 520;
  border: 1px solid rgba(255,255,255,.15);
}
.cta-btn-hire { background: var(--accentColor); color: #000; border-color: var(--accentColor); }
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px #c2a4ff40; }

.contact-section {
  position: relative;
  z-index: 14;
  min-height: 60vh;
  padding-bottom: 150px;
  background: var(--backgroundColor);
}
.contact-section h3 {
  margin: 0 0 40px;
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 420;
  text-transform: uppercase;
}
.contact-flex {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}
.contact-box {
  display: flex;
  flex-direction: column;
}
.contact-box h4 {
  margin: 0;
  opacity: .6;
  font-size: 14px;
}
.contact-box p { margin: 9px 0 20px; }
.contact-social {
  font-size: 24px;
  border-bottom: 1px solid #ccc;
  margin-bottom: 8px;
}
.contact-box h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 420;
  line-height: 1.25;
}
.contact-box h2 span { color: var(--accentColor); }
.copyright { opacity: .5; }

.reveal {
  opacity: 0;
  transform: translateY(70px) rotate(2deg);
  transition: opacity .9s ease, transform .9s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0) rotate(0);
}

@media (max-width: 1400px) {
  .section-container { width: 900px; }
}

@media (max-width: 1100px) {
  .hero-figure { position: absolute; width: 70vw; opacity: .55; }
  .landing-intro, .landing-info { position: relative; top: auto; left: auto; right: auto; transform: none; text-align: center; }
  .landing-container { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 28px; padding-top: 90px; }
  .about-me { width: min(760px, 100%); }
  .whatIDO { flex-direction: column; padding: 80px 0; }
  .what-box { width: min(560px, 100%); justify-content: flex-start; }
  .career-timeline { left: 0; }
  .career-info-box { flex-direction: column; padding-left: 34px; }
  .career-info-in, .career-info-box p { width: 100%; }
  .contact-flex { flex-direction: column; align-items: center; }
}

@media (max-width: 768px) {
  :root { --cWidth: calc(100% - 25px); }
  .cursor-main, .social-icons, .resume-button, .landing-circle2 { display: none; }
  .navbar { padding: 18px 0; }
  .brand { font-size: 14px; }
  .nav-links { gap: 10px; font-size: 10px; letter-spacing: .5px; }
  .section-container { width: var(--cWidth); max-width: var(--cWidth); }
  .landing-section { min-height: auto; }
  .landing-container { min-height: 100vh; padding: 90px 0 40px; }
  .hero-figure { position: relative; order: 2; width: min(92vw, 390px); height: auto; opacity: 1; }
  .hero-photo { max-height: 430px; }
  .landing-info { order: 3; }
  .landing-intro h1 { font-size: 32px; line-height: 1.12; }
  .landing-info h2 { margin: 0; font-size: 23px; line-height: 1.25; white-space: normal; }
  .landing-info h3 { display: none; }
  .about-section { min-height: auto; padding: 60px 0; }
  .about-me p { font-size: 22px; line-height: 1.25; }
  .what-box-in { width: 100%; height: 470px; }
  .what-content { padding: 28px; }
  .what-content h3 { font-size: 25px; }
  .career-section { padding: 80px 0; }
  .techstack-item { width: 42px; height: 52px; padding: 5px; }
  .techstack-item img { width: 21px; height: 21px; }
  .techstack-item span { font-size: 6px; max-width: 38px; }
}

@media only screen and (min-width: 1400px) {
  .loading-wrap {
    --Lsize: 210px;
  }
  .loading-button {
    padding: 30px 70px;
    font-size: 25px;
  }
  .loading-container {
    left: 70px;
  }
  .loading-marquee {
    font-size: 100px;
  }
}
@media only screen and (min-width: 500px) {
  .loading-header {
    padding: 20px 0;
  }
  .loader-title {
    font-size: 16px;
  }
}
@media only screen and (min-width: 1200px) {
  .loading-header {
    padding: 35px 0;
  }
  .loader-title {
    font-size: 18px;
  }
}
