
:root {
  --bg: #0b1422;
  --panel: #101e30;
  --panel-light: #13243a;
  --text: #f2f5f8;
  --muted: #9aabba;
  --line: rgba(196, 215, 232, .13);
  --accent: #8be0c1;
  --accent-blue: #70b9ee;
  --header-bg: rgba(11, 20, 34, .82);
  --card-bg: linear-gradient(145deg, #162a3f, #0e1c2c);
  --font: 'DM Sans', sans-serif;
  --display: 'Manrope', sans-serif;
  --mono: 'DM Mono', monospace;
}

body[data-theme="light"] {
  --bg: #f4f3ee;
  --panel: #ffffff;
  --panel-light: #e9eee9;
  --text: #25333a;
  --muted: #68777d;
  --line: rgba(32, 52, 48, .13);
  --accent: #367f6d;
  --accent-blue: #477fa6;
  --header-bg: rgba(244, 243, 238, .88);
  --card-bg: linear-gradient(145deg, #ffffff, #edf1ec);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background .3s, color .3s;
}

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

button {
  font: inherit;
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

/* HEADER */

.header {
  position: fixed;
  z-index: 100;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 36px));
  height: 66px;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--header-bg);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .12);
  transition: background .3s, border-color .3s;
}

.navigation {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 42px;
}

.nav-links a,
.footer-nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s;
}

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

.theme-toggle {
  position: absolute;
  right: 0;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  color: var(--accent);
  cursor: pointer;
  font-size: 18px;
  transition: transform .2s, background .3s;
}

.theme-toggle:hover {
  transform: rotate(15deg);
}

/* GENERAL */

.section {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 95px 0;
  border-top: 1px solid var(--line);
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 38px;
  color: var(--muted);
  font: 500 10px var(--mono);
  letter-spacing: .16em;
}

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

.eyebrow {
  color: var(--accent);
  font: 500 10px var(--mono);
  letter-spacing: .16em;
}

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

h2 {
  font-family: var(--display);
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.15;
  letter-spacing: -.055em;
}

.section-heading h2 em,
.about-grid h2 em,
.skills-layout h2 em,
.projects-intro h2 em,
.contact-panel h2 em {
  color: var(--accent);
  font-style: normal;
}

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

/* HERO */

.hero {
  position: relative;
  min-height: 880px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 145px 20px 110px;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 30px;
  color: var(--muted);
  font: 14px var(--mono);
  letter-spacing: .1em;
  margin-bottom: 30px;
}

.status-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
}

.portrait-wrap {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 28px;
}

.portrait-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px dashed var(--accent);
  opacity: .5;
  border-radius: 50%;
  animation: rotate 35s linear infinite;
}

.portrait {
  position: relative;
  width: 184px;
  height: 184px;
  margin: 8px;
  object-fit: cover;
  object-position: center 35%;
  border-radius: 50%;
  border: 3px solid var(--accent);
  box-shadow: 0 0 0 8px rgba(139, 224, 193, .07),
              0 15px 40px rgba(0, 0, 0, .25);
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

.hero .eyebrow {
  margin-bottom: 5px;
}

.hero h1 {
  margin: 0;
  font: 800 clamp(56px, 8vw, 88px)/1.05 var(--display);
  letter-spacing: -.065em;
}

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

.hero h2 {
  margin: 18px 0 25px;
  font: 600 clamp(18px, 2.5vw, 25px)/1.5 var(--display);
}

.muted {
  color: var(--muted);
  font-weight: 400;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 13px 20px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
}

.button-primary {
  background: var(--accent);
  color: #10251f;
  transition: transform .2s, box-shadow .2s;
}

.button-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(139, 224, 193, .2);
}

.text-link {
  font-size: 18px;
  color: var(--muted);
}

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

.social-links {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  transition: color .2s;
}

.linkedin-link:hover {
  color: var(--accent);
}

.linkedin-link svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

/* HERO DECORATION */

.hero-decoration {
  position: absolute;
  inset: 130px 0 100px;
  pointer-events: none;
  opacity: .45;
}

.orbit {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid var(--line);
  border-radius: 50%;
}

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

.orbit-two {
  width: 820px;
  height: 820px;
  border-style: dashed;
}

.orbit-label {
  position: absolute;
  color: var(--muted);
  font: 9px var(--mono);
  letter-spacing: .2em;
}

