:root {
  color-scheme: light;
  --ink: #15213b;
  --muted: #67738a;
  --blue: #0e3c5a;
  --blue-dark: #061f32;
  --blue-hover: #125e84;
  --blue-soft: #eaf2f7;
  --green: #179223;
  --paper: #f7f9fc;
  --white: #ffffff;
  --line: #dce5ec;
  --section_bg:#f7fafd;
  --font-body: "DM Sans", sans-serif;
  --font-display: "Space Grotesk", sans-serif;
  --container: 1320px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}

body,
button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  color: inherit;
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

::selection {
  background: #dcedff;
  color: var(--ink);
}

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

.cursor-dot,
.cursor-trail {
  position: fixed;
  z-index: 1200;
  pointer-events: none;
}

.cursor-dot {
  top: 0;
  left: 0;
  width: 11px;
  height: 11px;
  border: 2px solid var(--white);
  background: var(--blue);
  box-shadow: 0 1px 8px rgba(50, 120, 212, 0.35);
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: width 180ms ease, height 180ms ease, opacity 160ms ease;
  will-change: transform;
  border-radius: 50%;
}

.cursor-dot.is-visible {
  opacity: 1;
}

.cursor-dot.is-hovering {
  width: 18px;
  height: 18px;
}

.cursor-trail {
  inset: 0;
  width: 100%;
  height: 100%;
}

.scroll-snake {
  position: fixed;
  z-index: 5;
  top: 10vh;
  right: 14px;
  width: 26px;
  height: 80vh;
  overflow: visible;
  pointer-events: none;
}

