:root {
  --paper: #f4f1e8;
  --ink: #181816;
  --blue: #a9c8f5;
  --blue-light: #dce9fa;
  --red: #efaaa3;
  --yellow: #f5db79;
  --white: #fffdf6;
  --border: 3px solid var(--ink);
  --radius: 18px;
  --shadow: 6px 6px 0 var(--ink);
  --font-poppins: "Poppins", "Avenir Next", Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", Times, serif;
  --font-grotesk: "Arial Black", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --font-humanist: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  --font-site: var(--font-poppins);
}

html[data-font="poppins"] { --font-site: var(--font-poppins); }
html[data-font="serif"] { --font-site: var(--font-serif); }
html[data-font="grotesk"] { --font-site: var(--font-grotesk); }
html[data-font="mono"] { --font-site: var(--font-mono); }
html[data-font="humanist"] { --font-site: var(--font-humanist); }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background-color: var(--paper);
  background-image: radial-gradient(rgba(24, 24, 22, .13) .7px, transparent .7px);
  background-size: 9px 9px;
  color: var(--ink);
  font-family: var(--font-site);
}

a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin-top: 0; }

.topbar,
.identity-kicker,
.bento,
.content-section,
.closing-note,
footer {
  width: min(100% - 48px, 1240px);
  margin-inline: auto;
}

.topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 82px;
  border-bottom: 2px solid var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
}

.wordmark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--red);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -.08em;
  transition: box-shadow 140ms ease, transform 140ms ease;
}

.wordmark:hover {
  box-shadow: 1px 1px 0 var(--ink);
  transform: translate(2px, 2px) rotate(-6deg);
}

.page-nav { display: flex; gap: 24px; }
.page-nav a, footer a { border-bottom: 2px solid transparent; }
.page-nav a:hover, footer a:hover { border-color: var(--ink); }

.topbar-tools {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-self: end;
}

.draft-status {
  display: flex;
  gap: 7px;
  align-items: center;
  margin-bottom: 0;
}

.draft-status span {
  width: 9px;
  height: 9px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
}

.font-picker { display: flex; gap: 9px; align-items: center; }
.font-picker label { font-size: 9px; }
.select-shell { position: relative; display: inline-flex; align-items: center; }
.select-shell > span { position: absolute; right: 10px; font-size: 12px; pointer-events: none; }

.font-picker select {
  min-width: 126px;
  height: 36px;
  appearance: none;
  border: 2px solid var(--ink);
  border-radius: 9px;
  background: var(--white);
  box-shadow: 2px 2px 0 var(--ink);
  color: var(--ink);
  cursor: pointer;
  font: 700 11px/1 var(--font-site);
  letter-spacing: .04em;
  padding: 0 32px 0 11px;
}

.font-picker select:hover { background: var(--yellow); }

.identity-section { scroll-margin-top: 24px; }

.identity-kicker {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 38px;
  font-size: 10px;
  font-weight: 720;
  letter-spacing: .08em;
}

.identity-kicker p { margin-bottom: 0; }
.identity-kicker p:last-child { max-width: 390px; font-size: 12px; font-weight: 560; letter-spacing: -.01em; line-height: 1.45; text-align: right; }

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: 275px 275px 235px;
  gap: 16px;
  margin-top: 18px;
}

.tile {
  --surface-glow: rgba(169, 200, 245, .64);
  --hover-x: 0px;
  --hover-y: 0px;
  position: relative;
  isolation: isolate;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  padding: 25px;
  overflow: hidden;
  border: var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: background-color 450ms ease, box-shadow 360ms ease, filter 280ms ease, transform 280ms ease;
}

.intro {
  grid-column: span 7;
  grid-row: span 2;
  padding: 34px;
  background: var(--blue-light);
}

.now { --surface-glow: rgba(245, 219, 121, .7); grid-column: span 5; background: var(--yellow); }
.github { --surface-glow: rgba(239, 170, 163, .68); grid-column: span 5; background: var(--red); }
.webapps-link { grid-column: span 3; background: var(--blue); }
.portfolio-link { grid-column: span 3; background: var(--white); }
.pending-link { --surface-glow: rgba(245, 219, 121, .7); grid-column: span 3; background: var(--yellow); }
.cv-link { --surface-glow: rgba(239, 170, 163, .68); background: var(--red); }