.label-top {
  top: -5%;
  left: 50%;
  transform: translateX(-50%);
}

.label-right {
  right: 29.2%;
  top: 50%;
}

.label-bottom {
  top: 50%;
  left: 30.8%;
  transform: translateX(-50%);
}

.scroll-cue {
  position: absolute;
  bottom: 7%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font: 12px var(--mono);
  letter-spacing: .15em;
}

.scroll-cue span {
  width: 25px;
  height: 1px;
  background: var(--accent);
}

/* ABOUT */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 80px;
}

.about-grid h2 {
  font: 750 clamp(36px, 5vw, 55px)/1.15 var(--display);
  letter-spacing: -.055em;
  margin: 0;
}

.about-copy {
  color: var(--muted);
  font-size: 14px;
}

.about-copy p {
  margin-bottom: 17px;
}

.about-copy .lead {
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
}

.stat-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(40px, 10vw, 130px);
  text-align: center;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 130px;
}

.stat strong {
  font: 800 clamp(38px, 5vw, 48px) var(--display);
  letter-spacing: -.05em;
  color: var(--text);
}

.stat small {
  color: var(--muted);
  font-size: 11px;
}

/* EXPERTISE */

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

.expertise-card {
  position: relative;
  min-height: 285px;
  padding: 25px 22px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--card-bg);
  transition: transform .25s, border-color .25s;
}

.expertise-card:hover,
.project-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(139, 224, 193, .1);
  color: var(--accent);
  font: 20px var(--mono);
  margin-bottom: 28px;
}

.card-index {
  position: absolute;
  top: 28px;
  right: 22px;
  color: var(--muted);
  font: 10px var(--mono);
}

.expertise-card h3 {
  font: 700 16px var(--display);
  margin-bottom: 10px;
}

.expertise-card p {
  min-height: 65px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag-list span,
.skill-pills span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted);
  font: 9px var(--mono);
}

/* EXPERIENCE */

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

.timeline-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 45px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-date {
  padding-top: 5px;
  color: var(--muted);
  font: 10px var(--mono);
}

.current-pill {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 6px;
  border-radius: 4px;
  background: rgba(139, 224, 193, .12);
  color: var(--accent);
  font-size: 8px;
}

.timeline-body h3 {
  font: 700 19px var(--display);
  margin-bottom: 5px;
}

.company {
  color: var(--accent);
  font-size: 12px;
  margin-bottom: 15px;
}

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

.timeline-body ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

/* TECHNICAL SKILLS */

.skills-layout {
  display: grid;
  grid-template-columns: .55fr 1.45fr;
  gap: 65px;
}

.skills-layout h2 {
  margin: 0;
  font: 750 clamp(36px, 5vw, 52px)/1.15 var(--display);
  letter-spacing: -.05em;
}

.skill-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.skill-group h3 {
  font: 600 12px var(--display);
  margin-bottom: 14px;
}

.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.skill-pills span {
  padding: 8px 10px;
  font-size: 10px;
}

/* EDUCATION */

.education-card {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--card-bg);
}

.university-logo {
  flex: 0 0 90px;
  width: 90px;
  height: 90px;
  display: grid;
  place-items: center;
  padding: 8px;
  border-radius: 12px;
  background: #fff;
}

.university-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.education-date {
  color: var(--accent);
  font: 10px var(--mono);
  letter-spacing: .1em;
}

.education-info h3 {
  margin: 8px 0 3px;
  font: 700 18px var(--display);
}

.education-info p {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
}

.education-info .company {
  margin: 0;
}

/* PROJECTS */

.projects-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 35px;
}

.projects-intro h2 {
  margin: 0;
  font: 750 clamp(36px, 5vw, 52px)/1.15 var(--display);
  letter-spacing: -.055em;
}

.projects-intro h2 em {
  font-style: normal;
  color: var(--accent);
}

.projects-intro p {
  max-width: 330px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 13px;
}

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

.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--card-bg);
  transition: transform .25s, border-color .25s;
}

.project-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 18px 0;
  color: var(--muted);
  font: 9px var(--mono);
  letter-spacing: .08em;
}

.project-arrow {
  color: var(--accent);
  font-size: 17px;
}

.project-visual {
  height: 170px;
  margin: 15px 15px 0;
  border-radius: 8px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(circle, rgba(139, 224, 193, .12), transparent 65%), #0c1928;
}

