:root {
  --ink: #08131f;
  --ink-soft: #102338;
  --dark-card: #0d1c2a;
  --paper: #f5f3ed;
  --paper-deep: #ebe7de;
  --white: #ffffff;
  --text: #182638;
  --muted: #617080;
  --line: rgba(16, 35, 56, 0.14);
  --line-light: rgba(255, 255, 255, 0.13);
  --teal: #159b8c;
  --teal-bright: #72dfce;
  --teal-pale: #b9f4e8;
  --blue: #14526c;
  --container: 1180px;
  --radius: 28px;
  --shadow: 0 28px 80px rgba(3, 13, 24, 0.18);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.scrolled {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(8, 19, 31, 0.88);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 13px;
  color: var(--white);
  background:
    radial-gradient(circle at 75% 20%, rgba(114, 223, 206, 0.35), transparent 35%),
    rgba(255, 255, 255, 0.07);
  font-size: 13px;
  font-weight: 900;
}

.brand-name {
  font-size: 15px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-resume {
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--white) !important;
  background: rgba(255, 255, 255, 0.06);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.menu-button span {
  width: 19px;
  height: 2px;
  display: block;
  margin: 5px auto;
  background: var(--white);
  transition: transform 0.2s ease;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 138px 0 0;
  color: var(--white);
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 82% 18%, rgba(21, 155, 140, 0.20), transparent 28%),
    var(--ink);
  background-size: 64px 64px, 64px 64px, auto, auto;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 130px;
  background: linear-gradient(transparent, rgba(8, 19, 31, 0.94));
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero-orb-one {
  width: 370px;
  height: 370px;
  top: -160px;
  left: -130px;
  background: radial-gradient(circle, rgba(21, 155, 140, 0.30), transparent 68%);
}

.hero-orb-two {
  width: 500px;
  height: 500px;
  right: -240px;
  bottom: -260px;
  background: radial-gradient(circle, rgba(20, 82, 108, 0.50), transparent 68%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(390px, 0.9fr);
  gap: 72px;
  align-items: center;
}

.availability {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 34px;
  padding: 9px 13px;
  border: 1px solid rgba(185, 244, 232, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(185, 244, 232, 0.055);
  font-size: 12px;
  font-weight: 650;
}

.availability-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-bright);
  box-shadow: 0 0 0 5px rgba(114, 223, 206, 0.12);
}

.hero-kicker,
.eyebrow {
  margin: 0 0 17px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-kicker {
  color: var(--teal-bright);
}

.eyebrow-light {
  color: var(--teal-bright);
}

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

h1 {
  max-width: 780px;
  margin-bottom: 26px;
  font-size: clamp(56px, 7vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

h1 span {
  color: var(--teal-bright);
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.052em;
}

h3 {
  margin-bottom: 12px;
  font-size: 23px;
  line-height: 1.24;
  letter-spacing: -0.028em;
}

.hero-intro {
  max-width: 700px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 17px;
}

.hero-intro strong {
  color: var(--white);
}

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

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

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

.button-primary {
  color: #052420;
  background: var(--teal-bright);
  box-shadow: 0 15px 35px rgba(114, 223, 206, 0.16);
}

.button-primary:hover {
  background: #91ebdc;
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--white);
  background: rgba(255, 255, 255, 0.055);
}

.button-light {
  color: var(--ink);
  background: var(--white);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-proof div {
  padding: 22px 20px 0 0;
}

.hero-proof div + div {
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  margin-bottom: 5px;
  color: var(--white);
  font-size: 17px;
}

.hero-proof span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
}

.hero-visual {
  position: relative;
  padding: 20px 0 0;
}

.portrait-shell {
  position: relative;
  width: min(100%, 480px);
  margin-left: auto;
}

.portrait-shell::before {
  content: "";
  position: absolute;
  inset: -18px 26px 20px -18px;
  border: 1px solid rgba(114, 223, 206, 0.22);
  border-radius: 48% 48% 32px 32px;
  transform: rotate(-3deg);
}

.portrait-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 220px 220px 32px 32px;
  background: #17283a;
  box-shadow: var(--shadow);
}

.portrait-frame img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.92) contrast(1.02);
}

.floating-card {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  background: rgba(8, 19, 31, 0.78);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(13px);
}

.floating-card-top {
  top: 78px;
  left: -58px;
  padding: 16px 19px;
  border-radius: 16px;
}

.floating-label {
  display: block;
  margin-bottom: 4px;
  color: var(--teal-bright);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

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

.floating-card-bottom {
  right: -38px;
  bottom: 56px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 18px;
  border-radius: 17px;
}

.code-mark {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--ink);
  background: var(--teal-bright);
  font-size: 13px;
  font-weight: 900;
}

.floating-card-bottom strong,
.floating-card-bottom span {
  display: block;
}

.floating-card-bottom strong {
  font-size: 12px;
}

.floating-card-bottom div span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
}