:where(.tile, .project-card, .portfolio-note, .egg-card, .certificate-card)::before {
  position: absolute;
  z-index: 2;
  top: -30%;
  left: -72%;
  width: 44%;
  height: 160%;
  border: 1px solid rgba(255, 255, 255, .52);
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, .08) 22%,
    rgba(255, 255, 255, .72) 48%,
    rgba(255, 248, 205, .34) 58%,
    transparent 100%
  );
  box-shadow: 0 0 38px rgba(255, 255, 255, .48);
  content: "";
  filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transform: rotate(12deg);
  transition: opacity 220ms ease, transform 850ms cubic-bezier(.2, .75, .2, 1);
}

:where(.tile, .project-card, .portfolio-note, .egg-card, .certificate-card) > * {
  position: relative;
  z-index: 1;
}

.is-flippable {
  cursor: pointer;
  transform-style: preserve-3d;
}

.card-reverse {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(21px, 3vw, 34px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .76), rgba(255, 255, 255, .22)),
    radial-gradient(circle at 82% 18%, var(--surface-glow), transparent 42%);
  backdrop-filter: blur(11px) saturate(.9);
  -webkit-backdrop-filter: blur(11px) saturate(.9);
}

.card-reverse[hidden] { display: none; }

.card-back-top,
.card-back-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 0;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .09em;
}

.card-back-number {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 2px 2px 0 var(--ink);
}

.card-corner-link {
  position: relative;
  z-index: 5;
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 2px 2px 0 var(--ink);
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.card-corner-link:hover {
  background: var(--yellow);
  box-shadow: 0 0 0 var(--ink);
  transform: translate(2px, 2px) rotate(5deg);
}

.card-back-title {
  max-width: 92%;
  margin: auto 0;
  font-size: clamp(1.85rem, 3.7vw, 3.8rem);
  font-weight: 720;
  letter-spacing: -.06em;
  line-height: .94;
}

.card-back-copy {
  max-width: 390px;
  margin-bottom: 0;
  font-size: 13px;
  font-weight: 560;
  line-height: 1.45;
}

.is-flipping { pointer-events: none; }

.flip-burst {
  position: absolute;
  z-index: 6;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}

.flip-burst::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  border: 3px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
  box-shadow:
    0 0 18px rgba(255, 255, 255, .95),
    0 0 36px var(--surface-glow);
  content: "";
  transform: translate(-50%, -50%) scale(.2);
  animation: flip-burst-ring 600ms cubic-bezier(.1, .75, .25, 1) forwards;
}

.flip-particle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--burst-size);
  height: calc(var(--burst-size) * .55);
  border: 1px solid rgba(24, 24, 22, .5);
  border-radius: 999px;
  background: var(--burst-color);
  box-shadow: 0 0 9px var(--burst-color);
  opacity: 0;
  transform: translate(-50%, -50%) rotate(var(--burst-angle)) translateX(0) scale(.4);
  animation: flip-particle-burst 520ms cubic-bezier(.1, .7, .2, 1) var(--burst-delay) forwards;
}

.intro::after {
  position: absolute;
  z-index: 0;
  right: -66px;
  bottom: -87px;
  width: 260px;
  height: 260px;
  border: var(--border);
  border-radius: 50%;
  background: var(--blue);
  content: "";
}

@media (hover: hover) {
  :where(.tile, .project-card, .portfolio-note, .egg-card, .certificate-card):hover {
    animation: surface-shiver 420ms cubic-bezier(.22, .75, .25, 1) both;
    box-shadow:
      var(--shadow),
      0 0 0 1px rgba(255, 255, 255, .7) inset,
      0 0 34px var(--surface-glow),
      0 0 72px color-mix(in srgb, var(--surface-glow) 45%, transparent);
    filter: saturate(1.04);
  }

  :where(.tile, .project-card, .portfolio-note, .egg-card, .certificate-card):hover::before {
    opacity: .9;
    transform: translateX(410%) rotate(12deg);
  }

  .intro:hover { background-color: #e7f1ff; }
}

.tile-head,
.card-meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.label,
.fine-print,
.tile-number,
.section-index,
.card-meta,
.certificate-footer {
  margin-bottom: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.35;
}

.scribble { font-size: 31px; line-height: .75; transform: rotate(11deg); }

h1 {
  position: relative;
  z-index: 1;
  margin-bottom: 28px;
  font-size: clamp(4.5rem, 8vw, 7.4rem);
  font-weight: 720;
  letter-spacing: -.085em;
  line-height: .81;
}

html[data-font="mono"] h1 { font-size: clamp(4rem, 7.7vw, 7.2rem); letter-spacing: -.12em; }

.bio {
  position: relative;
  z-index: 1;
  max-width: 500px;
  margin-bottom: 0;
  font-size: 17px;
  font-weight: 520;
  letter-spacing: -.025em;
  line-height: 1.45;
}

.intro .fine-print { position: relative; z-index: 1; max-width: 340px; }

.live-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 5px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--red);
}

