:root {
  --home-paper: #fff;
  --home-ink: #171915;
  --home-muted: #777b73;
  --home-faint: #a8aca3;
  --home-rule-soft: rgba(23, 25, 21, 0.045);
  --home-rule: rgba(23, 25, 21, 0.075);
  --home-rule-medium: rgba(23, 25, 21, 0.13);
  --home-rule-strong: rgba(23, 25, 21, 0.18);
  --filter-frame: rgba(23, 25, 21, 0.055);
  --home-accent: #75872d;
  --home-header-height: 96px;
  --home-type-display: clamp(38px, 7cqi, 72px);
  --home-type-section: 20px;
  --home-type-ui: 14px;
  --home-type-body: 13px;
  --home-type-meta: 10px;
  --home-leading-body: 1.65;
}

.portfolio-home {
  --paper: var(--home-paper);
  --ink: var(--home-ink);
  --muted: var(--home-muted);
  --divider: var(--home-rule);
  --accent: var(--home-accent);
  --header-height: var(--home-header-height);
  background: var(--home-paper);
  color: var(--home-ink);
}

.portfolio-home button,
.portfolio-home a {
  -webkit-tap-highlight-color: transparent;
}

.portfolio-home.splash-active {
  animation: none;
  overflow: hidden;
}

.portfolio-splash {
  --splash-paper: #f3f4f0;
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  min-height: 100dvh;
  place-items: start center;
  overflow: hidden;
  padding: clamp(48px, 9vh, 82px) 20px 24px;
  background: var(--splash-paper);
  isolation: isolate;
}

.splash-stage {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(536px, calc(100vw - 40px));
  gap: 10px;
  opacity: 0;
}

.splash-greeting {
  display: block;
  max-width: calc(100% - 18px);
  margin: 0 0 0 18px;
  color: var(--home-ink);
  font-size: clamp(34px, 4.7vw, 50px);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.94;
  white-space: nowrap;
}

.splash-greeting__line {
  display: flex;
  align-items: baseline;
  column-gap: 0.17em;
}

.splash-word {
  position: relative;
  display: inline-block;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: inherit;
  cursor: grab;
  font: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  touch-action: none;
  transform-origin: 50% 62%;
  user-select: none;
  will-change: transform;
}

.splash-word::after {
  position: absolute;
  right: 0.04em;
  bottom: -0.08em;
  left: 0.04em;
  height: 0.035em;
  background: var(--home-accent);
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transform-origin: 50% 50%;
  transition:
    opacity 160ms ease,
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.splash-word:hover::after,
.splash-word:focus-visible::after,
.splash-word.is-dragging::after {
  opacity: 1;
  transform: scaleX(1);
}

.splash-word:focus-visible {
  color: var(--home-accent);
}

.splash-word.is-dragging {
  z-index: 4;
  cursor: grabbing;
}

.splash-business-card {
  position: relative;
  display: block;
  width: 100%;
  justify-self: stretch;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  cursor: pointer;
  line-height: 0;
  transform-origin: 50% 50%;
  will-change: transform;
}

.splash-business-card:focus-visible {
  outline: 1px solid var(--home-accent);
  outline-offset: 6px;
}

.splash-business-card img {
  display: block;
  width: 100%;
  height: auto;
}

.splash-enter {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  justify-self: center;
  margin-top: 1px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--home-muted);
  cursor: pointer;
  font: inherit;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  transition: color 160ms ease;
  will-change: transform;
}

