:root {
  --ink: #171717;
  --paper: #f4f0e8;
  --white: #fffdf8;
  --yellow: #ffd84d;
  --yellow-2: #ffe98f;
  --blue: #315bff;
  --blue-soft: #b8d8ff;
  --coral: #ff654d;
  --pink: #ff9cd6;
  --green: #b8f25b;
  --muted: #78746d;
  --line: 2px solid var(--ink);
  --radius: 24px;
  --display: "Black Han Sans", "Noto Sans KR", sans-serif;
  --sans: "Noto Sans KR", sans-serif;
  --mono: "DM Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.55;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

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

button {
  color: inherit;
}

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

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

::selection {
  color: var(--white);
  background: var(--blue);
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 14px;
  border: var(--line);
  border-radius: 8px;
  background: var(--white);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.pointer-halo {
  position: fixed;
  top: -18px;
  left: -18px;
  z-index: 150;
  width: 36px;
  height: 36px;
  border: 2px solid rgba(23, 23, 23, 0.75);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: width 180ms ease, height 180ms ease, opacity 180ms ease, background 180ms ease;
  mix-blend-mode: multiply;
}

body.has-pointer .pointer-halo {
  opacity: 1;
}

body.pointer-over .pointer-halo {
  width: 54px;
  height: 54px;
  background: rgba(255, 216, 77, 0.55);
}

.section-pad {
  padding-right: max(32px, calc((100vw - 1440px) / 2 + 54px));
  padding-left: max(32px, calc((100vw - 1440px) / 2 + 54px));
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 100;
  display: flex;
  width: min(calc(100% - 32px), 1320px);
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  margin: 14px auto 0;
  padding: 8px 14px 8px 20px;
  border: 1px solid #39393d;
  border-radius: 999px;
  background: rgba(24, 24, 27, 0.96);
  box-shadow: 0 14px 0 rgba(23, 23, 23, 0.06);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: var(--line);
  border-radius: 50% 50% 44% 56% / 51% 42% 58% 49%;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--display);
  font-size: 20px;
  line-height: 1;
  transform: rotate(-5deg);
}

.brand-copy {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.06em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.primary-nav > a:not(.nav-cta) {
  position: relative;
  padding: 10px 0;
}

.primary-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  background: var(--yellow);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.primary-nav > a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 11px 14px;
  border: var(--line);
  border-radius: 100px;
  background: var(--yellow);
  box-shadow: 3px 3px 0 var(--ink);
  color: var(--ink);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.nav-cta:hover {
  box-shadow: 1px 1px 0 var(--ink);
  transform: translate(2px, 2px);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: var(--line);
  border-radius: 50%;
  background: var(--yellow);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 180ms ease;
}

.hero {
  min-height: calc(100vh - 78px);
  min-height: calc(100svh - 78px);
  padding: clamp(50px, 7vw, 96px) max(32px, calc((100vw - 1440px) / 2 + 54px)) 26px;
  background:
    radial-gradient(circle at 86% 15%, rgba(255, 255, 255, 0.48) 0 1px, transparent 2px) 0 0 / 13px 13px,
    var(--yellow);
}

.hero-grid {
  display: grid;
  min-height: calc(100vh - 230px);
  align-items: center;
  gap: clamp(32px, 5vw, 90px);
  grid-template-columns: minmax(0, 1.38fr) minmax(320px, 0.62fr);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 28px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.eyebrow-dot {
  width: 9px;
  height: 9px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(255, 101, 77, 0.24);
}

.hero-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(60px, 8.15vw, 134px);
  font-weight: 400;
  line-height: 0.89;
  letter-spacing: -0.055em;
}

.title-line {
  display: block;
  white-space: nowrap;
}

.hero-title em {
  position: relative;
  display: inline-block;
  color: var(--white);
  font-style: normal;
  -webkit-text-stroke: 2px var(--ink);
  transform: rotate(-2deg);
}

.hero-title em::after {
  position: absolute;
  right: -12%;
  bottom: -4%;
  left: -7%;
  z-index: -1;
  height: 28%;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--coral);
  content: "";
  transform: rotate(2deg);
}

.hero-bottom {
  display: flex;
  max-width: 720px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-top: 38px;
}

.hero-bottom p {
  margin: 0;
  font-size: clamp(15px, 1.25vw, 19px);
  font-weight: 600;
  line-height: 1.7;
}

.round-link {
  display: grid;
  width: 96px;
  min-width: 96px;
  height: 96px;
  place-items: center;
  border: var(--line);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 5px 5px 0 var(--ink);
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.round-link:hover {
  box-shadow: 2px 2px 0 var(--ink);
  transform: translate(3px, 3px) rotate(4deg);
}

.round-link span {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.25;
}

.round-link b {
  margin-top: -24px;
  font-size: 20px;
}

.hero-stage {
  position: relative;
  min-height: 540px;
}

.stage-grid {
  position: absolute;
  inset: 8% 0 5% 3%;
  border: var(--line);
  border-radius: 50%;
  background-image: linear-gradient(rgba(23, 23, 23, 0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(23, 23, 23, 0.12) 1px, transparent 1px);
  background-size: 24px 24px;
  transform: rotate(-6deg);
}

.orbit {
  position: absolute;
  border: var(--line);
  border-radius: 50%;
}

.orbit-one {
  top: 15%;
  right: 8%;
  bottom: 12%;
  left: 12%;
  transform: rotate(27deg);
}

.orbit-two {
  top: 22%;
  right: 2%;
  bottom: 5%;
  left: 5%;
  border-style: dashed;
  transform: rotate(-23deg);
}

.stage-card {
  position: absolute;
  display: flex;
  min-width: 160px;
  flex-direction: column;
  padding: 17px 18px 16px;
  border: var(--line);
  border-radius: 18px;
  box-shadow: 6px 6px 0 var(--ink);
}

.stage-card span,
.stage-card small {
  font-family: var(--mono);
  font-size: 9px;
}

.stage-card strong {
  font-family: var(--display);
  font-size: 35px;
  font-weight: 400;
  line-height: 1.1;
}

.card-plan {
  top: 8%;
  left: 7%;
  background: var(--pink);
  transform: rotate(-8deg);
}

.card-make {
  top: 39%;
  right: 0;
  z-index: 2;
  background: var(--blue-soft);
  transform: rotate(5deg);
}

.card-run {
  bottom: 6%;
  left: 4%;
  background: var(--green);
  transform: rotate(-2deg);
}

.spark {
  position: absolute;
  font-size: 48px;
  line-height: 1;
  animation: spin-spark 8s linear infinite;
}

.spark-a {
  top: 5%;
  right: 4%;
  color: var(--blue);
  -webkit-text-stroke: 1px var(--ink);
}

.spark-b {
  right: 27%;
  bottom: 3%;
  color: var(--coral);
  font-size: 32px;
  animation-direction: reverse;
}

.hero-stamp {
  position: absolute;
  top: 38%;
  left: 30%;
  z-index: 3;
  display: flex;
  width: 128px;
  height: 128px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--coral);
  box-shadow: inset 0 0 0 4px var(--coral), inset 0 0 0 6px var(--ink);
  transform: rotate(10deg);
}

.hero-stamp span {
  font-family: var(--mono);
  font-size: 9px;
}

.hero-stamp strong {
  font-family: var(--display);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.1;
}

.hero-footnote {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: var(--line);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.hero-footnote .scribble {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 800;
  transform: rotate(-1deg);
}

.ticker {
  overflow: hidden;
  border-top: var(--line);
  border-bottom: var(--line);
  background: var(--ink);
  color: var(--white);
}

.ticker-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: marquee 24s linear infinite;
}

.ticker-track span {
  padding: 14px 25px;
  font-family: var(--display);
  font-size: 23px;
  line-height: 1;
  letter-spacing: 0.015em;
}

.ticker-track i {
  color: var(--yellow);
  font-style: normal;
  font-size: 18px;
}

.proposal,
.scope {
  padding-top: clamp(90px, 10vw, 150px);
  padding-bottom: clamp(100px, 12vw, 180px);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 44px;
}

.section-label span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: var(--line);
  border-radius: 50%;
  background: var(--yellow);
  font-family: var(--mono);
  font-size: 10px;
}

.section-label p {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.section-label-light span {
  border-color: var(--white);
  background: var(--yellow);
  color: var(--ink);
}

.section-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(50px, 6.4vw, 98px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.section-title span {
  color: var(--blue);
}

.proposal-heading {
  display: grid;
  grid-template-columns: 0.42fr 1.58fr;
}

.proposal-heading .kicker {
  margin: 13px 0 0;
  font-size: 13px;
  font-weight: 700;
}

.proposal-flow {
  display: grid;
  align-items: stretch;
  gap: 18px;
  margin-top: 84px;
  grid-template-columns: 1fr auto 1fr auto 1fr;
}

.flow-card {
  min-height: 390px;
  padding: 28px;
  border: var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 6px 6px 0 var(--ink);
}

.flow-card:nth-of-type(1) {
  transform: rotate(-1.5deg);
}

.flow-card:nth-of-type(2) {
  transform: translateY(18px) rotate(1deg);
}

.flow-card:nth-of-type(3) {
  transform: rotate(-0.5deg);
}

.flow-icon {
  position: relative;
  display: grid;
  width: 104px;
  height: 104px;
  place-items: center;
  margin-bottom: 34px;
  border: var(--line);
  border-radius: 50%;
}

.flow-card:nth-of-type(1) .flow-icon {
  background: var(--blue-soft);
}

.flow-card:nth-of-type(2) .flow-icon {
  background: var(--pink);
}

.flow-card:nth-of-type(3) .flow-icon {
  background: var(--green);
}

.icon-search span {
  width: 43px;
  height: 43px;
  border: 4px solid var(--ink);
  border-radius: 50%;
}

.icon-search span::after {
  position: absolute;
  width: 30px;
  height: 4px;
  background: var(--ink);
  content: "";
  transform: translate(31px, 39px) rotate(46deg);
}

.icon-pencil span {
  width: 62px;
  height: 17px;
  border: 3px solid var(--ink);
  border-radius: 2px;
  background: var(--yellow);
  transform: rotate(-43deg);
}

.icon-pencil span::after {
  position: absolute;
  right: 15px;
  bottom: 18px;
  width: 16px;
  height: 16px;
  border-right: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  background: var(--white);
  content: "";
  transform: rotate(-45deg);
}

.icon-flag span {
  width: 5px;
  height: 61px;
  background: var(--ink);
}

.icon-flag span::after {
  position: absolute;
  top: 22px;
  left: 53px;
  width: 37px;
  height: 27px;
  border: 3px solid var(--ink);
  background: var(--coral);
  content: "";
  clip-path: polygon(0 0, 100% 0, 76% 50%, 100% 100%, 0 100%);
}

.flow-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
}

.flow-card h3 {
  margin: 15px 0 18px;
  font-size: clamp(23px, 2vw, 31px);
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.flow-card p {
  margin: 0;
  color: #54514d;
  font-size: 14px;
  line-height: 1.75;
}

.flow-arrow {
  align-self: center;
  font-size: 38px;
  font-weight: 300;
}

.portfolio-index {
  padding-top: clamp(90px, 10vw, 150px);
  padding-bottom: clamp(100px, 12vw, 180px);
  border-top: var(--line);
  background:
    radial-gradient(circle at 92% 8%, rgba(49, 91, 255, 0.12) 0 95px, transparent 96px),
    var(--white);
}

.portfolio-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 64px;
}

.portfolio-more-link {
  display: inline-flex;
  min-width: 168px;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 8px;
  padding: 0 17px;
  border: var(--line);
  border-radius: 10px;
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.portfolio-more-link:hover {
  box-shadow: 1px 1px 0 var(--ink);
  transform: translate(3px, 3px);
}

.portfolio-more-link span {
  font-size: 20px;
}

.manager-tabs button,
.reference-tabs button {
  padding: 9px 14px;
  border: 1.5px solid var(--ink);
  border-radius: 100px;
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

.manager-tabs button:hover,
.manager-tabs button.is-active,
.reference-tabs button:hover,
.reference-tabs button.is-active {
  background: var(--yellow);
  box-shadow: 2px 2px 0 var(--ink);
  transform: translate(-1px, -1px);
}

.public-work-grid {
  display: flex;
  gap: 18px;
  padding: 4px 8px 22px 2px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
  scrollbar-color: var(--ink) #d8d2c9;
  scrollbar-width: auto;
  -webkit-overflow-scrolling: touch;
}

.public-work-grid::-webkit-scrollbar {
  height: 12px;
}

.public-work-grid::-webkit-scrollbar-track {
  border: 1px solid var(--ink);
  border-radius: 100px;
  background: #d8d2c9;
}

.public-work-grid::-webkit-scrollbar-thumb {
  border: 2px solid #d8d2c9;
  border-radius: 100px;
  background: var(--ink);
}

.public-work-card {
  position: relative;
  display: flex;
  min-height: 520px;
  flex-direction: column;
  overflow: hidden;
  padding: 28px;
  border: var(--line);
  border-radius: 26px;
  background: var(--paper);
  box-shadow: 6px 6px 0 var(--ink);
  flex: 0 0 clamp(420px, 48%, 620px);
  scroll-snap-align: start;
  transition: transform 180ms ease, box-shadow 180ms ease;
  cursor: pointer;
}

.public-work-card:nth-child(3n + 1) {
  grid-column: auto;
}

.public-work-card:nth-child(3n + 2) {
  grid-column: auto;
}

.public-work-card:hover {
  box-shadow: 10px 10px 0 var(--ink);
  transform: translate(-3px, -3px);
}

.public-work-card[data-color="yellow"] {
  --work-accent: var(--yellow);
}

.public-work-card[data-color="blue"] {
  --work-accent: var(--blue-soft);
}

.public-work-card[data-color="pink"] {
  --work-accent: var(--pink);
}

.public-work-card[data-color="green"] {
  --work-accent: var(--green);
}

.public-work-head,
.public-work-foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-family: var(--mono);
  font-size: 9px;
}

.public-work-identity {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.work-kind-badge {
  padding: 7px 10px;
  border: 1.5px solid var(--ink);
  border-radius: 100px;
  background: var(--white);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 900;
}

.work-kind-badge.is-lab {
  background: var(--pink);
}

.work-category-badge {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 5px 9px;
  border: 1px solid #918a81;
  border-radius: 100px;
  background: var(--paper);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  white-space: nowrap;
}

.public-work-art {
  position: relative;
  height: 210px;
  margin: 24px 0 30px;
  overflow: hidden;
  border: var(--line);
  border-radius: 18px;
  background:
    linear-gradient(90deg, transparent 49%, rgba(23, 23, 23, 0.13) 50%, transparent 51%) 0 0 / 42px 42px,
    linear-gradient(transparent 49%, rgba(23, 23, 23, 0.13) 50%, transparent 51%) 0 0 / 42px 42px,
    var(--work-accent);
}

.public-work-art::before,
.public-work-art::after {
  position: absolute;
  border: var(--line);
  content: "";
}

.public-work-art::before {
  top: 28px;
  right: 9%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--white);
}

.public-work-art::after {
  bottom: 22px;
  left: 8%;
  width: 48%;
  height: 58px;
  background: var(--blue);
  box-shadow: 6px 6px 0 var(--ink);
  transform: rotate(-5deg);
}

.public-work-art strong {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  font-family: var(--display);
  font-size: clamp(48px, 5.5vw, 83px);
  font-weight: 400;
  line-height: 0.9;
  transform: translate(-50%, -50%) rotate(-4deg);
  -webkit-text-stroke: 1px var(--white);
}

.public-work-art.has-uploaded-media {
  background: var(--ink);
}

.public-work-art.has-uploaded-media::before,
.public-work-art.has-uploaded-media::after,
.public-work-art.has-uploaded-media > strong {
  display: none;
}

.public-work-art .uploaded-media,
.archive-work-media .uploaded-media,
.reference-card-media .uploaded-media,
.manager-media-preview .uploaded-media,
.pending-media-preview .uploaded-media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.public-work-art video.uploaded-media,
.archive-work-media video.uploaded-media,
.reference-card-media video.uploaded-media {
  background: var(--ink);
}

.public-work-card h3 {
  position: relative;
  z-index: 2;
  margin: 0 0 13px;
  font-size: clamp(25px, 2.5vw, 37px);
  line-height: 1.25;
  letter-spacing: -0.045em;
}

.public-work-card > p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: #625e58;
  font-size: 13px;
  line-height: 1.75;
}

.public-work-foot {
  align-items: end;
  margin-top: auto;
  padding-top: 28px;
}

.public-work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.public-work-tags span {
  padding: 6px 8px;
  border: 1px solid #8b857d;
  border-radius: 100px;
  font-size: 8px;
}

.public-work-foot > b {
  font-family: var(--display);
  font-size: 25px;
  font-weight: 400;
}

.public-work-empty,
.manager-empty {
  padding: 70px 25px;
  border: 2px dashed #918b83;
  border-radius: 22px;
  color: #736e67;
  text-align: center;
}

.public-work-empty span {
  font-family: var(--mono);
  font-size: 9px;
}

.public-work-empty p {
  margin: 8px 0 0;
  font-weight: 700;
}

/* Public Works page */
.public-works-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 92% 10%, rgba(49, 91, 255, 0.12) 0 110px, transparent 111px),
    var(--white);
}

