:root {
  --paper: #fffdf5;
  --white: #ffffff;
  --ink: #000000;
  --muted: #3c3c3c;
  --pink: #ff8a3d;
  --yellow: #ffc900;
  --purple: #b9a7ff;
  --green: #23a094;
  --orange: #ff6b35;
  --border: 2px solid var(--ink);
  --shadow: 5px 5px 0 var(--ink);
  --shadow-large: 9px 9px 0 var(--ink);
  --mono: "IBM Plex Mono", monospace;
  --sans: "Inter", Arial, sans-serif;
  --container: min(1240px, calc(100vw - 52px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

.container {
  width: var(--container);
  margin: 0 auto;
}

.ambient,
.noise {
  display: none;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  background: var(--paper);
  border-bottom: var(--border);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: var(--border);
  border-radius: 8px;
  background: var(--pink);
  font: 600 0.9rem var(--mono);
  box-shadow: 3px 3px 0 var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
  font-size: 1rem;
  font-weight: 600;
}

.nav-links a:not(.nav-cta):hover,
.footer a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.nav-cta {
  padding: 13px 25px;
  border: var(--border);
  border-radius: 4px;
  background: var(--pink);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.nav-cta:hover {
  transform: translate(4px, 4px);
  box-shadow: none;
}

.nav-toggle {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(42px, 5.5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 84px);
  padding: 60px 0 76px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 33px;
  padding: 10px 17px;
  border: var(--border);
  border-radius: 999px;
  background: var(--yellow);
  font: 500 0.78rem var(--mono);
}

.status-dot {
  width: 10px;
  height: 10px;
  border: var(--border);
  border-radius: 50%;
  background: var(--orange);
}

.eyebrow {
  margin: 0 0 18px;
  font: 600 0.78rem/1.5 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 680px;
  margin: 0 0 26px;
  font-size: clamp(3.55rem, 5.8vw, 5.65rem);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.95;
}

h1 span {
  display: block;
  padding: 3px 10px 8px 4px;
  background: var(--pink);
}

.intro {
  max-width: 595px;
  margin: 0 0 38px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.38vw, 1.16rem);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 18px;
  margin-bottom: 55px;
}

.button {
  display: inline-flex;
  justify-content: center;
  padding: 16px 29px;
  border: var(--border);
  border-radius: 4px;
  font-weight: 700;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.button.primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 5px 5px 0 var(--pink);
}

.button.secondary {
  background: var(--white);
  box-shadow: var(--shadow);
}

.button:hover {
  transform: translate(5px, 5px);
  box-shadow: none;
}

.stats {
  display: flex;
  gap: clamp(18px, 3vw, 32px);
  margin: 0;
}

.stats div {
  min-width: 130px;
  padding: 14px 16px;
  border: var(--border);
  background: var(--white);
}

.stats div:nth-child(2) {
  background: var(--yellow);
}

.stats div:nth-child(3) {
  background: var(--purple);
}

.stats dt {
  font: 600 clamp(1.45rem, 2.3vw, 1.8rem) var(--mono);
}

.stats dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

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

.hero-visual::before {
  position: absolute;
  top: -18px;
  right: 0;
  bottom: 52px;
  left: 27px;
  content: "";
  border: var(--border);
  background: var(--pink);
  transform: rotate(2deg);
}

.portrait-wrap {
  position: relative;
  z-index: 1;
  width: min(458px, 93%);
  margin-left: auto;
  overflow: hidden;
  border: var(--border);
  background: var(--yellow);
  box-shadow: var(--shadow-large);
}

.portrait-wrap img {
  width: 100%;
  aspect-ratio: 0.86;
  object-fit: cover;
  object-position: center top;
}

.portrait-tag {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 18px;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 9px 14px;
  border: var(--border);
  background: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
}

.mono {
  font-family: var(--mono);
  font-weight: 600;
}

.code-card {
  position: absolute;
  z-index: 3;
  right: -14px;
  bottom: 3px;
  width: 306px;
  padding: 0 16px 16px;
  border: var(--border);
  background: var(--ink);
  color: var(--white);
  box-shadow: 6px 6px 0 var(--yellow);
  animation: float 5s ease-in-out infinite;
}

.window-controls {
  display: flex;
  gap: 7px;
  align-items: center;
  height: 41px;
  color: #c7c7c7;
  font: 0.68rem var(--mono);
}

.window-controls i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--white);
}

.window-controls i:first-child {
  background: var(--pink);
}

.window-controls i:nth-child(2) {
  background: var(--yellow);
}

.window-controls i:nth-child(3) {
  margin-right: 9px;
  background: var(--green);
}

.code-card pre {
  margin: 3px 0 0;
  color: var(--white);
  font: 0.73rem/1.8 var(--mono);
}

.keyword {
  color: var(--purple);
}

.string {
  color: var(--yellow);
}

.boolean {
  color: var(--pink);
}

.floating-badge {
  position: absolute;
  z-index: 3;
  padding: 10px 16px;
  border: var(--border);
  background: var(--white);
  box-shadow: 3px 3px 0 var(--ink);
  font: 600 0.73rem var(--mono);
}

.badge-one {
  top: 106px;
  left: 0;
  transform: rotate(-3deg);
}

.badge-two {
  top: 205px;
  right: -8px;
  background: var(--yellow);
  transform: rotate(2deg);
}

.tech-marquee {
  overflow: hidden;
  padding: 25px 0;
  border-block: var(--border);
  background: var(--pink);
}

.marquee-track {
  display: flex;
  gap: 51px;
  width: max-content;
  font: 600 1rem var(--mono);
  animation: marquee 28s linear infinite;
}

.marquee-track span {
  display: flex;
  align-items: center;
  gap: 51px;
}

.marquee-track span::after {
  width: 10px;
  height: 10px;
  content: "";
  border: 2px solid var(--ink);
  background: var(--yellow);
}

.section {
  padding: 106px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.32fr 0.68fr;
  align-items: end;
  gap: 42px;
  margin-bottom: 61px;
}

.section-heading .eyebrow {
  margin: 0;
}

h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.35rem, 3.7vw, 3.55rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.065em;
}

