:root {
  --bg: #0b0b0b;
  --chalk: #f2f2ee;
  --chalk-soft: rgba(242, 242, 238, 0.78);
  --chalk-muted: rgba(242, 242, 238, 0.58);
  --chalk-line: rgba(242, 242, 238, 0.46);
  --page-padding: clamp(40px, 8vw, 160px);
  --connect-pink: #c41e6a;
  --connect-pink-hover: #d42a78;
  --airbills-orange: #f0670a;
  --allohfarms-green: #2f6b45;
  --jago-orange: #f97316;
  --stellopay-blue: #1d8fe8;
  --val-pink: #e11d74;
  --starknet-purple: #7c3aed;
  --transver-teal: #0d9488;
  --leading-body: 1.5;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  width: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--chalk);
  font-family: "Kiwi Maru", serif;
  line-height: var(--leading-body);
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
}

p,
.about-copy,
.about-lead,
.hero__body-copy,
.project-copy,
.projects-page-hero__lead,
.footer-cta-copy p,
.about-pity-line {
  line-height: var(--leading-body);
}

img,
video {
  max-width: 100%;
  height: auto;
}

section {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

section[id] {
  scroll-margin-top: 96px;
}

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

.hero {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  overflow-y: visible;
}

.hero::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 17%;
  bottom: 4%;
  background: url("./assets/chalk-bg.png") center center / cover no-repeat;
  opacity: 0.2;
  pointer-events: none;
}

.hero__container {
  position: relative;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  padding-inline: var(--page-padding);
  padding-top: 40px;
  padding-bottom: 48px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto 1fr;
}

.top-nav {
  grid-column: 1 / -1;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px var(--page-padding) 14px;
  background: rgba(11, 11, 11, 0.94);
  z-index: 50;
  overflow: visible;
}

@media (min-width: 901px) {
  .top-nav {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  .top-nav__links {
    position: fixed;
    top: 0;
    right: var(--page-padding);
    left: auto;
    bottom: auto;
    width: auto;
    height: 88px;
    padding: 0;
    background: transparent;
    transform: none;
    visibility: visible;
    pointer-events: auto;
    overflow: visible;
    z-index: 51;
    display: flex;
    flex-direction: row;
    align-items: center;
  }
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-inline-start: 0;
}

.logo {
  display: block;
  width: min(208px, 36vw);
  max-height: 72px;
  height: auto;
  object-fit: contain;
  object-position: left center;
  opacity: 0.92;
  filter: grayscale(1) contrast(1.1) brightness(1.05);
}

.top-nav__links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 40px);
  font-size: clamp(15px, 1.6vw, 20px);
  font-weight: 300;
  color: var(--chalk-soft);
  flex-shrink: 1;
  min-width: 0;
}

.nav-link {
  position: relative;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.nav-link:hover {
  opacity: 1;
}

.nav-link.active {
  opacity: 1;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1.5px;
  background: rgba(242, 242, 238, 0.85);
}

.connect-btn,
.footer-connect-btn {
  border: none;
  border-radius: 999px;
  padding: 8px 20px 9px;
  position: relative;
  font-size: clamp(15px, 1.5vw, 19px);
  overflow: hidden;
  background: var(--connect-pink);
  color: var(--chalk);
  box-shadow: 2px 2px 0 var(--chalk);
  animation: connectShake 5s ease-in-out 3s infinite;
}

.connect-btn {
  flex-shrink: 0;
  white-space: nowrap;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  margin-left: auto;
  background: transparent;
  border: 1px solid rgba(242, 242, 238, 0.2);
  border-radius: 10px;
  cursor: pointer;
  z-index: 70;
  flex-shrink: 0;
}

.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--chalk);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  display: none;
}

.connect-btn:hover,
.footer-connect-btn:hover {
  background: var(--connect-pink-hover);
}

/* Nav "Let's Connect" — always brand pink on every page */
.top-nav__links > .connect-btn {
  background: var(--connect-pink);
  color: var(--chalk);
  border: none;
  box-shadow: 2px 2px 0 var(--chalk);
}

.top-nav__links > .connect-btn:hover {
  background: var(--connect-pink-hover);
  color: var(--chalk);
}

.connect-btn::after,
.footer-connect-btn::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -24%;
  width: 34%;
  height: 190%;
  border-radius: 999px;
  background: linear-gradient(
    110deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.32) 48%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
  transform: translateX(-260%) rotate(12deg);
  animation: connectSheen 3s ease-in-out infinite;
}

.hero__content {
  grid-column: 1 / 11;
  align-self: start;
  padding-top: 128px;
  position: relative;
  z-index: 1;
  min-width: 0;
  max-width: 100%;
}

