:root {
  --ink: #182333;
  --muted: #617188;
  --blue: #4f7fb5;
  --blue-dark: #2f5f96;
  --blue-soft: #dceafa;
  --cream: #f7f0e6;
  --paper: #fffaf3;
  --coral: #e99b8d;
  --gold: #d8b36a;
  --line: #d9e1eb;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(24, 35, 51, .14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

.container {
  width: min(1140px, calc(100% - 36px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 0 clamp(18px, 4vw, 46px);
  border-bottom: 1px solid rgba(79, 127, 181, .15);
  background: rgba(255, 250, 243, .9);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  box-shadow: 0 12px 30px rgba(24, 35, 51, .08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: .01em;
}

.brand span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 750;
}

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

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

section {
  position: relative;
  padding: clamp(74px, 9vw, 118px) 0;
}

.section-divider {
  padding-bottom: clamp(106px, 12vw, 150px);
}

.section-divider::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 58px;
  background: currentColor;
  color: var(--paper);
  clip-path: polygon(0 45%, 10% 56%, 22% 48%, 34% 62%, 47% 50%, 60% 64%, 74% 47%, 88% 58%, 100% 46%, 100% 100%, 0 100%);
}

.hero {
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(255, 250, 243, .96) 0%, rgba(255, 250, 243, .92) 47%, rgba(220, 234, 250, .92) 100%),
    radial-gradient(circle at 20% 10%, rgba(233, 155, 141, .28), transparent 32%);
  color: var(--paper);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -12% 4% 46%;
  height: 330px;
  border-radius: 999px 0 0 999px;
  background: rgba(79, 127, 181, .13);
  transform: rotate(-8deg);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .78fr);
  gap: clamp(36px, 6vw, 82px);
  align-items: end;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-dark);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

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

h1,
h2 {
  letter-spacing: 0;
  line-height: 1.02;
}

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  color: var(--ink);
  font-size: clamp(2.7rem, 5.5vw, 4.85rem);
  font-weight: 900;
}

h2 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(2.1rem, 4.2vw, 4.4rem);
  font-weight: 890;
}

h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1.25;
}

.hero-lede {
  max-width: 650px;
  color: #425168;
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(24, 35, 51, .2);
}

.btn-secondary {
  border-color: rgba(79, 127, 181, .24);
  background: var(--white);
  color: var(--blue-dark);
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
}

.quick-stats > span {
  position: relative;
  overflow: hidden;
  min-height: 134px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(79, 127, 181, .18);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .68)),
    radial-gradient(circle at 86% 14%, rgba(233, 155, 141, .22), transparent 34%);
  color: var(--muted);
  box-shadow: 0 18px 42px rgba(24, 35, 51, .07);
}

.quick-stats strong {
  display: block;
  color: var(--blue-dark);
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  line-height: 1;
}

.quick-stats small {
  display: block;
  max-width: 150px;
  margin-top: 12px;
  color: var(--muted);
  font-size: .84rem;
  font-weight: 760;
  line-height: 1.35;
}

.hero-visual {
  position: relative;
  display: grid;
  align-self: stretch;
  align-items: end;
  padding-top: clamp(58px, 9vw, 92px);
}

.portrait-frame {
  overflow: hidden;
  width: min(100%, 560px);
  height: clamp(720px, 82vh, 900px);
  margin-left: auto;
  border: 12px solid var(--white);
  border-radius: 34px;
  background: var(--blue);
  box-shadow: var(--shadow);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.support-card {
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: min(375px, 84%);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .76);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(255, 250, 243, .9)),
    radial-gradient(circle at 100% 0, rgba(216, 179, 106, .22), transparent 34%);
  box-shadow: 0 18px 40px rgba(24, 35, 51, .18);
  backdrop-filter: blur(14px);
  animation: supportBreathe 3.6s ease-in-out infinite;
}

.support-card::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 18px;
  width: 4px;
  border-radius: 99px;
  background: linear-gradient(var(--blue), var(--coral));
}

.support-card-label {
  display: block;
  margin: 0 0 12px 16px;
  color: var(--blue-dark);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.support-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-left: 16px;
}

