:root {
  --paper: #fefff0;
  --white: #ffffff;
  --black: #090909;
  --gray: #2b2b2b;
  --yellow: #ffdc58;
  --purple: #c5a1ff;
  --red: #ff6258;
  --cyan: #61bcff;
  --blue: #bae6ff;
  --pink: #ffa8cc;
  --muted: #64645d;
  --border: 3px solid var(--black);
  --shadow: 9px 9px 0 rgba(0, 0, 0, 0.68);
  --shadow-small: 5px 5px 0 rgba(0, 0, 0, 0.72);
  --max: 1240px;
  --shell-pad: clamp(20px, 5.5vw + 4px, 84px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--black);
  background: var(--paper);
  font-family: "Space Grotesk", Arial, sans-serif;
  overflow-x: hidden;
}

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

button {
  font: inherit;
  cursor: pointer;
  transition: background-color 0.16s ease, transform 0.16s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.16s cubic-bezier(0.16, 1, 0.3, 1), color 0.16s ease;
}

button:hover {
  background-color: #e8e8df;
}

button:active {
  transform: translate(2px, 2px);
}

input,
textarea {
  font: inherit;
}

::selection {
  background: var(--yellow);
  color: var(--black);
}

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.045;
  background-image:
    radial-gradient(circle at 20% 30%, #000 0 0.7px, transparent 0.8px),
    radial-gradient(circle at 80% 70%, #000 0 0.7px, transparent 0.8px);
  background-size: 19px 19px, 23px 23px;
}

.shell {
  width: min(calc(100% - (var(--shell-pad) * 2)), var(--max));
  margin-inline: auto;
}

.site-header {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 50;
  margin-bottom: clamp(48px, 6.5vh, 80px);
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 9px 14px;
  background: var(--white);
  cursor: pointer;
  transition: background-color 0.16s ease, transform 0.16s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.16s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand:hover {
  background-color: #ecece2;
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.72);
}

.brand:active {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.72);
}

.brand-mark {
  width: 36px;
  height: 36px;
  border: 2px solid var(--black);
  display: grid;
  place-items: center;
  background: var(--yellow);
  border-radius: 50%;
  font-weight: 700;
}

.brand-name {
  font-size: 18px;
  font-weight: 600;
}

.brutal-box {
  border: var(--border);
  box-shadow: var(--shadow-small);
}

.desktop-nav {
  display: flex;
  background: var(--white);
  position: relative;
}

.desktop-nav a {
  padding: 14px 20px;
  border-right: 2px solid var(--black);
  font-size: 17px;
  font-weight: 600;
  position: relative;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.desktop-nav a:hover {
  background-color: #ecece2;
}

.desktop-nav a:active {
  background-color: #dedee4;
}

.desktop-nav a:last-of-type {
  border-right: 0;
}

.desktop-nav a:hover::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 14px;
  height: 8px;
  background: var(--yellow);
  z-index: -1;
}

.corner {
  width: 12px;
  height: 12px;
  background: var(--white);
  border: 2px solid var(--black);
  position: absolute;
}

.c1 { left: -8px; top: -8px; }
.c2 { right: -8px; top: -8px; }
.c3 { left: -8px; bottom: -8px; }
.c4 { right: -8px; bottom: -8px; }

.mobile-menu-button,
.mobile-nav {
  display: none;
}

.mobile-menu-button {
  background: var(--white);
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  transition: transform 0.16s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.16s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.16s ease,
              color 0.16s ease;
}

.mobile-menu-button:hover {
  background-color: #e8e8df;
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.72);
}

.mobile-menu-button:active {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.72);
}

.mobile-menu-button[aria-expanded="true"] {
  background-color: var(--yellow);
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.72);
}

.mobile-menu-button[aria-expanded="true"]:hover {
  background-color: #ffd63a;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.72);
}

.hero {
  min-height: 640px;
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 80px;
  align-items: center;
  padding: 32px 0 54px;
  position: relative;
}