.now-copy {
  max-width: 430px;
  margin-bottom: 0;
  font-size: clamp(1.6rem, 2.55vw, 2.25rem);
  font-weight: 680;
  letter-spacing: -.045em;
  line-height: 1.05;
}

.link-tile { transition: background-color 450ms ease, box-shadow 280ms ease, filter 280ms ease, transform 280ms ease; }
.linked-card { --hover-x: 4px; --hover-y: 4px; }
.linked-card:hover {
  box-shadow:
    2px 2px 0 var(--ink),
    0 0 0 1px rgba(255, 255, 255, .7) inset,
    0 0 34px var(--surface-glow),
    0 0 72px color-mix(in srgb, var(--surface-glow) 45%, transparent);
  filter: saturate(1.08);
  transform: translate(4px, 4px);
}
.pending-link { background-image: repeating-linear-gradient(-45deg, transparent, transparent 14px, rgba(24, 24, 22, .055) 14px, rgba(24, 24, 22, .055) 16px); }
.pending-pill { padding: 5px 7px; border: 2px solid var(--ink); border-radius: 999px; background: var(--white); font-size: 8px; font-weight: 800; letter-spacing: .08em; }

.arrow { font-size: 27px; font-weight: 700; line-height: .7; }
.linked-card:hover .arrow { transform: translate(3px, -3px); }

.link-title {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  font-size: clamp(2rem, 3.35vw, 3.4rem);
  font-weight: 720;
  letter-spacing: -.055em;
  line-height: .94;
}

.link-copy {
  position: relative;
  z-index: 1;
  max-width: 350px;
  margin: 15px 0 0;
  font-size: 14px;
  font-weight: 540;
  line-height: 1.4;
}

.github .link-title { font-size: clamp(2.6rem, 4.4vw, 4.1rem); }

.code-mark {
  position: absolute;
  right: 17px;
  bottom: -8px;
  color: rgba(24, 24, 22, .1);
  font-size: clamp(5.1rem, 8vw, 8rem);
  font-weight: 800;
  letter-spacing: -.18em;
  transform: rotate(-7deg);
}

.content-section {
  scroll-margin-top: 30px;
  padding: 110px 0 104px;
  border-bottom: 2px solid var(--ink);
}

.section-heading {
  display: grid;
  grid-template-columns: 3fr 9fr;
  gap: 16px;
  margin-bottom: 48px;
}

.section-index { padding-top: 10px; }

.section-heading h2 {
  max-width: 850px;
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 6.2vw, 6rem);
  font-weight: 720;
  letter-spacing: -.072em;
  line-height: .91;
}

.section-heading > div > p {
  max-width: 680px;
  margin-bottom: 0;
  font-size: 17px;
  font-weight: 520;
  line-height: 1.55;
}

.app-grid,
.portfolio-grid,
.egg-grid,
.certificate-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.project-card,
.portfolio-note,
.egg-card,
.certificate-card {
  --surface-glow: rgba(169, 200, 245, .64);
  --hover-x: 0px;
  --hover-y: 0px;
  position: relative;
  isolation: isolate;
  display: flex;
  min-width: 0;
  min-height: 350px;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  overflow: hidden;
  border: var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: background-color 450ms ease, box-shadow 360ms ease, filter 280ms ease, transform 280ms ease;
}

.app-placeholder { grid-column: span 7; background: var(--blue); }
.secondary-placeholder { --surface-glow: rgba(245, 219, 121, .7); grid-column: span 5; background: var(--yellow); }
.featured-project { --surface-glow: rgba(239, 170, 163, .68); --hover-x: 4px; --hover-y: 4px; grid-column: span 7; background: var(--red); }
.featured-project:hover {
  box-shadow:
    2px 2px 0 var(--ink),
    0 0 0 1px rgba(255, 255, 255, .7) inset,
    0 0 34px var(--surface-glow),
    0 0 72px color-mix(in srgb, var(--surface-glow) 45%, transparent);
  transform: translate(4px, 4px);
}
.portfolio-note { grid-column: span 5; background: var(--blue-light); }

