@font-face {
  font-family: "FZLanTingYuanGBK";
  src: local("FZLanTingYuanGBK SemiBold"), local("FZLanTingYuanGBK-SemiBold"),
    local("FZLanTingYuanGBK--S10"), local("FZLanTingYuanS-DB1-GB"),
    url("./assets/fonts/FZLanTingYuanGBK.woff2") format("woff2"),
    url("./assets/fonts/FZLanTingYuanGBK.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-main: "FZLanTingYuanGBK", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    sans-serif;
  --bg: #faf9f6;
  --paper: #faf9f6;
  --ink: #2f2621;
  --muted: #6d6259;
  --line: #d4cec6;
  --line-dark: #8f8174;
  --accent: #2ba7ff;
  --accent-soft: #d8efff;
  --peach: #e8f5ff;
  --sand: #efe8db;
  --sky: #e6edf4;
  --mint: #e6efe6;
  --yellow: #f5edd2;
  --max-width: 1040px;
  --page-gutter: 72px;
  --page-gutter-mobile: 28px;
  --border-strong: 3px;
  --border-bolder: 4px;
  --nav-ink-default: #b8b8b8;
  --nav-ink-active: #ffffff;
  --click-effect-color: #b9372e;
  --folder-line: #bfa992;
  --folder-line-soft: rgba(191, 169, 146, 0.34);
  --folder-wash: rgba(255, 248, 239, 0.9);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #faf9f6;
  color: var(--ink);
  font-family: var(--font-main);
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
}

.site-loading {
  --loading-progress: 0%;
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: grid;
  place-items: center;
  padding: 32px;
  background: #f8f7f4;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.62s ease, visibility 0.62s ease, transform 0.62s ease;
}

.site-loading[hidden] {
  display: none;
}

.site-loading.is-hiding {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.015);
}

.site-loading-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 520px);
  padding: 0;
  background: transparent;
  animation: loading-card-breathe 2.8s ease-in-out infinite;
}

.site-loading-avatar {
  width: clamp(124px, 20vw, 163px);
  height: clamp(175px, 28vw, 230px);
  margin-bottom: clamp(34px, 6vw, 56px);
}

.site-loading-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-loading-text {
  position: relative;
  margin: 0 0 clamp(42px, 6vw, 54px);
  color: #676767;
  font-size: clamp(1.54rem, 4.5vw, 2.08rem);
  font-weight: 600;
  line-height: 1.18;
  text-align: center;
}

.site-loading-track {
  position: relative;
  overflow: hidden;
  width: min(100%, 474px);
  height: 25px;
  border: 0;
  border-radius: 999px;
  background: #c7c7c7;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.site-loading-bar {
  position: relative;
  display: block;
  width: var(--loading-progress);
  height: 100%;
  border-radius: inherit;
  background: #c53630;
  box-shadow: none;
  transition: width 0.32s cubic-bezier(0.2, 0.78, 0.28, 1);
}

.click-effect-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 2147483647;
}

.click-effect-burst {
  position: fixed;
  left: 0;
  top: 0;
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  color: var(--click-effect-color);
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(0.68);
  animation: click-burst-pop 0.56s cubic-bezier(0.18, 0.82, 0.24, 1) forwards;
}

.click-effect-burst svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.click-effect-burst path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  opacity: 0.95;
}

@keyframes click-burst-pop {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.68);
  }

  18% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(1.18);
  }
}

@keyframes loading-card-breathe {
  0%,
  100% {
    transform: translateY(0) rotate(-1.4deg);
  }

  50% {
    transform: translateY(-8px) rotate(0.7deg);
  }
}

@keyframes loading-bar-shine {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-loading,
  .site-loading-card,
  .site-loading-bar {
    animation: none;
    transition: none;
  }

  .click-effect-layer,
  .click-effect-burst {
    display: none !important;
  }

  .about.rabbit-playing .about-rabbit-scene,
  .about.rabbit-playing .about-rabbit,
  .about.rabbit-playing .about-rabbit-dust {
    animation: none;
  }
}

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

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

.page-shell {
  position: relative;
}

.page-shell::before,
.page-shell::after,
main::before,
main::after,
.about::before,
.about::after {
  content: none !important;
  display: none !important;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - var(--page-gutter)), var(--max-width));
  margin: 16px auto 0;
  padding: 20px 0;
}

.topbar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 150%;
  transform: translateX(-50%);
  background:
    linear-gradient(180deg, rgba(250, 249, 246, 1) 0%, rgba(250, 249, 246, 1) 50%, rgba(250, 249, 246, 0) 100%);
  pointer-events: none;
  z-index: -1;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 600;
  color: #4f3426;
  border-color: #4f3426;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6.4px;
  flex-wrap: wrap;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 113px;
  height: 40px;
  gap: 4px;
  padding: 0 9px;
  color: var(--nav-ink-default);
  background: center / 100% 100% no-repeat url("./assets/nav/tab-default.svg");
  transition: color 0.22s ease, transform 0.22s ease, background-image 0.22s ease;
}

.nav-link-icon {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  object-fit: contain;
}

.nav-link-label {
  white-space: nowrap;
  line-height: 1;
}

.nav-link-about {
  width: 150px;
  background-image: url("./assets/nav/tab-wide-default.svg");
}

.nav-link-home {
  padding-left: 5px;
  padding-right: 13px;
}

.nav-link-projects {
  margin-left: -2px;
  padding-left: 5px;
  padding-right: 13px;
  transform: translateX(6px);
}

.nav-link-about {
  margin-left: -5.8px;
  gap: 3px;
  padding-left: 0;
  padding-right: 12px;
}