.snake-track,
.snake-progress {
  fill: none;
  stroke-linecap: round;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.snake-track {
  stroke: #dce2f1;
}

.snake-progress {
  stroke: var(--blue);
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.snake-head {
  fill: var(--paper);
  filter: drop-shadow(0 0 4px rgba(30, 95, 156, 0.747));
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgb(247 249 255 / 10%);
  backdrop-filter: blur(16px);
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  border-color: rgb(229 233 242 / 90%);
  box-shadow: 0 8px 25px rgb(27 42 78 / 5%);
}

.header-container {
  display: flex;
  min-height: 78px;
  align-items: center;
  gap: 34px;
  transition: min-height 220ms ease;
}

.site-header.is-compact .header-container {
  min-height: 60px;
}

/* .site-logo {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -1.3px;
  transition: font-size 220ms ease;
}

.site-header.is-compact .site-logo {
  font-size: 20px;
}

.site-logo span {
  color: var(--blue);
} */

.site-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.site-logo img {
  display: block;
  width: 120px;
  height: auto;
  transition: width 400ms ease;
}

.site-header.is-compact .site-logo img {
  width: 100px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav-link {
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  transition: color 160ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--blue-dark);
}

.header-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 13px;
  padding: 0 18px;
  background: var(--blue);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  transition:
    min-height 220ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.site-header.is-compact .header-button {
  min-height: 36px;
}

.header-button:hover,
.button-primary:hover {
  transform: translateY(-2px);
  background: var(--blue-dark);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.is-open span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  display: flex;
  min-height: 92vh;
  min-height: 92svh;
  flex-direction: column;
  overflow: hidden;
  padding: 0px 0 0;
  background:
    radial-gradient(ellipse at 81% 30%, rgb(223 228 255 / 75%), transparent 33%),
    linear-gradient(180deg, #fbfcff 0%, var(--paper) 100%);
}

.hero::after {
  position: absolute;
  z-index: 0;
  top: 8%;
  right: 8%;
  width: min(48vw, 620px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgb(218 225 255 / 48%), transparent 69%);
  content: "";
  filter: blur(12px);
  opacity: 0.7;
  pointer-events: none;
  animation: hero-glow-drift 18s ease-in-out infinite alternate;
}

.hero-fireflies {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}


.hero-fireflies span {
  position: absolute;
  display: block;
  width: 22px;
  height: 22px;

  background: radial-gradient(
    circle,
    rgb(8 50 78 / 95%) 0 12%,
    rgb(32 105 143 / 38%) 24%,
    transparent 70%
  );

  filter: drop-shadow(0 0 7px rgb(32 105 143 / 58%));
  opacity: 0.5;
  animation: firefly-drift 5.2s ease-in-out infinite alternate;
}


.hero-fireflies span:nth-child(1) {
  top: 15%;
  left: 42%;
  animation-delay: -1.7s;
}

.hero-fireflies span:nth-child(2) {
  top: 28%;
  left: 73%;
  width: 27px;
  height: 27px;
  animation-duration: 6.8s;
  animation-delay: -4.2s;
}

.hero-fireflies span:nth-child(3) {
  top: 56%;
  left: 56%;
  width: 17px;
  height: 17px;
  animation-duration: 4.3s;
  animation-delay: -2.6s;
}

.hero-fireflies span:nth-child(4) {
  top: 73%;
  left: 82%;
  animation-duration: 7.2s;
  animation-delay: -0.8s;
}

.hero-fireflies span:nth-child(5) {
  top: 39%;
  left: 93%;
  width: 18px;
  height: 18px;
  animation-duration: 5.9s;
  animation-delay: -3.3s;
}

.hero-fireflies span:nth-child(6) {
  top: 81%;
  left: 66%;
  width: 25px;
  height: 25px;
  animation-duration: 6.4s;
  animation-delay: -1.1s;
}

.hero-fireflies span:nth-child(7) {
  top: 21%;
  left: 59%;
  width: 16px;
  height: 16px;
  animation-duration: 4.8s;
  animation-delay: -3.9s;
}

.hero-fireflies span:nth-child(8) {
  top: 64%;
  left: 96%;
  width: 28px;
  height: 28px;
  animation-duration: 7.7s;
  animation-delay: -5.4s;
}

.hero-fireflies span:nth-child(9) {
  top: 89%;
  left: 45%;
  width: 17px;
  height: 17px;
  animation-duration: 5.6s;
  animation-delay: -2s;
}

.hero-fireflies span:nth-child(10) {
  top: 47%;
  left: 67%;
  animation-duration: 6.1s;
  animation-delay: -4.8s;
}

.hero-fireflies span:nth-child(11) {
  top: 11%;
  left: 87%;
  width: 19px;
  height: 19px;
  animation-duration: 4.6s;
  animation-delay: -2.9s;
}

.hero-fireflies span:nth-child(12) {
  top: 68%;
  left: 38%;
  width: 24px;
  height: 24px;
  animation-duration: 7s;
  animation-delay: -5.1s;
}

@keyframes firefly-drift {
  0% {
    opacity: 0.2;
    transform: translate3d(-7px, 5px, 0) scale(0.3);
  }

  48% {
    opacity: 0.92;
  }

  100% {
    opacity: 0.38;
    transform: translate3d(9px, -12px, 0) scale(0.6);
  }
}

@keyframes hero-glow-drift {
  to {
    transform: translate(-18px, 15px) scale(0.8);
  }
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  flex: 1;
  min-height: 490px;
  align-items: center;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 58px;
}

.hero-content {
  padding: 10px 0 42px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.7px;
}

.eyebrow-line {
  display: inline-block;
  width: 23px;
  height: 2px;
  background: currentColor;
}

.hero h1 {
  max-width: 625px;
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 66px);
  font-weight: 600;
  letter-spacing: -4px;
  line-height: 1.04;
}

.hero h1 span,
.section h2 span,
.contact-container h2 span {
  color: var(--blue);
}

.hero-description {
  max-width: 540px;
  margin-top: 21px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.hero-description strong {
  color: var(--ink);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 27px;
}

.button {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 20px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button-primary {
  background: var(--blue);
  color: var(--white);
}

.button-secondary {
  border-color: #dce1ed;
  background: rgb(255 255 255 / 58%);
}

.button-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
  color: var(--blue);
}

.hero-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 31px;
}

.hero-socials a,
.footer-socials a {
  color: #59667f;
  font-size: 14px;
  font-weight: 600;
  transition: color 160ms ease;
}


.role-text {
  font-size: clamp(32px, 5vw, 48px);
  overflow-wrap: anywhere;
}

.role-text::after {
    content: "|";
    margin-left: 8px;
    animation: blink 0.9s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.hero-socials a:hover,
.footer-socials a:hover {
  color: var(--blue);
}

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

.hero-image-frame {
  position: relative;
  /* z-index: 3; */
  width: min(330px, 80%);
  padding: 10px;
  border: 1px solid rgb(255 255 255 / 42%);
  background: rgb(255 255 255 / 42%);
  backdrop-filter: blur(15px);
  box-shadow: 0 24px 70px rgb(43 59 110 / 12%);
  transform: rotate(3deg);
  transition: transform 500ms ease;
}

.hero-image-frame:hover {
  transform: rotate(0) translateY(-5px);
}

.frame-top {
  display: flex;
  height: 21px;
  align-items: flex-start;
  gap: 5px;
  padding: 1px 2px;
}

.frame-top > span {
  width: 6px;
  height: 6px;
  background: #d4daea;
}

.frame-top > span:first-child {
  background: var(--blue);
}

.frame-top small {
  margin: -4px auto 0;
  color: #98a1b5;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.4px;
}

.hero-image-frame img {
  width: 100%;
  height: 340px;
  background: #dfe4dc;
  object-fit: cover;
  object-position: center 30%;
}

.visual-orbit {
  position: absolute;
  /* border: 1px solid rgb(50 56 212 / 11%); */
}

.orbit-one {
  width: 355px;
  height: 355px;
}

.orbit-two {
  width: 445px;
  height: 445px;
  border-style: none;
  border-color: rgb(50 56 212 / 9%);
}


.circle {

    position: absolute;
    right: 15%;
    top: 0;
    width: 90px;
    height: 90px;
    border:
        1px solid
        var(--blue);

    border-radius: 50%;
    /* opacity: 0.7; */
    z-index: -1;
    transition: transform 0.8s ease;
}


.circle::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    top: 10px;
    right: 10px;
    border-radius: 50%;
    background: var(--blue);
}


.hero-visual:has(.hero-image-frame:hover) .circle {
  transform: rotate(-390deg);
}


.floating-note {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid #e6eaf4;
  background: rgb(255 255 255 / 96%);
  box-shadow: 0 12px 30px rgb(34 48 86 / 9%);
  animation: float-note 4.5s ease-in-out infinite;
}

.note-code {
  top: 67px;
  left: -5px;
}

.note-status {
  right: -4px;
  bottom: 65px;
  animation-delay: -2.2s;
}

.note-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
}

.floating-note strong,
.floating-note small {
  display: block;
}

.floating-note strong {
  font-size: 14px;
}

.floating-note small {
  margin-top: 2px;
  color: #8a94a8;
  font-size: 14px;
}

/* .status-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  box-shadow: 0 0 0 4px #e5f5f0;
  border-radius: 50%;
} */

.status-dot {
  position: relative;
  width: 8px;
  height: 8px;
  background: var(--green);
  box-shadow: 0 0 0 4px #e5f5f0;
  border-radius: 50%;
}

.status-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid var(--green);
  border-radius: 50%;
  animation: status-pulse 1.8s ease-out infinite;
}