.project-card h3 {
  max-width: 650px;
  margin: auto 0 18px;
  font-size: clamp(2.6rem, 5.2vw, 5rem);
  font-weight: 720;
  letter-spacing: -.065em;
  line-height: .94;
}

.project-card > p {
  max-width: 590px;
  margin-bottom: 25px;
  font-size: 15px;
  font-weight: 520;
  line-height: 1.5;
}

.tag-list { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-list span { padding: 7px 10px; border: 2px solid var(--ink); border-radius: 999px; background: var(--white); font-size: 9px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }

.portfolio-note ol { display: grid; gap: 0; margin: auto 0 0; padding: 0; list-style: none; }
.portfolio-note li { display: grid; grid-template-columns: 48px 1fr; align-items: center; min-height: 56px; border-top: 2px solid var(--ink); font-size: 14px; font-weight: 650; }
.portfolio-note li span { font-size: 10px; letter-spacing: .08em; }

.egg-card {
  min-height: 285px;
  padding: 26px;
}

.egg-glow { grid-column: span 5; background: var(--blue); }
.egg-shiver { --surface-glow: rgba(245, 219, 121, .7); grid-column: span 3; background: var(--yellow); }
.egg-flip { --surface-glow: rgba(239, 170, 163, .68); grid-column: span 4; background: var(--red); }
.egg-boom { grid-column: span 7; background: var(--blue-light); }
.egg-type { --surface-glow: rgba(245, 219, 121, .62); grid-column: span 5; background: var(--white); }

.egg-card h3 {
  max-width: 520px;
  margin: auto 0 14px;
  font-size: clamp(2.35rem, 4.3vw, 4.5rem);
  font-weight: 720;
  letter-spacing: -.065em;
  line-height: .9;
}

.egg-card > p {
  max-width: 450px;
  margin-bottom: 0;
  font-size: 13px;
  font-weight: 560;
  line-height: 1.45;
}

.egg-symbol {
  position: absolute;
  right: 18px;
  bottom: -12px;
  color: rgba(24, 24, 22, .13);
  font-size: clamp(5rem, 9vw, 8.5rem);
  font-weight: 800;
  line-height: 1;
  transform: rotate(-8deg);
}

.certificate-card { --surface-glow: rgba(245, 219, 121, .7); grid-column: span 4; min-height: 295px; background: var(--yellow); }
.certificate-card:nth-child(2) { --surface-glow: rgba(169, 200, 245, .7); background: var(--blue); }
.certificate-mark { align-self: flex-end; color: rgba(24, 24, 22, .18); font-size: 68px; font-weight: 800; letter-spacing: -.08em; line-height: .8; }
.certificate-card h3 { margin: 12px 0 0; font-size: clamp(2.1rem, 3.2vw, 3.4rem); font-weight: 720; letter-spacing: -.06em; line-height: .95; }
.certificate-footer { display: flex; justify-content: space-between; gap: 15px; padding-top: 17px; border-top: 2px solid var(--ink); }
.add-certificate { --surface-glow: rgba(239, 170, 163, .5); align-items: center; justify-content: center; background: var(--white); text-align: center; }
.add-certificate > span { display: grid; width: 70px; height: 70px; margin-bottom: 22px; place-items: center; border: var(--border); border-radius: 50%; background: var(--red); font-size: 36px; line-height: 1; }
.add-certificate p { max-width: 240px; margin-bottom: 0; font-size: 14px; font-weight: 600; line-height: 1.5; }

.closing-note {
  display: grid;
  grid-template-columns: 2fr 8fr 2fr;
  gap: 16px;
  align-items: end;
  padding: 92px 0;
}

.closing-note > p:nth-child(2) {
  max-width: 850px;
  margin-bottom: 0;
  font-size: clamp(2.8rem, 5.6vw, 5.4rem);
  font-weight: 720;
  letter-spacing: -.065em;
  line-height: .95;
}

.closing-note a { justify-self: end; border-bottom: 2px solid var(--ink); font-size: 11px; font-weight: 700; }

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 86px;
  border-top: 2px solid var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
}

footer p { margin-bottom: 0; }
footer p:nth-child(2) { justify-self: center; }
footer p:last-child { justify-self: end; }