.primary-nav .is-current::after {
  transform: scaleX(1) !important;
}

.works-public-main {
  min-height: calc(100vh - 190px);
}

.works-directory {
  padding-top: clamp(90px, 10vw, 150px);
  padding-bottom: clamp(100px, 11vw, 160px);
}

.works-directory-heading {
  display: grid;
  align-items: end;
  gap: 50px;
  margin-bottom: 58px;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
}

.works-directory-kicker {
  margin: 0 0 18px;
  color: #6f6961;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.works-directory-heading h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(66px, 8vw, 126px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.works-directory-heading h1 span {
  color: var(--blue);
}

.works-directory-heading > p {
  max-width: 520px;
  margin: 0 0 8px;
  color: #625e58;
  font-size: 15px;
  line-height: 1.8;
}

.works-page-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #aaa39a;
}

.works-page-toolbar[hidden] {
  display: none;
}

.works-page-filters {
  display: flex;
  flex: 1;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
  padding: 2px 2px 4px;
  scrollbar-width: thin;
}

.works-page-filter {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 8px 15px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.works-page-filter::before {
  content: "▦";
  margin-right: 7px;
  color: #989188;
}

.works-page-filter:hover,
.works-page-filter:focus-visible {
  background: #f1eee7;
}

.works-page-filter.is-active {
  background: var(--yellow);
  box-shadow: 3px 3px 0 var(--ink);
}

.works-page-filter.is-active::before {
  color: var(--blue);
}

.works-page-status {
  flex: 0 0 auto;
  padding-bottom: 5px;
  color: #68635d;
  font-family: var(--mono);
  font-size: 11px;
  text-align: right;
  white-space: nowrap;
}

.works-page-status:empty {
  display: none;
}

.works-page-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.works-page-loading {
  position: relative;
  display: grid;
  min-height: 430px;
  place-items: center;
  overflow: hidden;
  border: var(--line);
  border-radius: 26px;
  background:
    linear-gradient(135deg, transparent 48%, rgba(23, 23, 23, 0.09) 49%, rgba(23, 23, 23, 0.09) 51%, transparent 52%) 0 0 / 34px 34px,
    var(--yellow);
  box-shadow: 7px 7px 0 var(--ink);
  grid-column: 1 / -1;
}

.works-page-loading span {
  font-family: var(--display);
  font-size: clamp(70px, 10vw, 150px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.04em;
  -webkit-text-stroke: 1px var(--white);
}

.works-page-loading.is-error {
  align-content: center;
  gap: 18px;
  background: var(--pink);
  text-align: center;
}

.works-page-loading.is-error p {
  margin: 0;
  font-size: 14px;
}

.works-page-grid .public-work-card,
.works-page-grid .public-work-card:nth-child(n) {
  width: auto;
  min-width: 0;
  min-height: 520px;
  grid-column: auto;
}

.works-page-footer {
  background: var(--paper);
}

.works {
  padding-top: clamp(90px, 10vw, 150px);
  padding-bottom: clamp(100px, 12vw, 180px);
  background: var(--ink);
  color: var(--white);
}

.works-intro {
  display: grid;
  align-items: end;
  margin-bottom: 100px;
  grid-template-columns: 1fr 0.7fr;
}

.works-intro .section-title span,
.timeline .section-title span {
  color: var(--yellow);
}

.works-intro > p {
  max-width: 450px;
  margin: 0 0 10px auto;
  color: #b9b5ae;
  font-size: 15px;
  line-height: 1.8;
}

.case {
  display: grid;
  overflow: hidden;
  margin-bottom: 38px;
  border: 2px solid var(--white);
  border-radius: 32px;
  background: #232323;
  grid-template-columns: minmax(0, 1.15fr) minmax(400px, 0.85fr);
}

.case-visual {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  border-right: 2px solid var(--white);
  color: var(--ink);
}

.case-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 4.4vw, 70px);
}

.case-index {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid #545454;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
}

.case-index span {
  color: #aaa49b;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
}

.case-copy h3 {
  margin: 39px 0 44px;
  font-size: clamp(29px, 3vw, 46px);
  line-height: 1.27;
  letter-spacing: -0.045em;
}

.case-facts {
  margin: 0;
}

.case-facts > div {
  display: grid;
  gap: 18px;
  padding: 15px 0;
  border-top: 1px solid #3e3e3e;
  grid-template-columns: 94px 1fr;
}

.case-facts dt {
  color: var(--yellow);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
}

.case-facts dd {
  margin: 0;
  color: #d1cdc5;
  font-size: 13px;
  line-height: 1.7;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 35px;
}

.case-tags span {
  padding: 7px 10px;
  border: 1px solid #6d6d6d;
  border-radius: 50px;
  color: #bcb7af;
  font-family: var(--mono);
  font-size: 8px;
}

.more-work-panel {
  display: grid;
  align-items: end;
  gap: 55px;
  margin-top: 70px;
  padding: clamp(30px, 4vw, 58px);
  border: 2px solid var(--white);
  border-radius: 30px;
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 9px 9px 0 var(--blue);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
}

.more-work-panel > div:first-child > span,
.experience-toolkit > div:first-child > span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.more-work-panel h3 {
  margin: 18px 0;
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1.16;
  letter-spacing: -0.045em;
}

.more-work-panel p {
  max-width: 620px;
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
}

.more-work-links {
  display: grid;
  gap: 12px;
}

.more-work-links a {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 20px;
  border: 2px solid var(--ink);
  border-radius: 15px;
  background: var(--white);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.more-work-links a:hover {
  box-shadow: 1px 1px 0 var(--ink);
  transform: translate(3px, 3px);
}

.more-work-links span {
  font-family: var(--mono);
  font-size: 9px;
}

.more-work-links b {
  font-size: 15px;
}

.visual-event {
  background:
    radial-gradient(circle, rgba(23, 23, 23, 0.26) 1px, transparent 1.5px) 0 0 / 18px 18px,
    var(--blue-soft);
}

.visual-topline {
  position: absolute;
  top: 30px;
  right: 34px;
  left: 34px;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 9px;
}

.map-route {
  position: absolute;
  inset: 80px 40px 50px;
}

.route-line {
  position: absolute;
  display: block;
  height: 6px;
  border: 2px solid var(--ink);
  border-radius: 100%;
  background: var(--yellow);
}

.line-one {
  top: 38%;
  left: 4%;
  width: 79%;
  transform: rotate(24deg);
}

.line-two {
  top: 55%;
  left: 13%;
  width: 70%;
  transform: rotate(-29deg);
}

.map-dot {
  position: absolute;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: var(--line);
  border-radius: 50% 50% 50% 8px;
  background: var(--coral);
  font-family: var(--display);
  font-style: normal;
  font-size: 23px;
  transform: rotate(-45deg);
}

.map-dot::first-letter {
  transform: rotate(45deg);
}

.dot-one {
  top: 16%;
  left: 5%;
}

.dot-two {
  top: 50%;
  left: 55%;
  background: var(--yellow);
}

.dot-three {
  right: 3%;
  bottom: 8%;
  background: var(--green);
}

.event-ticket {
  position: absolute;
  bottom: 48px;
  left: 42px;
  display: flex;
  width: 285px;
  min-height: 155px;
  flex-direction: column;
  justify-content: center;
  padding: 24px 34px;
  border: var(--line);
  background: var(--white);
  box-shadow: 8px 8px 0 var(--ink);
  transform: rotate(-5deg);
}

.event-ticket::before,
.event-ticket::after {
  position: absolute;
  top: 62px;
  width: 22px;
  height: 30px;
  border: var(--line);
  background: var(--blue-soft);
  content: "";
}

.event-ticket::before {
  left: -3px;
  border-left: 0;
  border-radius: 0 20px 20px 0;
}

.event-ticket::after {
  right: -3px;
  border-right: 0;
  border-radius: 20px 0 0 20px;
}

.event-ticket small,
.event-ticket span {
  font-family: var(--mono);
  font-size: 9px;
}

.event-ticket strong {
  font-family: var(--display);
  font-size: 61px;
  font-weight: 400;
  line-height: 1.1;
}

.event-sticker {
  position: absolute;
  top: 116px;
  right: 55px;
  display: grid;
  width: 118px;
  height: 118px;
  place-items: center;
  border: var(--line);
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 5px 5px 0 var(--ink);
  color: var(--white);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.1;
  text-align: center;
  transform: rotate(10deg);
}

.event-sticker b {
  font-family: var(--display);
  font-size: 27px;
  font-weight: 400;
}

.visual-system {
  background:
    linear-gradient(90deg, transparent 49%, rgba(23, 23, 23, 0.12) 50%, transparent 51%) 0 0 / 52px 52px,
    linear-gradient(transparent 49%, rgba(23, 23, 23, 0.12) 50%, transparent 51%) 0 0 / 52px 52px,
    var(--green);
}

.sheet-window {
  position: absolute;
  top: 86px;
  right: 60px;
  left: 60px;
  min-height: 370px;
  overflow: hidden;
  border: var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 10px 10px 0 var(--ink);
  transform: rotate(2deg);
}

.sheet-bar {
  display: flex;
  height: 48px;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-bottom: var(--line);
  background: #e6e2db;
}

.sheet-bar i {
  width: 9px;
  height: 9px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--coral);
}