.monitor-window {
  width: 78%;
  height: 112px;
  border: 1px solid rgba(139, 224, 193, .35);
  border-radius: 6px;
  background: #102438;
  overflow: hidden;
}

.monitor-head,
.code-bar {
  height: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
  border-bottom: 1px solid rgba(139, 224, 193, .15);
}

.monitor-head i,
.code-bar i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

.monitor-head span {
  margin-left: 7px;
  color: #8aa3b5;
  font: 6px var(--mono);
}

.monitor-content {
  display: flex;
  height: 90px;
  padding: 8px;
  gap: 8px;
}

.monitor-side {
  width: 22%;
  border-radius: 3px;
  background: linear-gradient(
    #1b4650 0 8px,
    transparent 8px 15px,
    #1b4650 15px 21px,
    transparent 21px 28px,
    #1b4650 28px 34px,
    transparent 34px
  );
}

.monitor-main {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.monitor-main > b {
  height: 15px;
  border-radius: 2px;
  background: rgba(139, 224, 193, .18);
  border: 1px solid rgba(139, 224, 193, .2);
}

.monitor-chart {
  grid-column: 1 / -1;
  height: 35px;
  border-bottom: 1px solid #6cc5a7;
  background: linear-gradient(
    165deg,
    transparent 42%,
    rgba(108, 197, 167, .35) 43%,
    transparent 45%
  );
}

.visual-robot {
  background: radial-gradient(circle, rgba(112, 185, 238, .15), transparent 65%), #0c1928;
}

.robot-orbit {
  position: relative;
  width: 115px;
  height: 115px;
  border: 1px dashed rgba(112, 185, 238, .45);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent);
  font: 9px var(--mono);
  letter-spacing: .2em;
}

.robot-orbit::before,
.robot-orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(112, 185, 238, .2);
  border-radius: 50%;
  inset: 15px;
}

.robot-orbit::after {
  inset: 31px;
  border-color: rgba(139, 224, 193, .25);
}

.robot-orbit b {
  position: absolute;
  right: 4px;
  top: 15px;
  color: var(--accent);
  font-size: 17px;
}

.robot-orbit i {
  position: absolute;
  left: 2px;
  bottom: 15px;
  color: var(--accent-blue);
  font-size: 18px;
}

.visual-code {
  background: radial-gradient(circle, rgba(139, 224, 193, .1), transparent 65%), #0c1928;
}

.code-window {
  width: 75%;
  height: 112px;
  border: 1px solid rgba(112, 185, 238, .3);
  border-radius: 6px;
  background: #102438;
  overflow: hidden;
}

.code-bar i {
  background: var(--accent-blue);
}