.support-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 10px;
  border: 1px solid rgba(79, 127, 181, .16);
  border-radius: 8px;
  background: rgba(220, 234, 250, .56);
  color: #425168;
  font-size: .8rem;
  font-weight: 800;
}

@keyframes supportBreathe {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    box-shadow: 0 18px 40px rgba(24, 35, 51, .18);
  }

  50% {
    transform: translate3d(0, -5px, 0) scale(1.025);
    box-shadow: 0 26px 56px rgba(24, 35, 51, .24);
  }
}

.about-section {
  background: var(--paper);
  min-height: 620px;
}

.about-grid {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: clamp(28px, 5vw, 70px);
}

.about-copy {
  color: #425168;
  font-size: 1.08rem;
}

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

.chaos-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 0 .02em;
  align-content: flex-start;
  min-height: 3.28em;
  perspective: 800px;
}

.chaos-word {
  display: inline-flex;
  white-space: nowrap;
}

.chaos-space {
  display: inline-block;
  width: .28em;
}

.chaos-letter {
  display: inline-block;
  opacity: 0;
  transform: translate3d(var(--drop-x), -320px, 0) rotate(var(--drop-r));
  transform-origin: center;
  animation: letterDrop .74s cubic-bezier(.18, .88, .24, 1.12) forwards,
    letterAssemble .86s cubic-bezier(.2, .92, .18, 1) forwards;
  animation-delay: calc(var(--i, 0) * 22ms), calc(980ms + var(--i, 0) * 18ms);
}

.visible .chaos-letter {
  animation-play-state: running;
}

@keyframes letterDrop {
  0% {
    opacity: 0;
    transform: translate3d(var(--drop-x), -320px, 0) rotate(var(--drop-r));
  }

  72% {
    opacity: 1;
    transform: translate3d(var(--floor-x), var(--floor-y), 0) rotate(var(--floor-r));
  }

  100% {
    opacity: 1;
    transform: translate3d(var(--floor-x), var(--floor-y), 0) rotate(var(--floor-r));
  }
}

@keyframes letterAssemble {
  0% {
    opacity: 1;
    transform: translate3d(var(--floor-x), var(--floor-y), 0) rotate(var(--floor-r));
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
}

.typewriter-copy {
  min-height: 230px;
}

.typewriter-copy p {
  position: relative;
  min-height: 4.8em;
}

.typewriter-copy.is-typing p:last-child::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 3px;
  vertical-align: -0.12em;
  background: var(--blue-dark);
  animation: caretBlink .72s steps(1) infinite;
}

.resume-btn {
  float: right;
  margin-top: 8px;
  min-width: 132px;
}

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

.services-section {
  background: var(--blue-dark);
  color: var(--paper);
}

.services-section::after {
  color: var(--cream);
}

.services-section h2,
.services-section h3,
.services-section .eyebrow {
  color: var(--white);
}

.keyboard-heading {
  min-height: 4.08em;
}

.keyboard-heading.is-keying::after {
  content: "";
  display: inline-block;
  width: .08em;
  height: .82em;
  margin-left: .08em;
  vertical-align: -0.06em;
  border-radius: 99px;
  background: var(--white);
  animation: caretBlink .68s steps(1) infinite;
}

.services-section .section-heading p,
.service-card p {
  color: rgba(255, 255, 255, .76);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(280px, .55fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading p {
  color: var(--muted);
}

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

.service-card {
  position: relative;
  min-height: 230px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
  transform: translateZ(0);
  transition: border-color .24s ease, background .24s ease, box-shadow .24s ease;
  will-change: transform;
}

.service-card::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 42px;
  height: 4px;
  border-radius: 99px;
  background: var(--coral);
  opacity: .78;
}

.service-card span {
  display: inline-flex;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, .54);
  font-weight: 900;
}

.service-card:hover,
.service-card:focus-within {
  z-index: 2;
  border-color: rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .13);
  box-shadow: 0 22px 58px rgba(18, 38, 68, .22);
  animation: servicePulse 1.15s ease-in-out infinite;
}

@keyframes servicePulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-6px) scale(1.022);
  }
}

.skills-section,
.experience-section {
  background: var(--cream);
}

.skills-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 20px;
}

.skill-panel {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(79, 127, 181, .18);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 14px 40px rgba(24, 35, 51, .06);
}