.photo-caption {
  margin: 13px 10px 0 0;
  color: rgba(255, 255, 255, 0.34);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-align: right;
  text-transform: uppercase;
}

.technology-strip {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 80px;
  padding: 24px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.35);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.section {
  position: relative;
  padding: 128px 0;
}

.section-light {
  background: var(--paper);
}

.section-dark {
  color: var(--white);
  background:
    radial-gradient(circle at 95% 0%, rgba(21, 155, 140, 0.17), transparent 26%),
    var(--ink);
}

.section-projects {
  background: #ece9e1;
}

.section-number {
  margin-bottom: 42px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 90px;
  align-items: start;
}

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

.section-heading > p:not(.eyebrow) {
  color: var(--muted);
}

.about-content {
  max-width: 730px;
  margin-left: auto;
  color: var(--muted);
  font-size: 16px;
}

.about-content .lead {
  margin-bottom: 26px;
  color: var(--text);
  font-size: 24px;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 44px;
}

.about-values article {
  min-height: 240px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.38);
}

.about-values article > span {
  display: block;
  margin-bottom: 50px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
}

.about-values h3 {
  font-size: 17px;
}

.about-values p {
  margin-bottom: 0;
  font-size: 12px;
}

.section-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 62px;
}

.section-top h2 {
  max-width: 780px;
  margin-bottom: 0;
}

.section-intro {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 14px;
}

.dark-copy {
  color: var(--muted);
}

.skills-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.skill-panel {
  min-height: 310px;
  padding: 32px;
  border: 1px solid var(--line-light);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
}

.skill-panel-header {
  display: flex;
  gap: 25px;
  align-items: flex-start;
}

.skill-panel-header > span {
  padding-top: 6px;
  color: var(--teal-bright);
  font-size: 10px;
  font-weight: 900;
}

.skill-panel h3 {
  max-width: 420px;
  font-size: 27px;
}

.skill-panel > p {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.51);
  font-size: 13px;
}

.skill-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 40px;
}

.skill-chips span {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.035);
  font-size: 10px;
  font-weight: 750;
}

.learning-panel {
  background:
    linear-gradient(145deg, rgba(21, 155, 140, 0.17), rgba(255, 255, 255, 0.025));
}

.learning-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
  color: var(--teal-bright);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-bright);
  box-shadow: 0 0 0 5px rgba(114, 223, 206, 0.10);
}

.projects-heading {
  align-items: start;
}

.project-list {
  display: grid;
  gap: 22px;
}

.project {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  min-height: 540px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 27px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 15px 50px rgba(27, 37, 49, 0.055);
}

.project-reverse .project-preview {
  order: 2;
}

.project-preview {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  padding: 65px;
}

.preview-events {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 10% 90%, rgba(114, 223, 206, 0.25), transparent 30%),
    linear-gradient(145deg, #0a2631, #0c5e5a);
}

.mock-browser {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 17px;
  background: #eff6f6;
  box-shadow: 0 35px 65px rgba(0, 0, 0, 0.28);
  transform: rotate(-2.5deg);
}

.mock-browser-bar {
  height: 35px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 13px;
  background: #dbe6e7;
}

.mock-browser-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #92a6a7;
}

.mock-dashboard {
  min-height: 290px;
  display: grid;
  grid-template-columns: 70px 1fr;
}

.mock-sidebar {
  padding: 28px 20px;
  background: #133c43;
}

.mock-sidebar i {
  height: 9px;
  display: block;
  margin-bottom: 20px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.26);
}

.mock-content {
  padding: 28px;
}

.mock-title {
  width: 45%;
  height: 15px;
  margin-bottom: 29px;
  border-radius: 7px;
  background: #98acad;
}

.mock-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
  margin-bottom: 23px;
}

.mock-stats i {
  height: 62px;
  border-radius: 10px;
  background: #d3e2e3;
}

.mock-table {
  display: grid;
  gap: 11px;
}

.mock-table i {
  height: 14px;
  border-radius: 7px;
  background: #dbe5e5;
}

.preview-label {
  position: absolute;
  right: 20px;
  bottom: 18px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.preview-django {
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    #133a2e;
  background-size: 32px 32px;
}

.django-mark {
  position: absolute;
  top: 55px;
  left: 58px;
  color: #b6e2cf;
  font-family: Georgia, serif;
  font-size: 108px;
  font-weight: 900;
  line-height: 1;
  opacity: 0.9;
}

.code-lines {
  position: absolute;
  top: 190px;
  left: 65px;
  right: 65px;
  display: grid;
  gap: 13px;
}

.code-lines span {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.17);
}