.nav-link-about .nav-link-label {
  margin-left: -2px;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.active {
  color: var(--nav-ink-active);
  background-image: url("./assets/nav/tab-active.svg");
  transform: translateY(-1px);
}

.nav-link-projects:hover,
.nav-link-projects:focus-visible,
.nav-link-projects.active {
  transform: translate(6px, -1px);
}

.nav-link-about:hover,
.nav-link-about:focus-visible,
.nav-link-about.active {
  background-image: url("./assets/nav/tab-wide-active.svg");
}

.nav-link:hover .nav-link-icon,
.nav-link:focus-visible .nav-link-icon,
.nav-link.active .nav-link-icon {
  filter: brightness(0) invert(1);
}

.nav-link:focus-visible {
  outline: 3px dashed #b9372e;
  outline-offset: 4px;
}

.section {
  width: min(calc(100% - var(--page-gutter)), var(--max-width));
  margin: 0 auto;
  padding: 88px 0 36px;
  scroll-margin-top: 110px;
}

.hero {
  display: block;
  min-height: calc(100vh - 120px);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: calc(100vh - 120px);
  padding-top: clamp(20px, 4vh, 44px);
}

.hero-layout {
  display: block;
  width: 100%;
}

.hero-intro {
  width: min(100%, 790px);
  margin: 0 auto;
}

.hero-welcome-stack {
  position: relative;
  width: 100%;
  padding-top: 279px;
}

.hero-welcome-frame {
  position: relative;
  width: 100%;
  transform: translateY(-10px) scale(1.125);
  transform-origin: top center;
}

.hero-emotion-switcher {
  position: absolute;
  top: 0;
  left: 50%;
  width: clamp(165px, 24.75vw, 224px);
  aspect-ratio: 163 / 230;
  transform: translateX(-50%);
  animation: hero-emotion-float 3.8s ease-in-out infinite;
  pointer-events: none;
}

.hero-emotion {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  animation: hero-emotion-cycle 9s steps(1, end) infinite;
}

.hero-emotion-1 {
  opacity: 1;
  animation-delay: 0s;
}

.hero-emotion-2 {
  animation-delay: -3s;
}

.hero-emotion-3 {
  animation-delay: -6s;
}

.hero-welcome-art {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
}

.hero-pen-animation {
  position: absolute;
  right: 12%;
  bottom: -13%;
  width: min(75%, 540px);
  aspect-ratio: 720 / 300;
  border: 0;
  background: transparent;
  pointer-events: none;
}

.hero h1,
.section-head h2 {
  margin: 0;
  font-size: 64px;
  line-height: 1.04;
  letter-spacing: -0.05em;
  font-weight: 600;
}

.projects-title-wrap {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
}

.projects-title-balance {
  position: absolute;
  left: clamp(-238px, -18vw, -176px);
  top: 50%;
  width: clamp(108px, 12vw, 162px);
  transform: translateY(-56%) rotate(-18deg);
  transform-origin: center center;
  pointer-events: none;
}

.projects-title-balance img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-text,
.section-head p,
.about-intro p,
.workflow-step p,
.quotes-list blockquote {
  color: var(--muted);
  line-height: 1.8;
}

.hero-text {
  max-width: 560px;
  margin: 22px 0 0;
  font-size: 1.08rem;
}

.hero-tags,
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-tags > span,
.project-tags > span,
.tool-chip,
.panel-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border: var(--border-strong) solid var(--line);
  border-radius: 999px;
  background: var(--bg);
}

.project-tags > span {
  font-size: 16.1px;
}

.projects .project-tags {
  gap: 4px;
  margin-top: 18px;
}

.projects .project-tags > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  align-self: flex-start;
  height: 50.6px;
  padding: 0;
  border: 0;
  background-color: transparent;
  color: #ffffff;
  font-family: inherit;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  box-sizing: border-box;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.projects .project-tags .project-tag-label {
  display: inline-block;
  padding: 0;
  border: 0;
  background: transparent;
  line-height: 1;
  transform: translateY(1px);
}

.projects .project-tags > .project-tag-short {
  width: 62.1px;
  background-image: url("./assets/projects/tag-solid-short.svg");
}

.projects .project-tags > .project-tag-medium {
  width: 89.7px;
  background-image: url("./assets/projects/tag-solid-medium.svg");
}

.projects .project-tags > .project-tag-long {
  width: 112.7px;
  background-image: url("./assets/projects/tag-solid-long.svg");
}

.projects .project-tags > .project-tag-xl {
  width: 149.5px;
  background-image: url("./assets/projects/tag-solid-xl.svg");
}

.scribble {
  position: absolute;
  pointer-events: none;
}

.scribble-heart {
  top: -16px;
  right: 22px;
  width: 34px;
  height: 30px;
  border: var(--border-strong) solid var(--accent);
  border-radius: 60% 60% 50% 50%;
  border-bottom-color: transparent;
  border-left-color: transparent;
  transform: rotate(16deg);
}

.scribble-heart::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  right: -8px;
  top: 10px;
  border-right: var(--border-strong) solid var(--accent);
  border-bottom: var(--border-strong) solid var(--accent);
  transform: rotate(36deg);
}

.scribble-star {
  left: -10px;
  bottom: 22px;
  width: 28px;
  height: 28px;
}

.scribble-star::before,
.scribble-star::after {
  content: "";
  position: absolute;
  inset: 0;
  border: var(--border-strong) solid var(--accent);
  border-radius: 999px;
}

.scribble-star::before {
  transform: rotate(45deg) scale(0.28, 1);
}

.scribble-star::after {
  transform: rotate(0deg) scale(0.28, 1);
}

.note {
  position: absolute;
  padding: 10px 14px;
  max-width: 180px;
  border: var(--border-strong) solid var(--line);
  border-radius: 18px;
  color: var(--muted);
  background: var(--bg);
  line-height: 1.45;
}