.intro-line {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.28;
  font-weight: 400;
  color: var(--chalk-soft);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.headline-wrap {
  margin-top: 10px;
  margin-left: 0;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 14px;
  max-width: 100%;
}

.chalk-speaker {
  width: 96px;
  margin-top: 24px;
  opacity: 0.9;
}

.chalk-speaker img {
  display: block;
  width: 100%;
  height: auto;
}

.headline-block {
  max-width: 100%;
  min-width: 0;
}

.subline {
  margin: 0;
  font-family: "Kiwi Maru", serif;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.28;
  font-weight: 400;
  color: var(--chalk-soft);
}

.headline-block h1 {
  margin: 0;
  font-family: "DM Serif Display", serif;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1;
  font-weight: 400;
  color: var(--connect-pink);
  letter-spacing: 0.2px;
  overflow-wrap: anywhere;
}

.typewriter-text {
  display: inline;
}

.typewriter-cursor {
  display: inline-block;
  margin-left: 2px;
  color: var(--connect-pink);
  animation: typewriterBlink 0.9s step-end infinite;
}

@keyframes typewriterBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.hero__connect-btn {
  display: inline-block;
  flex-shrink: 0;
  text-decoration: none;
  font-size: clamp(18px, 1.9vw, 24px);
  padding: 12px 30px 13px;
}

.headline-line {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}

.arrow-line {
  display: none;
}

.arrow-line span {
  display: block;
  width: 100%;
  border-top: 1.4px solid var(--chalk-line);
  position: relative;
}

.arrow-line span::after {
  content: "";
  position: absolute;
  top: -5px;
  right: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 9px solid var(--chalk-line);
}

.body-copy-wrap {
  margin-top: 88px;
  margin-left: 0;
  position: relative;
  max-width: 960px;
  padding-right: 20px;
}

.body-copy-header {
  display: flex;
  align-items: center;
  gap: 28px 36px;
  margin-bottom: 14px;
  max-width: min(920px, 100%);
}

.body-copy-line {
  flex: 1 1 auto;
  width: min(560px, 68%);
  max-width: 100%;
  border-top: 1px solid rgba(242, 242, 238, 0.2);
}

.body-copy {
  margin: 0;
  max-width: min(820px, 92%);
  font-size: 22px;
  line-height: var(--leading-body);
  letter-spacing: 0.015em;
  word-spacing: 0.04em;
  font-weight: 400;
  color: var(--chalk-muted);
}

.social-rail {
  position: absolute;
  top: 22%;
  right: var(--page-padding);
  display: flex;
  flex-direction: column;
  gap: 52px;
  z-index: 10;
}

.social-rail a {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.66;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-rail a:hover {
  opacity: 1;
  transform: translateX(-2px);
}

.social-rail svg {
  display: block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  fill: var(--chalk-soft);
}

.location-tag svg {
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: var(--chalk-soft);
  opacity: 0.75;
}

.location-tag {
  position: absolute;
  bottom: 32px;
  right: var(--page-padding);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--chalk-muted);
  z-index: 5;
}

.location-tag svg {
  width: 16px;
  height: 16px;
  opacity: 0.75;
}

.hero__bottom {
  display: contents;
}

.skills-section {
  position: relative;
  min-height: 52vh;
  border-top: 0;
  background: var(--bg);
  overflow-x: clip;
  overflow-y: visible;
}

.skills-shell {
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  padding-inline: var(--page-padding);
  padding-top: 126px;
  min-height: 52vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.skills-shell h2 {
  margin: 0;
  font-family: "DM Serif Display", serif;
  font-size: 24px;
  line-height: 1.08;
  font-weight: 400;
  color: var(--chalk);
}

.skills-row {
  margin-top: 70px;
  width: 100%;
  max-width: 100%;
  min-height: 200px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding-inline: 8px;
  padding-bottom: 8px;
  overflow: visible;
}

.skill-pill {
  margin: 0;
  padding: 10px 20px 9px;
  position: relative;
  font-size: 16px;
  color: var(--chalk-soft);
  white-space: nowrap;
  line-height: 1;
  background: transparent;
  opacity: 0;
  transform: translateY(-280px);
  will-change: transform, opacity;
}

.skill-pill::before,
.skill-pill::after {
  content: "";
  position: absolute;
  inset: -9px -13px;
  border: 2.4px solid rgba(242, 242, 238, 0.68);
  border-radius: 50%;
  pointer-events: none;
}

.skill-pill::before {
  inset: -10px -14px;
  border-width: 2px;
  border-color: rgba(242, 242, 238, 0.55);
  transform: rotate(-3.2deg);
}

.skill-pill::after {
  inset: -7px -10px;
  border-color: rgba(242, 242, 238, 0.44);
  transform: rotate(2.2deg);
}

.skills-section.is-active .skill-pill {
  animation: skillDrop 0.9s cubic-bezier(0.22, 1.15, 0.36, 1) forwards;
}

.skills-section.is-active .skill-pill:nth-child(1) {
  animation-delay: 0.05s;
}

.skills-section.is-active .skill-pill:nth-child(2) {
  animation-delay: 0.22s;
}

.skills-section.is-active .skill-pill:nth-child(3) {
  animation-delay: 0.39s;
}

.skills-section.is-active .skill-pill:nth-child(4) {
  animation-delay: 0.56s;
}

.skills-section.is-active .skill-pill:nth-child(5) {
  animation-delay: 0.73s;
}

@keyframes skillDrop {
  0% {
    opacity: 0;
    transform: translateY(-280px) rotate(-6deg);
  }
  62% {
    opacity: 1;
    transform: translateY(14px) rotate(2deg);
  }
  78% {
    transform: translateY(-7px) rotate(-1deg);
  }
  90% {
    transform: translateY(3px) rotate(0.5deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
  }
}

.skills-arrow-tail {
  margin-top: 52px;
}

.skills-arrow-tail svg {
  width: 42px;
  height: 130px;
}

.skills-arrow-tail path {
  fill: none;
  stroke: rgba(242, 242, 238, 0.74);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.projects-section {
  background: #efefea;
  color: #101010;
  padding: 98px 0 110px;
  overflow-x: clip;
}

.projects-shell {
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  padding-inline: var(--page-padding);
}

.projects-kicker {
  margin: 0;
  font-family: "DM Serif Display", serif;
  font-size: 38px;
  line-height: 1.1;
  color: var(--connect-pink);
}

.projects-grid {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
}

.project-card {
  background: rgba(255, 255, 255, 0.62);
  border: none;
  border-radius: 24px;
  padding: 26px 26px 32px;
  display: flex;
  flex-direction: column;
  min-height: 520px;
  min-width: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(22px);
  box-shadow: none;
  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease;
}

.projects-section.is-visible .project-card {
  animation: projectCardReveal 0.75s ease-out forwards;
}

.projects-section.is-visible .project-card:nth-child(1) {
  animation-delay: 0.06s;
}

.projects-section.is-visible .project-card:nth-child(2) {
  animation-delay: 0.16s;
}

.projects-section.is-visible .project-card:nth-child(3) {
  animation-delay: 0.26s;
}

.projects-section.is-visible .project-card:nth-child(4) {
  animation-delay: 0.36s;
}

@media (min-width: 1201px) {
  .project-card:hover {
    transform: translateY(-5px);
    box-shadow:
      0 14px 30px rgba(196, 30, 106, 0.14),
      0 0 0 2px var(--connect-pink);
  }
}

@media (max-width: 1200px) {
  .project-card {
    box-shadow:
      0 10px 24px rgba(196, 30, 106, 0.1),
      0 0 0 2px rgba(196, 30, 106, 0.34);
  }
}

@keyframes projectCardReveal {
  0% {
    opacity: 0;
    transform: translateY(22px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.project-thumb {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  margin-bottom: 22px;
  border: 1px solid rgba(16, 16, 16, 0.08);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.85), rgba(216, 216, 212, 0.7)),
    repeating-linear-gradient(
      45deg,
      rgba(16, 16, 16, 0.04) 0 8px,
      rgba(255, 255, 255, 0) 8px 16px
    );
  overflow: hidden;
  flex-shrink: 0;
  isolation: isolate;
}

.project-thumb img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
}

.project-tag {
  margin: 0;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(16, 16, 16, 0.58);
}

.project-card h3 {
  margin: 14px 0 16px;
  font-family: "DM Serif Display", serif;
  font-size: 34px;
  line-height: 1.05;
  font-weight: 400;
  color: #141414;
}

.project-copy {
  margin: 0 0 24px;
  max-width: 520px;
  font-size: 18px;
  line-height: var(--leading-body);
  color: rgba(17, 17, 17, 0.74);
}

.project-btn,
.projects-more-btn {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(17, 17, 17, 0.52);
  border-radius: 999px;
  padding: 9px 18px 10px;
  color: #111111;
  font-size: 17px;
  box-shadow: 2px 2px 0 rgba(17, 17, 17, 0.26);
  background: rgba(255, 255, 255, 0.45);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    padding 0.25s ease;
}

@media (min-width: 1201px) {
  .project-card:nth-child(1) .project-btn:hover,
  .project-card:nth-child(1) .project-btn:active {
    background: var(--airbills-orange);
    border-color: var(--airbills-orange);
    color: #ffffff;
    box-shadow: 2px 2px 0 rgba(240, 103, 10, 0.42);
    transform: scale(1.08);
    padding: 11px 22px 12px;
  }

  .project-card:nth-child(2) .project-btn:hover,
  .project-card:nth-child(2) .project-btn:active {
    background: var(--allohfarms-green);
    border-color: var(--allohfarms-green);
    color: #ffffff;
    box-shadow: 2px 2px 0 rgba(47, 107, 69, 0.42);
    transform: scale(1.08);
    padding: 11px 22px 12px;
  }

  .project-card:nth-child(3) .project-btn:hover,
  .project-card:nth-child(3) .project-btn:active {
    background: var(--jago-orange);
    border-color: var(--jago-orange);
    color: #ffffff;
    box-shadow: 2px 2px 0 rgba(249, 115, 22, 0.42);
    transform: scale(1.08);
    padding: 11px 22px 12px;
  }

  .project-card:nth-child(4) .project-btn:hover,
  .project-card:nth-child(4) .project-btn:active {
    background: var(--stellopay-blue);
    border-color: var(--stellopay-blue);
    color: #ffffff;
    box-shadow: 2px 2px 0 rgba(29, 143, 232, 0.42);
    transform: scale(1.08);
    padding: 11px 22px 12px;
  }
}

@media (max-width: 1200px) {
  .project-card:nth-child(1) .project-btn:active {
    background: var(--airbills-orange);
    border-color: var(--airbills-orange);
    color: #ffffff;
    box-shadow: 2px 2px 0 rgba(240, 103, 10, 0.42);
    transition-duration: 0.12s;
  }

  .project-card:nth-child(2) .project-btn:active {
    background: var(--allohfarms-green);
    border-color: var(--allohfarms-green);
    color: #ffffff;
    box-shadow: 2px 2px 0 rgba(47, 107, 69, 0.42);
    transition-duration: 0.12s;
  }

  .project-card:nth-child(3) .project-btn:active {
    background: var(--jago-orange);
    border-color: var(--jago-orange);
    color: #ffffff;
    box-shadow: 2px 2px 0 rgba(249, 115, 22, 0.42);
    transition-duration: 0.12s;
  }

  .project-card:nth-child(4) .project-btn:active {
    background: var(--stellopay-blue);
    border-color: var(--stellopay-blue);
    color: #ffffff;
    box-shadow: 2px 2px 0 rgba(29, 143, 232, 0.42);
    transition-duration: 0.12s;
  }
}

.project-btn::after,
.projects-more-btn::after {
  content: none;
}

.projects-more-wrap {
  position: relative;
  z-index: 5;
  margin-top: 40px;
  display: flex;
  justify-content: center;
  pointer-events: auto;
}

.projects-more-link {
  position: relative;
  z-index: 6;
  display: inline-block;
  padding: 12px 16px;
  font-family: "DM Serif Display", serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(22, 22, 22, 0.8);
  text-decoration: none;
  pointer-events: auto;
  -webkit-tap-highlight-color: rgba(196, 30, 106, 0.2);
  touch-action: manipulation;
  cursor: pointer;
}

.projects-more-link:hover {
  color: var(--connect-pink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ── All projects page ── */
.projects-page {
  background: #0b0b0b;
}

.projects-page-hero {
  padding: clamp(120px, 16vw, 180px) var(--page-padding) clamp(48px, 8vw, 72px);
  background: #0b0b0b;
  color: var(--chalk);
  border-bottom: 1px solid rgba(242, 242, 238, 0.08);
}

.projects-page-hero__inner {
  max-width: 720px;
}

.projects-page-back {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 14px;
  color: var(--chalk-muted);
  transition: color 0.2s ease;
}

.projects-page-back:hover {
  color: var(--chalk);
}

.projects-page-hero__eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--connect-pink);
}

.projects-page-hero h1 {
  margin: 0 0 20px;
  font-family: "DM Serif Display", serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.projects-page-hero__lead {
  margin: 0;
  max-width: 52ch;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: var(--leading-body);
  color: var(--chalk-soft);
}

.projects-section--page {
  padding-top: clamp(64px, 10vw, 96px);
}

.projects-section--page .project-card {
  opacity: 1;
  transform: none;
  animation: none;
}

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

/* Same pink stroke as homepage cards - desktop hover, mobile always on */
@media (min-width: 1201px) {
  .projects-section--page .project-card:hover {
    transform: translateY(-5px);
    box-shadow:
      0 14px 30px rgba(196, 30, 106, 0.14),
      0 0 0 2px var(--connect-pink);
  }

  .projects-grid--all .project-card:nth-child(5) .project-btn:hover,
  .projects-grid--all .project-card:nth-child(5) .project-btn:active {
    background: var(--val-pink);
    border-color: var(--val-pink);
    color: #ffffff;
    box-shadow: 2px 2px 0 rgba(225, 29, 116, 0.42);
    transform: scale(1.08);
    padding: 11px 22px 12px;
  }

  .projects-grid--all .project-card:nth-child(6) .project-btn:hover,
  .projects-grid--all .project-card:nth-child(6) .project-btn:active {
    background: var(--starknet-purple);
    border-color: var(--starknet-purple);
    color: #ffffff;
    box-shadow: 2px 2px 0 rgba(124, 58, 237, 0.42);
    transform: scale(1.08);
    padding: 11px 22px 12px;
  }

  .projects-grid--all .project-card:nth-child(7) .project-btn:hover,
  .projects-grid--all .project-card:nth-child(7) .project-btn:active {
    background: var(--transver-teal);
    border-color: var(--transver-teal);
    color: #ffffff;
    box-shadow: 2px 2px 0 rgba(13, 148, 136, 0.42);
    transform: scale(1.08);
    padding: 11px 22px 12px;
  }
}

@media (max-width: 1200px) {
  .projects-section--page .project-card {
    box-shadow:
      0 10px 24px rgba(196, 30, 106, 0.1),
      0 0 0 2px rgba(196, 30, 106, 0.34);
  }

  .projects-grid--all .project-card:nth-child(5) .project-btn:active {
    background: var(--val-pink);
    border-color: var(--val-pink);
    color: #ffffff;
    box-shadow: 2px 2px 0 rgba(225, 29, 116, 0.42);
  }

  .projects-grid--all .project-card:nth-child(6) .project-btn:active {
    background: var(--starknet-purple);
    border-color: var(--starknet-purple);
    color: #ffffff;
    box-shadow: 2px 2px 0 rgba(124, 58, 237, 0.42);
  }

  .projects-grid--all .project-card:nth-child(7) .project-btn:active {
    background: var(--transver-teal);
    border-color: var(--transver-teal);
    color: #ffffff;
    box-shadow: 2px 2px 0 rgba(13, 148, 136, 0.42);
  }
}

.home-footer--compact {
  padding: 64px 0 80px;
}

.home-footer--compact .footer-cta-box,
.home-footer--compact .footer-socials {
  display: none;
}

.about-section {
  position: relative;
  min-height: 92vh;
  background: var(--bg);
  overflow: hidden;
}

.about-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 11, 11, 0.96);
  pointer-events: none;
}

.about-section::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 12%;
  bottom: 8%;
  background: url("./assets/chalk-bg.png") center center / cover no-repeat;
  opacity: 0.12;
  pointer-events: none;
}

.about-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  padding-inline: var(--page-padding);
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: 72px;
  align-items: center;
  padding-top: 78px;
  padding-bottom: 78px;
}

.about-left {
  min-width: 0;
}

.about-left h2 {
  margin: 0;
  font-family: "DM Serif Display", serif;
  font-size: 56px;
  font-weight: 400;
  line-height: 1.08;
  color: var(--chalk);
}

.about-divider {
  margin-top: 34px;
  width: min(660px, 92%);
  border-top: 1px solid rgba(242, 242, 238, 0.32);
}

.about-label {
  margin: 40px 0 16px;
  font-family: "Kiwi Maru", serif;
  font-size: 20px;
  line-height: 1.1;
  color: var(--connect-pink);
}

.about-lead {
  margin: 0 0 10px;
  max-width: 980px;
  font-size: 15px;
  line-height: 1.5;
  color: #a8d8f0;
}

.about-copy {
  margin: 0;
  max-width: 980px;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(242, 242, 238, 0.84);
}

.about-right {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.about-avatar-wrap {
  width: min(320px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 1px solid rgba(242, 242, 238, 0.38);
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.about-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  filter: grayscale(1);
}

.about-see-more-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding: 0 var(--page-padding) 56px;
  margin-top: -8px;
}

.about-see-more {
  display: inline-block;
  padding: 0;
  border: none;
  background: transparent;
  font-family: "Kiwi Maru", serif;
  font-size: 18px;
  font-style: italic;
  line-height: 1.2;
  color: var(--chalk-soft);
  text-decoration: none;
  cursor: pointer;
  animation: seeMoreBounce 2.2s ease-in-out infinite;
}

.about-see-more:hover {
  color: var(--chalk);
}

.about-see-more:focus-visible {
  outline: 2px solid var(--chalk);
  outline-offset: 4px;
  border-radius: 2px;
}

@keyframes seeMoreBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  35% {
    transform: translateY(-5px);
  }
  55% {
    transform: translateY(0);
  }
  72% {
    transform: translateY(-3px);
  }
}

/* ── Full about page ── */
.about-page {
  background: var(--bg);
}

.about-page-intro {
  position: relative;
  min-height: auto;
  background: var(--bg);
  overflow: hidden;
}

.about-page-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 11, 11, 0.96);
  pointer-events: none;
}