.about {
  padding-bottom: 96px;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.92fr 0.77fr;
  gap: clamp(52px, 10vw, 136px);
}

.large-copy {
  margin: 0;
  padding: clamp(25px, 3vw, 34px);
  border: var(--border);
  background: var(--yellow);
  box-shadow: var(--shadow-large);
  font-size: clamp(1.46rem, 2.2vw, 1.86rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.045em;
}

.about-detail {
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 500;
}

.about-detail p {
  margin: 0 0 23px;
}

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

.capability {
  min-height: 362px;
  padding: 25px 22px;
  border: var(--border);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.capability:nth-child(2) {
  background: var(--pink);
}

.capability:nth-child(3) {
  background: var(--yellow);
}

.capability:nth-child(4) {
  background: var(--purple);
}

.capability:hover {
  transform: translate(5px, 5px);
  box-shadow: none;
}

.capability-number {
  display: inline-flex;
  padding: 7px 11px;
  border: var(--border);
  background: var(--white);
  font: 600 0.78rem var(--mono);
}

h3 {
  margin: 38px 0 17px;
  font-size: 1.32rem;
  line-height: 1.22;
  letter-spacing: -0.04em;
}

.capability p {
  min-height: 102px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.91rem;
  font-weight: 500;
}

.tags,
.project-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags span,
.project-stack span {
  padding: 5px 9px;
  border: 1.5px solid var(--ink);
  background: var(--white);
  font: 500 0.67rem var(--mono);
}

.featured {
  border-block: var(--border);
  background: var(--pink);
}

.robot-card {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  overflow: hidden;
  border: var(--border);
  background: var(--white);
  box-shadow: var(--shadow-large);
}

.robot-image {
  padding: 14px;
  border-right: var(--border);
  background: var(--yellow);
}

.robot-image img {
  width: 100%;
  height: 100%;
  min-height: 490px;
  object-fit: cover;
  border: var(--border);
}

.robot-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 4.5vw, 54px);
}

