:root {
  --ink: #202020;
  --paper: #fff;
  --yellow: #f6c400;
  --muted: #555;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #272727;
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
}
main {
  max-width: 1280px;
  margin: 18px auto;
  background: var(--paper);
  overflow: hidden;
}
.container {
  width: min(1060px, calc(100% - 96px));
  margin-inline: auto;
}
.nav {
  height: 125px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  display: inline-block;
  padding: 7px 17px;
  background: var(--yellow);
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  color: #111;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.menu-toggle {
  display: none;
}
.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;
}
.nav-links > a:not(.button) {
  font-size: 13px;
  color: #171717;
  text-decoration: none;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 15px 21px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.button-dark {
  background: var(--ink);
  color: #fff;
}
.button-outline {
  color: var(--ink);
  border: 1px solid var(--ink);
}
.button.small {
  font-size: 11px;
  padding: 13px 19px;
  border-radius: 14px;
}
.hero {
  min-height: 390px;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  align-items: center;
  gap: 64px;
  padding: 20px 0 48px;
}
.eyebrow,
.label {
  font-size: 11px;
  font-weight: 500;
  margin: 0 0 15px;
}
.hero h1,
.contact h2 {
  font-family: Manrope, sans-serif;
  letter-spacing: -2.7px;
  line-height: 1.1;
  margin: 0;
  font-size: 45px;
  max-width: 650px;
}
.intro {
  font-size: 16px;
  line-height: 1.5;
  max-width: 630px;
  color: var(--muted);
  margin: 24px 0;
}
.actions {
  display: flex;
  gap: 13px;
}
.portrait-card {
  align-self: center;
  margin: 0;
  background: var(--ink);
  border-radius: 16px;
  padding: 18px 18px 13px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 700;
}
.portrait-card a {
  color: #fff;
  text-decoration: none;
}
.portrait-card img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 350px;
  object-fit: cover;
}
.portrait-art {
  height: 260px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #777f87, #35383e);
  overflow: hidden;
  position: relative;
}
.portrait-art:before {
  content: "";
  width: 145px;
  height: 145px;
  background: #f2bf11;
  border-radius: 50%;
  position: absolute;
  bottom: -26px;
}
.portrait-art span {
  z-index: 1;
  background: #202020;
  color: #fff;
  border-radius: 50%;
  width: 94px;
  height: 94px;
  display: grid;
  place-items: center;
  font: 800 35px Manrope;
}
.portrait-card p {
  margin: 10px 0 0;
}
.ticker {
  border-top: 1px solid #aaa;
  border-bottom: 1px solid #aaa;
  height: 52px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.ticker-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: ticker-scroll 28s linear infinite;
}
.ticker-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 25px;
  padding-right: 25px;
  white-space: nowrap;
  font-size: 12px;
}
.ticker b {
  font-size: 16px;
}
@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
  }
}
.section {
  padding: 74px 0 0;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.section h2,
.contact h2 {
  font: 800 31px Manrope;
  margin: 0;
  letter-spacing: -1.7px;
}
.section-heading a {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.project-carousel {
  position: relative;
}
.project-carousel-track {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.project-carousel-track::-webkit-scrollbar {
  display: none;
}
.project-carousel .project-card {
  flex: 0 0 calc((100% - 25px) / 2);
  scroll-snap-align: start;
}
.project-preview-empty {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f5f5f5, #dedede);
  color: #777;
  font-size: 12px;
  font-weight: 700;
}
.project-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 16px;
}
.carousel-button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.carousel-button:hover,
.carousel-button:focus-visible {
  background: var(--ink);
  color: #fff;
}
.carousel-status {
  min-width: 42px;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}
.project-card,
.skill-card {
  background: var(--ink);
  border-radius: 16px;
  padding: 20px;
  color: #fff;
}
.project-preview {
  height: 245px;
  background: #f5f5f5;
  border-radius: 14px;
  margin-bottom: 22px;
  overflow: hidden;
}
.project-preview img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
}
.web-preview {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  background: linear-gradient(#fafafa, #e8e8e8);
}
.web-preview div:first-child {
  background: #dedede;
  height: 18px;
  width: 54%;
  border-radius: 5px;
}
.web-preview div:nth-child(2) {
  background: #e5c549;
  width: 78%;
  height: 80px;
  border-radius: 7px;
}
.web-preview div:last-child {
  background: #ddd;
  height: 14px;
  width: 70%;
  border-radius: 5px;
}
.journal-preview {
  background: linear-gradient(135deg, #e5ddbd 0 44%, #efefef 44%);
  position: relative;
}
.journal-preview div:first-child {
  height: 22px;
  width: 66%;
  background: #232323;
  border-radius: 4px;
}
.journal-preview div:nth-child(2) {
  height: 70px;
  width: 82%;
  background: #b2c58e;
  margin-top: 18px;
}
.journal-preview div:last-child {
  height: 14px;
  width: 45%;
  background: #bbb;
  margin-top: 14px;
}
.label {
  font-size: 9px;
  margin: 0 0 7px;
}
.project-card h3,
.skill-card h3 {
  font-size: 15px;
  margin: 0 0 8px;
}
.project-card > p:not(.label) {
  font-size: 11px;
  color: #ddd;
  margin: 0 0 15px;
}
.project-card a {
  color: #fff;
  text-decoration: none;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.tags span {
  font-size: 10px;
  color: var(--yellow);
  border: 1px solid #d2a900;
  border-radius: 12px;
  padding: 3px 14px;
}
.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 20px;
}
.skills .section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.skills-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 24px;
}
.capability-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #d5d5d5;
  border: 1px solid #d5d5d5;
}
.capability {
  background: #fff;
  padding: 25px;
  min-height: 207px;
}
.skill-number {
  font: 700 11px Manrope;
  color: #b49000;
  margin: 0 0 34px;
}
.capability h3,
.workflow h3 {
  font: 700 19px Manrope;
  margin: 0 0 9px;
  letter-spacing: -0.7px;
}
.capability > p:not(.skill-number) {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin: 0 0 18px;
}
.capability .tags span {
  font-size: 9px;
  padding: 4px 9px;
  color: #333;
  border-color: #aaa;
}
.workflow {
  background: var(--ink);
  color: #fff;
  padding: 27px;
}
.workflow .label {
  color: var(--yellow);
  margin-bottom: 28px;
}
.workflow h3 {
  font-size: 23px;
  line-height: 1.18;
  margin-bottom: 27px;
}
.workflow ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.workflow li {
  display: grid;
  grid-template-columns: 29px 1fr;
  gap: 10px;
  padding: 13px 0;
  border-top: 1px solid #555;
  font-size: 12px;
  line-height: 1.45;
  color: #ddd;
}
.workflow li b {
  color: var(--yellow);
  font-size: 10px;
}
.workflow li strong {
  color: #fff;
}
.tool-rack {
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  margin-top: 24px;
  padding: 16px 0;
  display: flex;
  align-items: center;
  gap: 35px;
}
.tool-rack .label {
  margin: 0;
  white-space: nowrap;
}
.tool-rack div {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.tool-rack span {
  padding: 7px 11px;
  background: #f1f1f1;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
}
.skill-card {
  min-height: 235px;
}
.performance {
  grid-column: span 2;
  min-height: 270px;
}
.code-window {
  height: 100px;
  background: #f7f7f7;
  border-radius: 13px;
  margin: 15px 0 22px;
  padding: 20px;
}
.code-window i {
  display: block;
  background: #dedede;
  height: 10px;
  border-radius: 2px;
  margin: 9px;
  width: 75%;
}
.code-window i:nth-child(2) {
  width: 55%;
}
.range {
  height: 4px;
  background: var(--yellow);
  position: relative;
}
.range span {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--yellow);
  right: 48%;
  top: -4px;
}
.skill-card footer {
  display: flex;
  justify-content: space-between;
  color: var(--yellow);
  font-size: 8px;
  margin-top: 8px;
}
.block-body {
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  gap: 15px;
  margin-top: 15px;
}
.block-body > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.block-body span {
  font-size: 9px;
  color: #222;
  padding: 8px;
  background: #f8f8f8;
  border-radius: 7px;
}
.block-preview {
  height: 93px;
  background: #f3f3f3;
  border-radius: 8px;
}
.blocks code {
  display: block;
  color: var(--yellow);
  font-size: 9px;
  margin-top: 20px;
}
.performance-body {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 22px;
  background: #ffe79a;
  margin-top: 20px;
  padding: 18px;
  color: #222;
}
.metrics {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}
.metrics div {
  background: white;
  min-width: 85px;
  padding: 12px;
  border-radius: 4px;
}
.metrics b,
.metrics small {
  display: block;
}
.metrics b {
  font-size: 17px;
}
.metrics small {
  font-size: 8px;
  margin-top: 8px;
}
.site-skeleton {
  background: white;
  border-radius: 6px;
  padding: 20px;
}
.site-skeleton i {
  display: block;
  height: 8px;
  border-radius: 8px;
  width: 66%;
  background: #e3e8df;
  margin-bottom: 9px;
}
.site-skeleton i:nth-child(2) {
  width: 40%;
}
.site-skeleton b {
  display: block;
  height: 64px;
  background: #e3e8df;
  margin-top: 18px;
}
.contact {
  min-height: 390px;
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  align-items: end;
  padding: 100px 20px;
}
.contact h2 {
  font-size: 43px;
  max-width: 575px;
  margin-bottom: 27px;
}
.contact-art {
  height: 330px;
  position: relative;
  display: grid;
  place-items: center;
}
.contact-art .circle {
  width: 245px;
  height: 245px;
  border: 22px solid #f6c400;
  border-radius: 50%;
  background: #565b62;
  overflow: hidden;
}
.contact-art .circle img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
}
.contact-art span {
  position: absolute;
  background: #1717a9;
  color: #fff;
  padding: 23px;
  font: 700 18px Manrope;
  transform: rotate(-8deg);
  bottom: 66px;
  right: 6px;
}
.footer {
  border-top: 1px solid #ddd;
  min-height: 105px;
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 10px;
}
.footer div {
  display: flex;
  gap: 22px;
}
.footer a {
  color: #333;
  text-decoration: none;
}
.footer small {
  margin-bottom: 14px;
}
.footer-build-note {
  flex: 1 1 100%;
  order: 3;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 10px;
}
@media (max-width: 760px) {
  main {
    margin: 0;
  }
  .container {
    width: min(100% - 40px, 560px);
  }
  .nav {
    height: 85px;
    position: relative;
  }
  .menu-toggle {
    display: grid;
    gap: 4px;
    width: 42px;
    height: 42px;
    padding: 11px 9px;
    border: 1px solid var(--ink);
    border-radius: 10px;
    background: var(--paper);
    cursor: pointer;
  }
  .menu-toggle > span:not(.sr-only) {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--ink);
  }
  .nav-links {
    display: none;
    position: absolute;
    z-index: 2;
    top: 70px;
    right: 0;
    width: min(220px, calc(100vw - 40px));
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--paper);
    border: 1px solid #d5d5d5;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgb(0 0 0 / 12%);
  }
  .menu-open .nav-links {
    display: flex;
  }
  .nav-links > a:not(.button) {
    padding: 10px;
    font-size: 13px;
  }
  .nav-links .button {
    padding: 12px;
    font-size: 11px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 48px 0;
    gap: 35px;
  }
  .hero h1,
  .contact h2 {
    font-size: clamp(32px, 9vw, 36px);
    letter-spacing: -1.8px;
  }
  .portrait-card {
    width: 100%;
  }
  .portrait-card img {
    max-height: none;
  }
  .ticker {
    gap: 18px;
  }
  .section {
    padding-top: 55px;
  }
  .project-grid,
  .skills-grid,
  .contact,
  .skills-layout {
    grid-template-columns: 1fr;
  }
  .capability-grid {
    grid-template-columns: 1fr;
  }
  .performance {
    grid-column: auto;
  }
  .project-preview {
    height: 190px;
  }
  .project-carousel .project-card {
    flex-basis: 100%;
  }
  .contact {
    padding: 75px 0 0;
    align-items: center;
  }
  .contact-art {
    height: 250px;
  }
  .footer {
    display: block;
  }
  .footer div {
    flex-wrap: wrap;
    gap: 13px;
  }
  .footer small {
    display: block;
    margin-top: 35px;
  }
  .footer-build-note {
    margin-top: 24px;
  }
  .performance-body {
    grid-template-columns: 1fr;
  }
  .site-skeleton {
    display: none;
  }
  .metrics div {
    min-width: 0;
    flex: 1;
  }
  .actions {
    flex-direction: column;
    align-items: stretch;
  }
  .actions .button {
    width: 100%;
  }
  .section-heading a {
    font-size: 12px;
  }
  .skills .section-heading {
    align-items: flex-start;
    gap: 12px;
    flex-direction: column;
  }
  .tool-rack {
    display: block;
  }
  .tool-rack .label {
    margin-bottom: 12px;
  }
}
/* please deploy */