.sheet-bar i:nth-child(2) {
  background: var(--yellow);
}

.sheet-bar i:nth-child(3) {
  background: var(--green);
}

.sheet-bar span {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 8px;
}

.sheet-grid {
  position: relative;
  height: 262px;
  background-image: linear-gradient(#d2cec8 1px, transparent 1px), linear-gradient(90deg, #d2cec8 1px, transparent 1px);
  background-size: 52px 39px;
}

.cell {
  position: absolute;
  display: grid;
  height: 39px;
  place-items: center;
  border: 2px solid var(--ink);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
}

.cell-a {
  top: 39px;
  left: 52px;
  width: 104px;
  background: var(--yellow);
}

.cell-b {
  top: 117px;
  left: 156px;
  width: 156px;
  background: var(--blue-soft);
}

.cell-c {
  top: 78px;
  right: 0;
  width: 104px;
  background: var(--pink);
}

.cell-d {
  right: 52px;
  bottom: 0;
  width: 104px;
  background: var(--green);
}

.sheet-formula {
  padding: 16px;
  border-top: var(--line);
  font-family: var(--mono);
  font-size: 10px;
}

.system-stat {
  position: absolute;
  display: flex;
  width: 155px;
  height: 155px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: var(--line);
  border-radius: 50%;
  box-shadow: 6px 6px 0 var(--ink);
}

.system-stat strong {
  font-family: var(--display);
  font-size: 51px;
  font-weight: 400;
  line-height: 1;
}

.system-stat span {
  font-size: 11px;
  font-weight: 800;
}

.stat-half {
  bottom: 35px;
  left: 32px;
  background: var(--coral);
  transform: rotate(-9deg);
}

.stat-time {
  right: 36px;
  bottom: 26px;
  background: var(--yellow);
  transform: rotate(6deg);
}

.cursor-tag {
  position: absolute;
  top: 48px;
  right: 34px;
  padding: 10px 13px;
  border: var(--line);
  background: var(--blue);
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--white);
  font-family: var(--mono);
  font-size: 9px;
  transform: rotate(5deg);
}

.visual-story {
  background: var(--pink);
}

.film-strip {
  position: absolute;
  right: 0;
  left: 0;
  z-index: 2;
  display: flex;
  height: 56px;
  align-items: center;
  justify-content: space-around;
  border-bottom: var(--line);
  background: var(--ink);
}

.film-strip i {
  width: 58px;
  height: 25px;
  border-radius: 3px;
  background: var(--white);
}

.film-bottom {
  top: auto;
  bottom: 0;
  border-top: var(--line);
  border-bottom: 0;
}

.film-screen {
  position: absolute;
  top: 56px;
  right: 0;
  bottom: 56px;
  left: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 8%, var(--yellow) 0 60px, transparent 61px),
    linear-gradient(var(--blue-soft) 0 49%, #d7bd89 50% 100%);
}

.market-awning {
  position: absolute;
  top: 80px;
  left: 10%;
  width: 80%;
  height: 90px;
  border: var(--line);
  background: repeating-linear-gradient(90deg, var(--coral) 0 48px, var(--white) 48px 96px);
  clip-path: polygon(0 0, 100% 0, 90% 100%, 84% 76%, 77% 100%, 69% 76%, 62% 100%, 54% 76%, 46% 100%, 38% 76%, 31% 100%, 23% 76%, 16% 100%, 10% 76%);
}

.market-stall {
  position: absolute;
  bottom: 45px;
  width: 195px;
  height: 225px;
  border: var(--line);
  background: var(--white);
}

.market-stall::before {
  position: absolute;
  top: 28px;
  right: 22px;
  left: 22px;
  height: 70px;
  border: var(--line);
  background: repeating-linear-gradient(-45deg, var(--green) 0 14px, var(--yellow) 14px 28px);
  content: "";
}

.market-stall::after {
  position: absolute;
  right: 35px;
  bottom: 26px;
  left: 35px;
  height: 72px;
  border: var(--line);
  background: var(--blue-soft);
  content: "";
}

.stall-one {
  left: 5%;
  transform: rotate(-4deg);
}

.stall-two {
  right: 5%;
  transform: rotate(4deg);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: grid;
  width: 110px;
  height: 110px;
  place-items: center;
  border: var(--line);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 6px 6px 0 var(--ink);
  font-size: 38px;
  transform: translate(-50%, -50%);
}

.award-seal {
  position: absolute;
  right: 32px;
  bottom: 75px;
  z-index: 4;
  display: flex;
  width: 132px;
  height: 132px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 5px 5px 0 var(--ink);
  color: var(--white);
  transform: rotate(9deg);
}

.award-seal strong {
  font-family: var(--display);
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
}

.award-seal span {
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.2;
  text-align: center;
}

.story-caption {
  position: absolute;
  top: 78px;
  left: 27px;
  z-index: 5;
  padding: 10px 14px;
  border: var(--line);
  background: var(--white);
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 16px;
  font-weight: 900;
  transform: rotate(-3deg);
}

.numbers {
  overflow: hidden;
  border-top: var(--line);
  border-bottom: var(--line);
  background: var(--yellow);
}

.numbers-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.number-card {
  min-height: 320px;
  padding: 38px 28px;
  border-right: var(--line);
}

.number-card:first-child {
  border-left: var(--line);
}

.number-card > span {
  display: block;
  margin-bottom: 32px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.number-card strong {
  display: inline-block;
  font-family: var(--display);
  font-size: clamp(82px, 8vw, 126px);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: -0.06em;
}

.number-card em {
  margin-left: 6px;
  font-family: var(--mono);
  font-size: 10px;
  font-style: normal;
  font-weight: 500;
}

.number-card p {
  margin: 28px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.scope-heading {
  display: grid;
  align-items: end;
  gap: 60px;
  grid-template-columns: 1.3fr 0.7fr;
}

.scope-heading > p {
  max-width: 430px;
  margin: 0 0 12px;
  color: #605c55;
  font-size: 15px;
  line-height: 1.8;
}

.scope-board {
  display: grid;
  margin-top: 90px;
  border-top: var(--line);
  border-left: var(--line);
  grid-template-columns: repeat(4, 1fr);
}

.scope-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  padding: 26px;
  border-right: var(--line);
  border-bottom: var(--line);
}

.scope-blue {
  background: var(--blue-soft);
}

.scope-pink {
  background: var(--pink);
}

.scope-green {
  background: var(--green);
}

.scope-yellow {
  background: var(--yellow);
}

.scope-top {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
}

.scope-top i {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  font-style: normal;
}

.scope-card h3 {
  margin: 60px 0 17px;
  font-family: var(--display);
  font-size: clamp(36px, 3.3vw, 52px);
  font-weight: 400;
  line-height: 1;
}

.scope-card p {
  position: relative;
  z-index: 2;
  max-width: 230px;
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
}

.scope-doodle {
  position: absolute;
  right: 15px;
  bottom: 15px;
  width: 150px;
  height: 150px;
}

.doodle-plan span {
  position: absolute;
  display: block;
  border: var(--line);
  border-radius: 50%;
}

.doodle-plan span:nth-child(1) {
  inset: 0;
  background: var(--white);
}

.doodle-plan span:nth-child(2) {
  inset: 28px;
  background: var(--coral);
}

.doodle-plan span:nth-child(3) {
  inset: 57px;
  background: var(--yellow);
}

.doodle-make span {
  position: absolute;
  inset: 10px 35px;
  border: var(--line);
  background: var(--white);
  transform: rotate(35deg);
}

.doodle-make span::before {
  position: absolute;
  inset: 15px;
  border: 2px dashed var(--ink);
  content: "";
}

.doodle-run span:first-child {
  position: absolute;
  right: 30px;
  bottom: 18px;
  width: 9px;
  height: 123px;
  background: var(--ink);
  transform: rotate(16deg);
}

.doodle-run span:last-child {
  position: absolute;
  top: 4px;
  right: 12px;
  width: 77px;
  height: 68px;
  border: var(--line);
  background: var(--coral);
  clip-path: polygon(0 0, 100% 0, 78% 50%, 100% 100%, 0 100%);
  transform: rotate(16deg);
}

.doodle-improve span {
  position: absolute;
  right: 0;
  left: 0;
  height: 19px;
  border: var(--line);
  background: var(--white);
  transform-origin: right center;
}

.doodle-improve span:nth-child(1) {
  top: 20px;
  transform: rotate(-17deg);
}

.doodle-improve span:nth-child(2) {
  top: 66px;
  background: var(--blue-soft);
  transform: rotate(4deg) scaleX(0.75);
}

.doodle-improve span:nth-child(3) {
  top: 109px;
  background: var(--pink);
  transform: rotate(-7deg) scaleX(0.5);
}

.manifesto {
  position: relative;
  max-width: 1030px;
  margin: 160px auto 0;
  padding: 70px 80px;
  border: var(--line);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 12px 12px 0 var(--blue);
  text-align: center;
  transform: rotate(-1deg);
}

.manifesto .quote-mark {
  position: absolute;
  top: -61px;
  left: 7%;
  font-family: Georgia, serif;
  font-size: 164px;
  line-height: 1;
}

.manifesto p {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 50px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.045em;
}

.manifesto strong {
  position: relative;
  z-index: 1;
  font-weight: 900;
}

.manifesto strong::after {
  position: absolute;
  right: -2%;
  bottom: -3px;
  left: -2%;
  z-index: -1;
  height: 18px;
  background: var(--yellow);
  content: "";
  transform: rotate(-1deg);
}

.manifesto footer {
  margin-top: 27px;
  font-family: var(--mono);
  font-size: 9px;
}

.timeline {
  padding-top: clamp(90px, 10vw, 150px);
  padding-bottom: clamp(100px, 12vw, 170px);
  background: var(--blue);
  color: var(--white);
}

.timeline-grid {
  display: grid;
  gap: 90px;
  grid-template-columns: 0.9fr 1.1fr;
}

.timeline-summary {
  max-width: 560px;
  margin: 44px 0 0;
  color: #d9e2ff;
  font-size: 15px;
  line-height: 1.9;
}

.career-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.career-list li {
  display: grid;
  align-items: start;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  grid-template-columns: 86px 1fr auto;
}

.career-list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.career-list time,
.career-list i {
  font-family: var(--mono);
  font-size: 9px;
  font-style: normal;
}

.career-list i {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 1px solid var(--white);
  border-radius: 50%;
}

.career-list li:first-child i {
  border-color: var(--ink);
  background: var(--yellow);
  color: var(--ink);
}

.career-list strong,
.career-list span {
  display: block;
}

.career-list strong {
  margin-top: -4px;
  font-size: 18px;
}

.career-list span {
  margin-top: 7px;
  color: #c3d0ff;
  font-size: 12px;
}

.experience-toolkit {
  display: grid;
  gap: 70px;
  margin-top: 85px;
  padding-top: 55px;
  border-top: 2px solid rgba(255, 255, 255, 0.65);
  grid-template-columns: 0.9fr 1.1fr;
}

.experience-toolkit h3 {
  margin: 18px 0;
  font-size: clamp(28px, 3.4vw, 50px);
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.experience-toolkit > div:first-child > p {
  max-width: 540px;
  margin: 0;
  color: #d9e2ff;
  font-size: 14px;
  line-height: 1.8;
}

.toolkit-groups {
  display: grid;
  gap: 25px;
}

.toolkit-groups > div {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.toolkit-groups b {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
}

.toolkit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 14px 0 0;
}

.toolkit-tags span {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 99px;
  color: #e8edff;
  font-family: var(--mono);
  font-size: 10px;
}

.contact {
  position: relative;
  display: flex;
  min-height: 660px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: var(--line);
  background: var(--pink);
  text-align: center;
}

.contact::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(23, 23, 23, 0.16) 1.5px, transparent 1.5px) 0 0 / 22px 22px;
  content: "";
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
}