.project-label {
  margin: 0 0 22px;
  font: 600 0.75rem var(--mono);
}

.robot-copy h3 {
  margin: 0 0 20px;
  font-size: clamp(1.5rem, 2.1vw, 1.92rem);
}

.robot-copy > p:not(.project-label):not(.achievement) {
  margin: 0 0 29px;
  color: var(--muted);
  font-weight: 500;
}

.project-stack {
  margin-bottom: 31px;
}

.project-stack span {
  background: var(--pink);
}

.achievement {
  margin: 0;
  padding: 20px;
  border: var(--border);
  background: var(--yellow);
  font-size: 0.89rem;
  font-weight: 600;
}

.timeline {
  border-top: var(--border);
}

.timeline-item {
  display: grid;
  grid-template-columns: 0.32fr 0.68fr;
  gap: 42px;
  padding: 48px 0;
  border-bottom: var(--border);
}

.timeline-date {
  display: inline-flex;
  align-self: start;
  width: max-content;
  padding: 9px 13px;
  border: var(--border);
  background: var(--yellow);
  font: 600 0.85rem var(--mono);
}

.timeline-item:last-child .timeline-date {
  background: var(--pink);
}

.timeline-content h3 {
  margin: 6px 0 19px;
  font-size: clamp(1.7rem, 2vw, 2rem);
}

.role {
  margin: 0;
  font: 600 0.82rem var(--mono);
}

.timeline-content > p:not(.role) {
  max-width: 660px;
  margin: 0 0 27px;
  color: var(--muted);
  font-weight: 500;
}

.project-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 0.91rem;
  font-weight: 600;
}

.project-list span::before {
  margin-right: 12px;
  content: "→";
}

.systems {
  padding-top: 45px;
}

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

.stack-column {
  min-height: 185px;
  padding: 27px 24px;
  border: var(--border);
  background: var(--white);
}

.stack-column:nth-child(1) {
  background: var(--yellow);
}

.stack-column:nth-child(2) {
  background: var(--pink);
}

.stack-column:nth-child(4) {
  background: var(--purple);
}

.stack-column h3 {
  margin: 0 0 18px;
  font: 600 0.92rem var(--mono);
}

.stack-column p {
  margin: 0;
  color: var(--muted);
  font-size: 0.91rem;
  font-weight: 500;
}

.recognition {
  padding-top: 56px;
}

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

.achievement-card {
  display: flex;
  flex-direction: column;
  gap: 33px;
  min-height: 170px;
  padding: 26px 24px;
  border: var(--border);
  background: var(--white);
  box-shadow: var(--shadow);
}

.achievement-card:nth-child(2) {
  background: var(--yellow);
}

.achievement-card:nth-child(3) {
  background: var(--pink);
}

.achievement-card span {
  font: 600 0.78rem var(--mono);
}

.achievement-card strong {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
}

.contact {
  padding: 101px 0;
  border-block: var(--border);
  background: var(--yellow);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: clamp(50px, 10vw, 120px);
}

.contact-copy {
  max-width: 545px;
  color: var(--muted);
  font-size: 1.07rem;
  font-weight: 500;
}

.contact-links {
  display: flex;
  flex-direction: column;
}