.hero-copy {
  position: relative;
  padding-top: 14px;
}

.eyebrow,
.mini-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.09em;
  margin: 0 0 25px;
}

.hero h1 {
  margin: 0;
  max-width: 670px;
  font-size: clamp(62px, 6.6vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.065em;
  font-weight: 500;
}

.highlight {
  display: inline;
  position: relative;
  z-index: 1;
  padding: 0 0.05em;
}

.highlight::before {
  content: "";
  position: absolute;
  left: -0.02em;
  right: -0.02em;
  bottom: 0.08em;
  height: 0.35em;
  z-index: -1;
  transform: rotate(-1deg);
}

.highlight.yellow::before { background: var(--yellow); }
.highlight.purple::before { background: var(--purple); }

.hero-intro {
  max-width: 610px;
  font-size: 19px;
  line-height: 1.55;
  margin: 48px 0 0;
}

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

.brutal-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 0 30px;
  border: 5px solid var(--black);
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 5px 6px 0 var(--black);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.brutal-pill:hover {
  transform: translate(4px, 4px);
  box-shadow: 1px 2px 0 var(--black);
}

.brutal-pill.blue { background: var(--blue); }

.text-link {
  font-weight: 700;
  border-bottom: 2px solid var(--black);
  padding-bottom: 3px;
}

.sticker {
  position: absolute;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  transform: rotate(-17deg);
  border: var(--border);
  box-shadow: 5px 5px 0 var(--black);
}

.sticker-pink {
  background: var(--pink);
  top: -46px;
  left: 0;
  clip-path: polygon(50% 0, 61% 29%, 88% 12%, 72% 39%, 100% 50%, 72% 61%, 88% 88%, 61% 71%, 50% 100%, 39% 71%, 12% 88%, 28% 61%, 0 50%, 28% 39%, 12% 12%, 39% 29%);
}

.sticker span {
  font-size: 44px;
}

.hero-note {
  margin-top: 38px;
  margin-left: 245px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  transform: rotate(-4deg);
}

.scribble-arrow {
  font-size: 36px;
  line-height: 1;
}

.hero-visual {
  min-height: 480px;
  position: relative;
  display: grid;
  place-items: center;
}

.brutal-card {
  border: 4px solid var(--black);
  background: var(--white);
  box-shadow: var(--shadow);
}

.system-card {
  width: min(100%, 500px);
  min-height: 430px;
  position: relative;
  transform: rotate(1deg);
}

.system-topbar {
  height: 52px;
  border-bottom: 4px solid var(--black);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  background: var(--white);
}

.system-topbar span {
  width: 13px;
  height: 13px;
  border: 2px solid var(--black);
  border-radius: 50%;
}

.system-topbar strong {
  margin-left: 10px;
  font-size: 13px;
}

.system-canvas {
  height: 310px;
  background:
    linear-gradient(rgba(0,0,0,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.07) 1px, transparent 1px),
    #d8d8d8;
  background-size: 34px 34px;
  position: relative;
  overflow: hidden;
}

.node {
  position: absolute;
  min-width: 74px;
  padding: 11px 13px;
  border: 3px solid var(--black);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  z-index: 3;
  box-shadow: 4px 4px 0 var(--black);
}

.node-a { background: var(--yellow); left: 34px; top: 48px; }
.node-b { background: var(--purple); right: 38px; top: 55px; }
.node-c { background: var(--cyan); left: 48px; bottom: 52px; }
.node-d { background: var(--red); right: 48px; bottom: 50px; }

.connector {
  position: absolute;
  background: var(--black);
  height: 3px;
  transform-origin: left center;
}

.connector-1 { width: 250px; left: 105px; top: 90px; transform: rotate(2deg); }
.connector-2 { width: 250px; left: 105px; bottom: 95px; transform: rotate(-2deg); }
.connector-3 { width: 195px; left: 155px; top: 180px; transform: rotate(90deg); }

.system-face {
  position: absolute;
  width: 112px;
  height: 112px;
  border: 4px solid var(--black);
  background: var(--paper);
  display: grid;
  place-items: center;
  font-size: 35px;
  font-weight: 700;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-3deg);
  z-index: 5;
  box-shadow: 7px 7px 0 rgba(0,0,0,.25);
}