.note-left {
  top: 126px;
  left: calc(50% - 246px);
  transform: rotate(-8deg);
}

.note-right {
  right: calc(50% - 250px);
  bottom: 38px;
  transform: rotate(8deg);
}

.section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-head p {
  margin-top: 16px;
  font-size: 1.02rem;
}

.design-story-head.is-hidden {
  display: none;
}

.project-list {
  display: grid;
  gap: 59.16px;
}

.project-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
  padding: 63px 0;
}

.project-right {
  grid-template-columns: 1.1fr 0.9fr;
}

.project-right .project-copy {
  order: 2;
  text-align: right;
  justify-self: end;
}

.project-right .project-cover {
  order: 1;
  justify-self: start;
}

.project-right .project-tags {
  justify-content: flex-end;
}

.project-copy {
  max-width: 360px;
}

.project-meta h3,
.panel-head h3,
.about-intro h3 {
  margin: 0;
  font-size: 2.35rem;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.project-meta h3 {
  font-size: 2.7025rem;
  text-wrap: balance;
}

.project-meta p,
.panel-head span {
  margin: 12px 0 0;
  color: var(--muted);
}

.project-desc {
  max-width: 368px;
  font-size: 1.288rem;
  line-height: 1.72;
}

.project-meta .project-desc {
  margin-top: 8px;
  color: #737373;
}

.project-right .project-desc {
  margin-left: auto;
}

.project-cover {
  --project-cover-hover-accent: #b9372e;
  --project-cover-radius: 40px;
  position: relative;
  overflow: visible;
  width: min(100%, 680px);
  aspect-ratio: 1.55 / 1;
  padding: var(--border-bolder);
  border: 0;
  border-radius: var(--project-cover-radius);
  background: var(--line);
  color: var(--line-dark);
  font-size: 1.15rem;
  transition: background-color 0.24s ease, transform 0.24s ease, color 0.24s ease, box-shadow 0.24s ease;
}

.project-cover-media {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: calc(var(--project-cover-radius) - var(--border-bolder));
  background: var(--paper);
}

.cover-a {
  transform: rotate(-3deg);
}

.cover-b {
  transform: rotate(3deg);
}

.cover-c {
  transform: rotate(-2.5deg);
}

.cover-d {
  transform: rotate(4deg);
}

.project-cover-ornament {
  position: absolute;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.project-cover-ornament-image {
  display: block;
  width: 100%;
  height: auto;
}

.ornament-top-right {
  top: -44px;
  right: -46px;
  width: 72px;
  transform: translate3d(10px, -8px, 0) rotate(2deg) scale(0.92);
}

.ornament-bottom-left {
  bottom: -42px;
  left: -44px;
  width: 55px;
  transform: translate3d(-10px, 8px, 0) rotate(-4deg) scale(0.92);
}

.project-cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.24s ease;
}

.project-cover-locked {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M10 14V10a6 6 0 0 1 12 0v4' fill='none' stroke='%23B9372E' stroke-width='4' stroke-linecap='round'/%3E%3Crect x='5' y='13' width='22' height='16' rx='4' fill='%23B9372E'/%3E%3C/svg%3E") 16 16, not-allowed;
}

.project-cover-status {
  position: absolute;
  z-index: 5;
  top: var(--project-status-y, 50%);
  left: var(--project-status-x, 50%);
  padding: 7px 16px;
  border: 0;
  border-radius: 999px;
  background: #666666;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(16px, 16px);
  transition: opacity 0.16s ease;
}

.project-cover-locked:hover .project-cover-status,
.project-cover-locked.is-pointer-active .project-cover-status,
.project-cover-locked.is-hovered .project-cover-status {
  opacity: 1;
}

.project-cover:hover,
.project-cover:focus-visible {
  background: var(--project-cover-hover-accent);
  color: var(--project-cover-hover-accent);
  transform: rotate(0deg);
  box-shadow: 0 20px 36px rgba(47, 38, 33, 0.12);
}

.project-cover.is-hovered {
  background: var(--project-cover-hover-accent);
  color: var(--project-cover-hover-accent);
  transform: rotate(0deg);
  box-shadow: 0 20px 36px rgba(47, 38, 33, 0.12);
}

.project-cover:hover .project-cover-ornament,
.project-cover:focus-visible .project-cover-ornament,
.project-cover.is-hovered .project-cover-ornament {
  opacity: 1;
}

.project-cover:hover .ornament-top-right,
.project-cover:focus-visible .ornament-top-right,
.project-cover.is-hovered .ornament-top-right {
  transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
}

.project-cover:hover .ornament-bottom-left,
.project-cover:focus-visible .ornament-bottom-left,
.project-cover.is-hovered .ornament-bottom-left {
  transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
}

.project-cover:hover .project-cover-image,
.project-cover:focus-visible .project-cover-image,
.project-cover.is-hovered .project-cover-image {
  transform: scale(1.03);
}

.design-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.panel,
.about-card {
  padding: 24px;
  border: var(--border-strong) solid var(--line);
  border-radius: 28px;
  background: var(--bg);
}

@keyframes folder-cover-settle {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.radar-chart {
  width: 100%;
  max-width: 520px;
  display: block;
  margin: 0 auto;
}

.radar-grid,
.radar-axis {
  fill: none;
  stroke: #d7d1ca;
  stroke-width: 2;
}

.radar-grid.outer {
  stroke: var(--line-dark);
}

.radar-shape {
  fill: rgba(43, 167, 255, 0.12);
  stroke: var(--accent);
  stroke-width: 3;
  stroke-linejoin: round;
}

.radar-dot {
  fill: var(--bg);
  stroke: var(--accent);
  stroke-width: 3;
}

.radar-chart text {
  text-anchor: middle;
  fill: var(--muted);
  font-size: 13px;
}

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

.tool-logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 164px;
  padding: 18px 10px 10px;
  transition: transform 0.24s ease;
}

.tool-logo-card:hover,
.tool-logo-card:focus-within {
  transform: translateY(-4px);
}

.tool-logo-image {
  width: 90px;
  height: 90px;
  object-fit: contain;
  filter: drop-shadow(0 9px 16px rgba(47, 38, 33, 0.14));
  transition: filter 0.24s ease, transform 0.24s ease;
}

.tool-logo-card:hover .tool-logo-image,
.tool-logo-card:focus-within .tool-logo-image {
  transform: translate(-2px, -3px) scale(1.06);
  filter: drop-shadow(0 16px 28px rgba(47, 38, 33, 0.26));
}

.tool-logo-name {
  font-size: 0.98rem;
  line-height: 1.4;
  text-align: center;
  color: var(--ink);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.tool-logo-card:hover .tool-logo-name,
.tool-logo-card:focus-within .tool-logo-name {
  opacity: 1;
  transform: translateY(0);
}

.workflow-list,
.quotes-list {
  display: grid;
  gap: 14px;
}

.workflow-step,
.quotes-list blockquote {
  padding: 16px 18px;
  border: var(--border-strong) solid var(--line);
  border-radius: 20px;
  margin: 0;
}

.workflow-step strong {
  display: block;
  margin-bottom: 8px;
}

.workflow-flow {
  --flow-theme: #b9372e;
  --flow-theme-soft: rgba(185, 55, 46, 0.1);
  --flow-theme-soft-strong: rgba(185, 55, 46, 0.14);
  padding-top: 10px;
}

.workflow-flow-title {
  margin: 0 auto 22px;
  text-align: center;
}

.workflow-flow-title p {
  max-width: 520px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.workflow-flow-scroll {
  overflow-x: auto;
  padding: 8px 2px 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(47, 38, 33, 0.28) transparent;
}

.workflow-flow-scroll::-webkit-scrollbar {
  height: 8px;
}

.workflow-flow-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(47, 38, 33, 0.24);
}

.workflow-flow-track {
  display: grid;
  grid-template-columns:
    minmax(156px, 1fr) 42px minmax(156px, 1fr) 42px minmax(156px, 1fr)
    46px minmax(156px, 1fr) 42px minmax(156px, 1fr);
  align-items: center;
  min-width: 960px;
}

.flow-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 314px;
  padding: 44px 17px 24px;
  border: 2px solid rgba(212, 206, 198, 0.72);
  border-radius: 22px;
  background: rgba(255, 250, 242, 0.78);
  text-align: center;
  box-shadow: 0 14px 30px rgba(47, 38, 33, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.flow-card:hover {
  border-color: var(--flow-theme);
  box-shadow: 0 20px 38px rgba(47, 38, 33, 0.12);
  transform: translateY(-3px);
}

.flow-card-focus {
  border-color: rgba(43, 167, 255, 0.46);
  background: #f2f9ff;
}

.flow-index {
  position: absolute;
  top: -15px;
  left: 22px;
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--flow-theme);
  color: #ffffff;
  font-size: 0.9rem;
  line-height: 1;
  box-shadow: 0 8px 16px rgba(185, 55, 46, 0.2);
}

.flow-icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin-bottom: 20px;
  border-radius: 20px;
  background: var(--flow-theme-soft);
  color: var(--flow-theme);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
}

.flow-card-focus .flow-icon {
  border: 2px dashed rgba(43, 167, 255, 0.6);
  background: #ffffff;
  color: var(--accent);
}

.flow-icon svg {
  width: 72px;
  height: 72px;
  overflow: visible;
}

.flow-icon svg path,
.flow-icon svg circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 4.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flow-icon img {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.flow-icon-doodle {
  background: var(--flow-theme-soft);
  color: var(--flow-theme);
}

.flow-icon-tools {
  position: relative;
  display: block;
  background: transparent;
}

.flow-icon-tools img {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  filter: drop-shadow(0 10px 16px rgba(47, 38, 33, 0.14));
}

.flow-icon-tools img:first-child {
  left: 2px;
  top: 5px;
  transform: rotate(-8deg);
}

.flow-icon-tools img:last-child {
  right: 2px;
  bottom: 2px;
  transform: rotate(8deg);
}

.flow-icon-figma {
  background: #ffffff;
}

.flow-icon-figma img {
  width: 62px;
  height: 62px;
  filter: drop-shadow(0 10px 16px rgba(47, 38, 33, 0.12));
}

.flow-card h4 {
  margin: 0;
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.25;
}

.flow-card p {
  flex: 1;
  margin: 14px 0 20px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.72;
}

.flow-role {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--flow-theme-soft-strong);
  color: var(--flow-theme);
  font-size: 0.82rem;
  line-height: 1;
}

.flow-card-focus .flow-role {
  background: var(--accent-soft);
  color: #167ac0;
}

.flow-arrow {
  display: grid;
  place-items: center;
  color: var(--flow-theme);
  font-size: 2.1rem;
  line-height: 1;
}

.flow-arrow-two-way {
  color: #27b878;
}

.flow-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  margin-top: 16px;
  padding: 14px 16px;
  border: 2px dashed rgba(212, 206, 198, 0.9);
  border-radius: 18px;
  color: var(--muted);
  background: rgba(255, 250, 242, 0.62);
}