.about-page-intro::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 12%;
  bottom: 8%;
  background: url("./assets/chalk-bg.png") center center / cover no-repeat;
  opacity: 0.12;
  pointer-events: none;
}

.about-page-intro__shell {
  position: relative;
  z-index: 1;
  padding: clamp(120px, 16vw, 160px) var(--page-padding) clamp(40px, 8vw, 64px);
}

.about-page-back {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 14px;
  color: var(--chalk-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.about-page-back:hover {
  color: var(--chalk);
}

.about-shell--page {
  min-height: auto;
  padding-top: 0;
  padding-bottom: 0;
}

.about-tape {
  position: relative;
  z-index: 1;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(56px, 9vw, 104px) 0;
  background: var(--bg);
  overflow: hidden;
}

.about-tape__track {
  overflow: hidden;
  width: 100%;
}

.about-tape__strip {
  display: flex;
  width: max-content;
  will-change: transform;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.about-tape__strip.is-ready {
  opacity: 1;
}

.about-tape__group {
  display: flex;
  flex-shrink: 0;
  gap: clamp(14px, 1.8vw, 24px);
}

.about-tape__strip--left {
  animation: tapeScrollLeft 90s linear infinite;
}

.about-tape__strip--right {
  animation: tapeScrollRight 90s linear infinite;
}

.about-tape__frame {
  flex: 0 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(140px, 17vw, 220px);
  margin: 0;
  padding: 0;
  border: none;
  background: #000;
  box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.about-tape__frame img {
  display: block;
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
  filter: sepia(0.12) contrast(1.05) saturate(0.95);
}

.about-tape__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  pointer-events: none;
  z-index: 1;
}

@keyframes tapeScrollLeft {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes tapeScrollRight {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

.about-reflection-section {
  position: relative;
  z-index: 1;
  padding: clamp(56px, 9vw, 96px) var(--page-padding);
  background: var(--bg);
}

.about-oss {
  position: relative;
  z-index: 1;
  padding: clamp(56px, 9vw, 96px) var(--page-padding);
  background: var(--bg);
  text-align: center;
}

.about-oss__label {
  margin: 0 auto clamp(28px, 4vw, 40px);
  font-family: "DM Serif Display", serif;
  font-size: 24px;
  line-height: 1.08;
  font-weight: 400;
  color: var(--chalk);
}

.about-oss__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 1vw, 8px);
}

.about-oss__logo--starknet {
  margin-right: -4px;
}

.about-oss__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.about-oss__logo:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

.about-oss__logo img {
  display: block;
  height: 26px;
  width: auto;
  object-fit: contain;
}

.about-oss__logo--starknet,
.about-oss__logo--starknet img {
  height: 52px;
}

.about-reflection-shell {
  width: 100%;
  max-width: none;
}

.about-reflection-grid {
  width: 100%;
  column-count: 2;
  column-gap: clamp(32px, 5vw, 72px);
}

.about-reflection-grid .about-copy {
  max-width: none;
  break-inside: avoid;
  margin-bottom: 18px;
}

.about-reflection__close {
  color: var(--chalk);
}

.about-reflection .about-copy em {
  font-style: normal;
  color: var(--connect-pink);
  letter-spacing: 0.02em;
}

.about-hire-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 32px;
  margin-top: 44px;
}

.about-pity-line {
  margin: 0;
  font-family: "Kiwi Maru", serif;
  font-size: clamp(16px, 2vw, 20px);
  line-height: var(--leading-body);
  color: rgba(242, 242, 238, 0.78);
}

.about-hire-btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 40px 16px;
  font-size: clamp(18px, 2.2vw, 24px);
  text-decoration: none;
}

.back-to-top {
  display: inline;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  color: var(--chalk-muted);
  font-family: "Kiwi Maru", serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s ease;
}

.back-to-top:hover {
  color: var(--connect-pink);
}

.home-footer {
  position: relative;
  min-height: 96vh;
  background: var(--bg);
  border-top: 1px solid rgba(242, 242, 238, 0.15);
  overflow: hidden;
  isolation: isolate;
  font-family: "Kiwi Maru", serif;
  color: var(--chalk);
}

.home-footer::before,
.home-footer::after {
  content: none;
  display: none;
  background: none;
}

.home-footer__shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  padding-inline: var(--page-padding);
  min-height: 96vh;
  padding-top: 56px;
  padding-bottom: 26px;
  display: flex;
  flex-direction: column;
}