.contact-links a {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
  padding: 16px 19px;
  border: var(--border);
  background: var(--white);
  box-shadow: var(--shadow);
  font-weight: 700;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.contact-links a:hover {
  transform: translate(5px, 5px);
  box-shadow: none;
}

.contact-links span {
  margin-bottom: 4px;
  font: 600 0.72rem var(--mono);
}

.footer {
  display: flex;
  justify-content: space-between;
  padding: 34px 0;
  font-size: 0.86rem;
  font-weight: 600;
}

.footer p {
  margin: 0;
}

.page-hero {
  padding: clamp(68px, 9vw, 110px) 0 70px;
  border-bottom: var(--border);
}

.page-hero h1 {
  max-width: 950px;
}

.page-hero .intro {
  max-width: 710px;
  margin-bottom: 0;
}

.page-highlight {
  display: inline;
  padding: 0 9px 5px 4px;
  background: var(--pink);
}

.blog-feature {
  padding: 62px 0 0;
}

.featured-post {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  border: var(--border);
  background: var(--white);
  box-shadow: var(--shadow-large);
}

.featured-post-visual {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 410px;
  padding: clamp(27px, 4vw, 38px);
  border-right: var(--border);
  background: var(--yellow);
}

.post-index {
  font: 600 clamp(3.6rem, 7vw, 5.9rem)/1 var(--mono);
}

.post-diagram {
  display: flex;
  flex-direction: column;
  gap: 13px;
  font: 600 0.76rem var(--mono);
}

.post-diagram span {
  padding: 10px 12px;
  border: var(--border);
  background: var(--white);
}

.featured-post-copy {
  padding: clamp(30px, 5vw, 58px);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
  font: 600 0.72rem var(--mono);
  text-transform: uppercase;
}

.post-meta span {
  padding: 6px 10px;
  border: var(--border);
  background: var(--pink);
}

.post-meta span:nth-child(2) {
  background: var(--white);
}

.featured-post h2 {
  margin-bottom: 21px;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.featured-post-copy > p:not(.post-meta) {
  margin: 0 0 31px;
  color: var(--muted);
  font-weight: 500;
  font-size: 1.02rem;
}

.blog-list {
  padding-top: 82px;
}

.blog-list-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 42px;
}

.blog-list-header h2 {
  font-size: clamp(2rem, 3vw, 2.75rem);
}

.blog-list-header p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-weight: 500;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 21px;
}

