@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&display=swap");
@font-face {
  font-family: "Cascadia Code";
  src: url("./assets/fonts/CascadiaCode.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
}
@font-face {
  font-family: "Noto Serif SC";
  src: url("./assets/fonts/noto-serif-sc-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "MiSans VF";
  src: url("./assets/fonts/misans.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --page-background: #1c1e2d;
  font-family: Georgia, "Times New Roman", serif;
  --Always-White: #cdcbcd;
  --Colors-KMBlue: #797e89;
  --font-sans: "MiSans VF", Arial, sans-serif;
  --font-noto-serif-sc: "Noto Serif SC";
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--page-background);
}
.hero-track {
  height: 100dvh;
}
.page-stage[data-reveal-enabled]::after {
  content: "";
  height: 100dvh;
  display: block;
}
.page-stage[data-reveal-enabled] > .page-content {
  position: sticky;
  top: 0;
}
.page-stage[data-reveal-enabled]:not([data-article-entering]):not(
    [data-reveal-running]
  )
  > .page-content {
  position: relative;
  top: 100dvh;
}
.page-stage[data-reveal-enabled] .hero-track {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  pointer-events: none;
}
.page-stage[data-reveal-enabled] .hero {
  pointer-events: auto;
}
.page-stage[data-reveal-enabled][data-article-entering] .article {
  opacity: var(--article-reveal, 0);
}
.page-stage[data-reveal-enabled] .scroll-hint {
  opacity: var(--hero-chrome-opacity, 1);
}
.page-stage[data-reveal-running] .hero .hero-controls {
  pointer-events: none;
}
.hero-controls {
  opacity: 0;
  pointer-events: none;
}
.hero[data-scene="ready"] .hero-controls {
  opacity: var(--hero-chrome-opacity, 1);
  pointer-events: auto;
}
.hero-controls {
  z-index: 3;
  right: 40px;
  bottom: max(40px, env(safe-area-inset-bottom));
  color: var(--Always-White);
  font-family: var(--font-sans);
  align-items: center;
  gap: 8px;
  display: flex;
  position: absolute;
}
.hero-control {
  --min-fill: 22px;
  --fill-size: calc(
    var(--min-fill) + (100% - 4px - var(--min-fill)) * var(--progress)
  );
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  background: #0003;
  border-radius: 12px;
  flex: none;
  width: 40px;
  height: 40px;
  transition:
    width 0.4s cubic-bezier(0.68, -0.3, 0.32, 1.3),
    background-color 0.2s ease-in-out;
  display: block;
  position: relative;
  overflow: hidden;
}
.hero-control[data-expanded] {
  background: #0006;
  width: 180px;
}
.hero-control:has(.hero-control__range:focus-visible) {
  outline-offset: 3px;
  outline: 2px solid;
}
.hero-control__icon {
  pointer-events: none;
  width: 24px;
  height: 24px;
  position: absolute;
  inset: 8px;
}
.hero-control__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.hero-control__icon,
.hero-control__fill,
.hero-control__label,
.hero-control__thumb {
  transition: opacity 0.15s ease-in-out;
}
.hero-control__fill,
.hero-control__label,
.hero-control__thumb {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}
.hero-control__fill {
  width: var(--fill-size);
  background: #fff3;
  border-radius: 10px;
  inset: 2px auto 2px 2px;
}
.hero-control__label {
  width: max-content;
  font-size: 14px;
  line-height: 20px;
  transition:
    left 0.42s cubic-bezier(0.22, 1, 0.36, 1.12),
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1.12),
    opacity 0.15s ease-in-out;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
}
.hero-control[data-label-end] .hero-control__label {
  left: calc(100% - 10px);
  transform: translate(-100%, -50%);
}
.hero-control__thumb {
  top: 12px;
  left: calc(var(--fill-size) - 10px);
  background: currentColor;
  border-radius: 19px;
  width: 2px;
  height: 16px;
}
.hero-control[data-expanded] .hero-control__icon {
  opacity: 0;
}
.hero-control[data-expanded] .hero-control__fill,
.hero-control[data-expanded] .hero-control__label,
.hero-control[data-expanded] .hero-control__thumb {
  opacity: 1;
}
.hero-control__range {
  box-sizing: border-box;
  appearance: none;
  opacity: 0;
  cursor: ew-resize;
  touch-action: none;
  border: 0;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  margin: 0;
  padding: 0 10px;
  position: absolute;
  inset: 2px;
}
.hero-control__range::-webkit-slider-thumb {
  appearance: none;
  width: 2px;
  height: 16px;
}
.hero-control__range::-moz-range-thumb {
  border: 0;
  width: 2px;
  height: 16px;
}
@media (max-width: 600px) {
  .hero-controls {
    left: 16px;
    right: 16px;
    bottom: max(24px, env(safe-area-inset-bottom));
    justify-content: center;
    max-width: calc(100% - 32px);
  }
  .hero-control[data-expanded] {
    flex-shrink: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-control,
  .hero-control__icon,
  .hero-control__fill,
  .hero-control__label,
  .hero-control__thumb {
    transition: none;
  }
}
.hero {
  touch-action: pan-y;
  isolation: isolate;
  background: var(--page-background);
  width: 100%;
  height: 100dvh;
  position: relative;
  overflow: hidden;
}
.hero:focus-visible {
  outline: 2px solid var(--Colors-KMBlue);
  outline-offset: -4px;
}
.background__photo,
.background__foreground,
.scene-canvas {
  object-fit: cover;
  pointer-events: none;
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  inset: 0;
}
.scene-canvas {
  opacity: 0;
}
.hero[data-scene="ready"] .scene-canvas {
  opacity: 1;
}
.mark {
  visibility: hidden;
  pointer-events: none;
  width: var(--mark-width, 96vw);
  height: var(--mark-height, 32vw);
  position: absolute;
  top: var(--mark-top, 30%);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.mark__artwork {
  inset: 0;
  width: 100%;
  height: 100%;
  filter: brightness(0) invert(1);
}
.mark__caption {
  position: absolute;
  width: var(--caption-width);
  height: var(--caption-height);
  top: calc(var(--caption-top) - var(--mark-top));
  left: 50%;
  transform: translateX(-50%);
}
.background__foreground {
  z-index: 2;
  mask: url("./assets/mountain-mask.svg") center / cover no-repeat;
  pointer-events: none;
}
.hero[data-scene="ready"] .background__foreground {
  visibility: hidden;
}
.mark img {
  opacity: 0.72;
  position: absolute;
}
.hero[data-scene="static"] .mark {
  visibility: visible;
}
.scroll-hint {
  z-index: 3;
  left: 50%;
  bottom: max(24px, env(safe-area-inset-bottom));
  color: var(--Always-White);
  font-family: var(--font-noto-serif-sc), serif;
  white-space: nowrap;
  cursor: pointer;
  background: 0 0;
  border: 0;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  display: flex;
  position: absolute;
  transform: translate(-50%);
}
.scroll-hint:focus-visible {
  outline: 2px solid var(--Always-White);
  outline-offset: 6px;
  -webkit-mask-image: none;
  mask-image: none;
}
.scroll-hint svg {
  width: 24px;
  height: 24px;
}
@media (prefers-reduced-motion: no-preference) {
  .scroll-hint {
    -webkit-mask-image: linear-gradient(
      to top,
      color-mix(in srgb, var(--Always-White) 65%, transparent) 40%,
      var(--Always-White) 50%,
      color-mix(in srgb, var(--Always-White) 65%, transparent) 60%
    );
    mask-image: linear-gradient(
      to top,
      color-mix(in srgb, var(--Always-White) 65%, transparent) 40%,
      var(--Always-White) 50%,
      color-mix(in srgb, var(--Always-White) 65%, transparent) 60%
    );
    animation: 3.2s ease-in-out infinite hint-shine;
    -webkit-mask-size: 100% 300%;
    mask-size: 100% 300%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
  }
}
@keyframes hint-shine {
  0% {
    -webkit-mask-position: 50% 0;
    mask-position: 50% 0;
  }
  40%,
  to {
    -webkit-mask-position: 50% 100%;
    mask-position: 50% 100%;
  }
}
@media (max-width: 900px) {
  .scroll-hint {
    bottom: max(32px, env(safe-area-inset-bottom));
  }
}
@media (max-width: 600px) {
  .scroll-hint {
    bottom: max(24px, env(safe-area-inset-bottom));
  }
}
.animation-gate {
  pointer-events: none;
  position: absolute;
  inset: 0;
}
.hero[data-scene="ready"] {
  background: 0 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: var(--hero-chrome-opacity, 1);
  background: linear-gradient(180deg, rgba(16, 30, 41, .38), rgba(18, 48, 78, .12) 48%, rgba(16, 30, 41, .55)),
    radial-gradient(ellipse at center, transparent 35%, rgba(16, 30, 41, .4) 100%);
}
.hero-control {
  background: rgba(16, 30, 41, .42);
  border: 1px solid rgba(205, 203, 205, .2);
}
.hero-control[data-expanded] {
  background: rgba(18, 48, 78, .7);
}
.scroll-hint {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero[data-scene="ready"] .background__photo {
  visibility: hidden;
}
@media (prefers-reduced-motion: reduce) {
  .hero .scene-canvas {
    opacity: 0;
  }
  .hero .mark,
  .hero[data-scene="ready"] .background__photo {
    visibility: visible;
  }
}

.article {
  --portfolio-text: #c6cee4;
  --portfolio-muted: #9ca6bf;
  --portfolio-accent: #b9a7e8;
  position: relative;
  min-height: 100vh;
  padding: 112px 0 0;
  background: var(--page-background);
  color: var(--portfolio-text);
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  line-height: 1.7;
}
.article__inner {
  position: relative;
  width: calc(100% - 80px);
  max-width: 760px;
  margin: 0 auto;
}
.article a {
  color: inherit;
  text-decoration: none;
}
.article a:hover { color: var(--portfolio-accent); }
.important-links { position: absolute; top: max(18px, env(safe-area-inset-top)); right: max(20px, env(safe-area-inset-right)); z-index: 5; display: flex; align-items: center; width: max-content; max-width: calc(100% - 20px); padding: 8px 12px; background: var(--page-background); border-radius: 4px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.important-links strong { font-weight: 700; }
.article .important-links__resume,
.article .important-links__resume:hover,
.article .important-links__resume:focus-visible { color: var(--portfolio-accent); }
.important-links__cursor { display: inline-block; width: 8px; height: 16px; margin-left: 7px; background: var(--portfolio-accent); animation: section-cursor 1.1s steps(1, end) infinite; }
@keyframes section-cursor { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
.article a:focus-visible,
.article summary:focus-visible {
  outline: 2px solid var(--portfolio-accent);
  outline-offset: 5px;
}
.article h1, .article h2, .article h3, .article p { margin: 0; }
.profile { text-align: left; }
.profile, .experience-timeline, .projects, .wish-list, .contact-footer { scroll-margin-top: 90px; }
.profile__intro { min-width: 0; }
.profile h1 {
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -.045em;
}
.profile h1 > span { color: var(--portfolio-accent); }
.profile__cursor { animation: section-cursor 1.1s steps(1, end) infinite; }
.profile__links { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.profile__link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 7px 11px; border: 1px solid #35384b; border-radius: 5px; background: transparent; color: var(--portfolio-accent); font: inherit; font-size: 12px; line-height: 1.5; }
.profile__link svg { width: 20px; height: 20px; flex: none; }
.profile__link--linkedin { width: 38px; padding: 7px; color: var(--portfolio-text); }
.profile__link:disabled { cursor: not-allowed; }
.profile__link:focus-visible { outline: 2px solid var(--portfolio-accent); outline-offset: 4px; }
.profile__bio {
  max-width: 760px;
  margin-top: 20px !important;
  font-size: 17px;
  line-height: 1.85;
}
.profile__bio a {
  color: var(--portfolio-accent);
  text-decoration: underline dashed;
  text-underline-offset: 5px;
}
.experience-timeline { width: 100%; max-width: 760px; margin: 112px auto 0; }
.experience-timeline__stage { position: relative; padding: 64px 0 64px; }
.experience-timeline__drawing { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.experience-timeline__line { fill: none; stroke: var(--portfolio-muted); stroke-width: 1.5; }
.experience-timeline[data-reveal-enabled] .experience-timeline__progress { stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--line-progress, 0)); }
.experience-timeline__node { fill: var(--portfolio-accent); fill-opacity: var(--marker-progress, 1); stroke: var(--portfolio-text); stroke-width: 1.5; }
.experience-timeline__roles { position: relative; display: flex; flex-direction: column; gap: 136px; list-style: none; margin: 0; padding: 0; }
.timeline-role { position: relative; padding-left: 104px; }
.timeline-role--current { padding-left: 52%; min-height: 180px; }
.timeline-role__label { display: block; color: var(--portfolio-muted); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 10px; }
.timeline-role h3 { font-size: clamp(21px, 2.3vw, 28px); font-weight: 500; letter-spacing: -.045em; line-height: 1.3; }
.timeline-role__company { margin-top: 10px; font-size: 15px; }
.timeline-role__date { color: var(--portfolio-muted); font-size: 12px; margin-top: 8px; }
.timeline-role p { margin-top: 22px; font-size: 13px; line-height: 1.85; }
.experience-timeline[data-reveal-enabled] .timeline-role:not(.timeline-role--current):not(.is-visible) .timeline-role__content { opacity: 0; transform: translateY(10px); }
.experience-timeline[data-reveal-enabled] .timeline-role__content { transition: opacity .85s ease, transform .85s ease; }
.experience-timeline[data-reveal-enabled] [data-timeline-marker]:not(.is-visible) .experience-timeline__node { opacity: 0; transform: scale(.1, 1.5); }
.experience-timeline[data-reveal-enabled] [data-timeline-marker].is-visible .experience-timeline__node { animation: timeline-bud .95s both; }
.timeline-cat { position: absolute; width: 175px; height: 160px; image-rendering: pixelated; filter: drop-shadow(1px 0 0 #757575) drop-shadow(-1px 0 0 #757575); }
.timeline-cat__body { position: absolute; width: 154px; height: 100px; overflow: hidden; transform: scaleX(-1); }
.timeline-cat__body img { position: absolute; width: 384px; height: 384px; max-width: none; left: -166px; top: -160px; filter: grayscale(1) brightness(.28); }
.timeline-cat__poster { display: none; }
.timeline-cat__tail { position: absolute; width: 24px; height: 60px; left: 138px; top: 90px; fill: #444; animation: timeline-tail 7s steps(3, end) infinite; }
@keyframes timeline-bud {
  0% { opacity: 0; transform: scale(.1, 1.5); }
  25% { opacity: 1; }
  62% { transform: scale(1.2, .9); }
  82% { transform: scale(.96, 1.04); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes timeline-tail {
  0%, 100% { transform: translateX(0); }
  42% { transform: translateX(2px); }
  75% { transform: translateX(-2px); }
}
@media (max-width: 639px) {
  .experience-timeline { margin-top: 88px; }
  .experience-timeline__stage { padding-top: 260px; }
  .experience-timeline__roles { gap: 112px; }
  .timeline-role, .timeline-role--current { padding-left: 68px; min-height: 0; }
  .timeline-role p { margin-top: 18px; }
}
.projects { margin-top: 112px; padding-bottom: 48px; }
.projects__heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.projects__heading h2 { font-size: clamp(22px, 2.6vw, 29px); line-height: 1.3; letter-spacing: -.045em; font-weight: 600; }
.projects__heading h2 span { color: var(--portfolio-accent); margin-right: 8px; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.project-card { min-width: 0; overflow: hidden; display: flex; flex-direction: column; border: 1px solid #35384b; border-radius: 12px; background: #1d1f2f; }
.project-preview { min-height: 260px; padding: 18px; background: #29313b; display: flex; align-items: stretch; }
.vim-screen { width: 100%; min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #51616a; background: #111821; box-shadow: 0 14px 28px #090d1680; font: 11px/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; color: #d4dce3; }
.vim-tabline { display: flex; justify-content: space-between; gap: 8px; padding-right: 8px; background: #252f38; color: #91a2ad; white-space: nowrap; }
.vim-tabline__active { padding: 4px 10px; background: #111821; color: #dce4e7; }
.vim-tabline > span:last-child { padding-top: 4px; overflow: hidden; text-overflow: ellipsis; }
.vim-buffer { flex: 1; padding: 10px 8px 8px 0; }
.vim-line { display: grid; grid-template-columns: 3ch minmax(0, 1fr); gap: 1.5ch; min-height: 1.55em; white-space: pre-wrap; overflow-wrap: anywhere; }
.vim-line__number { color: #637484; text-align: right; user-select: none; }
.vim-comment { color: #87ad91; font-weight: 600; }
.vim-tilde .vim-line__number { color: #82a8c7; }
.vim-statusline { display: flex; align-items: center; gap: 8px; background: #3a4a52; color: #ecf1ef; white-space: nowrap; }
.vim-mode { padding: 2px 8px; background: #8cba99; color: #11211a; font-weight: 700; }
.vim-statusline__muted { color: #bdcbd0; }
.vim-statusline__right { margin-left: auto; padding-right: 8px; }
.vim-commandline { min-height: 22px; padding: 2px 8px; color: #9eb0b9; }
.project-card__body { min-height: 180px; padding: 23px 22px 17px; display: flex; flex: 1; flex-direction: column; }
.project-card h3 { font-size: 20px; letter-spacing: -.03em; line-height: 1.4; }
.project-card__body > p { margin-top: 10px; font-size: 13px; line-height: 1.8; color: #b2bdd8; }
.project-tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 24px 0 0; margin: auto 0 0; }
.project-tags li { padding: 2px 7px; border-radius: 3px; background: #303347; color: #a7c3ed; font-size: 10px; font-weight: 600; }
.project-tags li:nth-child(2) { color: #9bdfd2; }
.project-tags li:nth-child(3) { color: #e7b6ce; }
.project-tags li:nth-child(4) { color: #ddcd9b; }
.wish-list { margin-top: 48px; padding-top: 40px; border-top: 1px solid #35384b; }
.wish-list__intro { max-width: 650px; margin-top: 14px !important; color: var(--portfolio-muted); font-size: 14px; }
.wish-list__items { margin-top: 28px; }
.contact-footer { width: 100%; margin-top: 80px; padding: 48px 0; background: #13151f; }
.contact-footer__inner { width: calc(100% - 80px); max-width: 760px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: start; gap: 48px; }
.contact-footer h2 { font-size: 16px; font-weight: 500; }
.contact-footer p { margin-top: 8px !important; color: var(--portfolio-muted); font-size: 12px; }
.contact-form { display: grid; gap: 10px; min-width: 0; }
.contact-form label { font-size: 12px; }
.contact-form input, .contact-form textarea { width: 100%; min-width: 0; padding: 12px 14px; border: 1px solid #42465c; border-radius: 5px; background: #202231; color: var(--portfolio-text); font: inherit; font-size: 14px; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--portfolio-muted); opacity: .8; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 2px solid var(--portfolio-accent); outline-offset: 3px; }
.contact-form textarea { resize: vertical; min-height: 130px; margin-bottom: 8px; }
.contact-form label:not(:first-child) { margin-top: 8px; }
.contact-form__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.contact-form button { padding: 10px 14px; border: 1px solid #42465c; border-radius: 5px; background: #303347; color: var(--portfolio-text); font: inherit; font-size: 12px; cursor: pointer; }
.contact-form button:disabled { cursor: not-allowed; opacity: .7; }
.contact-form__actions a { color: var(--portfolio-text); font-size: 12px; }
.contact-form__actions > span { color: var(--portfolio-muted); font-size: 11px; }
.contact-status { position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 20; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-items: center; width: min(420px, calc(100vw - 32px)); padding: 16px; border: 1px solid #42465c; border-radius: 8px; background: #202231; color: var(--portfolio-text); box-shadow: 0 8px 30px #0006; opacity: 1; transform: translateX(-50%); transition: opacity .2s ease-out, transform .2s ease-out; pointer-events: none; }
.contact-status[hidden], .contact-status__detail[hidden] { display: none; }
.contact-status[data-state="success"] { grid-template-columns: 48px minmax(0, 1fr); border-color: #b9a7e866; background: linear-gradient(135deg, #b9a7e80a, transparent 75%), #202231; animation: contact-status-enter .24s ease-out; }
.contact-status[data-dismissing] { opacity: 0; transform: translate(-50%, 8px); }
.contact-status__art { display: none; width: 48px; height: 48px; color: var(--portfolio-accent); }
.contact-status[data-state="success"] .contact-status__art { display: block; }
.contact-status .contact-status__title { margin: 0; font: inherit; font-size: 13px; font-weight: 600; line-height: 1.55; letter-spacing: -.02em; }
.contact-status .contact-status__detail { margin-top: 7px !important; color: var(--portfolio-muted); font-size: 11px; line-height: 1.8; overflow-wrap: anywhere; }
.contact-status[data-state="error"] { border-color: #d4a7bb99; }
.contact-status[data-state="error"] .contact-status__title { color: #e7b6ce; }
.contact-confetti { position: fixed; inset: 0; z-index: 19; overflow: hidden; pointer-events: none; perspective: 900px; }
.contact-confetti__piece { position: absolute; top: 0; left: 0; opacity: 0; transform-style: preserve-3d; will-change: transform; }
.contact-confetti__piece::before, .contact-confetti__piece::after { content: ""; position: absolute; inset: 0; border-radius: 1px; background: linear-gradient(135deg, #ffffff30, transparent 60%), var(--paper); backface-visibility: hidden; }
.contact-confetti__piece::after { background: linear-gradient(#20223145, #20223145), var(--paper); transform: rotateY(180deg); }
@keyframes contact-status-enter {
  from { opacity: 0; transform: translate(-50%, 5px); }
  to { opacity: 1; transform: translateX(-50%); }
}
/* Scale content without changing the full-viewport hero or mobile layout. */
@media (min-width: 701px) {
  .article, .hero-controls, .scroll-hint { zoom: 1.25; }
}
@media (max-width: 700px) {
  .article { padding-top: 88px; }
  .important-links { top: max(12px, env(safe-area-inset-top)); right: max(10px, env(safe-area-inset-right)); font-size: 12px; }
  .article__inner, .contact-footer__inner { width: calc(100% - 44px); }
  .profile h1 { font-size: 26px; }
  .profile__bio { font-size: 15px; }
  .projects { margin-top: 88px; }
  .project-grid { grid-template-columns: 1fr; gap: 24px; }
  .project-preview { padding: 14px; }
  .wish-list { padding-top: 30px; margin-top: 24px; }
  .contact-footer { margin-top: 48px; padding: 36px 0; }
  .contact-footer__inner { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .contact-form input, .contact-form textarea { font-size: 16px; }
}
@media (max-width: 360px) {
  .article__inner, .contact-footer__inner { width: calc(100% - 32px); }
  .project-preview { padding: 10px; }
  .vim-screen { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .timeline-cat__gif { display: none; }
  .timeline-cat__poster { display: block; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
