@font-face {
  font-family: "Workspace Text";
  src: url("assets/workspace-text-v10.woff2") format("woff2");
  font-weight: 45 930;
  font-display: block;
}

@font-face {
  font-family: "Workspace Display";
  src: url("assets/workspace-display-v10.woff2") format("woff2");
  font-weight: 300;
  font-display: optional;
}

body {
  font-family: "Workspace Text", system-ui, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-variation-settings: normal;
  word-break: keep-all;
}

h1, h2, .name {
  font-family: "Workspace Display", "Workspace Text", system-ui, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-weight: 400;
  font-variation-settings: normal;
}

.name { font-weight: 600; }

:root { --color-text: #443d36; }
section[id], .shelf[id] { scroll-margin-top: 92px; }
.sec-head p { max-width: 530px; }

#sign, #stall {
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
}

#stall { display: block; }
#sign img { display: block; width: 100%; height: auto; }
.sign-decor { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.sign.jiggle { animation: sign-jiggle .55s var(--spring); transform-origin: 50% 90%; }

@keyframes sign-jiggle {
  0%, 100% { transform: rotate(0); }
  30% { transform: rotate(3deg); }
  65% { transform: rotate(-2deg); }
}

.ico-image { position: absolute; inset: 15%; width: 70%; height: 70%; object-fit: contain; }
.sprite-icon { inset: 12%; width: 76%; height: 76%; }
a.card:hover .ico-image { animation: .44s steps(1) infinite wig; }
.tag { color: var(--color-border); font-weight: 800; }
.aside { color: #b5372d; }
.desc, .hero .lede, .sec-head p,
.foot .copyr { font-weight: 700; }
.bye { height: auto; }

#work-detail {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(540px, calc(100% - 36px));
  max-height: calc(100% - 36px);
  padding: 25px 28px 30px;
  color: var(--color-border);
  background: var(--color-bg);
  border: var(--line) solid var(--color-border);
  border-radius: var(--radius);
}

#work-detail::backdrop { background: rgba(28, 27, 25, .48); }
#work-detail .close { display: flex; margin: 0 0 12px auto; }
#work-detail dl { margin: 20px 0 0; }
#work-detail dt { margin-top: 12px; font-weight: 700; }
#work-detail dd { margin: 0; color: var(--color-text); font-weight: 700; }
#work-detail #detail-content > p { margin-top: 16px; }

.foot { margin-top: 160px; }

@media (max-width: 820px) {
  .hero h1 { text-wrap: wrap; }
  .about h2 { font-size: 30px; }
  .feature { margin-top: 100px; }
}

@media (max-width: 430px) {
  .hero .cta { flex-direction: column; align-items: center; }
}

@media (max-width: 360px) {
  .nav-links { gap: 12px; }
  .nav .btn { padding-inline: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .sign.jiggle { animation: none; }
}

.nav-sign { position: relative; }
.nav-sign .sign-decor {
  width: 66px;
  height: 66px;
  transform: translateY(105%) rotate(10deg);
  transform-origin: 50% 100%;
  transition: transform .55s var(--spring);
}
.nav.scrolled .nav-sign .sign-decor { transform: none; }
.foot-sign .sign-decor {
  width: 100%;
  height: auto;
  transform-origin: 49% 96%;
  transition: transform .6s var(--spring);
}
.foot-sign:hover .sign-decor { transform: rotate(-7deg); }

.nb { white-space: nowrap; }

.mini { position: relative; display: inline-block; width: 52px; height: 52px; margin: 0px 1px 0px 6px; vertical-align: -12px; isolation: isolate; transform: rotate(var(--rotate)); transition: transform .4s var(--spring); }

.mini::before { content: ""; position: absolute; inset: 0px; z-index: -1; background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxODAiIGhlaWdodD0iMTgwIiB2aWV3Qm94PSIwIDAgMTgwIDE4MCI+CiAgPGZpbHRlciBpZD0iZyIgeT0iMCIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSI+CiAgICA8ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iMS4xNSIgbnVtT2N0YXZlcz0iMiIgc2VlZD0iNSIgc3RpdGNoVGlsZXM9InN0aXRjaCIvPgogICAgPGZlQ29sb3JNYXRyaXggdmFsdWVzPSIwIDAgMCAwIC4xMSAgMCAwIDAgMCAuMSAgMCAwIDAgMCAuMDkgIDAgMCAwIC41NCAtLjIyIi8+CiAgPC9maWx0ZXI+CiAgPHJlY3Qgd2lkdGg9IjE4MCIgaGVpZ2h0PSIxODAiIGZpbHRlcj0idXJsKCNnKSIvPgo8L3N2Zz4K"),var(--color-bg-2); border-radius: 13px; filter: url("#wobble-s"); }


.about h2:hover .mini { transform: rotate(calc(var(--rotate)*-1.5)) scale(1.12); }

.circled { position: relative; display: inline-block; }

.circled svg { position: absolute; left: -9%; top: -2%; width: 118%; height: 112%; stroke-width: 2.5px; }

.about-foot { clear: both; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-top: 28px; }

.about-foot p { color: var(--color-text); max-width: 500px; text-wrap: balance; }

.drops { margin-top: var(--gap); text-align: center; }

.drops .tile { margin: 0px auto 26px; transform-origin: 50% 8%; }





.count { display: flex; justify-content: center; align-items: center; gap: 26px; margin-top: 6px; font-size: var(--font-size-3); font-weight: 620; line-height: 1.1; letter-spacing: -0.012em; font-variation-settings: "BNCE" 30, "INFM" 100, "SPAC" 0; }

.count span { display: inline-flex; align-items: center; gap: 10px; }

.scrib { width: 74px; height: 46px; stroke-width: 8px; }

.count:hover .scrib { animation: 0.3s steps(1) 0s infinite normal none running wig2; }

@keyframes wig2 { 
  0% { transform: rotate(-2deg) translateY(1px); }
  50% { transform: rotate(2deg) translateY(-1px); }
}

.drops .aside { left: calc(100% - 6px); top: 176px; transform: rotate(5deg); text-align: left; }

.drops .aside .curl { left: -66px; top: 26px; }


.studio-scene {
  position: absolute;
  inset: auto 0 0;
  width: 528px;
  aspect-ratio: 3 / 2;
  margin-inline: auto;
  z-index: 2;
}
.studio-scene .stall { inset: 0; width: 100%; height: 100%; margin: 0; }

.tool-board {
  position: absolute;
  z-index: 3;
  top: 15.8%;
  left: 5.1%;
  width: 33.1%;
  height: 42.1%;
  display: grid;
  grid-template: 1fr 1fr / 1fr 1fr;
  padding: 3px 2px 4px;
  border: 2px solid var(--color-border);
  border-radius: 7px 5px 6px 8px;
  box-shadow: inset 0 0 0 2px #d4c9bf;
  background: #fffdf8;
  color: #27231f;
  font-size: clamp(10px, 2.6vw, 12px);
  font-weight: 760;
  line-height: 1.05;
  pointer-events: none;
}

.tool-board li {
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  place-items: center;
  padding-block: 2px;
}
.tool-board li:nth-child(odd) { border-right: 1px solid #e9e2d9; }
.tool-board li:nth-child(-n + 2) { border-bottom: 1px solid #e9e2d9; }
.tool-board li > span { padding-block: 1px; }
.tool-board img { width: auto; height: 100%; max-height: 46px; object-fit: contain; }
.tool-board li:last-child > span { max-width: 12ch; }
.muse-outline {
  position: relative;
  display: block;
  width: clamp(15px, 4vw, 24px);
  aspect-ratio: 1.05;
  border: 1.5px dashed #75667f;
  border-radius: 52% 48% 48% 40%;
  background: #f1ecf7;
}
.muse-outline::before,
.muse-outline::after {
  position: absolute;
  top: -5px;
  width: 36%;
  height: 32%;
  border: 1px dashed #75667f;
  border-bottom: 0;
  border-radius: 70% 70% 0 0;
  background: #f1ecf7;
  content: "";
}
.muse-outline::before { left: 0; transform: rotate(-19deg); }
.muse-outline::after { right: 0; transform: rotate(19deg); }

.shelf-group { position: relative; margin-top: 44px; }
.shelf-group h3 {
  font: 400 24px/1.2 "Workspace Display", "Workspace Text", sans-serif;
}
.shelf, .shelf-four { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 22px; }
.shelf { margin-top: 20px; }
.shelf-profile { margin-top: 30px; }
.shelf .item { position: relative; min-width: 0; }
.shelf .card { display: block; }
.shelf .card::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.shelf .zone { height: 150px; justify-content: center; padding-bottom: 5px; }
.shelf .tile { width: min(var(--tile-size, 100%), 132px); height: auto; aspect-ratio: 1; }
.shelf .item:nth-child(2n) .tile { max-width: 125px; }
.shelf .item:nth-child(3n) .tile { max-width: 118px; }
.shelf .item:nth-child(4n) .tile { max-width: 135px; }
.shelf-profile .tile { max-width: 110px; }
.shelf [data-work="bamsaem"] .tile { max-width: 112px; }
.shelf [data-site="saerok"] .tile { max-width: 116px; }
.shelf [data-work="research"] .tile { max-width: 116px; }
.shelf .tile.lavender { --color-bg-2: #ded0ed; }
.shelf .tile.mint { --color-bg-2: #cce0b1; }
.shelf .label { padding: 24px 0 0; text-align: center; }
.shelf .name { display: inline-flex; justify-content: center; gap: 4px; font-size: clamp(16px, 2.4vw, 20px); line-height: 1.2; }
.shelf .name-dot { margin-inline: -4px; font-family: "Workspace Text", sans-serif; }
.shelf .desc { margin-top: 5px; font-size: 15px; line-height: 1.35; }
.shelf-group .aside.a1 { left: calc(100% + 34px); top: 70px; transform: rotate(4deg); }
.shelf-group .aside.a1 .curl { left: -74px; top: 26px; }
.shelf-group .aside.a2 { right: calc(100% + 78px); top: 26px; text-align: right; transform: rotate(-4deg); }
.shelf-group .aside.a2 .curl { right: -70px; top: 30px; transform: scaleX(-1); }
.outbound {
  position: relative;
  z-index: 2;
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1.5px solid var(--color-border);
  border-radius: 46% 51% 48% 42%;
  font: 700 17px/1 "Workspace Text", sans-serif;
  text-decoration: none;
}
.outbound:hover { background: var(--yellow); }

.private-art { width: 100%; height: auto; }
.feature .copy p { font-weight: 700; }
.feature .sticker svg { fill: var(--red); }

.about-foot { display: block; }
.about-foot p { text-wrap: pretty; }
.contact-links, .detail-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 21px;
}
.contact-links .btn { max-width: 100%; }
.contact-email { overflow-wrap: anywhere; }
.service-cta { margin-bottom: 21px; }
#detail-content p { overflow-wrap: anywhere; }

.drops { display: flow-root; }
.drops .tile { padding: 0; border: 0; background: transparent; cursor: pointer; }
.drops .tile:hover { transform: rotate(-3deg) scale(1.06); }
.drops .developing { font-size: var(--font-size-2); font-weight: 700; margin-bottom: 7px; }
.drops .fine { max-width: 410px; margin: 20px auto 0; color: var(--color-text); font-weight: 700; text-wrap: pretty; }
.drops .count { margin-top: 24px; }
.drops .aside { top: 260px; }
.foot { margin-top: var(--gap); }

@media (max-width: 820px) {
  .studio-scene { position: relative; width: 100%; }
  .studio-scene .stall { position: absolute; }
  .tool-board { top: 9%; height: 49%; width: 35%; }
  .shelf, .shelf-four {
    --shelf-height: clamp(97px, 26vw, 133px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }
  .shelf .zone { height: var(--shelf-height); }
  .shelf .tile { width: min(calc(var(--tile-size, 100%) * .77), 112px); }
  .shelf::before, .shelf::after { display: block; top: var(--shelf-height); left: -4px; right: -4px; height: 10px; }
  .shelf-four { row-gap: 35px; }
  .shelf-four::before, .shelf-four::after { display: none; }
  .shelf-four .item::before, .shelf-four .item::after {
    position: absolute;
    top: var(--shelf-height);
    right: -8px;
    left: -5px;
    height: 10px;
    pointer-events: none;
    content: "";
  }
  .shelf-four .item:nth-child(even)::before, .shelf-four .item:nth-child(even)::after { right: -4px; left: -9px; }
  .shelf-four .item::before { background: var(--sand); transform: translate(2px, 2px); }
  .shelf-four .item::after { border-block: var(--line) solid var(--color-border); }
  .shelf-four .item:nth-child(odd)::after { border-left: var(--line) solid var(--color-border); border-radius: 7px 0 0 8px; }
  .shelf-four .item:nth-child(even)::after { border-right: var(--line) solid var(--color-border); border-radius: 0 8px 7px 0; }
  .shelf .label { padding-top: 20px; }
  .shelf .tag { left: -4px; padding-inline: 7px; }
  .private-art { max-width: 285px; margin-inline: auto; }
  .about .mug { width: 116px; height: 116px; margin: 15px 20px 10px 3px; }
  .about .mug img { width: 133px; margin-left: -66.5px; }
  .mini { width: 34px; height: 34px; margin-left: 4px; vertical-align: -7px; }
  .drops .tile { margin-bottom: 22px; }
  .drops .count { gap: 16px; }
  .drops .aside.margin {
    display: block;
    position: relative;
    left: auto;
    top: auto;
    width: fit-content;
    margin: 10px 0 0 auto;
    font-size: 13px;
  }
  .drops .aside .curl { left: -35px; top: -16px; width: 32px; height: 23px; }
  .foot { margin-top: 138px; }
}

@media (max-width: 430px) {
  .tool-board { width: 39%; left: 4.8%; top: 2%; height: 56%; }
  .tool-board img { max-height: 38px; }
  .shelf { column-gap: 16px; }
  .shelf .desc { font-size: 14px; }
  .shelf-group { margin-top: 34px; }
  .shelf-group h3 { font-size: 22px; }
  .contact-links .btn { padding-inline: 15px; font-size: 15px; }
  .about h2 { font-size: 27px; line-height: 1.34; }
  .about-foot { padding-top: 16px; }
  .feature .panel { gap: 14px; text-align: center; }
}

.shelf.shelf-three { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 22px; }
.shelf-group.shelf-row { margin-top: 34px; }
@media (max-width: 600px) {
  .shelf.shelf-three { column-gap: 10px; }
  .shelf.shelf-three .tile { width: min(var(--tile-size, 100%), 96px); }
  .shelf.shelf-three .name { font-size: 15px; flex-wrap: wrap; }
  .shelf.shelf-three .desc { font-size: 12.5px; }
}

#work-detail:has(.assistant-art) {
  width: min(900px, calc(100% - 20px));
  max-width: none;
  max-height: calc(100dvh - 24px);
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

#work-detail:has(.assistant-art) .detail-controls {
  position: sticky;
  z-index: 2;
  top: 0;
  padding: 10px clamp(12px, 3vw, 30px) 8px;
  background: var(--color-bg);
  border-bottom: 1px solid var(--sand);
}

#work-detail:has(.assistant-art) .close { margin-bottom: 0; min-height: 36px; }
#work-detail:has(.assistant-art) #detail-content { padding: 14px clamp(12px, 3vw, 30px) 30px; }
#work-detail:has(.assistant-art) h2 { font-size: clamp(34px, 4.6vw, 46px); }

.assistant-art {
  position: relative;
  width: min(100%, 680px);
  margin: 14px auto 24px;
  border: 2px solid var(--color-border);
  border-radius: 16px 20px 17px 14px;
  overflow: hidden;
}
.assistant-art img { width: 100%; height: auto; }
.assistant-art figcaption span {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: 32%;
  transform: translateX(-50%);
  text-align: center;
  font-size: clamp(12px, 2vw, 16px);
  line-height: 1.16;
  font-weight: 770;
}
.assistant-art figcaption small { display: block; font-size: max(12px, .84em); font-weight: 660; }

.werow-concept { margin: 16px auto 0; width: min(100%, 360px); }
.werow-concept img {
  width: 100%;
  height: auto;
  border: 1.5px solid var(--color-border);
  border-radius: 13px 16px 12px 15px;
}
.werow-concept figcaption { margin-top: 5px; font-size: .8125rem; color: var(--color-text); text-align: right; }

.assistant-diagrams { display: grid; gap: 18px; }
.structure-sheet {
  --arrow-gap: 18px;
  padding: 16px 18px 18px;
  border: 1.5px solid var(--color-border);
  border-radius: 14px 19px 15px 18px;
  background: #fffdf7;
}
.structure-sheet h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  font-family: "Workspace Display", "Workspace Text", system-ui, sans-serif;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 400;
  line-height: 1.15;
}
.structure-sheet h3 > span {
  display: grid;
  place-items: center;
  flex: 0 0 29px;
  height: 28px;
  transform: rotate(-5deg);
  border: 1.5px solid var(--color-border);
  border-radius: 47% 54% 49% 45%;
  background: var(--yellow);
  font: 760 .9375rem/1 "Workspace Text", sans-serif;
}
.structure-flow {
  display: grid;
  grid-template-columns: repeat(var(--steps), minmax(0, 1fr));
  gap: var(--arrow-gap);
  list-style: none;
}
.structure-node {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  min-width: 0;
  padding: 9px 6px;
  border: 1.5px solid var(--color-border);
  border-radius: 9px 11px 8px 10px;
  background: var(--node-paper, #fbefcb);
  text-align: center;
  overflow-wrap: anywhere;
}
.structure-node strong { font-size: .9375rem; line-height: 1.2; font-weight: 770; }
.structure-node span { font-size: .8125rem; line-height: 1.35; color: var(--color-text); }
.structure-node code { font-size: inherit; white-space: nowrap; }
.structure-flow > li:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  left: calc(100% + 1px);
  width: var(--arrow-gap);
  color: #a9352c;
  transform: translateY(-50%);
  font: 700 1rem/1 system-ui, sans-serif;
  text-align: center;
}
.structure-flow.is-two-way > li:not(:last-child)::after { content: "↔"; }
.structure-loop {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 10px 0 0;
  color: var(--color-text);
  font-size: .875rem;
  line-height: 1.4;
}
.structure-loop b { color: #a9352c; font: 700 1.125rem/1 system-ui, sans-serif; }
.structure-side {
  margin-top: 12px;
  padding: 10px;
  border: 1.5px dashed #857263;
  border-radius: 10px 13px 12px 9px;
}
.structure-topology { position: relative; margin-top: 19px; }
.structure-topology::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: calc(83.333% + 6px);
  height: 20px;
  border-left: 1.5px dashed #857263;
}
.structure-main { --node-paper: #f8e7ad; }
.structure-side h4 { margin-bottom: 7px; font-size: .875rem; line-height: 1.25; }
.structure-support { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.structure-support .structure-node { --node-paper: #f6f1e8; }
.structure-message { --node-paper: #e5f0f2; }
.structure-schedule { --node-paper: #f8e1e7; }
.structure-delegate { --node-paper: #e8eed7; }
.structure-memory { --node-paper: #eee6f3; }

@media (max-width: 730px) {
  .assistant-art figcaption span:nth-child(n+4) { margin-top: -4px; }
  .structure-sheet { padding: 12px 10px 14px; }
  .structure-flow, .structure-support { grid-template-columns: minmax(0, 1fr); }
  .structure-node { padding: 7px 10px; }
  .structure-topology::before { left: 50%; }
  .structure-flow > li:not(:last-child)::after {
    content: "↓";
    top: calc(100% + 1px);
    left: 50%;
    height: var(--arrow-gap);
    transform: translateX(-50%);
  }
  .structure-flow.is-two-way > li:not(:last-child)::after { content: "↕"; }
}

@font-face {
  font-family: "Assistant Text";
  src: url("assets/assistant-text-v11.woff2") format("woff2");
  font-weight: 45 930;
  font-display: swap;
}
@font-face {
  font-family: "Assistant Display";
  src: url("assets/assistant-display-v11.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}
#work-detail:has(.assistant-art), .werow-concept figcaption { font-family: "Assistant Text", "Workspace Text", system-ui, sans-serif; }
#work-detail:has(.assistant-art) h2, .structure-sheet h3 { font-family: "Assistant Display", "Assistant Text", "Workspace Text", system-ui, sans-serif; }
.structure-sheet h3 > span { font-family: "Assistant Text", "Workspace Text", system-ui, sans-serif; }

[data-work="assistant"], [data-work="werow"] { -webkit-tap-highlight-color: transparent; }