.flow-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  line-height: 1.2;
}

.legend-arrow {
  color: var(--flow-theme);
  font-size: 1.2rem;
  font-style: normal;
  line-height: 1;
}

.legend-two-way {
  color: #27b878;
}

.legend-dot {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 22px;
  border-radius: 999px;
  background: var(--flow-theme);
  color: #ffffff;
  font-size: 0.74rem;
  font-style: normal;
  line-height: 1;
}

.legend-pill {
  width: 30px;
  height: 18px;
  border-radius: 999px;
  background: var(--flow-theme-soft-strong);
}

.about-intro {
  display: flex;
  align-items: start;
  gap: 18px;
  margin-bottom: 30px;
}

.about {
  position: relative;
}

.about-rabbit-scene {
  position: absolute;
  top: 54px;
  right: calc(50% - 50vw);
  width: clamp(350px, 23vw, 470px);
  aspect-ratio: 335 / 310;
  max-width: none;
  pointer-events: none;
  transform-origin: 72% 87%;
}

.about-rabbit {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  user-select: none;
  transform-origin: 70% 86%;
}

.about-rabbit-dust {
  position: absolute;
  right: 31%;
  bottom: -4%;
  width: 12px;
  height: 12px;
  border: 3px solid #cacac9;
  border-radius: 50%;
  opacity: 0;
}