.contact-kicker,
.contact h2,
.contact-note,
.contact-button {
  position: relative;
  z-index: 2;
}

.contact-kicker {
  margin: 0 0 25px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.contact h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(66px, 9vw, 145px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.contact h2 span {
  color: var(--yellow);
  -webkit-text-stroke: 2px var(--ink);
}

.contact-note {
  display: flex;
  margin: 34px 0 38px;
  align-items: center;
  justify-content: center;
  gap: 10px 22px;
  flex-wrap: wrap;
  font-style: normal;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
}

.contact-note strong {
  font-size: 16px;
}

.contact-note a {
  border-bottom: 1px solid currentColor;
}

.contact-note a:hover {
  border-bottom-color: transparent;
}

.contact-button {
  display: inline-flex;
  width: 180px;
  height: 88px;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  border: var(--line);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 6px 6px 0 var(--ink);
  cursor: pointer;
  transform: rotate(-3deg);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.contact-button:hover {
  box-shadow: 2px 2px 0 var(--ink);
  transform: translate(4px, 4px) rotate(2deg);
}

.contact-button span {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
}

.contact-button b {
  font-size: 26px;
}

.contact-shape {
  position: absolute;
  z-index: 1;
  border: var(--line);
}

.shape-one {
  top: 14%;
  left: 6%;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 8px 8px 0 var(--ink);
}

.shape-one::after {
  position: absolute;
  inset: 34px;
  border: var(--line);
  border-radius: 50%;
  background: var(--yellow);
  content: "";
}

.shape-two {
  right: 6%;
  bottom: 13%;
  width: 120px;
  height: 160px;
  background: repeating-linear-gradient(45deg, var(--green) 0 15px, var(--white) 15px 30px);
  box-shadow: 8px 8px 0 var(--ink);
  transform: rotate(13deg);
}

.site-footer {
  display: grid;
  min-height: 230px;
  align-items: center;
  justify-content: start;
  gap: clamp(60px, 9vw, 150px);
  padding: 42px max(28px, calc((100vw - 1440px) / 2 + 50px));
  background: var(--paper);
  width: 100%;
  grid-template-columns: max-content max-content minmax(160px, 1fr);
}

.site-footer > div {
  display: flex;
  flex-direction: column;
}

.site-footer strong {
  font-family: var(--display);
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
}

.site-footer span,
.site-footer p {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.04em;
}

.site-footer p {
  margin: 0;
  text-align: center;
}

.footer-contact-info {
  display: grid;
  justify-items: start;
  gap: 7px;
  font-style: normal;
  justify-self: start;
}

.footer-contact-info > span {
  color: #777168;
  letter-spacing: 0.1em;
}

.footer-contact-info > strong {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 800;
}

.footer-contact-info > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-contact-info a {
  border-bottom: 1px solid #8f8980;
  font-family: var(--mono);
  font-size: 12px;
  transition: border-color 150ms ease, color 150ms ease;
}

.footer-contact-info a:hover {
  border-color: transparent;
  color: var(--blue);
}

.footer-actions {
  align-items: flex-end;
  gap: 12px;
}

.footer-email {
  display: inline-flex;
  padding: 11px 14px;
  border: var(--line);
  border-radius: 100px;
  background: var(--yellow);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.footer-email:hover {
  box-shadow: 1px 1px 0 var(--ink);
  transform: translate(2px, 2px);
}

.footer-actions > p {
  color: #777168;
  text-align: right;
}

.floating-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  align-content: center;
  gap: 1px;
  border: var(--line);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 5px 5px 0 var(--ink);
  color: var(--ink);
  font-family: var(--mono);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.floating-top:hover {
  box-shadow: 2px 2px 0 var(--ink);
  transform: translate(3px, 3px);
}

.floating-top span {
  font-size: 9px;
  font-weight: 800;
}

.floating-top b {
  font-size: 21px;
  line-height: 1;
}

.archive-entry {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
  padding: 8px;
  border: 0;
  border-bottom: 1px dotted #99938b;
  background: transparent;
  color: #89847c;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  transition: color 180ms ease, border-color 180ms ease;
}

.archive-entry:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.lock-icon {
  position: relative;
  width: 11px;
  height: 9px;
  border: 1px solid currentColor;
  border-radius: 2px;
}

.lock-icon::before {
  position: absolute;
  top: -7px;
  left: 2px;
  width: 5px;
  height: 7px;
  border: 1px solid currentColor;
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
  content: "";
}

.js .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1), transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

.js .flow-card.reveal.is-visible:nth-of-type(1) {
  transform: rotate(-1.5deg);
}

.js .flow-card.reveal.is-visible:nth-of-type(2) {
  transform: translateY(18px) rotate(1deg);
}

.js .flow-card.reveal.is-visible:nth-of-type(3) {
  transform: rotate(-0.5deg);
}

/* Login */
.login-dialog {
  width: min(92vw, 500px);
  max-height: 92vh;
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 28px;
  background: transparent;
}

.login-dialog::backdrop {
  background: rgba(23, 23, 23, 0.78);
  backdrop-filter: blur(6px);
}

.login-paper {
  position: relative;
  max-height: 92vh;
  overflow-y: auto;
  padding: 42px 46px 34px;
  border: var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 10%, rgba(49, 91, 255, 0.12) 0 55px, transparent 56px),
    var(--white);
  box-shadow: 10px 10px 0 var(--yellow);
}

.dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: var(--line);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
  font-size: 21px;
  line-height: 1;
}

.login-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.login-icon {
  position: relative;
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  margin: 28px 0 18px;
  border: var(--line);
  border-radius: 50%;
  background: var(--yellow);
  transform: rotate(-5deg);
}

.login-icon span {
  position: relative;
  width: 33px;
  height: 27px;
  border: 3px solid var(--ink);
  border-radius: 5px;
  background: var(--white);
}

.login-icon span::before {
  position: absolute;
  top: -24px;
  left: 5px;
  width: 17px;
  height: 24px;
  border: 3px solid var(--ink);
  border-bottom: 0;
  border-radius: 13px 13px 0 0;
  content: "";
}

.login-icon span::after {
  position: absolute;
  top: 8px;
  left: 12px;
  width: 5px;
  height: 9px;
  border-radius: 5px;
  background: var(--ink);
  content: "";
}

.login-paper h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 47px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.login-paper > p {
  margin: 14px 0 28px;
  color: #65615b;
  font-size: 13px;
}

.login-paper form > label {
  display: block;
  margin: 16px 0 7px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
}

.login-paper input {
  width: 100%;
  height: 49px;
  padding: 0 14px;
  border: var(--line);
  border-radius: 10px;
  background: var(--paper);
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 66px;
}

.password-field button {
  position: absolute;
  top: 50%;
  right: 11px;
  padding: 5px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 8px;
  transform: translateY(-50%);
}

.login-error {
  min-height: 21px;
  margin: 9px 0 4px;
  color: #d82418;
  font-size: 11px;
  font-weight: 700;
}

.login-submit {
  display: flex;
  width: 100%;
  height: 54px;
  align-items: center;
  justify-content: space-between;
  padding: 0 19px;
  border: var(--line);
  border-radius: 10px;
  background: var(--blue);
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--white);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 10px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.login-submit:hover {
  box-shadow: 1px 1px 0 var(--ink);
  transform: translate(3px, 3px);
}

.login-submit b {
  font-size: 20px;
}

.manager-dialog {
  width: min(92vw, 720px);
  max-height: 92vh;
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 24px;
  background: transparent;
}

#workDialog {
  width: min(94vw, 900px);
}

.manager-dialog::backdrop {
  background: rgba(23, 23, 23, 0.76);
  backdrop-filter: blur(7px);
}

.work-detail-dialog {
  width: min(94vw, 920px);
  max-height: 94vh;
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 24px;
  background: transparent;
}

.work-detail-dialog::backdrop {
  background: rgba(23, 23, 23, 0.64);
  backdrop-filter: blur(3px);
}

.work-detail-paper {
  --detail-accent: var(--yellow);
  position: relative;
  max-height: 92vh;
  padding: clamp(28px, 4.5vw, 54px);
  overflow-y: auto;
  border: var(--line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, var(--detail-accent) 0 11px, transparent 11px),
    var(--white);
  box-shadow: 10px 10px 0 var(--detail-accent);
}

.work-detail-paper[data-color="blue"] {
  --detail-accent: var(--blue-soft);
}

.work-detail-paper[data-color="pink"] {
  --detail-accent: var(--pink);
}

.work-detail-paper[data-color="green"] {
  --detail-accent: var(--green);
}

.work-detail-paper .dialog-close {
  z-index: 4;
}

.work-detail-kicker {
  margin: 0 50px 18px 0;
  color: #6f6961;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.work-detail-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 16px;
}

.work-detail-badges time,
.work-detail-publish {
  padding: 6px 9px;
  border: 1px solid #918a81;
  border-radius: 100px;
  background: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
}

.work-detail-badges .work-kind-badge,
.work-detail-badges .work-category-badge {
  min-height: 31px;
  padding: 7px 11px;
  font-size: 11px;
}

.work-detail-publish.is-published {
  border-color: var(--ink);
  background: var(--yellow);
}

.work-detail-paper h2 {
  max-width: 780px;
  margin: 0 45px 30px 0;
  font-family: var(--display);
  font-size: clamp(34px, 4.8vw, 52px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.work-detail-gallery {
  display: grid;
  gap: 16px;
  margin: 0 0 34px;
}

.work-detail-body {
  display: grid;
  gap: 22px;
  margin: 0 0 30px;
}

.work-detail-body.is-legacy {
  display: block;
  margin-bottom: 0;
}

.work-detail-body .work-detail-media-item {
  margin: 0;
}

.work-detail-text-block {
  padding: 26px 0;
  border-top: var(--line);
  border-bottom: var(--line);
}

.work-detail-text-block p {
  margin: 0;
  font-size: 17px;
  line-height: 1.85;
  white-space: pre-wrap;
}

.work-detail-media-item {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  overflow: hidden;
  border: var(--line);
  border-radius: 16px;
  background: var(--ink);
}

.work-detail-image,
.work-detail-media-item > .uploaded-media,
.work-detail-video {
  display: block;
  width: 100%;
  max-height: 72vh;
  border: 0;
  object-fit: contain;
}

.work-detail-video,
.work-detail-media-item > video.uploaded-media {
  aspect-ratio: 16 / 9;
  min-height: 360px;
}

.work-detail-gallery.is-empty {
  min-height: 330px;
  place-items: center;
  border: var(--line);
  border-radius: 16px;
  background:
    linear-gradient(135deg, transparent 48%, rgba(23, 23, 23, 0.1) 49%, rgba(23, 23, 23, 0.1) 51%, transparent 52%) 0 0 / 32px 32px,
    var(--detail-accent);
}

.work-detail-no-media,
.work-detail-media-fallback {
  font-family: var(--display);
  font-size: clamp(48px, 10vw, 108px);
  line-height: 0.9;
  -webkit-text-stroke: 1px var(--white);
}

.work-detail-copy {
  display: grid;
  gap: 18px;
  padding: 28px 0;
  border-top: var(--line);
  border-bottom: var(--line);
  grid-template-columns: 120px minmax(0, 1fr);
}

.work-detail-copy > span,
.work-detail-progress span {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
}

.work-detail-copy p {
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
  white-space: pre-wrap;
}

.work-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 24px 0 30px;
}

.work-detail-tags span {
  padding: 7px 10px;
  border: 1px solid #918a81;
  border-radius: 100px;
  background: var(--paper);
  font-size: 12px;
}

.work-detail-progress > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
}