.code-lines span:nth-child(2) { width: 74%; }
.code-lines span:nth-child(3) { width: 86%; }
.code-lines span:nth-child(4) { width: 55%; }
.code-lines span:nth-child(5) { width: 68%; }

.data-card {
  position: absolute;
  right: 44px;
  bottom: 65px;
  max-width: 300px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
}

.data-card small,
.data-card strong {
  display: block;
}

.data-card small {
  margin-bottom: 7px;
  color: #9bd8bf;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.data-card strong {
  color: var(--white);
  font-size: 11px;
}

.preview-portfolio {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 80% 20%, rgba(114, 223, 206, 0.22), transparent 28%),
    #0b1927;
}

.portfolio-window {
  width: 100%;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: #f5f3ed;
  box-shadow: 0 35px 65px rgba(0, 0, 0, 0.30);
  transform: rotate(2deg);
}

.portfolio-nav {
  width: 100%;
  height: 20px;
  margin-bottom: 22px;
  border-radius: 8px;
  background: #d6dbd8;
}

.portfolio-hero-mini {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  min-height: 180px;
  padding: 24px;
  border-radius: 12px;
  background: #0c1b29;
}

.portfolio-hero-mini div span {
  height: 12px;
  display: block;
  margin-bottom: 16px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.16);
}

.portfolio-hero-mini div span:nth-child(1) {
  width: 82%;
  height: 26px;
  background: rgba(114, 223, 206, 0.75);
}

.portfolio-hero-mini div span:nth-child(3) {
  width: 64%;
}

.portfolio-hero-mini i {
  border-radius: 70px 70px 13px 13px;
  background: linear-gradient(145deg, #1a877b, #233d50);
}

.portfolio-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.portfolio-cards i {
  height: 63px;
  border-radius: 10px;
  background: #e1e2dc;
}

.project-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 55px;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
  color: var(--teal);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.project-content h3 {
  max-width: 520px;
  font-size: 36px;
}

.project-content > p {
  color: var(--muted);
  font-size: 14px;
}

.project-content ul {
  margin: 18px 0 33px;
  padding: 0;
  list-style: none;
  color: #3c4c5d;
  font-size: 13px;
}

.project-content li {
  position: relative;
  margin-bottom: 9px;
  padding-left: 20px;
}

.project-content li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.project-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
}

.project-footer a {
  color: var(--text);
}

.github-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 22px;
  padding: 40px;
  border-radius: 24px;
  color: var(--white);
  background:
    radial-gradient(circle at 90% 20%, rgba(21, 155, 140, 0.27), transparent 28%),
    var(--ink);
}

.small-label {
  display: block;
  margin-bottom: 12px;
  color: var(--teal-bright);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.github-cta h3 {
  max-width: 700px;
  margin-bottom: 0;
}

.journey-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: 100px;
  align-items: start;
}

.sticky-heading {
  position: sticky;
  top: 125px;
}

.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 40px;
  left: 6px;
  width: 1px;
  background: var(--line);
}

.timeline-item {
  position: relative;
  padding: 0 0 60px 10px;
}

.timeline-dot {
  position: absolute;
  top: 7px;
  left: -40px;
  width: 13px;
  height: 13px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 1px var(--teal);
}

.timeline-date {
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.timeline-item h3 {
  font-size: 27px;
}

.timeline-item p {
  max-width: 620px;
  color: var(--muted);
  font-size: 14px;
}

.services-section {
  color: var(--white);
  background:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    var(--ink-soft);
  background-size: 52px 52px;
}

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

.service-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line-light);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.035);
  transition: transform 0.2s ease, background 0.2s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.06);
}

.service-card > span {
  margin-bottom: 58px;
  color: var(--teal-bright);
  font-size: 10px;
  font-weight: 900;
}

.service-card h3 {
  font-size: 22px;
}

.service-card p {
  color: rgba(255, 255, 255, 0.51);
  font-size: 12px;
}

.service-card small {
  display: block;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line-light);
  color: rgba(255, 255, 255, 0.40);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-section {
  padding: 125px 0;
  color: var(--white);
  background:
    radial-gradient(circle at 10% 90%, rgba(21, 155, 140, 0.23), transparent 30%),
    #07111b;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 90px;
  align-items: center;
}

.contact-copy h2 {
  max-width: 620px;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 590px;
  color: rgba(255, 255, 255, 0.54);
}

.contact-panel {
  border: 1px solid var(--line-light);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.035);
}

.contact-primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 30px;
  border-bottom: 1px solid var(--line-light);
}

.contact-primary small,
.contact-primary strong {
  display: block;
}