.footer-cta-box {
  width: min(980px, 100%);
  margin: 0 auto;
}

.footer-chalk-line {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 900 / 70;
}

.footer-chalk-line path {
  fill: none;
  stroke: rgba(242, 242, 238, 0.78);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-cta-content {
  margin-top: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px 38px;
}

.footer-cta-copy {
  min-width: 0;
  flex: 1 1 280px;
}

.footer-cta-copy p {
  margin: 0 0 12px;
  font-family: "Kiwi Maru", serif;
  font-size: clamp(22px, 2.4vw, 30px);
  color: rgba(242, 242, 238, 0.86);
}

.footer-cta-copy p:last-child {
  margin-bottom: 0;
}

.footer-cta-action {
  display: flex;
  align-items: center;
  gap: 0;
}

@keyframes connectShake {
  0%,
  12%,
  100% {
    transform: translateX(0);
  }
  2% {
    transform: translateX(-5px);
  }
  4% {
    transform: translateX(5px);
  }
  6% {
    transform: translateX(-4px);
  }
  8% {
    transform: translateX(4px);
  }
  10% {
    transform: translateX(0);
  }
}

@keyframes connectSheen {
  0%,
  72% {
    transform: translateX(-260%) rotate(12deg);
    opacity: 0;
  }
  82% {
    opacity: 0.95;
  }
  100% {
    transform: translateX(420%) rotate(12deg);
    opacity: 0;
  }
}

.footer-brand-row {
  margin-top: auto;
  width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  padding: 20px 0 16px;
  overflow: hidden;
}

.footer-brand-left,
.footer-brand-right {
  margin: 0;
  font-family: "DM Serif Display", serif;
  font-size: clamp(36px, 5vw, 74px);
  line-height: 1;
  color: rgba(242, 242, 238, 0.72);
  overflow-wrap: anywhere;
}

.footer-brand-right {
  text-align: right;
}

.footer-brand-mark {
  width: 168px;
  height: 168px;
  border: 1px solid rgba(242, 242, 238, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-brand-mark img {
  width: 124px;
  filter: grayscale(1) brightness(1.12);
  opacity: 0.72;
  animation: footerLogoSpin 6s linear 3s infinite;
  transform-origin: center;
}

.footer-copyright {
  margin: 18px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--chalk-muted);
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 62px;
  padding-top: 28px;
}

.footer-socials a {
  width: 22px;
  height: 22px;
  opacity: 0.74;
}

.footer-socials svg {
  width: 100%;
  height: 100%;
  fill: rgba(242, 242, 238, 0.88);
}

.avatar-chip-wrap {
  display: inline-block;
  width: 132px;
  height: 132px;
  flex: 0 0 auto;
  perspective: 900px;
  vertical-align: middle;
}

.avatar-chip-flip {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.65s ease-in-out;
}

.avatar-chip-flip.is-flipped {
  transform: rotateY(180deg);
}

.avatar-chip {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 0.4px solid rgba(242, 242, 238, 0.58);
  object-fit: cover;
  object-position: center 26%;
  box-shadow: 0 0 0 4px rgba(242, 242, 238, 0.06);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.avatar-chip--back {
  transform: rotateY(180deg);
  object-position: center center;
}

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

  .project-card {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .skill-pill {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .avatar-chip-flip {
    transition: none;
  }

  .about-pop-photo,
  .about-reflection {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .about-see-more,
  .about-tape__strip {
    animation: none !important;
  }
}

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

@media (min-width: 901px) {
  .skills-row {
    margin-top: 24px;
    min-height: 150px;
  }

  .logo {
    width: 208px;
  }

  .hero__content {
    grid-column: 1 / -1;
    padding-top: 104px;
    padding-right: 72px;
  }

  .body-copy-wrap {
    margin-top: 72px;
    max-width: 100%;
    padding-right: 0;
  }

  .body-copy-header {
    max-width: 100%;
  }

  .body-copy-line {
    width: auto;
    flex: 1 1 auto;
    max-width: none;
  }

  .body-copy {
    max-width: 100%;
    padding-right: 0;
  }

  .hero__container {
    min-height: 100vh;
    min-height: 100svh;
    padding-bottom: 56px;
    box-sizing: border-box;
  }

  .location-tag {
    bottom: max(24px, 3.5vh);
  }

  .hero__connect-btn {
    display: none;
  }
}

@media (max-width: 1200px) {
  .about-shell {
    gap: 44px;
  }

  .about-oss__logos {
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .about-oss__logo--starknet,
  .about-oss__logo--starknet img {
    height: 58px;
  }

  .hero__content {
    grid-column: 1 / -1;
    padding-top: 118px;
    padding-right: 52px;
  }

  .body-copy-wrap {
    max-width: 100%;
  }

  .body-copy {
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  :root {
    --page-padding: clamp(16px, 4.5vw, 32px);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 190;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .nav-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
  }

  .top-nav {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    padding: max(12px, env(safe-area-inset-top)) var(--page-padding) 12px;
    padding-left: max(var(--page-padding), env(safe-area-inset-left));
    padding-right: max(var(--page-padding), env(safe-area-inset-right));
    overflow: visible;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(11, 11, 11, 0.98);
    z-index: 200;
  }

  .logo-link {
    justify-self: start;
    position: relative;
    z-index: 210;
  }

  .nav-toggle {
    justify-self: end;
    margin-left: 0;
    position: relative;
    z-index: 210;
  }

  .top-nav__links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(300px, 86vw);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: max(88px, calc(env(safe-area-inset-top) + 72px)) 28px
      max(40px, env(safe-area-inset-bottom));
    background: rgba(11, 11, 11, 0.98);
    transform: translateX(100%);
    transition: transform 0.3s ease, visibility 0.3s ease;
    z-index: 195;
    overflow-y: auto;
    flex-shrink: unset;
    min-width: unset;
    visibility: hidden;
    pointer-events: none;
  }

  .top-nav__links.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .top-nav__links .nav-link {
    padding: 16px 0;
    font-size: 18px;
    border-bottom: 1px solid rgba(242, 242, 238, 0.08);
  }

  .top-nav__links .nav-link.active::after {
    display: none;
  }

  .top-nav__links .connect-btn {
    margin-top: 20px;
    align-self: stretch;
    text-align: center;
    font-size: 17px;
    padding: 12px 20px;
    animation: none;
    background: var(--connect-pink);
    color: var(--chalk);
    border: none;
    box-shadow: 2px 2px 0 var(--chalk);
  }

  .top-nav__links .connect-btn:hover {
    background: var(--connect-pink-hover);
    color: var(--chalk);
  }

  .top-nav__links .connect-btn::after {
    animation: none;
    display: none;
  }

  .logo {
    width: min(160px, 42vw);
    max-height: 56px;
  }

  .hero {
    min-height: 100svh;
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .hero__container {
    min-height: 100svh;
    height: auto;
    display: flex;
    flex-direction: column;
    padding-bottom: 16px;
    box-sizing: border-box;
  }

  .skills-section {
    min-height: auto;
    margin-top: 40px;
  }

  .skills-shell {
    padding-top: 56px;
  }

  .projects-section {
    padding: 72px 0 84px;
  }

  .about-shell {
    padding-top: 56px;
    padding-bottom: 56px;
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-left h2 {
    font-size: 42px;
  }

  .about-label {
    margin-top: 28px;
    font-size: 16px;
  }

  .about-lead {
    font-size: 14px;
    line-height: var(--leading-body);
  }

  .about-copy {
    font-size: 16px;
    line-height: var(--leading-body);
  }

  .about-right {
    justify-content: flex-start;
  }

  .about-avatar-wrap {
    width: min(238px, 100%);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
  }

  .about-see-more {
    font-size: 16px;
  }

  .about-see-more-wrap {
    padding-bottom: 40px;
    margin-top: 0;
  }

  .about-reflection-grid {
    column-count: 1;
  }

  .about-hire-row {
    margin-top: 32px;
    flex-direction: column;
    align-items: flex-start;
  }

  .about-oss__label {
    font-size: 18px;
  }

  .about-oss__logos {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: clamp(6px, 2vw, 12px);
  }

  .about-oss__logo,
  .about-oss__logo img {
    height: 22px;
  }

  .about-oss__logo--starknet,
  .about-oss__logo--starknet img {
    height: 46px;
  }

  .home-footer {
    min-height: auto;
  }

  .home-footer__shell {
    min-height: auto;
    padding-top: 34px;
    padding-bottom: 18px;
  }

  .footer-brand-row {
    margin-top: 32px;
  }

  .footer-cta-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: repeat(3, auto);
    gap: 12px 14px;
    align-items: center;
  }

  .footer-cta-copy {
    display: contents;
  }

  .footer-cta-copy p:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }

  .footer-cta-copy p:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }

  .footer-cta-copy p:nth-child(3) {
    grid-column: 1;
    grid-row: 3;
  }

  .footer-cta-action {
    grid-column: 2;
    grid-row: 3;
    justify-self: end;
    align-self: center;
  }

  .footer-cta-copy p {
    font-size: 24px;
    line-height: var(--leading-body);
  }

  .footer-connect-btn {
    font-size: 15px;
    padding: 8px 14px 9px;
  }

  .footer-brand-left,
  .footer-brand-right {
    font-size: 48px;
  }

  .footer-brand-mark {
    width: 110px;
    height: 110px;
  }

  .footer-brand-mark img {
    width: 78px;
  }

  .footer-socials {
    gap: 34px;
    padding-top: 20px;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .hero__content {
    display: block;
    padding-top: 84px;
    padding-right: 0;
    padding-left: 0;
    margin-left: 0;
    max-width: 100%;
    overflow: visible;
  }

  .intro-line {
    display: block;
    font-size: clamp(22px, 5.8vw, 30px);
    line-height: 1.5;
  }

  .intro-line .avatar-chip-wrap {
    display: inline-block;
    vertical-align: middle;
    margin-left: 4px;
  }

  .headline-wrap {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 4px;
    margin-top: 36px;
    margin-left: 0;
    padding-left: 0;
    max-width: 100%;
    width: 100%;
  }

  .chalk-speaker {
    width: clamp(58px, 16vw, 72px);
    margin-top: 14px;
    margin-left: 0;
    flex-shrink: 0;
  }

  .headline-block {
    flex: 1;
    min-width: 0;
  }

  .headline-line {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    flex-wrap: nowrap;
    gap: clamp(6px, 2vw, 12px);
  }

  .subline {
    font-size: clamp(17px, 4.8vw, 30px);
    line-height: 1.1;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .headline-block h1 {
    font-size: clamp(22px, 6.5vw, 40px);
    line-height: 1.05;
    white-space: nowrap;
  }

  .body-copy-wrap {
    margin-left: 0;
    margin-top: 22px;
    max-width: 100%;
    padding-right: 0;
  }

  .body-copy-header {
    gap: 14px 18px;
    flex-wrap: wrap;
    margin-bottom: 12px;
  }

  .body-copy-line {
    flex: 1 1 140px;
    min-width: 120px;
    width: auto;
  }

  .hero__connect-btn {
    font-size: 17px;
    padding: 10px 24px 11px;
  }

  .body-copy {
    font-size: 15px;
    line-height: 1.5;
  }

  .social-rail {
    display: flex;
    flex-direction: row;
    position: static;
    top: auto;
    right: auto;
    gap: 20px;
    z-index: 1;
  }

  .social-rail a {
    width: 18px;
    height: 18px;
  }

  .social-rail svg {
    width: 18px;
    height: 18px;
  }

  .hero__bottom {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: auto;
    flex-shrink: 0;
    padding-top: 12px;
  }

  .avatar-chip-wrap {
    width: clamp(96px, 26vw, 118px);
    height: clamp(96px, 26vw, 118px);
    flex-shrink: 0;
  }

  .avatar-chip {
    border-radius: 50%;
  }

  .location-tag {
    position: static;
    bottom: auto;
    right: auto;
    align-self: auto;
    margin-top: 0;
    flex-shrink: 0;
  }

  .skills-shell h2 {
    font-size: 18px;
  }

  .skills-row {
    margin-top: 44px;
    gap: 8px 14px;
    flex-wrap: wrap;
  }

  .skill-pill {
    font-size: 14px;
    padding: 9px 12px 8px;
  }

  .skills-arrow-tail {
    margin-top: 38px;
  }

  .projects-kicker {
    font-size: 30px;
  }

  .projects-grid {
    margin-top: 30px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .project-card {
    min-height: auto;
    padding: 22px;
  }

  .project-thumb {
    margin-bottom: 18px;
    border-radius: 14px;
  }

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

  .project-copy {
    font-size: 16px;
  }

  .project-btn,
  .projects-more-btn {
    font-size: 15px;
    padding: 8px 14px 9px;
  }

  .projects-more-link {
    font-size: 14px;
  }

}

@media (min-width: 360px) and (max-width: 440px) {
  .intro-line {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    column-gap: 8px;
    row-gap: 0;
    line-height: 1;
    justify-content: start;
  }

  .intro-line__lead {
    display: block;
    grid-column: 1;
    grid-row: 1;
    line-height: 1;
  }

  .intro-line__name {
    display: block;
    grid-column: 1;
    grid-row: 2;
    margin-top: -12px;
    line-height: 1;
  }

  .intro-line .avatar-chip-wrap {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    justify-self: start;
    margin-left: 4px;
  }
}