.system-footer {
  min-height: 56px;
  border-top: 4px solid var(--black);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.system-footer span {
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  border-right: 2px solid var(--black);
}

.system-footer span:last-child {
  border-right: 0;
}

.doodle-label {
  position: absolute;
  top: 5px;
  left: 40px;
  font-size: 24px;
  font-weight: 700;
  transform: rotate(-12deg);
}

.doodle-label::after {
  content: "↘";
  font-size: 50px;
  display: inline-block;
  margin-left: 5px;
  transform: rotate(20deg);
}

.burst {
  position: absolute;
  display: grid;
  place-items: center;
  width: 75px;
  height: 75px;
  border: 3px solid var(--black);
  font-size: 34px;
  font-weight: 700;
  box-shadow: 4px 4px 0 var(--black);
}

.burst-yellow,
.burst-avatar {
  background: var(--yellow);
  left: -20px;
  top: 160px;
  border-radius: 50%;
}

.burst-avatar {
  width: 96px;
  height: 96px;
  overflow: hidden;
  padding: 0;
  z-index: 6;
  box-shadow: 5px 5px 0 var(--black);
}

.burst-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.burst-red {
  background: var(--red);
  right: -2px;
  bottom: 70px;
  transform: rotate(15deg);
  clip-path: polygon(50% 0, 61% 29%, 88% 12%, 72% 39%, 100% 50%, 72% 61%, 88% 88%, 61% 71%, 50% 100%, 39% 71%, 12% 88%, 28% 61%, 0 50%, 28% 39%, 12% 12%, 39% 29%);
}

.sketch-arrow {
  position: absolute;
  top: 35px;
  right: 25px;
  font-size: 70px;
  transform: rotate(15deg);
}

.tech-marquee {
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  border-block: 4px solid var(--black);
}

.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 45px;
  padding: 23px 0;
  animation: marquee 24s linear infinite;
  font-size: 24px;
  font-weight: 600;
}

.marquee-track i {
  color: var(--yellow);
  font-style: normal;
}

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

.section {
  padding: 36px 0;
}

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

.section-heading h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  font-weight: 500;
}

.smiley {
  font-size: 66px;
  transform: rotate(12deg);
}

.services-board {
  border: var(--border);
  border-bottom-width: 4px;
  display: grid;
  grid-template-columns: 34% 66%;
}

.stats-column {
  border-right: var(--border);
  display: flex;
  flex-direction: column;
}

.stat-cell {
  padding: 22px 24px;
  flex: 1;
  border-bottom: var(--border);
}

.stat-cell:last-child {
  border-bottom: 0;
}

.stat-cell strong,
.stat-cell span {
  display: block;
}

.stat-cell strong {
  font-size: 44px;
  line-height: 1;
}

.stat-cell span {
  margin-top: 6px;
  font-size: 16px;
}

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

.service-card {
  min-height: 280px;
  padding: 26px 22px 20px;
  border-right: var(--border);
  border-bottom: var(--border);
  display: flex;
  flex-direction: column;
}

.service-card:nth-child(2n) {
  border-right: 0;
}

.service-card:nth-child(n+3) {
  border-bottom: 0;
}

.service-icon {
  width: 60px;
  height: 60px;
  border: var(--border);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 4px 4px 0 var(--black);
}

.yellow { background: var(--yellow); }
.purple { background: var(--purple); }
.red { background: var(--red); }
.cyan { background: var(--cyan); }
.white { background: var(--white); }

.service-card h3 {
  font-size: 28px;
  line-height: 1.05;
  margin: 16px 0 8px;
}

.service-card p {
  font-size: 16px;
  line-height: 1.45;
  margin: 0;
}