.splash-enter > span {
  display: block;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.splash-enter:hover {
  color: var(--home-ink);
}

.splash-enter:hover > span {
  transform: translateY(3px);
}

.splash-enter:active > span {
  transform: translateY(5px);
}

.splash-enter:focus-visible {
  color: var(--home-accent);
  outline: 1px solid var(--home-accent);
  outline-offset: 2px;
}

.splash-wipe {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  visibility: hidden;
}

.splash-wipe__path {
  fill: var(--splash-paper);
  vector-effect: non-scaling-stroke;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.portfolio-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  height: var(--home-header-height);
  align-items: stretch;
  border-bottom: 1px solid var(--home-rule);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
}

.portfolio-identity {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 17px;
  padding-left: clamp(24px, 2.2vw, 44px);
}

.portfolio-identity__mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-right: 1px solid var(--home-ink);
  color: var(--home-accent);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.portfolio-identity__name {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.portfolio-identity__name strong {
  font-size: 15px;
}

.portfolio-identity__name small {
  margin-top: 2px;
  font-size: 14px;
  font-weight: 700;
}

.portfolio-header .layout-switcher {
  display: grid;
  grid-template-columns: repeat(3, 110px);
  align-self: stretch;
}

.portfolio-header .layout-switcher button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
}

.portfolio-header .layout-switcher button:focus-visible {
  outline: 0;
  color: var(--home-accent);
  box-shadow: inset 0 -1px 0 var(--home-accent);
}

.portfolio-header .layout-switcher button::after {
  right: 24px;
  bottom: 0;
  left: 24px;
  height: 4px;
}

.portfolio-header__hint {
  align-self: center;
  justify-self: end;
  padding-right: clamp(24px, 2.2vw, 44px);
  color: var(--home-faint);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.portfolio-header .menu-toggle {
  display: none;
  align-self: center;
  margin-right: 18px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
}

.nav-island {
  position: fixed;
  top: calc((var(--home-header-height) - 48px) / 2);
  right: clamp(18px, 2.2vw, 44px);
  z-index: 42;
  display: flex;
  width: min(312px, calc(100vw - 36px));
  height: 48px;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
}

.nav-island__surface {
  position: absolute;
  inset: 0;
  border: 1px solid var(--home-rule-medium);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 28px rgba(23, 25, 21, 0.055);
  transform-origin: 100% 50%;
  will-change: transform;
}

.nav-island__label {
  position: relative;
  z-index: 1;
  margin-right: auto;
  padding-left: 19px;
  color: var(--home-muted);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.06em;
  opacity: 0;
  visibility: hidden;
}

.nav-island .menu-toggle {
  position: relative;
  z-index: 2;
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  color: var(--home-ink);
  cursor: pointer;
  pointer-events: auto;
}

.nav-island .menu-toggle:hover {
  color: var(--home-accent);
}

.nav-island .menu-toggle:active {
  transform: scale(0.96);
}

.nav-island .menu-toggle:focus-visible {
  color: var(--home-accent);
}

.menu-icon {
  position: relative;
  display: block;
  width: 18px;
  height: 14px;
}

.menu-icon__line {
  position: absolute;
  top: 6.5px;
  left: 0;
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}

.menu-icon__line--top {
  transform: translateY(-5px);
}

.menu-icon__line--bottom {
  transform: translateY(5px);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.menu-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(247, 248, 244, 0.84);
  backdrop-filter: blur(7px);
  cursor: default;
  opacity: 0;
}

.menu-panel {
  position: absolute;
  top: calc((var(--home-header-height) + 48px) / 2 + 10px);
  right: clamp(18px, 2.2vw, 44px);
  width: min(312px, calc(100vw - 36px));
  border: 1px solid var(--home-rule-medium);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.98);
  opacity: 0;
  visibility: hidden;
  transform-origin: 100% 0;
  will-change: transform, opacity;
}

.menu-panel nav {
  display: grid;
  padding: 7px 18px;
}

.menu-link {
  display: flex;
  min-height: 56px;
  align-items: center;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--home-ink);
  cursor: pointer;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1;
  text-align: left;
  will-change: transform, opacity;
}

.menu-link + .menu-link {
  border-top: 1px solid var(--home-rule-soft);
}

.menu-link:hover,
.menu-link:focus-visible {
  color: var(--home-accent);
}

.menu-link:focus-visible {
  box-shadow: inset 0 -1px 0 var(--home-accent);
}

.portfolio-workspace,
.portfolio-workspace[data-layout="feed"],
.portfolio-workspace[data-layout="thinking"],
.portfolio-workspace[data-layout="capabilities"] {
  display: grid;
  grid-template-columns:
    minmax(220px, 25fr)
    minmax(440px, 50fr)
    minmax(220px, 25fr);
  width: 100%;
  max-width: none;
  margin: 0;
  align-items: stretch;
  transition: grid-template-columns 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.portfolio-workspace[data-layout="thinking"] {
  grid-template-columns:
    minmax(360px, 40fr)
    minmax(340px, 35fr)
    minmax(220px, 25fr);
}

.portfolio-workspace[data-layout="capabilities"] {
  grid-template-columns:
    minmax(190px, 20fr)
    minmax(340px, 30fr)
    minmax(390px, 50fr);
}

.portfolio-column {
  min-width: 0;
  border: 0;
  background: var(--home-paper);
}

.profile-column,
.filter-column {
  container-type: inline-size;
}

.portfolio-column:focus {
  outline: none;
}

.portfolio-column:focus-visible {
  box-shadow: inset 0 0 0 2px var(--home-accent);
}

.profile-column,
.filter-column {
  padding: 38px clamp(24px, 2.2vw, 44px) 44px;
}

.work-column {
  container-type: inline-size;
}

.filter-column {
  align-self: start;
  border-left: 1px solid var(--filter-frame);
  border-bottom: 1px solid var(--filter-frame);
  background: #fff;
}

.column-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--home-rule);
}

