:root {
  --bg: #090d18;
  --bg-soft: #0e1423;
  --card: #121a2c;
  --text: #eff3ff;
  --muted: #9ba6bd;
  --line: rgba(205, 219, 255, 0.13);
  --accent: #9df6dc;
  --accent-2: #7e8cff;
  --mono: "DM Mono", monospace;
  --sans: "Manrope", sans-serif;
  --radius: 18px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 75% -10%,
      rgba(91, 105, 255, 0.16),
      transparent 28rem
    ),
    radial-gradient(
      circle at -5% 35%,
      rgba(43, 201, 172, 0.08),
      transparent 25rem
    );
  z-index: -1;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.section {
  padding: 130px 0;
}

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

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 8px 12px;
  color: var(--bg);
  background: var(--accent);
  transform: translateY(-160%);
}

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

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

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

.site-header.scrolled {
  background: rgba(9, 13, 24, 0.78);
  border-color: var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font: 800 22px var(--mono);
  letter-spacing: -2px;
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 31px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

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

.nav-links a:hover,
.nav-links a:focus-visible,
.footer a:hover {
  color: var(--text);
}

.nav-cta {
  font-size: 12px;
  font-weight: 700;
  color: var(--bg);
  background: var(--accent);
  padding: 9px 14px;
  border-radius: 100px;
}

.menu-toggle {
  display: none;
}

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

.hero {
  min-height: 730px;
  padding-top: 142px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 60px;
}

.eyebrow {
  margin: 0 0 17px;
  color: var(--accent);
  font: 500 11px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(157, 246, 220, 0.12);
}

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

h1,
h2 {
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(52px, 7vw, 94px);
}

h1 em,
h2 em {
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.07em;
  color: var(--accent);
}

.hero-role {
  margin-bottom: 21px;
  font: 500 14px var(--mono);
  color: #c3cbe0;
}

.hero-text {
  max-width: 540px;
  color: var(--muted);
  font-size: 16px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  transition:
    transform 0.2s,
    background 0.2s,
    border-color 0.2s;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
}

.button-primary {
  color: var(--bg);
  background: var(--accent);
  border-color: var(--accent);
}

.button-primary:hover {
  background: #c1ffea;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.02);
}

.button-secondary:hover {
  border-color: rgba(157, 246, 220, 0.5);
  background: rgba(157, 246, 220, 0.06);
}

/* =========================
   HERO VISUAL / TERMINAL
   ========================= */

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

.terminal-card {
  position: relative;
  z-index: 2;
  width: min(100%, 455px);
  overflow: hidden;
  border: 1px solid rgba(179, 196, 255, 0.18);
  border-radius: 14px;
  background: linear-gradient(
    130deg,
    rgba(25, 35, 59, 0.91),
    rgba(11, 16, 30, 0.95)
  );
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.3);
  transform: rotate(-3deg);
}

.terminal-bar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
}

.terminal-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff766e;
}

.terminal-bar span:nth-child(2) {
  background: #f7c85b;
}

.terminal-bar span:nth-child(3) {
  background: #8ce0a5;
}

.terminal-bar p {
  margin: 0 0 0 8px;
  color: #71809e;
  font: 10px var(--mono);
}

pre {
  margin: 0;
  padding: 32px clamp(19px, 4vw, 36px);
  overflow: auto;
  color: #dce7ff;
  font: 13px/1.85 var(--mono);
}

code i {
  color: #ad91ff;
  font-style: normal;
}

code b {
  color: #a7e6c7;
  font-weight: 400;
}

code u {
  color: #78b8ff;
  text-decoration: none;
}

.cursor {
  color: var(--accent);
  animation: blink 1s step-end infinite;
}

.terminal-footer {
  padding: 12px 16px;
  color: #71809e;
  border-top: 1px solid var(--line);
  font: 10px var(--mono);
}

.terminal-footer span {
  color: var(--accent);
  margin-right: 5px;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}

.orb-one {
  width: 220px;
  height: 220px;
  background: radial-gradient(
    circle at 35% 35%,
    #8895ff,
    rgba(92, 106, 255, 0.05) 68%
  );
  top: 6%;
  right: 0;
  opacity: 0.75;
  animation: float 6s ease-in-out infinite;
}