.service-card a {
  margin-top: auto;
  padding-top: 16px;
  font-size: 18px;
  font-weight: 600;
  border-top: 2px solid var(--black);
}

.portfolio-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 32px;
}

.portfolio-title h2 {
  font-size: clamp(54px, 6.5vw, 90px);
  font-weight: 500;
  letter-spacing: -0.055em;
  margin: 0;
}

.underline {
  text-decoration: underline;
  text-decoration-thickness: 6px;
  text-underline-offset: 8px;
}

.doodle-star,
.ice-sticker {
  font-size: 58px;
  display: inline-block;
}

.doodle-star {
  color: var(--red);
  transform: rotate(-18deg);
}

.ice-sticker {
  color: var(--cyan);
  transform: rotate(10deg);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 32px;
}

.project-card {
  padding: 22px;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.project-card:hover {
  transform: translate(5px, 5px) rotate(0deg);
  box-shadow: 3px 3px 0 var(--black);
}

.tilt-left { transform: rotate(-1deg); }
.tilt-right { transform: rotate(1deg); }

.project-preview {
  height: 250px;
  border: var(--border);
  overflow: hidden;
  position: relative;
  background: #ededed;
}

.browser-bar {
  height: 38px;
  border-bottom: 3px solid var(--black);
  background: var(--white);
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 0 10px;
}

.browser-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid var(--black);
}

.browser-bar small {
  margin-left: 8px;
  font-size: 10px;
  font-weight: 600;
}

.preview-government {
  background: #f8f5ed;
  padding-bottom: 16px;
}

.gov-header {
  margin: 20px 20px 14px;
  font-size: 27px;
  font-weight: 700;
}

.gov-search {
  margin: 0 20px 16px;
  border: 2px solid var(--black);
  padding: 12px 14px;
  background: var(--white);
  font-size: 11px;
}

.gov-tabs {
  display: flex;
  gap: 7px;
  padding: 0 20px;
}

.gov-tabs span {
  padding: 8px 9px;
  border: 2px solid var(--black);
  background: var(--yellow);
  font-size: 9px;
  font-weight: 700;
}

.gov-list {
  margin: 14px 20px 0;
  display: grid;
  gap: 8px;
}

.gov-list i {
  display: block;
  height: 17px;
  border: 2px solid var(--black);
  background: var(--white);
}

.preview-outmatch {
  background:
    radial-gradient(circle at 25% 35%, rgba(255,220,88,.5), transparent 25%),
    radial-gradient(circle at 75% 35%, rgba(197,161,255,.55), transparent 25%),
    #fff;
}

.versus {
  position: absolute;
  left: 50%;
  top: 43%;
  transform: translate(-50%, -50%) rotate(-8deg);
  width: 64px;
  height: 64px;
  border: var(--border);
  border-radius: 50%;
  background: var(--red);
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 700;
  z-index: 3;
  box-shadow: 5px 5px 0 var(--black);
}

.match-option {
  position: absolute;
  top: 55px;
  width: 125px;
  height: 125px;
  border: var(--border);
  display: grid;
  place-items: center;
  font-size: 60px;
  font-weight: 700;
  box-shadow: 6px 6px 0 var(--black);
}

.option-a { left: 38px; background: var(--yellow); transform: rotate(-4deg); }
.option-b { right: 38px; background: var(--purple); transform: rotate(4deg); }

.rank-board {
  position: absolute;
  bottom: 20px;
  left: 35px;
  right: 35px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: var(--border);
  background: var(--white);
}

.rank-board span {
  padding: 13px 10px;
  border-right: 2px solid var(--black);
  font-size: 12px;
  font-weight: 700;
}

.rank-board span:last-child { border-right: 0; }
.rank-board b { float: right; }

.preview-poll {
  padding: 36px;
  background: var(--blue);
}

.poll-title {
  font-size: 27px;
  font-weight: 700;
  margin-bottom: 28px;
}