.column-label p,
.column-label span {
  margin: 0;
  color: var(--home-muted);
  font-family: var(--font-mono);
  font-size: 11px;
}

.profile-summary {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  margin-top: 42px;
}

.portrait-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
}

.profile-greeting h1,
.profile-greeting p {
  margin: 0;
}

.profile-greeting h1 {
  font-size: clamp(22px, 5.2cqi, 30px);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1.18;
}

.profile-greeting p {
  margin-top: 9px;
  color: var(--home-muted);
  font-size: 13px;
  line-height: 1.45;
}

.profile-role {
  margin: 30px 0 0;
  font-size: 13px;
  line-height: 1.5;
}

.profile-card {
  margin: 18px 0 0;
}

.profile-card img {
  display: block;
  width: 100%;
  height: auto;
}

.trait-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.trait-list li {
  padding: 7px 17px 6px;
  border: 1px solid var(--home-muted);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.trait-list__accent {
  border-color: var(--home-accent);
  color: var(--home-accent);
}

.experience-list {
  margin-top: 78px;
}

.experience-list h2 {
  margin: 0;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(23, 25, 21, 0.78);
  font-size: var(--home-type-section);
  letter-spacing: 0.01em;
}

.experience-list ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.experience-list li {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid var(--home-rule-medium);
}

.company-logo {
  display: block;
  width: auto;
  max-width: 64%;
  max-height: 22px;
  object-fit: contain;
  object-position: left center;
}

.company-logo--alibaba {
  max-height: 18px;
}

.company-logo--didi {
  max-height: 20px;
}

.company-logo--iflytek {
  max-height: 23px;
}

.profile-note {
  max-width: 28ch;
  margin: 108px 0 0;
  color: var(--home-muted);
  font-size: var(--home-type-body);
  line-height: var(--home-leading-body);
}

.break-section {
  padding: 70px clamp(30px, 4cqi, 56px) 34px;
}

.break-section h2 {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--home-type-section);
  letter-spacing: 0.035em;
  line-height: 1;
}

.break-visual {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 25px;
}

.work-feed {
  position: relative;
  display: grid;
  padding-bottom: 132px;
}

.work-feed::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 220px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.16) 30%,
    rgba(255, 255, 255, 0.72) 68%,
    var(--home-paper) 92%
  );
  content: "";
  pointer-events: none;
}

.work-entry {
  position: relative;
  min-width: 0;
  padding: 84px clamp(30px, 4cqi, 56px) 46px;
}

.work-entry--feature {
  padding-top: 34px;
}

.work-entry--feature::before {
  position: absolute;
  top: 0;
  right: clamp(30px, 4cqi, 56px);
  left: clamp(30px, 4cqi, 56px);
  border-top: 1px solid var(--home-rule-medium);
  content: "";
}

.work-entry__brand {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2cqi, 18px);
}

.brand-lockup {
  display: block;
  width: auto;
  max-width: 48%;
  height: clamp(25px, 4cqi, 38px);
  object-fit: contain;
}

.brand-lockup--qwen {
  height: clamp(23px, 3.7cqi, 35px);
}