.orb-two {
  width: 130px;
  height: 130px;
  background: radial-gradient(circle, #71e0c6, transparent 69%);
  bottom: 3%;
  left: 1%;
  opacity: 0.35;
  animation: float 7s ease-in-out -2s infinite;
}

.code-tag {
  position: absolute;
  z-index: 3;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(16, 24, 42, 0.82);
  backdrop-filter: blur(8px);
  font: 10px var(--mono);
  color: var(--muted);
}

.tag-one {
  right: -8px;
  bottom: 23%;
}

.tag-two {
  left: -17px;
  top: 16%;
}

/* =========================
   ABOUT
   ========================= */

.about {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 90px;
}

.section-intro h2,
.section-heading h2,
.contact h2 {
  font-size: clamp(40px, 5vw, 64px);
  margin: 0;
}

.about-content {
  max-width: 610px;
}

.lead {
  font-size: 23px;
  line-height: 1.48;
  color: #dce4f5;
}

.about-content > p:not(.lead):not(.placeholder-note) {
  color: var(--muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 38px;
}

.stat-card {
  min-height: 104px;
  padding: 17px 13px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 9px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stat-card strong {
  font-size: 20px;
  letter-spacing: -0.05em;
}

.stat-card span {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.2;
}

.stat-wide strong {
  font-size: 15px;
}

.placeholder-note {
  margin: 12px 0 0;
  color: #73809b;
  font: 10px var(--mono);
}

/* =========================
   SKILLS
   ========================= */

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

.section-heading > p {
  max-width: 330px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.skill-groups {
  display: grid;
  gap: 40px;
}

.group-title {
  margin-bottom: 13px;
  color: #75829e;
  font: 11px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.one-card {
  grid-template-columns: repeat(5, 1fr);
}

.skill-card {
  min-height: 175px;
  padding: 20px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.012)
  );
  transition:
    transform 0.25s,
    border-color 0.25s,
    background 0.25s;
}

.skill-card:hover {
  transform: translateY(-5px);
  border-color: rgba(157, 246, 220, 0.37);
  background: rgba(157, 246, 220, 0.045);
}

.skill-icon {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  margin-bottom: 29px;
  border-radius: 7px;
  font: 500 12px var(--mono);
  background: #273353;
  color: #b9c4ff;
}

.java {
  color: #ff9f78;
  background: #3c2b35;
}

.js {
  color: #f6df67;
  background: #4a4425;
}

.php {
  color: #c4b6ff;
  background: #36314e;
}

.html {
  color: #ff9d87;
  background: #4b2f36;
}

.css {
  color: #8ecbff;
  background: #273d55;
}

.mysql {
  color: #7be0d2;
  background: #203f42;
}

.angular {
  color: #ff9ba8;
  background: #4c2831;
}

.git {
  color: #ffab8e;
  background: #4c312a;
}

.github {
  color: #eff3ff;
  background: #30384a;
}

.skill-card h3 {
  font-size: 14px;
  margin: 0 0 5px;
}

.skill-card p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.swift {
  color: #ffb29d;
  background: #4a2d31;
}

.swiftui {
  color: #9bc8ff;
  background: #283c59;
}

.python {
  color: #ebd96f;
  background: #3b3c2e;
}

.nosql {
  color: #a5eec9;
  background: #244038;
}

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

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

.projects-grid {
  display: grid;
  grid-template-columns: 1.28fr 0.72fr;
  gap: 16px;
}

.project-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.018);
  transition:
    transform 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
}

.project-card:hover {
  transform: translateY(-7px);
  border-color: rgba(157, 246, 220, 0.36);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.18);
}

.project-featured {
  grid-row: span 2;
}

.project-image {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  padding: 22px;
  background: #192443;
}

.project-featured .project-image {
  min-height: 350px;
}

.mockup-label {
  position: relative;
  z-index: 2;
  color: rgba(255, 255, 255, 0.6);
  font: 10px var(--mono);
  letter-spacing: 0.13em;
}