.post-card {
  display: flex;
  flex-direction: column;
  min-height: 350px;
  padding: clamp(25px, 3vw, 32px);
  border: var(--border);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.post-card:nth-child(2) {
  background: var(--pink);
}

.post-card:nth-child(3) {
  background: var(--purple);
}

.post-card:nth-child(4) {
  background: var(--yellow);
}

.post-card:hover {
  transform: translate(5px, 5px);
  box-shadow: none;
}

.post-card h3 {
  margin: 19px 0 17px;
  font-size: clamp(1.42rem, 2.1vw, 1.66rem);
}

.post-card p:not(.post-meta) {
  flex: 1;
  margin: 0 0 26px;
  color: var(--muted);
  font-weight: 500;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.text-link::after {
  content: "->";
  font-family: var(--mono);
}

.article-hero {
  padding: clamp(54px, 8vw, 94px) 0 55px;
  border-bottom: var(--border);
}

.article-back {
  display: inline-flex;
  margin-bottom: 42px;
  padding: 9px 13px;
  border: var(--border);
  background: var(--white);
  box-shadow: 3px 3px 0 var(--ink);
  font: 600 0.76rem var(--mono);
}

.article-hero h1 {
  max-width: 960px;
  margin-bottom: 27px;
  font-size: clamp(2.8rem, 5.2vw, 5rem);
}

.article-summary {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.7vw, 1.27rem);
  font-weight: 500;
}

.article-layout {
  display: grid;
  grid-template-columns: 268px minmax(0, 760px);
  justify-content: space-between;
  gap: clamp(40px, 7vw, 90px);
  padding: 62px 0 100px;
}

.article-sidebar {
  position: sticky;
  top: 112px;
  align-self: start;
}

.article-sidebar-card {
  padding: 20px;
  border: var(--border);
  background: var(--yellow);
  box-shadow: var(--shadow);
}

.article-sidebar-card p {
  margin: 0 0 18px;
  font: 600 0.72rem var(--mono);
  text-transform: uppercase;
}

.article-sidebar-card a {
  display: block;
  padding: 10px 0;
  border-top: 1px solid var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
}

.article-body {
  font-size: 1.05rem;
}

.article-body h2 {
  max-width: none;
  margin: 52px 0 18px;
  padding-top: 9px;
  font-size: clamp(1.7rem, 2.5vw, 2.18rem);
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body h3 {
  margin: 35px 0 13px;
  font-size: 1.3rem;
}

.article-body p {
  margin: 0 0 21px;
  color: #242424;
}

.article-body ul,
.article-body ol {
  margin: 0 0 27px;
  padding-left: 25px;
}

.article-body li {
  margin: 0 0 10px;
}

.article-callout {
  margin: 35px 0;
  padding: 24px 26px;
  border: var(--border);
  background: var(--pink);
  box-shadow: var(--shadow);
  font-weight: 600;
}

.article-code {
  overflow-x: auto;
  margin: 28px 0 34px;
  padding: 22px;
  border: var(--border);
  background: var(--ink);
  color: var(--white);
  box-shadow: 6px 6px 0 var(--yellow);
  font: 0.86rem/1.7 var(--mono);
}

.article-checklist {
  margin: 32px 0;
  padding: 25px;
  border: var(--border);
  background: var(--yellow);
}

.article-checklist strong {
  display: block;
  margin-bottom: 14px;
  font-size: 1.05rem;
}

.article-checklist ul {
  margin-bottom: 0;
}

.more-reading {
  padding: 72px 0 96px;
  border-top: var(--border);
  background: var(--pink);
}

.more-reading h2 {
  margin-bottom: 39px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms ease, transform 620ms ease;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

@keyframes float {
  50% {
    transform: translateY(-11px) rotate(-1deg);
  }
}

@keyframes marquee {
  to {
    transform: translateX(calc(-50% - 26px));
  }
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 60px;
  }

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

  .hero-visual {
    max-width: 590px;
    margin: 32px auto 0;
  }

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

  .robot-card {
    grid-template-columns: 1fr;
  }

  .featured-post {
    grid-template-columns: 1fr;
  }

  .featured-post-visual {
    min-height: 290px;
    border-right: 0;
    border-bottom: var(--border);
  }

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

  .article-sidebar {
    position: static;
  }

  .robot-image {
    border-right: 0;
    border-bottom: var(--border);
  }

  .robot-image img {
    max-height: 620px;
    min-height: 0;
  }
}

@media (max-width: 740px) {
  :root {
    --container: min(100vw - 32px, 560px);
  }

  .nav {
    min-height: 74px;
  }

  .brand span:last-child {
    display: none;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .nav-toggle {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .nav-toggle span:not(.sr-only) {
    display: block;
    width: 27px;
    height: 2px;
    margin-left: auto;
    background: var(--ink);
    transition: transform 180ms;
  }

  .nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4.5px) rotate(45deg);
  }

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

  .nav-links {
    position: absolute;
    top: 73px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: var(--border);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

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

  .nav-links a {
    padding: 16px 19px;
    border-bottom: var(--border);
  }

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

  .nav-cta {
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .hero {
    gap: 52px;
    padding: 43px 0 67px;
  }

  .status {
    font-size: 0.68rem;
  }

  h1 {
    font-size: clamp(2.72rem, 15vw, 3.5rem);
  }

  .hero-actions {
    flex-direction: column;
    margin-bottom: 43px;
  }

  .stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .stats div {
    min-width: 0;
    padding: 11px 8px;
  }

  .stats dd {
    font-size: 0.66rem;
  }

  .hero-visual {
    padding: 0 8px 55px 0;
  }

  .portrait-wrap {
    width: calc(100% - 13px);
  }

  .floating-badge {
    display: none;
  }

  .code-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% - 31px);
    margin: -46px auto 0;
    animation: none;
  }

  .section {
    padding: 75px 0;
  }

  .section-heading,
  .about-grid,
  .timeline-item,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-heading {
    margin-bottom: 45px;
  }

  .capability-grid,
  .stack-grid,
  .achievement-grid,
  .post-grid,
  .more-reading .post-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding-top: 52px;
  }

  .blog-list-header {
    flex-direction: column;
    align-items: start;
  }

  .post-card {
    min-height: 0;
  }

  .capability {
    min-height: 0;
  }

  .capability p {
    min-height: 0;
  }

  .robot-image {
    padding: 8px;
  }

  .footer {
    flex-direction: column;
    gap: 12px;
  }
}

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

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