.work-entry__index {
  margin: 0;
  color: var(--home-muted);
  font-family: var(--font-mono);
  font-size: var(--home-type-meta);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.work-entry h2 {
  max-width: 13ch;
  margin: 38px 0 0;
  font-size: var(--home-type-display);
  font-weight: 760;
  letter-spacing: -0.073em;
  line-height: 0.93;
}

.work-entry:not(.work-entry--feature) h2 {
  max-width: 14ch;
  margin-top: 26px;
}

.work-entry > p:not(.work-entry__index) {
  max-width: 34ch;
  margin: 24px 0 0;
  color: var(--home-muted);
  font-size: var(--home-type-body);
  line-height: var(--home-leading-body);
}

.project-media {
  margin: 34px 0 0;
  overflow: hidden;
}

.project-media img {
  display: block;
  width: 100%;
  height: auto;
}

.project-placeholder {
  position: relative;
  display: flex;
  aspect-ratio: 16 / 10;
  align-items: flex-end;
  justify-content: space-between;
  margin: 34px 0 0;
  padding: 18px;
  overflow: hidden;
  background-color: #eeefeb;
  background-image:
    linear-gradient(var(--home-rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--home-rule) 1px, transparent 1px);
  background-size: 42px 42px;
}

.project-placeholder::before {
  position: absolute;
  inset: 12% 15%;
  border: 1px solid rgba(255, 255, 255, 0.75);
  content: "";
  transform: rotate(-4deg);
}

.project-placeholder > span {
  position: relative;
  z-index: 1;
  color: rgba(23, 25, 21, 0.17);
  font-size: clamp(82px, 20cqi, 190px);
  font-weight: 800;
  letter-spacing: -0.1em;
  line-height: 0.72;
}

.project-placeholder figcaption {
  position: relative;
  z-index: 1;
  max-width: 22ch;
  color: var(--home-muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-align: right;
}

.project-placeholder--health {
  background-color: #dce9f7;
}

.project-placeholder--growth {
  background-color: #f1eadc;
}

.project-placeholder--ai {
  background-color: #e4e1ef;
}

.project-placeholder--security {
  background-color: #e2e9e4;
}

.project-placeholder--narrative {
  background-color: #eee2df;
}

.project-placeholder--archive {
  background-color: #e6e6e2;
}

.work-entry__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-top: 17px;
  color: var(--home-muted);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.4;
}

.work-entry__meta span:first-child {
  color: var(--home-ink);
  font-weight: 700;
}

.filter-empty {
  margin: 0 clamp(30px, 4cqi, 56px) 80px;
  padding: 30px 0;
  border: 0;
  text-align: left;
}

.filter-intro {
  max-width: 20ch;
  margin: 80px 0 0;
  color: var(--home-muted);
  font-size: var(--home-type-body);
  line-height: var(--home-leading-body);
}

.filter-column .filter-controls {
  display: grid;
  margin-top: 36px;
  border-top: 1px solid rgba(23, 25, 21, 0.78);
  border-bottom: 1px solid var(--home-rule);
}

.filter-column .filter-controls button {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  border: 0;
  border-top: 1px solid var(--home-rule);
  background: transparent;
  cursor: pointer;
  color: var(--home-ink);
  text-align: left;
  transition:
    color 150ms ease,
    padding-left 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.filter-column .filter-controls button:first-child {
  border-top: 0;
}

.filter-column .filter-controls button span {
  font-size: var(--home-type-ui);
}

.filter-column .filter-controls button small {
  margin-left: auto;
  color: var(--home-faint);
  font-family: var(--font-mono);
  font-size: 9px;
}

.filter-column .filter-controls button[aria-pressed="true"] {
  color: var(--home-accent);
  font-weight: 700;
}

.filter-column .filter-controls button[aria-pressed="true"]::before {
  width: 18px;
  margin-right: 10px;
  border-top: 2px solid currentColor;
  content: "";
}

.filter-column .filter-controls button:hover,
.filter-column .filter-controls button:focus-visible {
  color: var(--home-accent);
}

.filter-column .filter-controls button:active {
  padding-left: 3px;
}

.thanks-section {
  margin-top: 90px;
}

.thanks-section h2 {
  margin: 0;
  font-size: var(--home-type-section);
  letter-spacing: -0.025em;
}

.thanks-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px 12px;
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid rgba(23, 25, 21, 0.78);
}

.tool-logo {
  display: block;
  width: clamp(30px, 8cqi, 44px);
  height: auto;
  aspect-ratio: 1;
  justify-self: center;
  object-fit: contain;
}

.mascot-stage {
  display: grid;
  width: fit-content;
  max-width: 100%;
  min-height: 0;
  align-items: end;
  justify-items: end;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: visible;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.mascot-image {
  display: block;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom right;
  transform-origin: 100% 100%;
  transition:
    filter 220ms ease,
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mascot-image--compact {
  width: clamp(82px, 44cqi, 124px);
}

.mascot-image--wide {
  display: none;
  width: clamp(126px, 42cqi, 180px);
}

@container (min-width: 340px) {
  .mascot-image--compact {
    display: none;
  }

  .mascot-image--wide {
    display: block;
  }
}

.feedback-trigger:hover .mascot-image,
.feedback-trigger:focus-visible .mascot-image {
  filter: drop-shadow(0 9px 10px rgba(23, 25, 21, 0.11));
  transform: translateY(-5px) rotate(-1deg);
}

.feedback-trigger:active .mascot-image {
  filter: drop-shadow(0 5px 6px rgba(23, 25, 21, 0.1));
  transform: translateY(1px) scale(0.985);
  transition-duration: 90ms;
}

.feedback-trigger:focus-visible {
  outline: 2px solid var(--home-accent);
  outline-offset: 8px;
}

.feedback-dialog {
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  overflow: auto;
  border: 1px solid var(--home-rule-strong);
  background: #fff;
  color: var(--home-ink);
  box-shadow: 0 24px 80px rgba(23, 25, 21, 0.16);
}

.feedback-dialog::backdrop {
  background: rgba(23, 25, 21, 0.22);
  backdrop-filter: blur(3px);
}

.feedback-dialog[open] {
  animation: feedback-dialog-in 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.feedback-form {
  display: grid;
  gap: 0;
  padding: clamp(24px, 5vw, 42px);
}

.feedback-form header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--home-rule);
}

.feedback-form header p,
.feedback-form h2,
.feedback-form > p {
  margin: 0;
}

.feedback-form header p {
  color: var(--home-faint);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.09em;
}

.feedback-close {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
}

.feedback-form h2 {
  margin-top: 36px;
  font-size: clamp(28px, 7vw, 44px);
  letter-spacing: -0.055em;
  line-height: 1;
}

.feedback-form > p {
  max-width: 39ch;
  margin-top: 16px;
  color: var(--home-muted);
  font-size: 13px;
  line-height: 1.7;
}

.feedback-form label {
  display: grid;
  gap: 8px;
  margin-top: 27px;
}

.feedback-form label > span {
  color: var(--home-muted);
  font-size: 11px;
}

.feedback-form label small {
  color: var(--home-faint);
  font-size: 9px;
}

.feedback-form input,
.feedback-form textarea {
  width: 100%;
  padding: 7px 0 10px;
  border: 0;
  border-bottom: 1px solid var(--home-rule-medium);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--home-ink);
  font: inherit;
}

.feedback-form textarea {
  min-height: 104px;
  resize: vertical;
}

.feedback-form input:focus,
.feedback-form textarea:focus {
  border-color: var(--home-ink);
}

.feedback-form footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 36px;
}