.pill-list,
.tool-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-list li {
  padding: 10px 13px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-weight: 800;
}

.tool-list {
  display: grid;
  gap: 12px;
}

.tool-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.tool-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.tool-list span {
  color: var(--muted);
  text-align: right;
}

.experience-section::after {
  color: var(--paper);
}

.experience-heading h2 {
  grid-column: 1;
  grid-row: 1;
}

.experience-heading .eyebrow {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: end;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.timeline article {
  position: relative;
  min-height: 245px;
  padding: 24px;
  border: 1px solid rgba(79, 127, 181, .18);
  border-radius: 8px;
  background: var(--paper);
  transform: translateZ(0);
  transition: transform .26s ease, box-shadow .26s ease, border-color .26s ease;
  will-change: transform;
}

.timeline article:hover,
.timeline article:focus-within {
  z-index: 2;
  border-color: rgba(79, 127, 181, .34);
  box-shadow: 0 24px 56px rgba(24, 35, 51, .15);
  transform: scale(1.045);
}

.timeline article::before {
  content: "";
  position: absolute;
  top: 23px;
  right: 22px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--coral);
}

.timeline time {
  display: block;
  margin-bottom: 38px;
  color: var(--blue-dark);
  font-weight: 900;
}

.timeline p {
  color: var(--muted);
}

.work-section {
  background: var(--paper);
}

.proof-grid {
  display: grid;
  gap: 18px;
}

.proof-card {
  display: grid;
  grid-template-columns: minmax(260px, .42fr) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  box-shadow: 0 18px 48px rgba(24, 35, 51, .12);
}

.proof-card-blue {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
}

.proof-card h3,
.proof-card .proof-label {
  color: var(--white);
}

.proof-card div {
  padding: 10px 12px;
}

.proof-card > div:first-child p {
  color: rgba(255, 255, 255, .82);
}

.proof-label {
  display: inline-flex;
  margin-bottom: 12px;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.proof-card img {
  width: 100%;
  max-height: 390px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
}

.proof-video,
.demo-video {
  width: 100%;
  min-height: 320px;
  max-height: 390px;
  border-radius: 8px;
  object-fit: cover;
  overflow: hidden;
  background: rgba(255, 255, 255, .14);
}

.demo-video {
  position: relative;
  border: 1px solid rgba(255, 255, 255, .16);
}

.admin-demo {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, .18), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, .2), rgba(220, 234, 250, .12));
}

.typing-laptop {
  position: relative;
  display: grid;
  grid-template-rows: 32px 1fr;
  width: 86%;
  height: 78%;
  border: 12px solid #182333;
  border-radius: 16px;
  background: #f8fbff;
  box-shadow: 0 26px 52px rgba(24, 35, 51, .18);
}

.typing-laptop::after {
  content: "";
  position: absolute;
  right: 18%;
  bottom: -30px;
  left: 18%;
  height: 18px;
  border-radius: 0 0 18px 18px;
  background: #c6d4e5;
}

.typing-toolbar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-bottom: 1px solid #d7e2ef;
  background: #edf4fb;
}

.typing-toolbar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--coral);
}

.typing-toolbar span:nth-child(2) {
  background: var(--gold);
}

.typing-toolbar span:nth-child(3) {
  background: #7ea7d5;
}

.admin-typing-text {
  overflow: hidden;
  height: 100%;
  margin: 0;
  padding: 18px 20px;
  color: #182333;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: clamp(.72rem, 1.35vw, .9rem);
  font-weight: 700;
  line-height: 1.55;
}

.admin-typing-text.is-typing::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 3px;
  vertical-align: -0.12em;
  background: var(--ink);
  animation: caretBlink .72s steps(1) infinite;
}

.file-demo {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(220, 234, 250, .24), rgba(255, 255, 255, .12));
}

.screen-window {
  position: relative;
  width: 78%;
  height: 74%;
  border: 12px solid #182333;
  border-top-width: 26px;
  border-radius: 14px;
  background: #f9fbff;
  box-shadow: 0 24px 50px rgba(24, 35, 51, .18);
}

.folder,
.file {
  position: absolute;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(24, 35, 51, .1);
}