.code-lines {
  padding: 13px 15px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.code-lines b {
  height: 4px;
  border-radius: 3px;
  background: linear-gradient(
    90deg,
    #79c9ad 0 18%,
    #7396c0 18% 45%,
    rgba(112, 185, 238, .2) 45% 80%,
    transparent 80%
  );
}

.code-lines b:nth-child(2) {
  width: 82%;
  margin-left: 12px;
}

.code-lines b:nth-child(3) {
  width: 67%;
  margin-left: 12px;
}

.code-lines b:nth-child(4) {
  width: 90%;
}

.code-lines b:nth-child(5) {
  width: 60%;
  margin-left: 12px;
}

.code-lines b:nth-child(6) {
  width: 75%;
}

.project-card-copy {
  padding: 19px 19px 22px;
}

.project-card-copy h3 {
  margin-bottom: 8px;
  font: 700 15px var(--display);
}

.project-card-copy p {
  min-height: 60px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

/* LIGHT THEME PROJECT VISUALS */

body[data-theme="light"] .project-visual {
  background: radial-gradient(circle, rgba(53, 107, 98, .12), transparent 65%), #e9eee9;
}

body[data-theme="light"] .monitor-window,
body[data-theme="light"] .code-window {
  background: #f7faf7;
}

body[data-theme="light"] .monitor-head span {
  color: #647a72;
}

body[data-theme="light"] .monitor-side {
  background: linear-gradient(
    #b8d5c8 0 8px,
    transparent 8px 15px,
    #b8d5c8 15px 21px,
    transparent 21px 28px,
    #b8d5c8 28px 34px,
    transparent 34px
  );
}

body[data-theme="light"] .robot-orbit {
  border-color: rgba(53, 107, 98, .4);
  color: #356b62;
}

body[data-theme="light"] .robot-orbit::before,
body[data-theme="light"] .robot-orbit::after {
  border-color: rgba(53, 107, 98, .22);
}

/* CONTACT */

.contact-panel {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 70px;
  padding: 48px 52px;
  border-radius: 16px;
  background: #d9eee7;
  color: #10252a;
}

.contact-panel .eyebrow {
  color: #3b8170;
}

.contact-panel h2 {
  margin: 0;
  font: 750 clamp(38px, 5vw, 48px)/1.15 var(--display);
  letter-spacing: -.055em;
}

.contact-panel h2 em {
  color: #368b77;
}

.contact-note {
  max-width: 350px;
  margin-top: 18px;
  color: #56716e;
  font-size: 13px;
}

.contact-links {
  align-self: center;
}

.contact-links a {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 14px 30px 14px 0;
  border-bottom: 1px solid rgba(16, 37, 42, .16);
}

.contact-links a span {
  color: #638078;
  font: 9px var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.contact-links a strong {
  margin-top: 4px;
  color: #183d39;
  font: 600 13px var(--display);
}

.contact-links a b {
  position: absolute;
  right: 0;
  top: 25px;
  color: #368b77;
  font-size: 17px;
}

/* FOOTER */

.footer {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 30px 0 25px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 34px;
}

.copyright {
  width: 100%;
  margin-top: 7px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font: 9px var(--mono);
  letter-spacing: .04em;
}

/* RESPONSIVE */

@media (max-width: 850px) {

  .about-grid {
    gap: 40px;
  }

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

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

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

  .project-card:last-child {
    grid-column: 1 / -1;
  }

}

@media (max-width: 600px) {

  .header {
    top: 10px;
    width: calc(100% - 20px);
    height: 60px;
    padding: 0 14px;
  }

  .nav-links {
    gap: 25px;
  }

  .nav-links a {
    font-size: 12px;
  }

  .theme-toggle {
    width: 34px;
    height: 34px;
  }

  .section {
    width: calc(100% - 38px);
    padding: 70px 0;
  }

  .hero {
    min-height: 790px;
    padding-top: 125px;
  }

  .portrait-wrap {
    width: 170px;
    height: 170px;
  }

  .portrait {
    width: 154px;
    height: 154px;
  }

  .hero h1 {
    font-size: 58px;
  }

  .hero h2 {
    font-size: 19px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 18px;
  }

  .hero-decoration {
    inset: 160px -120px 100px;
  }

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

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

  .scroll-cue {
    bottom: 25px;
  }

  .section-kicker {
    margin-bottom: 27px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .about-grid h2,
  .section-heading h2,
  .skills-layout h2 {
    font-size: 39px;
  }

  .about-copy .lead {
    font-size: 15px;
  }

  .stat-row {
    gap: 10px;
    justify-content: space-around;
    margin-top: 35px;
  }

  .stat {
    flex: 1;
    min-width: 0;
  }

  .stat strong {
    font-size: 30px;
  }

  .stat small {
    font-size: 9px;
  }

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

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

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

  .expertise-card {
    padding: 19px 14px;
    min-height: 290px;
  }

  .expertise-card h3 {
    font-size: 14px;
  }

  .expertise-card p {
    font-size: 11px;
  }

  .tag-list span {
    font-size: 8px;
  }

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

  .timeline-body h3 {
    font-size: 17px;
  }

  .timeline-body ul {
    font-size: 11px;
  }

  .skill-groups {
    gap: 25px 18px;
  }

  .skill-pills span {
    font-size: 9px;
  }

  .education-card {
    padding: 20px 16px;
    gap: 16px;
  }

  .university-logo {
    flex-basis: 65px;
    width: 65px;
    height: 65px;
  }

  .education-info h3 {
    font-size: 14px;
  }

  .education-info p {
    font-size: 11px;
  }

  .projects-intro {
    display: block;
  }

  .projects-intro p {
    margin-top: 16px;
  }

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

  .project-card:last-child {
    grid-column: auto;
  }

  .project-visual {
    height: 155px;
  }

  .contact-panel {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 32px 24px;
  }

  .contact-panel h2 {
    font-size: 38px;
  }

  .contact-links a strong {
    font-size: 12px;
  }

  .footer {
    width: calc(100% - 38px);
  }

  .footer-nav {
    gap: 24px;
  }

}

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