.feedback-form footer button {
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
  color: var(--home-muted);
  font: inherit;
  font-size: 12px;
}

.feedback-form footer .feedback-send {
  color: var(--home-ink);
  font-weight: 700;
}

.feedback-form footer button:hover,
.feedback-form footer button:focus-visible,
.feedback-close:hover,
.feedback-close:focus-visible {
  color: var(--home-accent);
}

@keyframes feedback-dialog-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }

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

.explore-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 68px;
  border-top: 1px solid var(--home-rule);
}

.explore-grid a {
  min-height: 50px;
  padding: 12px 12px 10px 0;
  border-bottom: 1px solid var(--home-rule);
  font-size: 11px;
  line-height: 1.4;
}

.explore-grid a:nth-child(even) {
  padding-left: 14px;
  border-left: 1px solid var(--home-rule);
}

.explore-grid a:hover,
.portfolio-contact a:hover {
  color: var(--home-accent);
}

.portfolio-contact {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  margin-top: 80px;
}

.portfolio-contact p,
.portfolio-contact small {
  margin: 0;
  color: var(--home-muted);
  font-size: 11px;
}

.portfolio-contact__action {
  display: flex;
  max-width: 100%;
  align-items: center;
  gap: clamp(12px, 4cqi, 18px);
  margin-top: 14px;
}

.portfolio-contact a {
  margin-top: 0;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
}

.portfolio-contact small {
  margin-top: 30px;
  font-family: var(--font-mono);
  font-size: 9px;
}

@container (max-width: 420px) {
  .profile-summary {
    grid-template-columns: 92px 1fr;
    gap: 17px;
  }
}