.contact-primary small,
.contact-details small {
  margin-bottom: 7px;
  color: var(--teal-bright);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.contact-primary strong {
  font-size: 22px;
  overflow-wrap: anywhere;
}

.contact-primary b {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--teal-bright);
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.contact-details a {
  padding: 25px 30px;
  border-bottom: 1px solid var(--line-light);
}

.contact-details a:nth-child(odd) {
  border-right: 1px solid var(--line-light);
}

.contact-details a:nth-last-child(-n+2) {
  border-bottom: 0;
}

.contact-details small,
.contact-details strong {
  display: block;
}

.contact-details strong {
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
}

.site-footer {
  padding: 48px 0;
  color: rgba(255, 255, 255, 0.55);
  background: #050c13;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: start;
}

.footer-brand {
  margin-bottom: 14px;
}

.footer-grid p {
  margin-bottom: 0;
  font-size: 11px;
}

.footer-links {
  display: flex;
  gap: 24px;
  color: rgba(255, 255, 255, 0.70);
  font-size: 11px;
  font-weight: 750;
}

.copyright {
  grid-column: span 2;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

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

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

@media (max-width: 1060px) {
  .hero-grid {
    grid-template-columns: 1fr 0.78fr;
    gap: 45px;
  }

  .portrait-frame img {
    height: 560px;
  }

  .floating-card-top {
    left: -25px;
  }

  .floating-card-bottom {
    right: -18px;
  }

  .about-grid,
  .journey-grid {
    gap: 60px;
  }

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

@media (max-width: 860px) {
  .menu-button {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 80px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    padding: 13px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    color: var(--white);
    background: rgba(8, 19, 31, 0.98);
    box-shadow: var(--shadow);
  }

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

  .nav-links a {
    padding: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .nav-resume {
    margin-top: 6px;
    text-align: center;
  }

  .hero {
    padding-top: 125px;
  }

  .hero-grid,
  .about-grid,
  .section-top,
  .journey-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 65px;
  }

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

  .portrait-shell {
    margin-inline: auto;
  }

  .technology-strip {
    flex-wrap: wrap;
    justify-content: center;
  }

  .about-content {
    max-width: none;
    margin-left: 0;
  }

  .section-top {
    gap: 20px;
  }

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

  .project,
  .project-reverse {
    grid-template-columns: 1fr;
  }

  .project-reverse .project-preview {
    order: 0;
  }

  .project-preview {
    min-height: 460px;
  }

  .sticky-heading {
    position: static;
  }

  .contact-grid {
    gap: 48px;
  }
}

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

  .section {
    padding: 90px 0;
  }

  h1 {
    font-size: clamp(48px, 15vw, 68px);
  }

  h2 {
    font-size: clamp(36px, 11vw, 49px);
  }

  .hero-intro {
    font-size: 15px;
  }

  .availability {
    align-items: flex-start;
    border-radius: 16px;
    line-height: 1.4;
  }

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

  .hero-proof div {
    padding: 16px 0;
  }

  .hero-proof div + div {
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    border-left: 0;
  }

  .portrait-frame img {
    height: 530px;
  }

  .floating-card-top {
    top: 35px;
    left: -5px;
  }

  .floating-card-bottom {
    right: -4px;
    bottom: 33px;
  }

  .technology-strip {
    justify-content: flex-start;
    margin-top: 55px;
  }

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

  .about-values article {
    min-height: auto;
  }

  .about-values article > span {
    margin-bottom: 24px;
  }

  .skill-panel {
    min-height: auto;
    padding: 26px;
  }

  .skill-panel-header {
    gap: 16px;
  }

  .skill-panel h3 {
    font-size: 24px;
  }

  .project-preview {
    min-height: 370px;
    padding: 34px;
  }

  .mock-dashboard {
    min-height: 225px;
    grid-template-columns: 53px 1fr;
  }

  .mock-content {
    padding: 18px;
  }

  .django-mark {
    top: 38px;
    left: 35px;
    font-size: 85px;
  }

  .code-lines {
    top: 145px;
    left: 38px;
    right: 38px;
  }

  .data-card {
    right: 28px;
    bottom: 45px;
    left: 28px;
  }

  .project-content {
    padding: 34px 27px;
  }

  .project-content h3 {
    font-size: 30px;
  }

  .project-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .github-cta {
    align-items: flex-start;
    flex-direction: column;
    padding: 30px;
  }

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

  .contact-primary {
    padding: 24px;
  }

  .contact-primary strong {
    font-size: 18px;
  }

  .contact-details {
    grid-template-columns: 1fr;
  }

  .contact-details a,
  .contact-details a:nth-child(odd) {
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .contact-details a:last-child {
    border-bottom: 0;
  }

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

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

  .copyright {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .button,
  .service-card {
    transition: none;
  }
}