@keyframes surface-shiver {
  0% { transform: translate(0, 0) rotate(0); }
  22% { transform: translate(calc(var(--hover-x) + 1px), calc(var(--hover-y) - 1px)) rotate(.18deg); }
  42% { transform: translate(calc(var(--hover-x) - 1px), calc(var(--hover-y) + 1px)) rotate(-.16deg); }
  62% { transform: translate(calc(var(--hover-x) + .6px), calc(var(--hover-y) - .5px)) rotate(.1deg); }
  80% { transform: translate(calc(var(--hover-x) - .3px), calc(var(--hover-y) + .3px)) rotate(-.05deg); }
  100% { transform: translate(var(--hover-x), var(--hover-y)) rotate(0); }
}

@keyframes flip-burst-ring {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.2); }
  18% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(9); }
}

@keyframes flip-particle-burst {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(var(--burst-angle)) translateX(0) scale(.4);
  }
  18% { opacity: 1; }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(var(--burst-angle)) translateX(var(--burst-distance)) scale(0);
  }
}

.wordmark:focus-visible,
.page-nav a:focus-visible,
.font-picker select:focus-visible,
.is-flippable:focus-visible,
.card-corner-link:focus-visible,
.closing-note a:focus-visible {
  outline: 4px solid var(--ink);
  outline-offset: 4px;
}

@media (max-width: 1020px) {
  .topbar { grid-template-columns: auto 1fr; gap: 18px; }
  .page-nav { display: none; }
  .topbar-tools { justify-self: end; }
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: 390px 240px 240px 225px; }
  .intro { grid-column: span 6; grid-row: auto; }
  .now, .github { grid-column: span 3; }
  .webapps-link, .portfolio-link, .pending-link { grid-column: span 3; }
  h1 { font-size: clamp(4.3rem, 13.5vw, 6.5rem); }
  .app-placeholder, .secondary-placeholder, .featured-project, .portfolio-note { grid-column: span 6; }
  .egg-card { grid-column: span 3; }
  .egg-glow { grid-column: span 6; }
  .egg-boom, .egg-type { grid-column: span 3; }
  .certificate-card { grid-column: span 6; }
  .add-certificate { grid-column: 4 / span 6; }
}

@media (max-width: 680px) {
  .topbar, .identity-kicker, .bento, .content-section, .closing-note, footer { width: min(100% - 28px, 600px); }
  .topbar { min-height: 84px; }
  .font-picker label, .draft-status { display: none; }
  .font-picker select { min-width: 118px; }
  .identity-kicker { align-items: flex-start; padding-top: 24px; }
  .identity-kicker p:last-child { max-width: 220px; font-size: 10px; text-align: right; }
  .bento { grid-template-columns: 1fr; grid-template-rows: none; gap: 13px; margin-top: 16px; }
  .tile, .intro, .now, .github, .webapps-link, .portfolio-link, .pending-link { grid-column: auto; grid-row: auto; min-height: 215px; padding: 21px; box-shadow: 4px 4px 0 var(--ink); }
  .intro { min-height: 440px; padding: 25px; }
  .now, .github { min-height: 250px; }
  h1 { font-size: clamp(3.75rem, 20vw, 5.6rem); }
  html[data-font="mono"] h1 { font-size: clamp(3.4rem, 17vw, 5rem); }
  .bio { max-width: 380px; font-size: 16px; }
  .link-title { font-size: clamp(2.35rem, 11.5vw, 3.35rem); }
  .content-section { padding: 78px 0 74px; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; margin-bottom: 34px; }
  .section-index { padding-top: 0; }
  .section-heading h2 { margin-bottom: 18px; font-size: clamp(2.8rem, 15vw, 4.5rem); }
  .section-heading > div > p { font-size: 15px; }
  .app-grid, .portfolio-grid, .egg-grid, .certificate-grid { grid-template-columns: 1fr; gap: 13px; }
  .project-card, .portfolio-note, .egg-card, .certificate-card, .app-placeholder, .secondary-placeholder, .featured-project, .egg-boom, .egg-type, .add-certificate { grid-column: auto; min-height: 315px; padding: 22px; box-shadow: 4px 4px 0 var(--ink); }
  .project-card h3 { font-size: clamp(2.55rem, 13vw, 4rem); }
  .certificate-card { min-height: 275px; }
  .closing-note { grid-template-columns: 1fr; gap: 22px; align-items: start; padding: 70px 0; }
  .closing-note a { justify-self: start; }
  footer { grid-template-columns: 1fr auto; }
  footer p:nth-child(2) { display: none; }
}

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