@media (max-width: 1180px) {
  :root {
    --home-header-height: 78px;
    --home-type-section: 18px;
  }

  .portfolio-header .layout-switcher {
    grid-template-columns: repeat(3, 86px);
  }

  .portfolio-header .layout-switcher button {
    font-size: 14px;
  }

  .portfolio-header__hint,
  .column-label span {
    display: none;
  }

  .profile-column,
  .filter-column {
    padding-inline: 20px;
  }

  .profile-summary {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 14px;
  }

  .profile-greeting h1 {
    font-size: clamp(18px, 7cqi, 24px);
  }

  .profile-greeting p,
  .profile-role {
    font-size: 10px;
  }

  .trait-list {
    gap: 5px;
    margin-top: 26px;
  }

  .trait-list li {
    padding: 6px 10px 5px;
    font-size: 8px;
  }

  .experience-list {
    margin-top: 56px;
  }

  .filter-intro {
    margin-top: 58px;
  }

  .filter-column .filter-controls button {
    min-height: 50px;
  }

  .thanks-section {
    margin-top: 68px;
  }

}

@media (max-width: 820px) {
  :root {
    --home-header-height: 68px;
  }

  .portfolio-splash {
    padding: clamp(36px, 8vh, 64px) 18px 18px;
  }

  .splash-stage {
    width: min(500px, calc(100vw - 36px));
    gap: 9px;
  }

  .splash-greeting {
    max-width: calc(100% - 14px);
    margin-left: 14px;
    font-size: clamp(29px, 9.4vw, 46px);
  }

  .portfolio-header {
    grid-template-columns: 1fr auto;
  }

  .portfolio-header .layout-switcher,
  .portfolio-header__hint {
    display: none;
  }

  .portfolio-header .menu-toggle {
    display: block;
  }

  .portfolio-identity {
    padding-left: 18px;
  }

  .portfolio-identity__name strong,
  .portfolio-identity__name small {
    font-size: 12px;
  }

  .portfolio-workspace,
  .portfolio-workspace[data-layout="feed"],
  .portfolio-workspace[data-layout="thinking"],
  .portfolio-workspace[data-layout="capabilities"] {
    display: block;
  }

  .profile-column,
  .filter-column {
    padding: 30px 22px 60px;
  }

  .profile-column {
    min-height: auto;
  }

  .work-column {
    border-inline: 0;
    border-block: 0;
  }

  .filter-column {
    border-left: 0;
    border-top: 1px solid var(--filter-frame);
    border-bottom: 1px solid var(--filter-frame);
  }

  .profile-summary {
    grid-template-columns: 112px 1fr;
    max-width: 470px;
  }

  .profile-card {
    max-width: 520px;
  }

  .trait-list,
  .experience-list,
  .profile-note {
    max-width: 620px;
  }

  .profile-note {
    margin-top: 68px;
  }

  .break-section {
    padding-top: 46px;
  }

  .filter-intro {
    max-width: 28ch;
    margin-top: 54px;
  }

  .filter-column .filter-controls,
  .thanks-section,
  .explore-grid,
  .portfolio-contact {
    max-width: 720px;
  }
}

@media (max-width: 600px) {
  .splash-greeting {
    font-size: clamp(28px, 9.2vw, 42px);
  }

  .nav-island {
    right: 14px;
    width: min(312px, calc(100vw - 28px));
  }

  .menu-panel {
    right: 14px;
    width: min(312px, calc(100vw - 28px));
  }

  .menu-link {
    min-height: 54px;
    font-size: 16px;
  }

  .portfolio-identity {
    gap: 10px;
  }

  .portfolio-identity__mark {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .profile-summary {
    grid-template-columns: 90px 1fr;
    gap: 18px;
  }

  .profile-greeting h1 {
    font-size: 24px;
  }

  .experience-list {
    margin-top: 58px;
  }

  .break-section,
  .work-entry {
    padding-right: 20px;
    padding-left: 20px;
  }

  .work-feed {
    padding-bottom: 68px;
  }

  .work-feed::after {
    height: 136px;
  }

  .project-placeholder {
    aspect-ratio: 4 / 3;
  }

  .work-entry__meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

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

@media (prefers-reduced-motion: reduce) {
  .portfolio-workspace {
    transition-duration: 0.01ms;
  }

  .mascot-image,
  .feedback-dialog[open] {
    animation-duration: 0.01ms;
    transition-duration: 0.01ms;
  }

  .nav-island__surface,
  .menu-panel,
  .menu-link,
  .menu-icon__line,
  .splash-word,
  .splash-business-card,
  .splash-enter {
    will-change: auto;
  }

  .splash-enter {
    transition-duration: 0.01ms;
  }

  .splash-enter > span {
    transition-duration: 0.01ms;
  }
}