@keyframes status-pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}


.visual-caption {
  position: absolute;
  right: 17px;
  bottom: 21px;
  color: #858fa5;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.5px;
}

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

.hero-stats {
  position: relative;
  display: grid;
  min-height: 105px;
  align-items: center;
  grid-template-columns: repeat(4, 1fr) auto;
  border-top: 1px solid var(--line);
}

.hero-stats > div {
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.hero-stats strong {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -1px;
}

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

.hero-stats small {
  color: var(--muted);
  font-size: 14px;
}

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #8791a6;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
}

.scroll-cue-mark {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border: 1px solid #d9dfed;
  color: var(--blue);
  font-size: 13px;
}

.section {
  padding: 98px 0;
}

.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  align-items: start;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
}

.section h2,
.contact-container h2 {
  margin-top: 15px;
  font-family: var(--font-display);
  font-size: clamp(33px, 4vw, 47px);
  font-weight: 600;
  letter-spacing: -2.2px;
  line-height: 1.16;
}

.about-copy p {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.95;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 5px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.text-link:hover {
  color: var(--blue-dark);
}

.expertise-section {
  background: var(--section_bg);
}

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

.section-heading > p {
  max-width: 345px;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.section-heading h2 {
  max-width: 640px;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.expertise-card {
  min-height: 255px;
  padding: 21px 20px 19px;
  border: 1px solid #e5e9f2;
  background: var(--white);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.expertise-card:hover {
  transform: translateY(-5px);
  border-color: #c8cdfa;
  box-shadow: 0 14px 30px rgb(37 49 100 / 7%);
}

.card-index {
  color: #8791a6;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
}

.expertise-icon {
  display: grid;
  width: 39px;
  height: 39px;
  margin-top: 18px;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  border-radius: 3px;
}

.expertise-card:nth-child(3) .expertise-icon {
  background: #077abf14;
  color: #077abf;
}

.expertise-card h3 {
  margin-top: 15px;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: -0.3px;
}

.expertise-card > p {
  min-height: 66px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.tag-list,
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-list {
  margin-top: 13px;
}

.tag-list span,
.project-tags span {
  padding: 4px 7px;
  background: #f1f3f9;
  color: #66728a;
  font-size: 14px;
  font-weight: 600;
  border-radius: 3px;
}

.skills-section {
  background: var(--white);
}

.skills-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 95px;
}

.skills-layout h2 {
  max-width: 380px;
}

.skills-description {
  max-width: 340px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.skills-list {
  border-top: 1px solid var(--line);
}

.skill-group {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.skill-group h3 {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.skill-group p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.projects-section {
  background: var(--section_bg);
}

.all-projects-link {
  flex-shrink: 0;
  margin-bottom: 8px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px 22px;
}

.project-card {
  min-width: 0;
}

.project-art {
  position: relative;
  display: flex;
  min-height: 270px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgb(21 33 59 / 5%);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.project-card:hover .project-art {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgb(32 43 82 / 10%);
}

.project-counter {
  position: absolute;
  z-index: 2;
  top: 19px;
  left: 20px;
  color: #596586;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
}

.art-symbol {
  position: absolute;
  top: 16px;
  right: 20px;
  color: rgb(50 113 212 / 68%);
  font-size: 31px;
}

.art-rental {
  background:
   radial-gradient(circle at 80% 80%, rgb(65 149 236 / 20%), transparent 37%), linear-gradient(135deg, #e8ebff, #dcf0ff)
}

.art-window {
  width: min(65%, 360px);
  overflow: hidden;
  border: 1px solid rgb(73 83 155 / 15%);
  background: rgb(255 255 255 / 87%);
  box-shadow: 0 15px 35px rgb(47 54 133 / 13%);
  transform: rotate(-3deg);
}

.window-bar {
  display: flex;
  height: 24px;
  align-items: center;
  gap: 4px;
  padding: 0 10px;
  border-bottom: 1px solid #eceefa;
}

.window-bar i {
  width: 5px;
  height: 5px;
  background: #bdc4e8;
}

.window-content {
  display: flex;
  min-height: 151px;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
}

.window-content span,
.window-content em {
  color: #7580a0;
  font-size: 14px;
  font-style: normal;
}

.window-content b {
  margin: 5px 0 13px;
  color: #222d58;
  font-family: var(--font-display);
  font-size: clamp(19px, 2.6vw, 27px);
  letter-spacing: -1px;
}

.window-content em {
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
}

.art-commerce {
  background:
    radial-gradient(ellipse at 80% 88%, #cce7d9 0 20%, transparent 21%),
    linear-gradient(135deg, #eff7ef, #dceee2);
}

.commerce-copy {
  width: 58%;
  color: #25543f;
  transform: rotate(3deg);
}

.commerce-copy small,
.commerce-copy span {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.commerce-copy b {
  display: block;
  margin: 11px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(27px, 3.5vw, 40px);
  letter-spacing: -2px;
  line-height: 0.98;
}

.commerce-copy span {
  color: #497d64;
  font-size: 11px;
}

.art-health {
  background:
    radial-gradient(circle at 81% 19%, #daf2ec 0 16%, transparent 17%),
    linear-gradient(135deg, #e7f7f5, #d7eeeb);
}

.health-cross {
  position: absolute;
  right: 18%;
  bottom: -22px;
  color: rgb(31 143 118 / 12%);
  font-family: var(--font-display);
  font-size: 210px;
  font-weight: 500;
  line-height: 1;
}

.health-card {
  position: relative;
  display: flex;
  width: 57%;
  min-height: 146px;
  flex-direction: column;
  justify-content: center;
  padding: 21px;
  border: 1px solid rgb(56 137 116 / 17%);
  background: rgb(255 255 255 / 86%);
  box-shadow: 0 14px 28px rgb(37 103 83 / 9%);
}

.health-card small,
.health-card > span {
  color: #548276;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}

.health-card b {
  margin: 9px 0;
  color: #264e48;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.8vw, 31px);
  letter-spacing: -1.2px;
  line-height: 1.08;
}

.health-card > span {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
}

.art-product {
  background:
    radial-gradient(circle at 85% 24%, rgb(117 194 224 / 24%), transparent 31%), linear-gradient(135deg, #b6dbf3, #ecf7ff)
}

.product-card-ui {
  display: flex;
  width: 61%;
  min-height: 150px;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
  border: 1px solid rgb(98 81 183 / 14%);
  background: rgb(255 255 255 / 83%);
  box-shadow: 0 15px 30px rgb(68 54 139 / 10%);
  transform: rotate(2deg);
}

.product-card-ui small,
.product-card-ui span {
  color: #7970a8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}

.product-card-ui b {
  margin: 9px 0 13px;
  color: #38305e;
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 34px);
  letter-spacing: -1.4px;
  line-height: 1;
}

.product-card-ui span {
  color: #6f62cc;
  font-size: 11px;
}

.project-info {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 15px;
  margin-top: 16px;
}

.project-info h3 {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: -0.5px;
}

.project-info p {
  max-width: 400px;
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.project-links {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}

.project-links a {
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.project-links a:hover {
  color: var(--blue-dark);
}

.project-tags {
  margin-top: 12px;
}

.experience-section {
  background: var(--white);
}

.timeline {
  position: relative;
  display: grid;
  gap: 0;
  margin-top: 48px;
}

.timeline::before {
  position: absolute;
  top: 4px;
  bottom: 6px;
  left: 174px;
  width: 1px;
  background: #dfe4f0;
  content: "";
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 54px;
  padding: 0 0 34px;
}

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

.timeline-dot {
  position: absolute;
  top: 4px;
  left: 169px;
  width: 11px;
  height: 11px;
  border: 3px solid var(--white);
  background: var(--blue);
  box-shadow: 0 0 0 1px #bcc4f7;
  border-radius: 50%;
}

.timeline-date {
  padding-top: 2px;
  color: #78849a;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.timeline-content {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

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

.timeline-title {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.timeline-title h3,
.education-list h3 {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: -0.4px;
}

.timeline-title p,
.education-list p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.current-badge {
  padding: 5px 8px;
  background: #e7f5ef;
  color: #198361;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
}

.timeline-content ul {
  display: grid;
  gap: 6px;
  margin: 13px 0 0;
  padding-left: 15px;
  color: #647087;
  font-size: 14px;
  line-height: 1.75;
}

.timeline-content li::marker {
  color: #8189e9;
}

.education-section {
  background: var(--section_bg);
}

.education-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 75px;
}

.education-list {
  border-top: 1px solid #e2e6f0;
}

.education-list article {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 19px;
  padding: 19px 0;
  border-bottom: 1px solid #e2e6f0;
}

.education-list article > span {
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
}

.contact-section {
  padding: 78px 0 24px;
  background: var(--blue);
  color: var(--white);
}

.contact-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding-bottom: 47px;
}

.contact-container .eyebrow {
  color:  var(--paper);
}

.contact-container h2 {
  max-width: 680px;
  font-size: clamp(35px, 4.8vw, 55px);
}

.contact-container h2 span {
  color: #cbcbcb;
}

.contact-container > div > p:last-child {
  margin-top: 13px;
  color:  var(--paper);
  font-size: 14px;
}

.button-light {
  flex-shrink: 0;
  background: var(--white);
  color: var(--blue);
}

.button-light:hover {
  transform: translateY(-2px);
  background: #e9ebff;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 18px;
  border-top: 1px solid rgb(255 255 255 / 22%);
  color: #cbcbcb;
  font-size: 14px;
}

.contact-details a:hover {
  color: var(--white);
}

.site-footer {
  padding: 21px 0;
  background: #fff;
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
/* 
.footer-container .site-logo {
  font-size: 19px;
} */

.footer-container > p {
  color: #8791a6;
  font-size: 14px;
}

.footer-socials {
  display: flex;
  gap: 17px;
}

.footer-socials a {
  font-size: 14px;
}

.js-motion .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease var(--reveal-delay, 0ms),
    transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms);
}

.js-motion .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid #8b91ff;
  outline-offset: 3px;
}

@media (max-width: 1000px) {
  .container {
    width: min(var(--container), calc(100% - 48px));
  }

  .hero-container {
    gap: 25px;
    grid-template-columns: 1fr 0.8fr;
  }

  .hero h1 {
    font-size: clamp(49px, 7vw, 66px);
  }

  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .scroll-cue {
    display: none;
  }

  .expertise-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .expertise-card {
    min-height: 230px;
  }

  .skills-layout {
    gap: 45px;
  }

  .project-info {
    flex-direction: column;
  }

  .project-links {
    flex-direction: row;
    align-items: center;
    gap: 15px;
  }
    .circle {
        right: 0;
}
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 76px;
  }

  .container {
    width: min(var(--container), calc(100% - 38px));
  }

  .header-container {
    min-height: 68px;
    gap: 12px;
  }

  .site-header.is-compact .header-container {
    min-height: 56px;
  }


 .site-logo img {
  width: 120px;
}

.site-header.is-compact .site-logo img {
  width: 90px;
}

  .menu-toggle {
    display: block;
    order: 3;
    flex-shrink: 0;
    margin-left: 0;
  }

  .header-button {
    min-height: 39px;
    margin-left: auto;
    padding: 0 13px;
    font-size: 14px;
  }

  .main-nav {
    position: absolute;
    top: calc(100% - 1px);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 9px 19px 15px;
    border-bottom: 1px solid var(--line);
    background: #fbfcff;
    box-shadow: 0 12px 20px rgb(27 42 78 / 6%);
  }

  .main-nav.is-open {
    display: flex;
    flex-direction: column;
  }

  .nav-link {
    padding: 10px 0;
    border-bottom: 1px solid #edf0f6;
  }

  .nav-link:last-child {
    border: 0;
  }

  .hero {
    padding-top: 55px;
  }

  .hero-fireflies span:nth-child(1) {
    left: 35%;
  }

  .hero-fireflies span:nth-child(2) {
    left: 82%;
  }

  .hero-fireflies span:nth-child(3) {
    left: 60%;
  }

  .hero-fireflies span:nth-child(5) {
    left: 91%;
  }

  .hero-fireflies span:nth-child(6) {
    left: 75%;
  }

  .hero-fireflies span:nth-child(7) {
    left: 48%;
  }

  .hero-fireflies span:nth-child(9) {
    left: 27%;
  }

  .hero-fireflies span:nth-child(10) {
    left: 70%;
  }

  .hero-fireflies span:nth-child(12) {
    left: 86%;
  }

  .hero-container {
    flex: initial;
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .hero-content {
    padding-bottom: 4px;
  }

  .hero h1 {
    max-width: 600px;
    margin-top: 17px;
    font-size: clamp(47px, 10vw, 67px);
    letter-spacing: -3.3px;
  }

  .hero-description {
    max-width: 590px;
    font-size: 13px;
  }

  .hero-visual {
    min-height: 385px;
  }

  .hero-image-frame {
    width: min(360px, 80%);
  }

  .hero-image-frame img {
    height: 300px;
  }

  .orbit-one {
    width: 315px;
    height: 315px;
  }

  .orbit-two {
    width: 390px;
    height: 390px;
  }

  .note-code {
    top: 52px;
    left: 4%;
  }

  .note-status {
    right: 3%;
    bottom: 45px;
  }

  .visual-caption {
    right: 16%;
    bottom: 6px;
  }

  .hero-stats {
    min-height: 126px;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 20px;
    padding: 18px 0;
  }

  .hero-stats > div {
    gap: 7px;
  }

  .hero-stats strong {
    font-size: 22px;
  }

  .section {
    padding: 72px 0;
  }

  .about-grid,
  .skills-layout,
  .education-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-grid {
    gap: 21px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
  }

  .section-heading > p {
    max-width: 480px;
  }

  .expertise-grid {
    gap: 11px;
  }

  .expertise-card {
    min-height: 236px;
    padding: 17px 15px;
  }

  .expertise-card > p {
    min-height: 72px;
  }

  .skills-layout {
    gap: 25px;
  }

  .project-grid {
    gap: 28px;
  }

  .project-art {
    min-height: 235px;
  }

  .timeline {
    margin-top: 34px;
  }

  .timeline::before {
    left: 4px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-left: 25px;
  }

  .timeline-dot {
    left: -1px;
  }

  .timeline-date {
    font-size: 10px;
  }

  .timeline-content {
    padding-bottom: 24px;
  }

  .education-grid {
    gap: 22px;
  }

  .contact-section {
    padding-top: 62px;
  }

  .contact-container {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
    padding-bottom: 32px;
  }

  .scroll-snake {
    right: 5px;
    width: 16px;
  }

  .footer-container {
    flex-wrap: wrap;
  }

  .circle {
        right: 16%;
}

}

@media (max-width: 480px) {

  .circle {
    right: 5%;
}


 .site-logo img {
  width: 105px;
}

.site-header.is-compact .site-logo img {
  width: 90px;
}

  .container {
    width: calc(100% - 34px);
  }

  .hero {
    padding-top: 43px;
  }

  .hero .eyebrow {
    font-size: 10px;
    letter-spacing: 1.2px;
  }

  .hero h1 {
    font-size: clamp(43px, 12vw, 57px);
    letter-spacing: -2.8px;
  }

  .hero-actions .button {
    min-height: 45px;
    padding: 0 14px;
    font-size: 14px;
  }

  .hero-socials {
    gap: 19px;
    margin-top: 22px;
  }

  .hero-visual {
    min-height: 350px;
  }

  .hero-image-frame {
    width: min(260px, 80%);
  }

  .hero-image-frame img {
    height: 260px;
  }

  .orbit-one {
    width: 275px;
    height: 275px;
  }

  .orbit-two {
    width: 330px;
    height: 330px;
  }

  .floating-note {
    gap: 7px;
    padding: 8px;
  }

  .note-code {
    left: 0;
  }

  .note-status {
    right: -1px;
  }

  .note-icon {
    width: 29px;
    height: 29px;
  }

  .floating-note strong {
    font-size: 11px;
  }

  .floating-note small {
    font-size: 10px;
  }

  .visual-caption {
    right: 8%;
    font-size: 10px;
  }

  .hero-stats {
    gap: 10px 8px;
  }

  .hero-stats > div {
    align-items: start;
    flex-direction: column;
    gap: 0;
  }

  .hero-stats small {
    font-size: 11px;
  }

  .section {
    padding: 62px 0;
  }

  .section h2,
  .contact-container h2 {
    font-size: clamp(32px, 9vw, 42px);
    letter-spacing: -1.7px;
  }

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

  .expertise-card {
    min-height: auto;
    padding: 18px;
  }

  .expertise-card > p {
    min-height: 0;
  }

  .skill-group {
    grid-template-columns: 95px 1fr;
    gap: 12px;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 27px;
  }

  .project-art {
    min-height: 225px;
  }

  .project-info {
    gap: 9px;
  }

  .timeline-title h3 {
    font-size: 16px;
  }

  .current-badge {
    flex-shrink: 0;
  }

  .contact-details {
    gap: 10px 19px;
    font-size: 11px;
  }

  .footer-container {
    justify-content: center;
    text-align: center;
  }

  .footer-container > p {
    order: 3;
    width: 100%;
  }

  .footer-socials {
    gap: 10px;
  }

  .footer-socials a {
    font-size: 10px;
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .cursor-dot,
  .cursor-trail {
    display: block;
  }
}

@media (hover: none), (pointer: coarse) {
  .cursor-dot,
  .cursor-trail {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cursor-dot,
  .cursor-trail,
  .scroll-snake {
    display: none;
  }

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