.poll-row {
  display: grid;
  grid-template-columns: 85px 1fr 50px;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-weight: 700;
  font-size: 12px;
}

.poll-row i {
  height: 30px;
  border: 2px solid var(--black);
  background: var(--white);
  position: relative;
}

.poll-row i::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  background: var(--red);
  border-right: 2px solid var(--black);
}

.live-pill {
  margin-top: 32px;
  display: inline-block;
  background: var(--black);
  color: var(--white);
  padding: 10px 14px;
  font-size: 10px;
  letter-spacing: .08em;
}

.preview-bulk {
  background: #181818;
  color: #f8f8f8;
  padding: 26px;
}

.bulk-title {
  font-size: 15px;
  color: var(--yellow);
  margin-bottom: 18px;
}

.data-table {
  border: 2px solid #fff;
}

.data-table div {
  display: grid;
  grid-template-columns: 0.6fr 1fr 0.8fr;
  border-bottom: 1px solid #fff;
}

.data-table div:last-child { border-bottom: 0; }

.data-table span,
.data-table b {
  padding: 10px 8px;
  border-right: 1px solid #fff;
  font-size: 10px;
}

.data-table span:last-child,
.data-table b:last-child { border-right: 0; }

.ok { color: #b9ff9a; }
.warn { color: #ffdc58; }

.bulk-progress {
  margin-top: 25px;
  border: 2px solid #fff;
  height: 31px;
  position: relative;
  overflow: hidden;
}

.bulk-progress i {
  display: block;
  width: 82%;
  height: 100%;
  background: var(--cyan);
}

.bulk-progress span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--black);
  font-size: 10px;
  font-weight: 700;
}

.project-meta {
  margin-top: 27px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
}

.project-meta h3 {
  margin: 0;
  font-size: 34px;
  line-height: 1;
}

.project-meta p {
  margin: 9px 0 0;
  line-height: 1.4;
}

.project-arrow {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--black);
  color: var(--white);
  box-shadow: 4px 4px 0 #8e8f87;
  font-size: 24px;
}

.project-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.project-chips span,
.private-chip {
  border: 2px solid var(--black);
  padding: 7px 9px;
  background: var(--yellow);
  font-size: 10px;
  font-weight: 700;
}

.project-wide {
  margin-top: 40px;
  padding: 24px 30px;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 30px;
  align-items: center;
  transform: rotate(-0.4deg);
}

.wide-index {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: var(--purple);
  border: var(--border);
  border-radius: 50%;
  font-weight: 700;
}

.project-wide h3 {
  margin: 0 0 6px;
  font-size: 26px;
}

.project-wide p {
  margin: 0;
  max-width: 720px;
}

.private-chip {
  background: var(--cyan);
}

.experience {
  position: relative;
}

.experience-heading {
  margin-bottom: 36px;
}

.curly-arrow {
  font-size: 82px;
  transform: rotate(35deg);
}

.experience-collage {
  min-height: 680px;
  position: relative;
}

.experience-card {
  width: min(600px, 51%);
  padding: 26px 28px;
  position: absolute;
  background: var(--white);
}

.exp-one {
  top: 0;
  left: 0;
  transform: rotate(-1.8deg);
}

.exp-two {
  top: 175px;
  right: 0;
  transform: rotate(1.7deg);
}

.exp-three {
  top: 380px;
  left: 90px;
  transform: rotate(-0.9deg);
}

.experience-number {
  width: 58px;
  height: 58px;
  border: var(--border);
  border-radius: 50%;
  background: var(--yellow);
  display: grid;
  place-items: center;
  font-weight: 700;
  float: right;
}

.exp-two .experience-number { background: var(--purple); }
.exp-three .experience-number { background: var(--cyan); }

.experience-date {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}

.experience-card h3 {
  margin: 0 0 8px;
  font-size: 34px;
  line-height: 1.05;
}

.experience-card > strong {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 19px;
  background: var(--yellow);
  padding: 3px 7px;
}