.folder {
  width: 72px;
  height: 54px;
  background: linear-gradient(#d8b36a, #f3cf7d);
}

.folder::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 8px;
  width: 34px;
  height: 14px;
  border-radius: 7px 7px 0 0;
  background: #d8b36a;
}

.folder-a { top: 18%; left: 14%; }
.folder-b { top: 18%; right: 16%; }
.folder-c { right: 38%; bottom: 18%; }

.file {
  width: 44px;
  height: 58px;
  background: linear-gradient(#fff, #e8f0f9);
  border: 1px solid #d5e0ed;
  animation: fileSort 2.7s ease-in-out infinite;
}

.file-a { left: 43%; top: 46%; --move-x: -132px; --move-y: -86px; }
.file-b { left: 45%; top: 48%; --move-x: 128px; --move-y: -88px; animation-delay: .42s; }
.file-c { left: 47%; top: 50%; --move-x: 20px; --move-y: 80px; animation-delay: .84s; }

@keyframes fileSort {
  0%,
  22% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }

  62%,
  100% {
    transform: translate(var(--move-x), var(--move-y)) scale(.82);
    opacity: .36;
  }
}

.proof-card:first-child img {
  object-position: center 42%;
}

.systems-section {
  background: linear-gradient(135deg, var(--blue-soft), var(--paper));
}

.systems-grid {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(320px, 1fr);
  gap: 34px;
  align-items: center;
}

.systems-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.06rem;
}

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

.metric-strip span {
  min-height: 150px;
  padding: 22px;
  border: 1px solid rgba(79, 127, 181, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .76);
}

.metric-strip strong,
.metric-strip small {
  display: block;
}

.metric-strip strong {
  color: var(--blue-dark);
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  line-height: 1.1;
}

.metric-strip small {
  margin-top: 9px;
  color: var(--muted);
  font-weight: 750;
}

.contact-section {
  padding: clamp(82px, 10vw, 136px) 0;
  background: var(--ink);
  color: var(--white);
  text-align: center;
}

.contact-panel {
  max-width: 850px;
}

.contact-panel h2,
.contact-panel .eyebrow {
  color: var(--white);
}

.contact-panel p:not(.eyebrow) {
  max-width: 660px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, .75);
  font-size: 1.08rem;
}

.contact-panel .btn-primary {
  background: var(--paper);
  color: var(--ink);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 24px clamp(18px, 4vw, 46px);
  background: #111925;
  color: rgba(255, 255, 255, .72);
  font-size: .92rem;
}

.site-footer span {
  color: var(--white);
  font-weight: 850;
}

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

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

@media (max-width: 940px) {
  .nav-links {
    position: fixed;
    top: 74px;
    right: 14px;
    left: 14px;
    display: none;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .menu-toggle {
    display: block;
  }

  .hero-grid,
  .about-grid,
  .section-heading,
  .skills-grid,
  .systems-grid {
    grid-template-columns: 1fr;
  }

  .experience-heading h2,
  .experience-heading .eyebrow {
    grid-column: auto;
    grid-row: auto;
    justify-self: start;
  }

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

  .service-grid,
  .timeline,
  .metric-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1140px);
  }

  .brand strong {
    display: none;
  }

  .hero {
    padding-top: 58px;
  }

  h1 {
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }

  .quick-stats,
  .service-grid,
  .timeline,
  .metric-strip {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .support-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 12px;
  }

  .portrait-frame {
    width: 100%;
    height: min(640px, 118vw);
    border-width: 8px;
  }

  .tool-list li {
    display: grid;
    gap: 2px;
  }

  .tool-list span {
    text-align: left;
  }

  .chaos-heading {
    min-height: 3.55em;
  }

  .typewriter-copy {
    min-height: 330px;
  }

  .resume-btn {
    float: none;
    width: 100%;
    margin-top: 14px;
  }

  .proof-card {
    padding: 12px;
  }

  .proof-card img {
    max-height: 310px;
  }
}

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

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

  .chaos-letter {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .typewriter-copy {
    min-height: auto;
  }

  .service-card:hover,
  .service-card:focus-within,
  .timeline article:hover,
  .timeline article:focus-within {
    animation: none;
    transform: none;
  }
}