.work-detail-progress strong {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 400;
}

.work-detail-progress > div:last-child {
  height: 13px;
  overflow: hidden;
  border: var(--line);
  border-radius: 100px;
  background: var(--paper);
}

.work-detail-progress i {
  display: block;
  height: 100%;
  background: var(--blue);
}

.manager-paper {
  position: relative;
  max-height: 92vh;
  overflow-y: auto;
  padding: 38px;
  border: var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 9px 9px 0 var(--yellow);
}

.manager-kicker {
  margin: 0 0 7px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.manager-paper > h2 {
  margin: 0 0 28px;
  font-family: var(--display);
  font-size: 44px;
  font-weight: 400;
  line-height: 1;
}

.manager-form-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}

.manager-form-grid label > span,
.reference-search-row label > span {
  display: block;
  margin-bottom: 7px;
  font-family: var(--mono);
  font-size: 8px;
}

.manager-form-grid .span-two {
  grid-column: span 2;
}

.manager-form-grid input,
.manager-form-grid select,
.manager-form-grid textarea,
.reference-search-row input,
.reference-search-row select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  background: var(--paper);
  font-size: 12px;
}

.manager-form-grid textarea {
  min-height: 96px;
  resize: vertical;
}

.publish-switch {
  display: grid;
  align-items: center;
  gap: 3px 12px;
  margin-top: 22px;
  padding: 15px;
  border: 1.5px solid var(--ink);
  border-radius: 11px;
  background: var(--yellow-2);
  cursor: pointer;
  grid-template-columns: auto auto 1fr;
}

.publish-switch input {
  position: absolute;
  opacity: 0;
}

.publish-switch > span {
  position: relative;
  width: 42px;
  height: 23px;
  border: 1.5px solid var(--ink);
  border-radius: 20px;
  background: var(--white);
}

.publish-switch > span::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--coral);
  content: "";
  transition: transform 160ms ease;
}

.publish-switch input:checked + span {
  background: var(--blue);
}

.publish-switch input:checked + span::after {
  background: var(--green);
  transform: translateX(19px);
}

.publish-switch b {
  font-size: 12px;
}

.publish-switch small {
  color: #655f57;
  font-size: 9px;
  grid-column: 2 / -1;
}

.confirm-check {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  font-size: 11px;
  font-weight: 700;
}

.confirm-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}

.manager-form-error {
  min-height: 17px;
  margin: 8px 0;
  color: #d82418;
  font-size: 10px;
  font-weight: 700;
}

.manager-submit {
  display: flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  padding: 0 17px;
  border: var(--line);
  border-radius: 9px;
  background: var(--blue);
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--white);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 9px;
}

.manager-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.manager-actions {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.manager-actions .manager-submit {
  flex: 1;
}

.manager-delete {
  padding: 0 16px;
  border: var(--line);
  border-radius: 9px;
  background: var(--pink);
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--mono);
  font-weight: 800;
}

.manager-delete:disabled {
  cursor: wait;
  opacity: 0.58;
}

.manager-media-section {
  padding: 15px;
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  background: #f7f3eb;
}

.manager-media-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.manager-media-title span {
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 800;
}

.manager-media-title small {
  color: #746f67;
  font-size: 8px;
}

.media-drop {
  display: grid;
  min-height: 92px;
  place-items: center;
  align-content: center;
  gap: 5px;
  padding: 16px;
  border: 1.5px dashed #8e877e;
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  text-align: center;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.media-drop:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
  transform: translateY(-1px);
}

.manager-form-grid .media-drop input {
  display: none;
}

.media-drop > span {
  margin: 0;
  font-size: 12px;
  font-weight: 900;
}

.media-drop small {
  color: #777168;
  font-size: 8px;
  line-height: 1.5;
}

.manager-media-list,
.pending-media-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.manager-media-item,
.pending-media-item {
  display: grid;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid #aaa39a;
  border-radius: 9px;
  background: var(--white);
  grid-template-columns: 76px minmax(0, 1fr) auto;
}

.pending-media-item {
  border-color: var(--blue);
  background: var(--blue-soft);
  grid-template-columns: 76px minmax(0, 1fr) auto;
}

.manager-media-preview,
.pending-media-preview {
  width: 76px;
  height: 58px;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--ink);
}

.manager-media-info,
.pending-media-item > div:nth-child(2) {
  min-width: 0;
}

.manager-media-info strong,
.manager-media-info span,
.pending-media-item strong,
.pending-media-item span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.manager-media-info strong,
.pending-media-item strong {
  font-size: 10px;
}

.manager-media-info span,
.pending-media-item span {
  margin-top: 4px;
  color: #756f67;
  font-family: var(--mono);
  font-size: 7px;
}

.manager-media-item > button,
.pending-media-item > button {
  padding: 7px 8px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--pink);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 800;
}

.work-block-editor {
  padding: 18px;
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  background: #f7f3eb;
}

.work-block-editor-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.work-block-editor-head strong {
  font-family: var(--mono);
  font-size: 12px;
}

.work-block-editor-head p,
.work-upload-guide {
  margin: 6px 0 0;
  color: #6f6961;
  font-size: 12px;
  line-height: 1.55;
}

.work-upload-guide {
  margin: 13px 0;
  padding: 10px 12px;
  border: 1px solid #b8b0a5;
  border-radius: 8px;
  background: var(--yellow-2);
}

.work-block-toolbar {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 7px;
}

.work-block-toolbar button,
.work-block-toolbar label {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 11px;
  border: 1.5px solid var(--ink);
  border-radius: 7px;
  background: var(--white);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
}

.work-block-toolbar button:hover,
.work-block-toolbar label:hover {
  background: var(--blue-soft);
}

.work-block-toolbar input {
  display: none;
}

.work-block-toolbar label > span {
  margin: 0;
  font-size: inherit;
}

.work-block-list {
  display: grid;
  gap: 10px;
}

.work-editor-block {
  overflow: hidden;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  background: var(--white);
}

.work-editor-block-head {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 9px 7px 13px;
  border-bottom: 1px solid #aaa39a;
  background: var(--blue-soft);
}

.work-editor-block.is-media .work-editor-block-head {
  background: var(--yellow-2);
}

.work-editor-block-head > strong {
  font-family: var(--mono);
  font-size: 10px;
}

.work-block-actions {
  display: flex;
  gap: 5px;
}

.work-block-actions button {
  min-width: 32px;
  min-height: 29px;
  padding: 4px 7px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  background: var(--white);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
}

.work-block-actions button:disabled {
  cursor: default;
  opacity: 0.35;
}

.work-block-actions .is-remove {
  background: var(--pink);
}

.work-editor-block textarea {
  display: block;
  width: 100%;
  min-height: 150px;
  padding: 16px;
  border: 0;
  border-radius: 0;
  background: var(--white);
  font-size: 15px;
  line-height: 1.7;
  resize: vertical;
}

.work-editor-media-body {
  display: grid;
  align-items: center;
  gap: 14px;
  padding: 12px;
  grid-template-columns: 150px minmax(0, 1fr);
}

.work-editor-media-preview {
  display: grid;
  width: 150px;
  min-height: 100px;
  max-height: 140px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 7px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--display);
  font-size: 24px;
}

.work-editor-media-preview .uploaded-media {
  width: 100%;
  height: 100%;
  min-height: 100px;
  max-height: 140px;
  object-fit: cover;
}

.work-editor-media-info {
  min-width: 0;
}

.work-editor-media-info strong,
.work-editor-media-info span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.work-editor-media-info strong {
  font-size: 13px;
}

.work-editor-media-info span {
  margin-top: 7px;
  color: #6f6961;
  font-family: var(--mono);
  font-size: 10px;
}

.work-block-empty {
  margin: 0;
  padding: 30px 18px;
  border: 1px dashed #8e877e;
  border-radius: 9px;
  background: var(--white);
  color: #6f6961;
  font-size: 13px;
  text-align: center;
}

/* Archive */
.archive-app {
  min-height: 100vh;
  background: #eeeae2;
}

.archive-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: grid;
  min-height: 76px;
  align-items: center;
  padding: 10px 24px;
  border-bottom: var(--line);
  background: rgba(255, 253, 248, 0.96);
  backdrop-filter: blur(10px);
  grid-template-columns: 1fr auto;
}

.archive-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.archive-logo > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: var(--line);
  border-radius: 12px;
  background: var(--yellow);
  font-family: var(--display);
  font-size: 20px;
}

.archive-logo strong {
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.3;
}

.archive-status {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid #c7c2ba;
  border-radius: 20px;
  font-family: var(--mono);
  font-size: 8px;
}

.archive-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38bb65;
  box-shadow: 0 0 0 3px rgba(56, 187, 101, 0.15);
}

.archive-status-sidebar {
  margin-top: auto;
  align-self: center;
  background: var(--white);
}

.archive-user {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 9px;
}

.archive-avatar {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--pink);
  font-size: 12px;
  font-weight: 900;
}

.archive-user p {
  margin: 0 10px 0 0;
  line-height: 1.25;
}

.archive-user p strong,
.archive-user p small {
  display: block;
}

.archive-user p strong {
  font-size: 11px;
}

.archive-user p small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
}

.archive-user button {
  padding: 8px 11px;
  border: 1.5px solid var(--ink);
  border-radius: 7px;
  background: var(--white);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 8px;
}

.archive-user .archive-index-button {
  background: var(--yellow);
  font-weight: 800;
}

.archive-shell {
  display: grid;
  min-height: calc(100vh - 76px);
  grid-template-columns: 220px 1fr;
}

.archive-sidebar {
  position: sticky;
  top: 76px;
  display: flex;
  height: calc(100vh - 76px);
  flex-direction: column;
  padding: 30px 18px 18px;
  border-right: var(--line);
  background: var(--white);
}

.sidebar-label {
  margin: 0 10px 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
}

.archive-sidebar nav {
  display: grid;
  gap: 5px;
}

.archive-sidebar nav button {
  display: grid;
  min-height: 44px;
  align-items: center;
  padding: 0 11px;
  border: 1.5px solid transparent;
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  text-align: left;
  grid-template-columns: 23px 1fr auto;
}

.archive-sidebar nav button span {
  font-size: 15px;
}

.archive-sidebar nav button i {
  color: #8a857e;
  font-family: var(--mono);
  font-size: 8px;
  font-style: normal;
}

.archive-sidebar nav button:hover,
.archive-sidebar nav button.is-active {
  border-color: var(--ink);
  background: var(--yellow);
  box-shadow: 2px 2px 0 var(--ink);
}

.sidebar-note {
  margin-top: auto;
  padding: 16px;
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  background: var(--blue-soft);
}

.sidebar-note > span,
.sidebar-note > strong {
  display: block;
}

.sidebar-note > span {
  font-family: var(--mono);
  font-size: 8px;
}

.sidebar-note > strong {
  margin: 7px 0;
  font-family: var(--display);
  font-size: 32px;
  font-weight: 400;
}

.sidebar-note > div {
  height: 8px;
  overflow: hidden;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  background: var(--white);
}

.sidebar-note > div i {
  display: block;
  width: 60%;
  height: 100%;
  background: var(--blue);
}

.sidebar-note p {
  margin: 9px 0 0;
  font-size: 9px;
  font-weight: 700;
}

.sidebar-build {
  margin: 16px 4px 0;
  color: #aaa49b;
  font-family: var(--mono);
  font-size: 7px;
  text-align: center;
}

.archive-main {
  min-width: 0;
  padding: clamp(28px, 4vw, 56px);
}

.archive-panel {
  max-width: 1260px;
  margin: 0 auto;
}

.archive-titlebar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.archive-titlebar p {
  margin: 0 0 6px;
  color: #777169;
  font-family: var(--mono);
  font-size: 8px;
}

.archive-titlebar h1 {
  margin: 0 0 4px;
  font-family: var(--display);
  font-size: clamp(36px, 4.2vw, 62px);
  font-weight: 400;
  line-height: 1;
}

.archive-titlebar div > span {
  color: #716c65;
  font-size: 11px;
}