.exp-two > strong { background: var(--purple); }
.exp-three > strong { background: var(--cyan); }

.experience-card ul {
  margin: 0;
  padding-left: 20px;
}

.experience-card li {
  margin: 8px 0;
  line-height: 1.45;
}

.skills-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 26px;
  gap: 40px;
}

.skills-head h2 {
  font-size: clamp(54px, 7vw, 92px);
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.06em;
}

.skills-head h2 span {
  color: var(--red);
}

.skills-head p {
  max-width: 360px;
  font-size: 18px;
}

.skill-strips {
  border: var(--border);
}

.skill-strip {
  min-height: 68px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
  align-items: center;
  padding: 14px 24px;
  border-bottom: var(--border);
}

.skill-strip:last-child {
  border-bottom: 0;
}

.skill-strip b {
  font-size: 19px;
}

.skill-strip span {
  font-size: 15px;
  line-height: 1.5;
}

.education-grid {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 48px;
  align-items: center;
}

.education-copy h2 {
  margin: 0;
  font-size: clamp(45px, 5vw, 70px);
  letter-spacing: -0.055em;
  line-height: 1.02;
  font-weight: 500;
}

.education-sub {
  font-size: 19px;
  margin-top: 18px;
  font-weight: 600;
}

.education-scores {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.score-card {
  min-height: 165px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  transform: rotate(1.3deg);
}

.score-card:nth-child(2) {
  transform: rotate(-1.3deg);
}

.score-card span {
  font-size: 18px;
  font-weight: 600;
}

.score-card strong {
  margin-top: auto;
  font-size: 44px;
  letter-spacing: -0.05em;
}

.score-card small {
  margin-top: 4px;
}

.contact-card {
  min-height: 350px;
  padding: 42px 32px;
  text-align: center;
  position: relative;
  box-shadow: 15px 15px 0 rgba(0,0,0,.5);
}

.contact-card h2 {
  margin: 0;
  font-size: clamp(50px, 6vw, 82px);
  letter-spacing: -0.06em;
  font-weight: 500;
}

.contact-card > p:not(.mini-label) {
  max-width: 760px;
  margin: 18px auto 0;
  font-size: 18px;
  line-height: 1.5;
}

.contact-buttons {
  margin-top: 26px;
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
}

.copy-email {
  min-height: 54px;
  padding: 0 24px;
  background: var(--yellow);
  border: var(--border);
  box-shadow: 5px 5px 0 var(--black);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.16s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.16s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.16s ease;
}

.copy-email:hover {
  background-color: #ffd63a;
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--black);
}

.copy-email:active {
  transform: translate(5px, 5px);
  box-shadow: 0 0 0 var(--black);
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 22px;
  font-weight: 600;
}

.contact-burst {
  position: absolute;
  right: 55px;
  top: 35px;
  font-size: 65px;
  color: var(--red);
  transform: rotate(12deg);
}

.footer {
  border-top: 4px solid var(--black);
  min-height: 85px;
}

.footer-inner {
  padding: 22px 0 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  row-gap: 12px;
}

.footer-brand {
  font-size: 24px;
  font-weight: 700;
}

.footer-links {
  justify-self: end;
  display: flex;
  gap: 25px;
  font-weight: 700;
}

.footer-credit {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--black);
  opacity: 0.85;
  margin: 0;
  border-top: 1px dashed rgba(0, 0, 0, 0.25);
  padding-top: 12px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 120px);
  background: var(--black);
  color: var(--white);
  border: 3px solid var(--black);
  box-shadow: 5px 5px 0 var(--yellow);
  padding: 12px 18px;
  font-weight: 700;
  z-index: 1000;
  transition: transform .25s ease;
  pointer-events: none;
  max-width: min(calc(100vw - 32px), 480px);
  width: max-content;
  text-align: center;
}

.toast a {
  color: var(--yellow);
  text-decoration: underline;
  margin-left: 8px;
  cursor: pointer;
}