.image-one {
  background:
    radial-gradient(circle at 80% 18%, #6b7cee 0, transparent 30%),
    linear-gradient(135deg, #192950, #11203e);
}

.project-window {
  position: absolute;
  inset: 72px 9% 0;
  background: #111a30;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9px 9px 0 0;
  padding: 17px;
}

.project-window > i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 4px;
  border-radius: 50%;
  background: #4f5b78;
}

.project-window b {
  margin-left: 11px;
  color: #8f9dbb;
  font: 9px var(--mono);
}

.fake-chart {
  display: flex;
  align-items: end;
  gap: 7%;
  height: 73%;
  margin-top: 17px;
  border-bottom: 1px solid #354263;
}

.fake-chart span {
  width: 11%;
  background: linear-gradient(#99f2d8, #5b7de8);
  border-radius: 3px 3px 0 0;
}

.fake-chart span:nth-child(1) {
  height: 25%;
}

.fake-chart span:nth-child(2) {
  height: 45%;
}

.fake-chart span:nth-child(3) {
  height: 35%;
}

.fake-chart span:nth-child(4) {
  height: 73%;
}

.fake-chart span:nth-child(5) {
  height: 57%;
}

.image-two {
  background:
    radial-gradient(circle at 69% 27%, #df6b9b, transparent 30%),
    linear-gradient(135deg, #31203c, #1b2445);
}

.phone-ui {
  position: absolute;
  width: 145px;
  height: 255px;
  bottom: -23px;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid #202a45;
  border-radius: 19px 19px 0 0;
  padding: 27px 13px;
  background: #eef3ff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.phone-ui div {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #e7a0bb;
}

.phone-ui b {
  display: block;
  margin: 12px 0 18px;
  color: #26314e;
  font: 9px var(--mono);
}

.phone-ui span {
  display: block;
  height: 22px;
  margin-bottom: 8px;
  background: #d6deef;
  border-radius: 4px;
}

.phone-ui span:last-child {
  width: 65%;
  background: #9ae6d0;
}

.image-three {
  background:
    radial-gradient(circle at 25% 16%, #68cdbb, transparent 28%),
    linear-gradient(135deg, #112f3d, #1d2748);
}

.browser-ui {
  position: absolute;
  inset: 62px 10% 0;
  border-radius: 7px 7px 0 0;
  background: #dfeaf7;
  overflow: hidden;
}

.browser-ui header {
  height: 24px;
  background: #b5c4d6;
}

.browser-ui aside {
  float: left;
  width: 23%;
  height: 100%;
  background: #c8d5e3;
}

.browser-ui main {
  margin-left: 23%;
  padding: 17px;
  display: flex;
  gap: 8px;
}

.browser-ui i {
  display: block;
  width: 31%;
  height: 70px;
  border-radius: 3px;
  background: #a2dbc9;
}

.browser-ui i:nth-child(2) {
  background: #a6b6e2;
}

.browser-ui i:nth-child(3) {
  background: #e1b5c6;
}

.project-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: 25px;
}

.project-number {
  color: #76839f;
  font: 10px var(--mono);
}

.project-info h3 {
  margin-bottom: 9px;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.project-info > div > p:not(.project-number) {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.project-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: #afbbd3;
  font: 9px var(--mono);
}

.project-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.project-links a {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
}

.project-links .demo-link {
  color: #c8d1e4;
}

/* =========================
   GITHUB
   ========================= */

.github-strip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 25px;
  margin-bottom: 130px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(
    100deg,
    rgba(100, 116, 244, 0.1),
    rgba(157, 246, 220, 0.035)
  );
}

.github-symbol {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--accent);
  background: rgba(157, 246, 220, 0.11);
  font-size: 24px;
}

.github-strip .eyebrow {
  margin-bottom: 4px;
}

.github-strip h2 {
  margin: 0;
  font-size: clamp(18px, 2.3vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.04em;
}

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

.contact {
  background: rgba(255, 255, 255, 0.018);
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 110px;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 500px;
  color: var(--muted);
}

.contact-links {
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.contact-links li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.contact-links span {
  color: #71809c;
  font: 10px var(--mono);
  text-transform: uppercase;
}

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

.contact-links a:hover {
  color: var(--accent);
}

.contact-links b {
  float: right;
  color: var(--accent);
}

.contact-form {
  padding: 29px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(9, 13, 24, 0.45);
}

.contact-form > p {
  font-size: 18px;
  font-weight: 700;
}

.contact-form label {
  display: block;
  margin: 18px 0;
  color: #b5c0d7;
  font-size: 11px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 11px 0;
  border: 0;
  border-bottom: 1px solid #33405b;
  border-radius: 0;
  color: var(--text);
  background: transparent;
  font-size: 13px;
  outline: none;
  resize: vertical;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
}

.contact-form small {
  display: block;
  margin-top: 14px;
  color: #74819a;
  font: 9px/1.6 var(--mono);
}

.contact-panel {
  align-self: center;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(100, 116, 244, 0.1),
    rgba(157, 246, 220, 0.04)
  );
}

.contact-panel .eyebrow {
  margin-bottom: 14px;
}

.contact-panel h3 {
  margin-bottom: 12px;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.05em;
}

.contact-panel > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 13px;
}

.contact-phone {
  display: block;
  margin-top: 24px;
  color: var(--accent);
  font: 500 14px var(--mono);
}

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

.footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: #8290aa;
  font-size: 11px;
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer p {
  margin: 0;
}

.footer div {
  display: flex;
  gap: 20px;
}

.back-to-top {
  font-size: 18px;
  color: var(--accent);
}

/* =========================
   ANIMATIONS
   ========================= */

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

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

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

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

/* =========================
   TABLET
   ========================= */

@media (max-width: 850px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    min-height: 0;
    padding-bottom: 95px;
  }

  .hero-visual {
    max-width: 510px;
    width: 100%;
    margin: auto;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .project-featured {
    grid-row: auto;
  }

  .project-featured .project-image {
    min-height: 280px;
  }

  .contact-grid {
    gap: 65px;
  }

  .github-strip {
    grid-template-columns: auto 1fr;
  }

  .github-strip .button {
    grid-column: 1 / -1;
  }

  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 32px;
    padding: 7px 2px;
    border: 0;
    background: transparent;
  }

  .menu-toggle span:not(.sr-only) {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--text);
    transition: transform 0.2s;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 20px;
    border-bottom: 1px solid var(--line);
    background: rgba(9, 13, 24, 0.97);
  }

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

  .nav-links a {
    padding: 11px 0;
  }

  .menu-toggle.open span:nth-child(2) {
    transform: translateY(3px) rotate(45deg);
  }

  .menu-toggle.open span:nth-child(3) {
    transform: translateY(-3px) rotate(-45deg);
  }
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 560px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .section {
    padding: 92px 0;
  }

  .hero {
    padding-top: 125px;
  }

  .hero-text {
    font-size: 14px;
  }

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

  .terminal-card {
    transform: rotate(-2deg);
  }

  pre {
    font-size: 10px;
    padding: 22px 16px;
  }

  .tag-one {
    right: -3px;
  }

  .tag-two {
    left: -4px;
  }

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

  .section-heading {
    display: block;
    margin-bottom: 35px;
  }

  .section-heading > p {
    margin-top: 20px;
  }

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

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

  .skill-card {
    min-height: 145px;
  }

  .skill-icon {
    margin-bottom: 18px;
  }

  .project-featured .project-image,
  .project-image {
    min-height: 220px;
  }

  .project-window {
    inset: 62px 7% 0;
  }

  .project-info {
    padding: 21px;
  }

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

  .project-links {
    justify-content: flex-start;
  }

  .github-strip {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 92px;
    padding: 25px;
  }

  .contact-links li {
    grid-template-columns: 74px 1fr;
  }

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

  .footer div {
    order: 3;
    width: 100%;
    gap: 14px;
  }

  .footer .back-to-top {
    margin-left: auto;
  }
}

/* =========================
   REDUCED MOTION
   ========================= */

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

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

  .cursor,
  .orb {
    animation: none;
  }

  .button,
  .skill-card,
  .project-card,
  .site-header {
    transition: none;
  }
}