.about-rabbit-dust-2 {
  right: 22%;
  bottom: -1%;
  width: 8px;
  height: 8px;
}

.about.rabbit-playing .about-rabbit-scene {
  animation: about-rabbit-hop 1.34s cubic-bezier(0.22, 0.74, 0.24, 1) both;
}

.about.rabbit-playing .about-rabbit {
  animation: about-rabbit-body 1.34s linear both;
}

.about.rabbit-playing .about-rabbit-dust-1 {
  animation: about-rabbit-dust-left 0.45s 0.92s ease-out both;
}

.about.rabbit-playing .about-rabbit-dust-2 {
  animation: about-rabbit-dust-right 0.42s 0.96s ease-out both;
}

@keyframes about-rabbit-hop {
  0% {
    transform: translate3d(470px, 84px, 0) rotate(5deg);
  }
  12% {
    transform: translate3d(430px, 98px, 0) rotate(7deg);
  }
  24% {
    transform: translate3d(350px, 16px, 0) rotate(-4deg);
  }
  51% {
    transform: translate3d(124px, -116px, 0) rotate(-9deg);
  }
  72% {
    transform: translate3d(12px, -28px, 0) rotate(2deg);
  }
  79% {
    transform: translate3d(0, 8px, 0) rotate(0deg);
  }
  88% {
    transform: translate3d(0, -14px, 0) rotate(-1deg);
  }
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
}

@keyframes about-rabbit-body {
  0%,
  8% {
    transform: scale(0.96, 1.04);
  }
  12% {
    transform: scale(1.08, 0.88);
  }
  25% {
    transform: scale(0.92, 1.08);
  }
  58% {
    transform: scale(1.02, 0.98);
  }
  78% {
    transform: scale(1.1, 0.86);
  }
  89% {
    transform: scale(0.97, 1.04);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes about-rabbit-dust-left {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.45);
  }
  25% {
    opacity: 0.62;
  }
  100% {
    opacity: 0;
    transform: translate3d(-54px, -22px, 0) scale(1.4);
  }
}

@keyframes about-rabbit-dust-right {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.45);
  }
  25% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
    transform: translate3d(38px, -18px, 0) scale(1.25);
  }
}