.archive-titlebar > button,
.archive-title-actions button {
  padding: 12px 16px;
  border: var(--line);
  border-radius: 9px;
  background: var(--blue);
  box-shadow: 3px 3px 0 var(--ink);
  color: var(--white);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 9px;
}

.archive-title-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.view-switch {
  display: flex;
  padding: 3px;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 2px 2px 0 var(--ink);
}

.archive-title-actions .view-switch button {
  min-height: 34px;
  padding: 7px 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  box-shadow: none;
  color: var(--ink);
}

.archive-title-actions .view-switch button.is-active {
  background: var(--yellow);
}

.archive-title-actions > span {
  flex-basis: 100%;
  text-align: right;
}

.archive-title-actions [data-refresh-references],
.archive-title-actions [data-refresh-works] {
  background: var(--white);
  color: var(--ink);
}

.archive-title-actions button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.dashboard-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.15fr 0.85fr 0.72fr;
}

.dash-card {
  min-width: 0;
  padding: 22px;
  border: var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 4px 4px 0 rgba(23, 23, 23, 0.13);
}

.dash-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 8px;
}

.dash-card-head i {
  font-style: normal;
}

.dash-card-head button {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 8px;
}

.focus-card {
  grid-row: span 2;
  background: var(--yellow);
}

.focus-visual {
  position: relative;
  height: 180px;
  margin: 25px 0 20px;
  overflow: hidden;
  border: var(--line);
  border-radius: 14px;
  background: var(--blue);
}

.focus-visual span {
  position: absolute;
  top: 50%;
  width: 90px;
  height: 90px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  transform: translateY(-50%);
}

.focus-visual span:nth-child(1) {
  left: 10%;
  background: var(--pink);
}

.focus-visual span:nth-child(2) {
  left: 37%;
  background: var(--green);
}

.focus-visual span:nth-child(3) {
  left: 64%;
  background: var(--yellow);
}

.focus-visual b {
  position: absolute;
  top: 50%;
  right: 8%;
  z-index: 2;
  font-size: 48px;
  transform: translateY(-56%);
}

.focus-card h2 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.25;
}

.focus-card > p {
  margin: 0;
  font-size: 11px;
  line-height: 1.7;
}

.focus-progress {
  height: 9px;
  margin-top: 25px;
  overflow: hidden;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  background: var(--white);
}

.focus-progress span {
  display: block;
  height: 100%;
  background: var(--blue);
}

.focus-progress .progress-68 {
  width: 68%;
}

.focus-card > small {
  display: block;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 7px;
  text-align: right;
}

.quick-card textarea {
  width: 100%;
  height: 130px;
  margin: 20px 0 10px;
  padding: 13px;
  resize: none;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  background: var(--paper);
  font-size: 11px;
}

.quick-card > button {
  display: flex;
  width: 100%;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  background: var(--pink);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 8px;
}

.save-status {
  min-height: 15px;
  margin: 6px 0 0;
  color: #497615;
  font-size: 9px;
  font-weight: 700;
}

.counter-card {
  background: var(--blue-soft);
}

.counter-list p {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 13px 0;
  border-bottom: 1px solid rgba(23, 23, 23, 0.35);
}

.counter-list strong {
  font-family: var(--display);
  font-size: 39px;
  font-weight: 400;
  line-height: 1;
}

.counter-list span {
  font-family: var(--mono);
  font-size: 7px;
  line-height: 1.3;
}

.recent-card {
  grid-column: span 2;
}

.recent-card ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.recent-card li {
  display: grid;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid #d8d3cb;
  grid-template-columns: 38px 1fr auto;
}

.file-icon {
  display: grid;
  width: 34px;
  height: 38px;
  place-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 4px 9px 4px 4px;
  font-family: var(--display);
  font-size: 17px;
  font-style: normal;
}

.file-yellow {
  background: var(--yellow);
}

.file-blue {
  background: var(--blue-soft);
}

.file-pink {
  background: var(--pink);
}

.recent-card li strong,
.recent-card li span {
  display: block;
}

.recent-card li strong {
  font-size: 11px;
}

.recent-card li span {
  margin-top: 3px;
  color: #8b867e;
  font-family: var(--mono);
  font-size: 7px;
}

.recent-card li > b {
  color: #98938b;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.calendar-card {
  grid-column: span 2;
}

.week-row {
  display: grid;
  gap: 5px;
  margin: 20px 0;
  grid-template-columns: repeat(7, 1fr);
}

.week-row > span {
  display: flex;
  min-height: 58px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #d0cbc3;
  border-radius: 8px;
  color: #8a857d;
  font-family: var(--mono);
  font-size: 6px;
}

.week-row small {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 800;
}

.week-row .today {
  border: 1.5px solid var(--ink);
  background: var(--yellow);
  color: var(--ink);
}

.calendar-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid #c9c4bc;
  border-radius: 8px;
  background: var(--paper);
}

.calendar-note > i {
  width: 8px;
  height: 30px;
  border-radius: 4px;
  background: var(--blue);
}

.calendar-note p {
  margin: 0;
}

.calendar-note strong,
.calendar-note span {
  display: block;
}

.calendar-note strong {
  font-size: 10px;
}

.calendar-note span {
  color: #8a857d;
  font-family: var(--mono);
  font-size: 7px;
}

.manager-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  padding: 15px;
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  background: var(--white);
}

.manager-tabs,
.reference-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.manager-tabs button,
.reference-tabs button {
  padding: 7px 11px;
  font-size: 9px;
}

[data-sortable-filter-group] > button {
  cursor: grab;
  user-select: none;
}

[data-sortable-filter-group] > button::before {
  margin-right: 5px;
  content: "⠿";
  opacity: 0.42;
}

[data-sortable-filter-group="works"] > button.is-fixed-filter {
  cursor: default;
}

[data-sortable-filter-group="works"] > button.is-fixed-filter::before {
  content: "●";
  opacity: 0.34;
}

[data-sortable-filter-group] > button:active {
  cursor: grabbing;
}

[data-sortable-filter-group] > button.is-filter-dragging {
  opacity: 0.35;
  transform: scale(0.96);
}

[data-sortable-filter-group] > .add-category-button {
  border-style: dashed;
  background: var(--paper);
  box-shadow: none;
  cursor: pointer;
}

[data-sortable-filter-group] > .add-category-button::before {
  display: none;
}

.manager-toolbar > p {
  margin: 0;
  color: #716b64;
  font-family: var(--mono);
  font-size: 8px;
  white-space: nowrap;
}

.manager-toolbar > p b {
  color: var(--ink);
  font-size: 15px;
}

.work-toolbar {
  align-items: stretch;
  flex-direction: column;
}

.work-toolbar-side {
  display: flex;
  align-items: end;
  justify-content: flex-start;
  gap: 14px;
}

.work-toolbar-side label {
  display: grid;
  gap: 5px;
}

.work-toolbar-side label > span {
  font-family: var(--mono);
  font-size: 7px;
}

.work-search input {
  min-height: 34px;
  padding: 6px 9px;
  border: 1.5px solid var(--ink);
  border-radius: 7px;
  background: var(--paper);
  font-size: 9px;
}

.work-search input {
  width: 230px;
}

.work-published-filter {
  display: flex !important;
  min-height: 34px;
  padding: 6px 10px;
  align-items: center;
  gap: 7px !important;
  border: 1.5px solid var(--ink);
  border-radius: 7px;
  background: var(--paper);
  cursor: pointer;
  white-space: nowrap;
}

.work-published-filter input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--blue);
}

.work-published-filter > span {
  margin: 0 !important;
  font-weight: 700;
}

.work-toolbar-side > p {
  margin: 0 0 8px;
  color: #716b64;
  font-family: var(--mono);
  font-size: 8px;
  white-space: nowrap;
}

.work-toolbar-side > p b {
  color: var(--ink);
  font-size: 15px;
}

.archive-works-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, 1fr);
}

.archive-work-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  padding: 24px;
  border: var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 4px 4px 0 rgba(23, 23, 23, 0.14);
  cursor: pointer;
}

.public-work-card:focus-visible,
.archive-work-card:focus-visible {
  outline: 4px solid var(--blue);
  outline-offset: 5px;
}

.archive-work-card::after {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  border: var(--line);
  border-radius: 50%;
  background: var(--work-accent, var(--yellow));
  content: "";
}

.archive-work-card[data-color="yellow"] {
  --work-accent: var(--yellow);
}

.archive-work-card[data-color="blue"] {
  --work-accent: var(--blue-soft);
}

.archive-work-card[data-color="pink"] {
  --work-accent: var(--pink);
}

.archive-work-card[data-color="green"] {
  --work-accent: var(--green);
}

.archive-work-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.archive-work-head > div {
  display: flex;
  align-items: center;
  gap: 7px;
}

.archive-work-head time,
.archive-work-head button {
  font-family: var(--mono);
  font-size: 8px;
}

.archive-work-head button,
.reference-card-head button {
  padding: 7px 9px;
  border: 1px solid var(--ink);
  border-radius: 7px;
  background: var(--white);
  cursor: pointer;
}

.archive-work-card h2 {
  position: relative;
  z-index: 2;
  max-width: 80%;
  margin: 20px 0 9px;
  font-size: 25px;
  line-height: 1.25;
}

.archive-work-media {
  position: relative;
  z-index: 2;
  display: grid;
  height: 150px;
  margin-top: 22px;
  overflow: hidden;
  place-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 11px;
  background:
    linear-gradient(135deg, transparent 48%, rgba(23, 23, 23, 0.12) 49%, rgba(23, 23, 23, 0.12) 51%, transparent 52%) 0 0 / 28px 28px,
    var(--work-accent, var(--yellow));
}

.archive-work-media > span {
  padding: 6px 8px;
  border: 1px solid var(--ink);
  border-radius: 100px;
  background: var(--white);
  font-family: var(--mono);
  font-size: 7px;
}

.archive-work-card > p {
  position: relative;
  z-index: 2;
  min-height: 42px;
  margin: 0;
  color: #746f68;
  font-size: 11px;
  line-height: 1.65;
}

.archive-work-meta {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 18px 0;
}

.archive-work-meta span {
  padding: 5px 7px;
  border: 1px solid #a29c94;
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 7px;
}

.archive-work-progress {
  position: relative;
  z-index: 2;
  height: 8px;
  overflow: hidden;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  background: var(--paper);
}

.archive-work-progress i {
  display: block;
  height: 100%;
  background: var(--blue);
}

.archive-work-foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.archive-work-foot > span {
  font-family: var(--mono);
  font-size: 7px;
}

.archive-works-grid.is-list-view {
  grid-template-columns: minmax(0, 1fr);
}

.archive-works-grid.is-list-view .archive-work-card {
  display: grid;
  min-height: 290px;
  align-items: start;
  gap: 11px 22px;
  grid-template-areas:
    "media head"
    "media title"
    "media summary"
    "media meta"
    "media progress"
    "media foot";
  grid-template-columns: 230px minmax(0, 1fr);
  grid-template-rows: auto auto 1fr auto auto auto;
}

.archive-works-grid.is-list-view .archive-work-head {
  grid-area: head;
}

.archive-works-grid.is-list-view .archive-work-media {
  width: 100%;
  height: 100%;
  min-height: 242px;
  margin: 0;
  grid-area: media;
}

.archive-works-grid.is-list-view .archive-work-card h2 {
  max-width: none;
  margin: 2px 0 0;
  grid-area: title;
}

.archive-works-grid.is-list-view .archive-work-card > p {
  min-height: 0;
  grid-area: summary;
}

.archive-works-grid.is-list-view .archive-work-meta {
  margin: 0;
  grid-area: meta;
}

.archive-works-grid.is-list-view .archive-work-progress {
  grid-area: progress;
}

.archive-works-grid.is-list-view .archive-work-foot {
  margin-top: 0;
  grid-area: foot;
}

.index-check {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  font-size: 9px;
  font-weight: 800;
}

.index-check input {
  width: 17px;
  height: 17px;
  accent-color: var(--blue);
}

.reference-controls {
  margin-bottom: 18px;
  padding: 17px;
  border: var(--line);
  border-radius: 16px;
  background: var(--white);
}

.reference-controls-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.reference-tabs {
  flex: 1 1 auto;
  margin-bottom: 0;
}

.reference-inline-search {
  position: relative;
  display: flex;
  width: min(320px, 100%);
  min-width: 260px;
  align-items: center;
  flex: 0 1 320px;
}

.reference-inline-search input {
  width: 100%;
  min-height: 42px;
  padding: 9px 38px 9px 40px;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  background: var(--paper);
  font-size: 12px;
}