.toast.show {
  transform: translate(-50%, 0);
  pointer-events: auto;
}

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

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

@media (max-width: 1200px) {
  .hero {
    gap: 48px;
  }

  .project-grid {
    gap: 48px 36px;
  }
}

@media (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }

  .site-header {
    min-height: 84px;
    justify-content: space-between;
    margin-bottom: 44px;
  }

  .brand {
    top: auto;
    left: auto;
  }

  .mobile-menu-button {
    display: block;
  }

  .mobile-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    right: 0;
    width: 236px;
    background: var(--white);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.97);
    transform-origin: top right;
    transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.22s ease;
    pointer-events: none;
    z-index: 100;
  }

  .mobile-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .mobile-nav a {
    padding: 16px 20px;
    border-bottom: 2px solid var(--black);
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.16s ease, padding-left 0.16s cubic-bezier(0.16, 1, 0.3, 1), transform 0.12s ease;
  }

  .mobile-nav a:hover {
    background-color: var(--yellow);
    padding-left: 24px;
  }

  .mobile-nav a:active {
    background-color: #ffd63a;
    transform: translateX(3px);
  }

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

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 50px;
    padding: 48px 0 45px;
  }

  .hero-copy {
    padding-top: 10px;
  }

  .hero h1 {
    max-width: 760px;
  }

  .hero-note {
    margin-left: 20px;
  }

  .hero-visual {
    max-width: 620px;
    width: 100%;
    margin-inline: auto;
  }

  .services-board,
  .education-grid {
    grid-template-columns: 1fr;
  }

  .stats-column {
    border-right: 0;
    border-bottom: var(--border);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .stat-cell {
    border-bottom: 0;
    border-right: var(--border);
  }

  .stat-cell:last-child {
    border-right: 0;
  }

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

  .project-card {
    max-width: 720px;
    width: 100%;
    justify-self: center;
  }

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

  .private-chip {
    grid-column: 2;
    width: fit-content;
  }

  .experience-collage {
    min-height: auto;
    display: grid;
    gap: 40px;
  }

  .experience-card {
    position: relative;
    width: 100%;
    max-width: 720px;
  }

  .exp-one,
  .exp-two,
  .exp-three {
    top: auto;
    left: auto;
    right: auto;
    justify-self: center;
  }

  .skills-head {
    align-items: start;
    flex-direction: column;
  }

  .education-scores {
    max-width: 650px;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 72px;
    justify-content: space-between;
    margin-bottom: 36px;
  }

  .brand {
    top: auto;
    left: auto;
    padding: 7px 10px;
  }

  .brand-name {
    display: inline-block;
    font-size: 15px;
  }

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

  .mobile-menu-button {
    font-size: 12px;
    padding: 10px 14px;
  }

  .mobile-nav {
    top: 68px;
    width: 210px;
  }

  .hero {
    padding: 38px 0 40px;
    gap: 45px;
  }

  .hero-copy {
    padding-top: 8px;
  }

  .sticker {
    width: 72px;
    height: 72px;
    top: -38px;
  }

  .sticker span {
    font-size: 32px;
  }

  .hero h1 {
    font-size: clamp(48px, 13.4vw, 68px);
  }

  .hero-intro {
    font-size: 16px;
    margin-top: 40px;
  }

  .hero-actions {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }

  .brutal-pill {
    min-height: 52px;
    padding: 0 22px;
    border-width: 4px;
  }

  .hero-note {
    margin-left: 15px;
    margin-top: 22px;
  }

  .hero-visual {
    min-height: 380px;
  }

  .system-card {
    min-height: 340px;
  }

  .system-canvas {
    height: 240px;
  }

  .system-footer {
    min-height: 50px;
  }

  .system-footer span {
    font-size: 9px;
  }

  .node {
    min-width: 58px;
    padding: 8px 7px;
    font-size: 9px;
  }

  .node-a { left: 18px; top: 35px; }
  .node-b { right: 18px; top: 40px; }
  .node-c { left: 24px; bottom: 35px; }
  .node-d { right: 24px; bottom: 35px; }

  .connector-1 { width: 180px; left: 70px; top: 72px; }
  .connector-2 { width: 180px; left: 70px; bottom: 72px; }
  .connector-3 { width: 145px; left: 110px; top: 144px; }

  .system-face {
    width: 82px;
    height: 82px;
    font-size: 27px;
  }

  .doodle-label {
    font-size: 17px;
    left: 20px;
  }

  .doodle-label::after {
    font-size: 34px;
  }

  .burst {
    width: 52px;
    height: 52px;
    font-size: 22px;
  }

  .burst-yellow,
  .burst-avatar {
    left: -12px;
    top: 130px;
  }

  .burst-avatar {
    width: 68px;
    height: 68px;
  }

  .burst-red {
    right: -8px;
    bottom: 35px;
  }

  .sketch-arrow {
    font-size: 45px;
  }

  .marquee-track {
    font-size: 17px;
    gap: 27px;
    padding: 14px 0;
  }

  .section {
    padding: 24px 0;
  }

  .section-heading {
    align-items: flex-start;
    margin-bottom: 24px;
  }

  .section-heading h2 {
    font-size: 42px;
  }

  .smiley,
  .curly-arrow {
    display: none;
  }

  .stats-column {
    grid-template-columns: 1fr;
  }

  .stat-cell {
    border-right: 0;
    border-bottom: var(--border);
    padding: 18px 20px;
  }

  .stat-cell:last-child {
    border-bottom: 0;
  }

  .stat-cell strong {
    font-size: 36px;
  }

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

  .service-card {
    min-height: 250px;
    border-right: 0;
    border-bottom: var(--border) !important;
    padding: 24px 20px 20px;
  }

  .service-card:last-child {
    border-bottom: 0 !important;
  }

  .portfolio-title {
    justify-content: flex-start;
    gap: 15px;
    margin-bottom: 26px;
  }

  .portfolio-title h2 {
    font-size: 48px;
  }

  .doodle-star,
  .ice-sticker {
    font-size: 30px;
  }

  .project-grid {
    gap: 40px;
  }

  .project-card {
    padding: 19px;
    min-height: 0;
    transform: none;
  }

  .project-preview {
    height: 190px;
  }

  .project-meta h3 {
    font-size: 28px;
  }

  .option-a { left: 20px; }
  .option-b { right: 20px; }

  .match-option {
    width: 90px;
    height: 90px;
    font-size: 40px;
  }

  .preview-poll {
    padding: 25px 18px;
  }

  .poll-row {
    grid-template-columns: 65px 1fr 38px;
  }

  .project-wide {
    margin-top: 32px;
    padding: 18px 20px;
    grid-template-columns: 1fr;
  }

  .private-chip {
    grid-column: auto;
  }

  .experience-heading {
    margin-bottom: 26px;
  }

  .experience-collage {
    gap: 20px;
  }

  .experience-card {
    padding: 20px 18px;
    transform: none;
  }

  .experience-card h3 {
    font-size: 28px;
  }

  .skill-strip {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 15px 18px;
  }

  .skills-head h2 {
    font-size: 54px;
  }

  .education-scores {
    grid-template-columns: 1fr;
  }

  .score-card {
    min-height: 135px;
    transform: none !important;
  }

  .contact-card {
    padding: 34px 18px;
    min-height: 0;
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.5);
  }

  .contact-card h2 {
    font-size: 48px;
  }

  .contact-buttons {
    flex-direction: column;
  }

  .contact-links {
    gap: 16px;
    font-size: 14px;
  }

  .contact-burst {
    right: 20px;
    top: 15px;
    font-size: 40px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 15px;
    padding: 18px 0;
  }

  .footer-links {
    justify-self: center;
  }

  .footer-credit {
    font-size: 12px;
    line-height: 1.55;
    padding-top: 10px;
  }
}

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

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