.routine-app-cloud {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.about-index {
  display: none;
}

.placeholder-row,
.placeholder-grid {
  display: grid;
  gap: 16px;
}

.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.four-up {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.memory-shot {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 18px;
  border: var(--border-strong) solid var(--line);
  border-radius: 24px;
  color: var(--line-dark);
  background: var(--bg);
  transform: rotate(calc(var(--angle, 0) * 1deg));
}

.polaroid-shot {
  align-content: center;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: 0 10px 22px rgba(47, 38, 33, 0.12);
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.polaroid-shot:hover {
  box-shadow: 0 22px 42px rgba(47, 38, 33, 0.2);
}

.polaroid-shot img {
  width: 100%;
  height: auto;
  border-radius: inherit;
}

.about-stack {
  display: grid;
  gap: 92px;
}

.about-card {
  display: grid;
  justify-items: start;
  padding: 0;
  border: none;
  background: transparent;
}

.about-gallery {
  display: grid;
  gap: 30px;
}

.about-gallery-kitchen {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.about-gallery-minimalism {
  width: 100%;
  gap: 28px;
}

.about-gallery-minimalism-row {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  width: 100%;
}

.minimalism-item {
  display: block;
  width: auto;
  max-width: none;
  height: auto;
  flex: 0 0 auto;
  transform-origin: center center;
  transition: transform 0.28s ease, filter 0.28s ease;
  will-change: transform;
}

.about-gallery-minimalism-row:nth-child(1) .minimalism-item:nth-child(1) {
  width: 456px;
}

.about-gallery-minimalism-row:nth-child(1) .minimalism-item:nth-child(2) {
  width: 462px;
  margin-left: 20px;
}

.about-gallery-minimalism-row:nth-child(2) .minimalism-item:nth-child(1) {
  width: 341px;
  margin-left: 84px;
}

.about-gallery-minimalism-row:nth-child(2) .minimalism-item:nth-child(2) {
  width: 469px;
  margin-left: 60px;
  margin-top: 18px;
}

.minimalism-item:hover {
  filter: drop-shadow(0 10px 18px rgba(79, 52, 38, 0.12));
}

.about-gallery-minimalism-row:nth-child(1) .minimalism-item:nth-child(1):hover {
  transform: translateY(-6px) rotate(-2deg);
}

.about-gallery-minimalism-row:nth-child(1) .minimalism-item:nth-child(2):hover {
  transform: translateY(-6px) rotate(2deg);
}

.about-gallery-minimalism-row:nth-child(2) .minimalism-item:nth-child(1):hover {
  transform: translateY(-6px) rotate(-1.5deg);
}

.about-gallery-minimalism-row:nth-child(2) .minimalism-item:nth-child(2):hover {
  transform: translateY(-6px) rotate(1.5deg);
}


@media (hover: none) {
  .minimalism-item:hover {
    transform: none;
    filter: none;
  }
}

@media (max-width: 900px) {
  .about-rabbit-scene {
    top: 54px;
    right: calc(50% - 50vw);
    width: clamp(230px, 38vw, 340px);
    opacity: 0.72;
  }

  .about-gallery-minimalism-row {
    flex-wrap: wrap;
  }

  .minimalism-item {
    max-width: 100%;
  }
}

.self-life-minimalism-figure {
  width: min(100%, 1110px);
  margin: 0;
}

.self-life-minimalism-image {
  display: block;
  width: 100%;
  height: auto;
}

.about-gallery-routine {
  position: relative;
  grid-template-columns: minmax(0, 1fr) 266px;
  width: 100%;
  max-width: none;
  align-items: stretch;
  justify-items: start;
  column-gap: 28px;
  row-gap: 24px;
  padding: 34px 0 18px;
}

.kitchen-1 {
  --angle: -3;
}

.kitchen-2 {
  --angle: 4;
}

.routine-1 {
  --angle: -2;
}

.routine-2 {
  --angle: 3;
}

.routine-3 {
  --angle: -3;
}

.routine-4 {
  --angle: 2;
}

.routine-calendar-frame {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  justify-items: center;
  align-content: start;
  row-gap: 14px;
  width: 100%;
  max-width: none;
  justify-self: start;
  margin: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
}

.routine-scatter-icon {
  position: absolute;
  display: block;
  width: clamp(54px, 4.8vw, 70px);
  height: auto;
  pointer-events: auto;
  z-index: 2;
  filter: drop-shadow(0 14px 20px rgba(47, 38, 33, 0.14));
  transform-origin: center center;
  transition: transform 0.26s ease;
}

.routine-scatter-icon-1 {
  top: 18px;
  left: -92px;
  transform: rotate(-18deg);
}

.routine-scatter-icon-2 {
  top: 118px;
  left: -34px;
  transform: rotate(9deg);
}

.routine-scatter-icon-3 {
  top: -18px;
  right: -26px;
  transform: rotate(16deg);
}

.routine-scatter-icon-4 {
  top: 64px;
  right: -112px;
  transform: rotate(-7deg);
}

.routine-calendar-frame > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(47, 38, 33, 0.08);
  transition: transform 0.26s ease, box-shadow 0.26s ease;
}

.routine-scroll-shot {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  justify-items: center;
  align-content: start;
  row-gap: 14px;
  width: min(100%, 266px);
  height: 100%;
  justify-self: end;
  margin: 0 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
}

.routine-scroll-hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-align: center;
}

.routine-scroll-hint-icon {
  width: auto;
  height: 1em;
  flex: 0 0 auto;
  display: block;
}

.routine-scroll-window {
  position: relative;
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  box-shadow: 0 10px 22px rgba(47, 38, 33, 0.08);
  scrollbar-width: thin;
  scrollbar-color: rgba(47, 38, 33, 0.34) transparent;
  transition: transform 0.26s ease, box-shadow 0.26s ease;
}

.routine-scroll-window::-webkit-scrollbar {
  width: 10px;
}

.routine-scroll-window::-webkit-scrollbar-thumb {
  border: 2px solid #fff;
  border-radius: 999px;
  background: rgba(47, 38, 33, 0.28);
}

.routine-scroll-window img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

@media (hover: hover) {
  .routine-calendar-frame:hover > img,
  .routine-scroll-shot:hover .routine-scroll-window {
    transform: translateY(-6px);
    box-shadow: 0 24px 44px rgba(47, 38, 33, 0.18);
  }

  .routine-scatter-icon-1:hover {
    transform: translate(-4px, -8px) rotate(-16deg);
  }

  .routine-scatter-icon-2:hover {
    transform: translate(5px, -7px) rotate(14deg);
  }

  .routine-scatter-icon-3:hover {
    transform: translate(8px, -5px) rotate(18deg);
  }

  .routine-scatter-icon-4:hover {
    transform: translate(-4px, -7px) rotate(-13deg);
  }

}

@media (max-width: 900px) {
  .about-gallery-routine {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 28px 18px 12px;
  }

  .routine-calendar-frame {
    width: 100%;
  }

  .routine-scatter-icon-1 {
    top: 14px;
    left: -56px;
  }

  .routine-scatter-icon-2 {
    top: 102px;
    left: -12px;
  }

  .routine-scatter-icon-3 {
    top: -10px;
    right: -12px;
  }

  .routine-scatter-icon-4 {
    top: 62px;
    right: -58px;
  }

  .routine-scroll-shot {
    width: min(100%, 320px);
    justify-self: start;
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .about-gallery-routine {
    padding: 54px 12px 10px;
  }

  .routine-scatter-icon {
    width: 44px;
  }

  .routine-scatter-icon-1 {
    top: -36px;
    left: 4px;
  }

  .routine-scatter-icon-2 {
    top: 98px;
    left: 28px;
    bottom: auto;
  }

  .routine-scatter-icon-3 {
    top: -42px;
    right: 18px;
  }

  .routine-scatter-icon-4 {
    top: 68px;
    right: -6px;
    bottom: auto;
  }

}

.acknowledgements {
  display: grid;
  grid-template-columns: minmax(180px, 620px) minmax(0, 720px);
  align-items: center;
  column-gap: clamp(28px, 4vw, 64px);
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  min-height: calc(100vh - 120px);
  padding: clamp(32px, 4vh, 48px) 0;
}

.acknowledgements-aside {
  position: relative;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.acknowledgements-aside-art {
  position: relative;
  width: min(100%, 620px);
  min-height: 560px;
  margin-left: 0;
}

.acknowledgements-body {
  display: grid;
  justify-items: center;
  gap: 18px;
  width: 100%;
}

.acknowledgements-title {
  position: relative;
  display: inline-block;
  margin-top: 42px;
  transform: rotate(-8deg);
  color: #9b9b9b;
  font-family: "Comic Sans MS", "Marker Felt", "Bradley Hand", cursive;
  font-size: clamp(6.4rem, 10vw, 9rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
  pointer-events: none;
  white-space: nowrap;
}

.acknowledgement-doodle {
  position: absolute;
  display: block;
  object-fit: contain;
  pointer-events: none;
}

.acknowledgement-doodle-left {
  top: -52px;
  left: 476px;
  width: 123px;
  height: 123px;
  transform: rotate(8deg);
  opacity: 0.9;
}

.acknowledgement-doodle-right {
  top: 228px;
  left: 80px;
  width: 279px;
  height: 279px;
  transform: rotate(10deg);
  opacity: 0.92;
}

.acknowledgement-line {
  margin: 0;
  font-size: clamp(1rem, 1.55vw, 1.12rem);
  line-height: 1.9;
  color: #8f8174;
}

.acknowledgement-line {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  width: fit-content;
  max-width: min(100%, 720px);
  transform-origin: center center;
  text-align: center;
}

.acknowledgement-line-1 {
  transform: rotate(-2deg) translateX(10px);
}

.acknowledgement-line-2 {
  transform: rotate(1.6deg) translateX(34px);
}

.acknowledgement-line-3 {
  transform: rotate(-1.3deg) translateX(4px);
}

.acknowledgement-line-4 {
  transform: rotate(1.8deg) translateX(22px);
}

.acknowledgement-line-5 {
  transform: rotate(-2.1deg) translateX(4px);
  margin-top: 10px;
}

.acknowledgement-line-6 {
  transform: rotate(1.9deg) translateX(44px);
}

.acknowledgement-line-7 {
  transform: rotate(-2.2deg) translateX(18px);
}

.acknowledgement-line-8 {
  transform: rotate(-1.3deg) translateX(16px);
  margin-top: 6px;
}

.acknowledgement-logo {
  flex: 0 0 auto;
  width: 53px;
  height: 53px;
  object-fit: contain;
  filter: drop-shadow(0 7px 14px rgba(79, 52, 38, 0.14));
  transition: transform 0.24s ease, filter 0.24s ease;
}

.acknowledgement-avatar {
  flex: 0 0 auto;
  width: 53px;
  height: 53px;
  border-radius: 999px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 10px 18px rgba(79, 52, 38, 0.2);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.acknowledgement-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}

.acknowledgement-line:hover .acknowledgement-logo,
.acknowledgement-line:hover .acknowledgement-avatar {
  transform: translate(-2px, -2px) scale(1.15);
}

.acknowledgement-line:hover .acknowledgement-logo {
  filter: drop-shadow(0 10px 16px rgba(79, 52, 38, 0.2));
}

.acknowledgement-line:hover .acknowledgement-avatar {
  box-shadow: 0 10px 18px rgba(79, 52, 38, 0.18);
}

.acknowledgement-closing-mark {
  width: min(100%, 214px);
  margin-top: -21px;
  transform: rotate(-2.2deg) translateX(22px);
  opacity: 0.88;
}

.acknowledgement-closing-squiggle {
  display: block;
  width: 100%;
  height: auto;
}


.app-badges {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 4px 0 18px;
}

.app-logo {
  position: relative;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border: var(--border-strong) solid var(--line);
  border-radius: 22px;
  background: var(--bg);
}

.calendar-logo .top {
  position: absolute;
  top: 10px;
  color: var(--accent);
  font-size: 0.82rem;
}

.calendar-logo .bottom {
  margin-top: 16px;
  font-size: 2rem;
  font-weight: 600;
}

.wallet-card {
  width: 34px;
  height: 24px;
  border: var(--border-strong) solid var(--accent);
  border-radius: 8px;
}

.ledger-text {
  margin-top: 4px;
  font-size: 0.95rem;
}

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

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

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

.float-card {
  animation: float 5.8s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes hero-pass-sway {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-2.2deg);
  }
  50% {
    transform: rotate(0.9deg);
  }
  75% {
    transform: rotate(2.2deg);
  }
}

@keyframes hero-emotion-float {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

@keyframes hero-emotion-cycle {
  0%,
  33.333% {
    opacity: 1;
  }

  33.334%,
  100% {
    opacity: 0;
  }
}

@media (max-width: 860px) {
  .design-grid,
  .project-row,
  .project-right {
    grid-template-columns: 1fr;
  }

  .project-right .project-copy,
  .project-right .project-cover {
    order: unset;
    text-align: left;
    justify-self: stretch;
  }

  .project-right .project-tags {
    justify-content: flex-start;
  }

  .project-right .project-desc {
    margin-left: 0;
  }

  .ornament-top-right {
    top: -36px;
    right: -28px;
    width: 60px;
  }

  .ornament-bottom-left {
    bottom: -34px;
    left: -32px;
    width: 46px;
  }

  .workflow-flow-track {
    min-width: 900px;
  }

  .flow-card {
    min-height: 292px;
  }
}

@media (max-width: 700px) {
  .acknowledgements {
    grid-template-columns: 1fr;
    min-height: auto;
    align-items: start;
    row-gap: 18px;
  }

  .acknowledgements-aside {
    min-height: 0;
    justify-self: center;
  }

  .acknowledgements-aside-art {
    width: min(100%, 200px);
    min-height: 252px;
  }

  .acknowledgements-title {
    transform: rotate(-6deg);
    margin: 0 0 12px;
    font-size: clamp(3.8rem, 16vw, 5.2rem);
  }

  .acknowledgement-line,
  .acknowledgement-line-1,
  .acknowledgement-line-2,
  .acknowledgement-line-3,
  .acknowledgement-line-4,
  .acknowledgement-line-5,
  .acknowledgement-line-6,
  .acknowledgement-line-7,
  .acknowledgement-line-8 {
    transform: none;
  }

  .acknowledgement-closing-mark {
    transform: none;
  }

  .acknowledgement-doodle-left {
    top: -14px;
    left: 126px;
    width: 88px;
    height: 88px;
  }

  .acknowledgement-doodle-right {
    top: 126px;
    left: 28px;
    width: 116px;
    height: 116px;
  }

  .topbar,
  .about-intro,
  .panel-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero h1,
  .section-head h2 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .projects-title-balance {
    left: clamp(-136px, -28vw, -96px);
    width: clamp(78px, 21vw, 128px);
    transform: translateY(-52%) rotate(-16deg);
  }

  .hero-layout {
    text-align: center;
  }

  .hero-intro {
    max-width: 640px;
    width: 100%;
  }

  .hero-welcome-stack {
    padding-top: 246px;
  }

  .two-up,
  .four-up,
  .about-gallery-kitchen {
    grid-template-columns: 1fr;
  }

  .tool-logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-gallery-routine .memory-shot {
    grid-column: auto;
    margin-top: 0;
    min-height: 220px;
  }

  .routine-calendar-frame,
  .routine-scroll-shot {
    width: 100%;
    margin-left: 0;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
  }

  .note-left,
  .note-right {
    left: auto;
    right: auto;
  }
}

@media (max-height: 860px) and (min-width: 701px) {
  .acknowledgements {
    min-height: calc(100vh - 104px);
    padding: 28px 0;
  }
}

@media (max-width: 560px) {
  .about-rabbit-scene {
    top: 50px;
    right: calc(50% - 50vw);
    width: 210px;
    opacity: 0.46;
  }

  .about-gallery-routine {
    grid-template-columns: 1fr;
  }

  .routine-calendar-frame,
  .routine-scroll-shot {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 560px) {
  .section,
  .topbar {
    width: min(calc(100% - var(--page-gutter-mobile)), var(--max-width));
  }

  .topbar {
    padding: 16px 0 14px;
    margin-top: 8px;
  }

  .nav {
    gap: 4px 1.6px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav-link {
    width: 113px;
    height: 40px;
    gap: 3px;
    padding: 0 9px;
    font-size: 0.82rem;
  }

  .nav-link-about {
    margin-left: -1.45px;
    padding-left: 1px;
    padding-right: 11px;
  }

  .nav-link-about .nav-link-label {
    margin-left: -1px;
  }

  .nav-link-projects {
    margin-left: -1px;
    padding-left: 7px;
    padding-right: 11px;
    transform: translateX(6px);
  }

  .nav-link-projects:hover,
  .nav-link-projects:focus-visible,
  .nav-link-projects.active {
    transform: translate(6px, -1px);
  }

  .routine-scroll-shot {
    padding: 0;
    border-radius: 20px;
  }

  .routine-scroll-window {
    max-height: 360px;
    padding: 0;
    border-radius: 20px;
  }

  .nav-link-about {
    width: 136px;
  }

  .nav-link-icon {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }

  .section {
    padding-top: 72px;
  }

  .hero {
    min-height: unset;
  }

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

  .note {
    position: static;
    max-width: none;
    margin-top: 12px;
    transform: none;
  }

  .hero-welcome-art {
    width: min(100%, 420px);
    margin: 0 auto;
  }

  .hero-welcome-stack {
    padding-top: 198px;
  }

  .hero-emotion-switcher {
    width: min(181px, 44vw);
  }

  .project-meta h3,
  .panel-head h3,
  .about-intro h3 {
    font-size: 1.95rem;
  }

  .project-meta h3 {
    font-size: 2.2425rem;
  }

  .project-copy {
    max-width: 100%;
  }

  .project-row {
    gap: 22px;
    padding: 46px 0;
  }

  .project-cover {
    --project-cover-radius: 30px;
    aspect-ratio: 1.42 / 1;
  }

  .project-desc {
    max-width: 100%;
    font-size: 1.173rem;
  }

  .panel {
    padding: 20px;
  }

  .about-stack {
    gap: 72px;
  }

  .tool-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .acknowledgements {
    width: 100%;
    max-width: none;
    margin-left: 0;
    gap: 10px;
    min-height: auto;
    padding: 56px 0 40px;
  }

  .acknowledgements-body {
    justify-self: stretch;
    justify-items: center;
    width: 100%;
    gap: 18px;
  }

  .acknowledgement-line {
    font-size: 0.98rem;
    justify-content: center;
    text-align: center;
  }

  .acknowledgement-logo {
    width: 45px;
    height: 45px;
  }

  .acknowledgement-avatar {
    width: 45px;
    height: 45px;
  }

  .acknowledgement-closing-mark {
    width: min(74%, 210px);
    margin-top: -15px;
  }

  .tool-logo-card {
    min-height: 148px;
    padding: 16px 8px 10px;
  }

  .tool-logo-image {
    width: 75px;
    height: 75px;
  }
}