.reference-search-icon {
  position: absolute;
  top: 50%;
  left: 15px;
  z-index: 1;
  width: 14px;
  height: 14px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  pointer-events: none;
  transform: translateY(-58%);
}

.reference-search-icon::after {
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 6px;
  height: 2px;
  background: var(--ink);
  content: "";
  transform: rotate(45deg);
  transform-origin: left center;
}

.reference-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.archive-title-actions .reference-summary {
  margin: 0;
}

.reference-summary button {
  padding: 7px 10px;
  border: 1px solid #aaa39a;
  border-radius: 100px;
  background: var(--white);
  box-shadow: none;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 8px;
}

.reference-summary button.is-active {
  border-color: var(--ink);
  background: var(--yellow);
}

.reference-library {
  display: grid;
  align-items: stretch;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.reference-card {
  --reference-accent: var(--yellow);
  display: grid;
  height: 100%;
  overflow: hidden;
  align-content: start;
  gap: 0;
  padding: 0;
  border: var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 5px 5px 0 rgba(23, 23, 23, 0.16);
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr;
}

.reference-card[data-category="web"] {
  --reference-accent: var(--blue);
}

.reference-card[data-category="brand"] {
  --reference-accent: var(--pink);
}

.reference-card[data-category="workflow"] {
  --reference-accent: var(--green);
}

.reference-card[data-category="information"] {
  --reference-accent: var(--blue-soft);
}

.reference-card[data-category="uncategorized"] {
  --reference-accent: #c8c3bb;
}

.reference-card[data-edit-reference] {
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.reference-card[data-edit-reference]:hover,
.reference-card[data-edit-reference]:focus-visible {
  outline: none;
  box-shadow: 8px 8px 0 var(--ink);
  transform: translate(-4px, -4px);
}

.reference-card.is-checked {
  background: #f5ffea;
}

.reference-card.is-text-only {
  position: relative;
  min-height: 330px;
  grid-template-rows: minmax(0, 1fr);
}

.reference-card.is-text-only .reference-info {
  min-height: 330px;
  padding: 28px;
  border-top: 8px solid var(--reference-accent);
  background:
    linear-gradient(transparent 31px, rgba(23, 23, 23, 0.06) 32px, transparent 33px) 0 0 / 100% 32px,
    var(--white);
}

.reference-card.is-text-only .reference-card-head {
  padding-right: 54px;
}

.reference-card.is-text-only .reference-image-check {
  top: 20px;
  right: 20px;
}

.reference-card.is-text-only p {
  min-height: 0;
  color: #4d4943;
  -webkit-line-clamp: 10;
}

.reference-card-media {
  position: relative;
  display: grid;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  place-items: center;
  border: 0;
  border-top: 8px solid var(--reference-accent);
  border-bottom: var(--line);
  border-radius: 0;
  background:
    radial-gradient(circle at 70% 25%, var(--pink) 0 24px, transparent 25px),
    linear-gradient(145deg, var(--yellow) 0 49%, var(--blue-soft) 50% 100%);
}

.reference-card-media .uploaded-media {
  object-position: top center;
}

.reference-image-check {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 3px 3px 0 var(--ink);
  color: transparent;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 21px;
  font-weight: 900;
  transition: transform 140ms ease, background 140ms ease, color 140ms ease;
}

.reference-image-check:hover {
  transform: translate(-1px, -1px);
}

.reference-image-check.is-checked {
  background: var(--green);
  color: var(--ink);
}

.reference-card-media > strong {
  font-family: var(--display);
  font-size: 42px;
  font-weight: 400;
  transform: rotate(-5deg);
}

.reference-card-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.reference-card:not(.is-text-only) .reference-card-head {
  position: absolute;
  top: 14px;
  right: 68px;
  left: 14px;
  z-index: 3;
  gap: 7px;
}

.reference-info {
  min-width: 0;
  padding: 18px 18px 15px;
}

.reference-category {
  display: inline-flex;
  padding: 6px 9px;
  border: 1.5px solid var(--ink);
  border-radius: 100px;
  background: rgba(255, 216, 77, 0.94);
  box-shadow: 2px 2px 0 var(--ink);
  font-family: var(--mono);
  font-size: 7px;
  text-transform: uppercase;
}

.reference-source-tag {
  display: inline-flex;
  padding: 6px 9px;
  align-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 100px;
  background: rgba(244, 240, 232, 0.94);
  box-shadow: 2px 2px 0 var(--ink);
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 800;
}

.reference-source-tag.is-telegram {
  background: rgba(207, 220, 255, 0.95);
}

.reference-card h2 {
  margin: 15px 0 8px;
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.25;
}

.reference-card:not(.is-text-only) h2 {
  margin: 0;
}

.reference-card p {
  display: -webkit-box;
  min-height: 4.95em;
  overflow: hidden;
  margin: 13px 0 0;
  color: #716b64;
  font-size: 11px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.reference-library.is-list-view {
  grid-template-columns: minmax(0, 1fr);
}

.reference-library.is-list-view .reference-card {
  min-height: 270px;
  align-content: stretch;
  grid-template-columns: 220px minmax(0, 1fr);
  grid-template-rows: minmax(270px, auto);
}

.reference-library.is-list-view .reference-card.is-text-only {
  min-height: 230px;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(230px, auto);
}

.reference-library.is-list-view .reference-card.is-text-only .reference-info {
  min-height: 230px;
}

.reference-library.is-list-view .reference-card-media {
  height: 100%;
  min-height: 270px;
  aspect-ratio: auto;
  border-right: var(--line);
  border-bottom: 0;
}

.reference-library.is-list-view .reference-info {
  display: flex;
  min-width: 0;
  padding: 24px;
  flex-direction: column;
  justify-content: center;
}

.reference-library.is-list-view .reference-card h2 {
  margin-top: 18px;
  font-size: clamp(23px, 2.7vw, 34px);
}

.reference-library.is-list-view .reference-card p {
  min-height: 0;
  -webkit-line-clamp: 4;
}

.manager-empty {
  font-size: 12px;
  font-weight: 700;
}

.reference-board {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

.reference-board article {
  display: flex;
  min-height: 440px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 28px;
  border: var(--line);
  border-radius: 18px;
  box-shadow: 5px 5px 0 var(--ink);
}

.reference-board span {
  font-family: var(--mono);
  font-size: 8px;
}

.reference-board h2 {
  margin: 14px 0 10px;
  font-family: var(--display);
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 400;
  line-height: 0.95;
}

.reference-board p {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
}

.ref-pop {
  background:
    radial-gradient(circle at 80% 15%, var(--pink) 0 45px, var(--ink) 47px 49px, transparent 50px),
    repeating-linear-gradient(-35deg, transparent 0 19px, rgba(23, 23, 23, 0.18) 20px 21px),
    var(--yellow);
}

.ref-light {
  background:
    radial-gradient(circle at 50% 22%, var(--yellow) 0 58px, var(--ink) 60px 62px, transparent 63px),
    linear-gradient(145deg, var(--blue) 0 42%, var(--pink) 43% 69%, var(--green) 70%);
}

.ref-story {
  background:
    linear-gradient(90deg, transparent 48%, var(--ink) 49% 51%, transparent 52%) 0 0 / 45px 45px,
    linear-gradient(transparent 48%, var(--ink) 49% 51%, transparent 52%) 0 0 / 45px 45px,
    var(--blue-soft);
}

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

@keyframes spin-spark {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1180px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(290px, 0.75fr);
  }

  .hero-title {
    font-size: clamp(60px, 8.4vw, 102px);
  }

  .hero-stage {
    min-height: 470px;
  }

  .case {
    grid-template-columns: 1fr 0.9fr;
  }

  .case-visual {
    min-height: 530px;
  }

  .case-copy {
    padding: 38px;
  }

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

  .scope-card {
    min-height: 360px;
  }

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

  .focus-card {
    grid-row: span 2;
  }

  .counter-card {
    grid-column: 2;
  }

  .recent-card,
  .calendar-card {
    grid-column: span 1;
  }

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

@media (max-width: 900px) {
  .pointer-halo {
    display: none;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: clamp(57px, 12.8vw, 102px);
  }

  .hero-stage {
    width: min(100%, 560px);
    min-height: 500px;
    margin: 20px auto 0;
  }

  .proposal-heading,
  .scope-heading,
  .works-intro,
  .timeline-grid,
  .more-work-panel,
  .experience-toolkit {
    gap: 35px;
    grid-template-columns: 1fr;
  }

  .public-work-card,
  .public-work-card:nth-child(3n + 1),
  .public-work-card:nth-child(3n + 2) {
    grid-column: span 6;
  }

  .proposal-heading .kicker {
    grid-row: 2;
  }

  .proposal-flow {
    grid-template-columns: 1fr;
  }

  .flow-card {
    display: grid;
    min-height: 0;
    align-items: center;
    gap: 30px;
    grid-template-columns: 110px 1fr;
  }

  .flow-icon {
    margin: 0;
  }

  .flow-arrow {
    height: 36px;
    text-align: center;
    transform: rotate(90deg);
  }

  .js .flow-card.reveal.is-visible:nth-of-type(2),
  .flow-card:nth-of-type(2) {
    transform: rotate(1deg);
  }

  .works-intro > p {
    max-width: none;
    margin: 0;
  }

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

  .case-visual {
    min-height: 560px;
    border-right: 0;
    border-bottom: 2px solid var(--white);
  }

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

  .number-card:nth-child(3) {
    border-left: var(--line);
    border-top: var(--line);
  }

  .number-card:nth-child(4) {
    border-top: var(--line);
  }

  .manifesto {
    margin-top: 120px;
    padding: 60px 50px;
    border-radius: 100px;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer p {
    display: none;
  }

  .archive-shell {
    grid-template-columns: 80px 1fr;
  }

  .archive-sidebar {
    padding: 24px 10px;
  }

  .sidebar-label,
  .archive-sidebar nav button:not(.is-active) i,
  .archive-sidebar nav button:not(.is-active) {
    font-size: 0;
  }

  .archive-sidebar nav button {
    grid-template-columns: 1fr;
    place-items: center;
    padding: 0;
  }

  .archive-sidebar nav button span {
    font-size: 17px;
  }

  .sidebar-note,
  .archive-status-sidebar,
  .sidebar-build {
    display: none;
  }

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

  .archive-works-grid {
    grid-template-columns: 1fr;
  }

  .reference-card {
    grid-template-columns: 1fr;
  }

  .reference-card-media {
    height: auto;
    aspect-ratio: 4 / 5;
  }
}

@media (max-width: 720px) {
  .section-pad {
    padding-right: 20px;
    padding-left: 20px;
  }

  .site-header {
    top: 8px;
    width: calc(100% - 16px);
    min-height: 68px;
    margin-top: 8px;
    padding: 7px 10px 7px 14px;
    border-radius: 28px;
  }

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

  .menu-toggle {
    display: block;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 20px;
    border: 1px solid #39393d;
    border-radius: 20px;
    background: rgba(24, 24, 27, 0.98);
    color: var(--white);
    grid-template-columns: 1fr;
  }

  .primary-nav.is-open {
    display: grid;
  }

  .primary-nav > a {
    padding: 12px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .primary-nav .nav-cta {
    margin-top: 4px;
    border: var(--line);
  }

  .hero {
    padding: 44px 20px 24px;
  }

  .hero-title {
    font-size: clamp(49px, 15vw, 80px);
    line-height: 0.94;
  }

  .title-line {
    white-space: normal;
  }

  .hero-bottom {
    align-items: center;
  }

  .hero-stage {
    min-height: 430px;
  }

  .stage-card {
    min-width: 140px;
  }

  .stage-card strong {
    font-size: 30px;
  }

  .hero-stamp {
    width: 105px;
    height: 105px;
  }

  .hero-footnote span:first-child {
    display: none;
  }

  .hero-footnote .scribble {
    font-size: 11px;
  }

  .section-label {
    margin-bottom: 30px;
  }

  .section-title {
    font-size: clamp(44px, 13vw, 70px);
  }

  .portfolio-heading {
    align-items: flex-end;
    flex-direction: column;
    gap: 18px;
  }

  .portfolio-more-link {
    min-width: 112px;
    min-height: 48px;
    padding: 0 12px;
  }

  .public-work-grid {
    grid-template-columns: 1fr;
  }

  .public-work-card,
  .public-work-card:nth-child(3n + 1),
  .public-work-card:nth-child(3n + 2) {
    flex: 0 0 min(84vw, 390px);
    min-height: 470px;
    grid-column: 1;
  }

  .public-work-more {
    flex-basis: min(76vw, 340px);
  }

  .works-directory {
    padding-top: 78px;
  }

  .works-directory-heading {
    gap: 24px;
    margin-bottom: 42px;
    grid-template-columns: 1fr;
  }

  .works-directory-heading h1 {
    font-size: clamp(58px, 18vw, 86px);
  }

  .works-directory-heading > p {
    font-size: 14px;
  }

  .works-page-grid {
    grid-template-columns: 1fr;
  }

  .works-page-toolbar {
    align-items: stretch;
    gap: 10px;
    flex-direction: column;
  }

  .works-page-status {
    padding-right: 2px;
  }

  .works-page-grid .public-work-card,
  .works-page-grid .public-work-card:nth-child(n) {
    min-height: 470px;
  }

  .public-work-art {
    height: 185px;
  }

  .proposal-flow {
    margin-top: 60px;
  }

  .flow-card {
    grid-template-columns: 1fr;
  }

  .flow-card h3 {
    font-size: 25px;
  }

  .works-intro {
    margin-bottom: 65px;
  }

  .more-work-panel {
    margin-top: 48px;
    padding: 26px 22px;
  }

  .more-work-panel h3 {
    font-size: 28px;
  }

  .experience-toolkit {
    gap: 38px;
    margin-top: 60px;
    padding-top: 42px;
  }

  .case-visual {
    min-height: 455px;
  }

  .case-copy {
    padding: 29px 24px 34px;
  }

  .case-copy h3 {
    margin: 30px 0;
    font-size: 27px;
  }

  .case-facts > div {
    gap: 5px;
    grid-template-columns: 1fr;
  }

  .event-ticket {
    bottom: 32px;
    left: 25px;
    width: 225px;
    min-height: 130px;
    padding: 20px 28px;
  }

  .event-ticket strong {
    font-size: 49px;
  }

  .event-sticker {
    top: 90px;
    right: 25px;
    width: 95px;
    height: 95px;
  }

  .sheet-window {
    top: 65px;
    right: 28px;
    left: 28px;
  }

  .system-stat {
    width: 120px;
    height: 120px;
  }

  .system-stat strong {
    font-size: 40px;
  }

  .stat-half {
    bottom: 20px;
    left: 18px;
  }

  .stat-time {
    right: 18px;
    bottom: 15px;
  }

  .scope-board {
    grid-template-columns: 1fr;
  }

  .scope-card {
    min-height: 320px;
  }

  .manifesto {
    padding: 55px 22px;
    border-radius: 60px;
  }

  .manifesto .quote-mark {
    top: -40px;
    font-size: 120px;
  }

  .manifesto p {
    font-size: 28px;
  }

  .manifesto strong::after {
    height: 10px;
  }

  .timeline-grid {
    gap: 60px;
  }

  .career-list li {
    gap: 12px;
    grid-template-columns: 70px 1fr auto;
  }

  .contact {
    min-height: 560px;
  }

  .contact h2 {
    font-size: clamp(53px, 15vw, 84px);
  }

  .shape-one {
    top: 8%;
    left: -35px;
  }

  .shape-two {
    right: -38px;
    bottom: 7%;
  }

  .site-footer {
    min-height: auto;
    gap: 26px;
    padding: 25px 20px;
    grid-template-columns: 1fr;
  }

  .footer-actions {
    align-items: flex-start;
  }

  .footer-actions > p {
    text-align: left;
  }

  .floating-top {
    right: 14px;
    bottom: 14px;
    width: 56px;
    height: 56px;
    box-shadow: 4px 4px 0 var(--ink);
  }

  .login-paper {
    padding: 36px 24px 28px;
  }

  .manager-paper {
    padding: 34px 20px 26px;
  }

  .manager-form-grid {
    grid-template-columns: 1fr;
  }

  .manager-form-grid .span-two {
    grid-column: auto;
  }

  .login-paper h2 {
    font-size: 42px;
  }

  .archive-header {
    min-height: 66px;
    padding: 8px 12px;
    grid-template-columns: 1fr auto;
  }

  .archive-status,
  .archive-user p {
    display: none;
  }

  .archive-user {
    gap: 6px;
  }

  .archive-user button {
    padding: 7px;
  }

  .archive-shell {
    grid-template-columns: 1fr;
  }

  .archive-sidebar {
    position: sticky;
    top: 66px;
    z-index: 50;
    display: block;
    width: 100%;
    height: auto;
    padding: 8px 10px;
    overflow-x: auto;
    border-right: 0;
    border-bottom: var(--line);
  }

  .archive-sidebar nav {
    display: flex;
    width: max-content;
  }

  .archive-sidebar nav button,
  .archive-sidebar nav button:not(.is-active) {
    display: flex;
    min-height: 38px;
    gap: 6px;
    padding: 0 12px;
    font-size: 9px;
  }

  .archive-sidebar nav button i {
    display: none;
  }

  .archive-main {
    padding: 28px 16px 50px;
  }

  .archive-titlebar {
    align-items: start;
    flex-direction: column;
  }

  .archive-title-actions {
    width: 100%;
    align-items: stretch;
    justify-content: flex-start;
  }

  .archive-title-actions > span {
    text-align: left;
  }

  .archive-titlebar h1 {
    font-size: 40px;
  }

  .dashboard-grid,
  .archive-works-grid,
  .reference-board {
    grid-template-columns: 1fr;
  }

  .manager-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .work-toolbar-side {
    width: 100%;
    align-items: flex-start;
    justify-content: space-between;
  }

  .manager-toolbar > p {
    white-space: normal;
  }

  .reference-controls-row {
    align-items: stretch;
    flex-direction: column;
  }

  .reference-inline-search {
    width: 100%;
    min-width: 0;
    flex-basis: auto;
  }

  .reference-library {
    grid-template-columns: 1fr;
  }

  .reference-card {
    padding: 0;
  }

  .archive-works-grid.is-list-view .archive-work-card {
    min-height: 0;
    padding: 16px;
    gap: 9px 14px;
    grid-template-areas:
      "media head"
      "media title"
      "media summary"
      "meta meta"
      "progress progress"
      "foot foot";
    grid-template-columns: 115px minmax(0, 1fr);
    grid-template-rows: auto auto 1fr auto auto auto;
  }

  .archive-works-grid.is-list-view .archive-work-media {
    height: 100%;
    min-height: 170px;
  }

  .archive-works-grid.is-list-view .archive-work-head {
    align-items: flex-start;
  }

  .archive-works-grid.is-list-view .archive-work-head > div {
    align-items: flex-start;
    flex-direction: column;
  }

  .archive-works-grid.is-list-view .archive-work-card h2 {
    font-size: 20px;
  }

  .archive-works-grid.is-list-view .archive-work-card > p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .reference-library.is-list-view .reference-card {
    min-height: 190px;
    grid-template-columns: 120px minmax(0, 1fr);
    grid-template-rows: minmax(190px, auto);
  }

  .reference-library.is-list-view .reference-card-media {
    min-height: 190px;
  }

  .reference-library.is-list-view .reference-info {
    padding: 15px;
  }

  .reference-library.is-list-view .reference-card h2 {
    margin-top: 13px;
    font-size: 20px;
  }

  .reference-library.is-list-view .reference-card p {
    -webkit-line-clamp: 2;
  }

  .manager-media-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .focus-card,
  .counter-card,
  .recent-card,
  .calendar-card {
    grid-row: auto;
    grid-column: auto;
  }

  .reference-board article {
    min-height: 350px;
  }
}

@media (max-width: 460px) {
  .work-toolbar-side {
    align-items: stretch;
    flex-direction: column;
  }

  .work-search,
  .work-search input {
    width: 100%;
  }

  .manager-media-item {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .manager-media-item > button {
    grid-column: 1 / -1;
  }

  .pending-media-item {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .pending-media-item > button {
    grid-column: 1 / -1;
  }

  .manager-media-preview,
  .pending-media-preview {
    width: 62px;
    height: 52px;
  }

  .brand-copy {
    display: none;
  }

  .hero-title {
    font-size: 51px;
  }

  .hero-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .round-link {
    align-self: flex-end;
  }

  .hero-stage {
    min-height: 385px;
  }

  .card-plan {
    left: 0;
  }

  .card-make {
    right: -4px;
  }

  .card-run {
    left: 0;
  }

  .hero-stamp {
    left: 32%;
  }

  .hero-footnote {
    align-items: flex-end;
  }

  .hero-footnote .scribble {
    max-width: 170px;
  }

  .case-visual {
    min-height: 410px;
  }

  .visual-topline {
    right: 20px;
    left: 20px;
  }

  .map-route {
    inset: 70px 18px 38px;
  }

  .event-sticker {
    top: 105px;
  }

  .sheet-window {
    top: 55px;
    right: 18px;
    left: 18px;
  }

  .cell-c {
    display: none;
  }

  .film-strip i {
    width: 40px;
  }

  .market-stall {
    width: 155px;
  }

  .numbers-track {
    grid-template-columns: 1fr;
  }

  .number-card,
  .number-card:nth-child(3) {
    min-height: 260px;
    border-top: var(--line);
    border-left: var(--line);
  }

  .number-card:first-child {
    border-top: 0;
  }

  .site-footer {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .footer-contact-info {
    justify-self: start;
  }

  .archive-entry {
    justify-self: start;
  }

  .site-footer > .archive-entry {
    justify-self: end;
  }

  .archive-avatar {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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

/* Archive support copy stays readable on desktop and mobile. */
.login-label,
.login-paper form > label,
.password-field button,
.login-error,
.login-submit,
.manager-kicker,
.manager-form-grid label > span,
.reference-search-row label > span,
.publish-switch small,
.confirm-check,
.manager-form-error,
.manager-submit,
.manager-delete,
.manager-media-title span,
.manager-media-title small,
.media-drop small,
.manager-media-info strong,
.manager-media-info span,
.pending-media-item strong,
.pending-media-item span,
.manager-media-item > button,
.pending-media-item > button,
.archive-logo strong,
.archive-status,
.archive-user p strong,
.archive-user p small,
.archive-user button,
.sidebar-label,
.archive-sidebar nav button,
.archive-sidebar nav button i,
.sidebar-note > span,
.sidebar-note p,
.sidebar-build,
.archive-titlebar p,
.archive-titlebar div > span,
.archive-titlebar > button,
.archive-title-actions button,
.dash-card-head,
.dash-card-head button,
.focus-card > p,
.focus-card > small,
.quick-card textarea,
.quick-card > button,
.save-status,
.counter-list span,
.recent-card li strong,
.recent-card li span,
.week-row > span,
.calendar-note strong,
.calendar-note span,
.manager-tabs button,
.reference-tabs button,
.manager-toolbar > p,
.work-toolbar-side label > span,
.work-search input,
.work-toolbar-side > p,
.archive-work-head time,
.archive-work-head button,
.archive-work-media > span,
.archive-work-card > p,
.archive-work-meta span,
.archive-work-foot > span,
.index-check,
.reference-summary button,
.reference-category,
.reference-source-tag,
.reference-card p,
.reference-board span,
.reference-board p {
  font-size: 12px;
}

@media (max-width: 720px) {
  .work-detail-dialog {
    width: min(94vw, 920px);
  }

  .work-detail-paper {
    padding: 34px 20px 24px;
    border-radius: 18px;
  }

  .work-detail-paper h2 {
    margin-right: 20px;
    font-size: 34px;
  }

  .work-detail-copy {
    gap: 9px;
    grid-template-columns: 1fr;
  }

  .work-detail-copy p {
    font-size: 14px;
  }

  .work-detail-text-block p {
    font-size: 15px;
  }

  .work-detail-media-item,
  .work-detail-gallery.is-empty {
    min-height: 220px;
  }

  .work-detail-video,
  .work-detail-media-item > video.uploaded-media {
    min-height: 220px;
  }

  .manager-actions {
    flex-direction: column-reverse;
  }

  .manager-delete,
  .manager-submit {
    min-height: 50px;
  }

  .work-block-editor-head {
    display: grid;
  }

  .work-block-toolbar {
    width: 100%;
  }

  .work-block-toolbar button,
  .work-block-toolbar label {
    flex: 1;
  }

  .work-editor-media-body {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .work-editor-media-preview {
    width: 100px;
    min-height: 82px;
  }
}
